:root {
  color-scheme: dark light;
  --bg: #10110f;
  --surface: #181916;
  --surface-2: #22231f;
  --text: #f2f0e8;
  --muted: #b9b5a9;
  --line: rgba(242, 240, 232, 0.15);
  --accent: #c9ff4f;
  --accent-ink: #15170d;
  --radius: 18px;
  --font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f2ec;
    --surface: #ffffff;
    --surface-2: #e6e4da;
    --text: #15170d;
    --muted: #5f6257;
    --line: rgba(21, 23, 13, 0.15);
    --accent: #425f00;
    --accent-ink: #f6ffe1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 255, 79, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.section-shell {
  width: min(100% - 32px, 1220px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 5;
  width: min(100% - 32px, 1220px);
  min-height: 68px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 17, 15, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

@media (prefers-color-scheme: light) {
  .site-header {
    background: rgba(243, 242, 236, 0.72);
  }
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--text);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 30px);
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav a,
.site-footer a {
  transition: color 220ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 800;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}

.nav-cta {
  padding: 0 18px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.88rem;
}

.primary-cta {
  position: relative;
  overflow: hidden;
  width: fit-content;
  padding: 0 26px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 16px 40px rgba(201, 255, 79, 0.22);
}

.primary-cta span {
  position: relative;
  z-index: 1;
}

.cta-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.74);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 620ms ease-out forwards;
}

.nav-cta:hover,
.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 64px rgba(201, 255, 79, 0.28);
}

.nav-cta:active,
.primary-cta:active {
  transform: translateY(1px) scale(0.99);
}

.hero {
  position: relative;
  min-height: calc(100dvh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(44px, 7vw, 84px) 0 54px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  transform: rotate(-8deg);
}

.hero::before {
  width: 44vw;
  height: 18vw;
  left: -18vw;
  top: 22%;
}

.hero::after {
  width: 18vw;
  height: 34vw;
  right: -12vw;
  bottom: 6%;
  border-radius: 999px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.letter-grid {
  position: absolute;
  inset: 8% auto auto -12%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  transform: rotate(-6deg);
  mix-blend-mode: difference;
}

.letter-grid span {
  display: grid;
  place-items: center;
  width: clamp(78px, 8vw, 122px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: 1;
}

.hero-image-wrap {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(86%, 520px);
  aspect-ratio: 0.78;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transform: rotate(3deg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.hero-image-wrap img,
.work-card img,
.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.breadcrumbs {
  padding: 8px 0 50px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--accent);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.statement {
  padding: clamp(64px, 10vw, 126px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement p {
  width: min(980px, 100%);
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 6rem);
  line-height: 0.98;
}

.portfolio,
.services,
.brand-system,
.process,
.testimonials,
.faq,
.final-cta {
  padding: clamp(76px, 12vw, 144px) 0 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading.compact {
  max-width: 710px;
}

.section-heading p,
.process-copy p,
.work-card p,
.service-matrix p,
.testimonial-grid p,
.faq-answer p,
.site-footer p {
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(270px, auto);
  gap: 18px;
}

.work-card {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.work-card img {
  min-height: 250px;
  transition:
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card div {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(16, 17, 15, 0.92), transparent 54%),
    radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(201, 255, 79, 0.22), transparent 18rem);
  opacity: 0;
  transition: opacity 320ms ease;
}

.interactive-work:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.08);
}

.interactive-work:hover::after {
  opacity: 1;
}

.work-action {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 17, 15, 0.62);
  color: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-work:hover .work-action {
  opacity: 1;
  transform: translateY(0);
}

.work-card.wide {
  grid-column: span 1;
}

.work-card.tall {
  grid-row: span 2;
}

.accent-card {
  min-height: 300px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(201, 255, 79, 0.9), rgba(201, 255, 79, 0.18)),
    var(--surface-2);
  color: var(--accent-ink);
}

.accent-card p {
  max-width: 540px;
  color: rgba(21, 23, 13, 0.72);
  font-size: 1.1rem;
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.service-matrix article {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.service-matrix article:last-child {
  border-right: 0;
}

.service-matrix span {
  display: block;
  margin-bottom: 64px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.brand-system {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.system-copy {
  position: sticky;
  top: 118px;
}

.system-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.system-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.system-board > div {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.system-board > div > span:not(.swatch) {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.type-sample {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.type-sample strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(7rem, 13vw, 12rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.type-sample p,
.motion-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.palette-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 8px;
}

.palette-strip .board-label {
  grid-column: 1 / -1;
  height: auto;
  margin-bottom: 10px;
  color: var(--muted);
}

.swatch {
  min-height: 168px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.swatch.ink {
  background: #10110f;
}

.swatch.paper {
  background: #f2f0e8;
}

.swatch.lime {
  background: var(--accent);
}

.swatch.steel {
  background: #73796f;
}

.component-sample {
  display: flex;
  flex-direction: column;
}

.mini-interface {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-interface div {
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(201, 255, 79, 0.18), transparent),
    var(--surface-2);
}

.mini-interface div:first-child {
  grid-column: 1 / -1;
}

.motion-note {
  grid-column: 1 / -1;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(201, 255, 79, 0.18), transparent 55%),
    var(--surface);
}

.process {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.process-image {
  height: min(74vw, 650px);
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 18px;
}

.testimonial-grid article {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  opacity: 0.62;
  transform: translateY(10px);
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 360ms ease,
    background 360ms ease;
}

.testimonial-grid article.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(201, 255, 79, 0.48);
  background:
    linear-gradient(135deg, rgba(201, 255, 79, 0.12), transparent 52%),
    var(--surface);
}

.testimonial-grid p {
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.28;
}

.testimonial-grid strong {
  margin-top: 18px;
}

.testimonial-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-controls button {
  width: 44px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition:
    width 260ms ease,
    background 260ms ease;
}

.testimonial-controls button.is-active {
  width: 76px;
  background: var(--accent);
}

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 220ms ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.faq-answer p {
  max-width: 760px;
  padding: 0 26px 26px;
  margin: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  padding-bottom: clamp(76px, 12vw, 144px);
  border-top: 1px solid var(--line);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.final-cta h2 {
  max-width: 980px;
}

.poster-word {
  position: absolute;
  left: 50%;
  top: 50%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 18rem);
  line-height: 0.82;
  letter-spacing: 0;
  -webkit-text-stroke: 1px rgba(201, 255, 79, 0.22);
  text-stroke: 1px rgba(201, 255, 79, 0.22);
  transform: translate(-50%, -50%) rotate(-5deg);
  white-space: nowrap;
  pointer-events: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero::before {
      animation: drift-left linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }

    .hero::after {
      animation: drift-right linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
  }
}

@keyframes drift-left {
  to {
    transform: translateY(80px) rotate(-16deg);
  }
}

@keyframes drift-right {
  to {
    transform: translateY(-80px) rotate(14deg);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .process {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 520px;
  }

  .portfolio-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .work-card.tall {
    grid-row: auto;
  }

  .service-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-matrix article:nth-child(2) {
    border-right: 0;
  }

  .service-matrix article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .site-header {
    width: min(100% - 24px, 1220px);
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 10px;
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-stage {
    min-height: 450px;
  }

  .hero-image-wrap {
    width: 80%;
  }

  .letter-grid {
    left: 0;
  }

  .statement p {
    font-size: clamp(2.2rem, 12vw, 3.9rem);
  }

  .service-matrix {
    grid-template-columns: 1fr;
  }

  .service-matrix article,
  .service-matrix article:nth-child(2) {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-matrix article:last-child {
    border-bottom: 0;
  }

  .service-matrix span {
    margin-bottom: 34px;
  }

  .process-image {
    min-height: 360px;
  }

  .faq-question {
    padding: 20px;
  }
}
