/* ─────────────────────────────────────────────────────────────
   Konusa Design System — Tokens + Styles
   Brand & communications design by Denis Konusa
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic-VariableFont_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ── Primary (Brand Green) ───────────────────────────────── */
  --color-primary:       #35A86A;
  --color-primary-light: #61EAA0;
  --color-primary-tint:  #E8F7EF;

  /* ── Neutrals ────────────────────────────────────────────── */
  --color-ink:           #363131;
  --color-ink-deep:      #161616;
  --color-ink-strong:    #0F0F0F;
  --color-mute:          #6B6B6B;
  --color-mute-soft:     #888787;
  --color-line:          #D9D7D7;
  --color-surface:       #F5F5F4;
  --color-surface-2:     #F9F9F9;
  --color-bg:            #FFFFFF;
  --color-bg-dark:       #161616;

  /* ── Semantic (client project accents) ──────────────────── */
  --color-anazana-blue:  #4EA6FF;
  --color-a17-teal:      #082C2D;
  --color-signal-coal:   #201E1E;

  /* ── Typography ──────────────────────────────────────────── */
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tracking:     -0.05em;

  --fs-hero:    80px;
  --fs-h1:      50px;
  --fs-h2:      24px;
  --fs-h3:      20px;
  --fs-btn:     18px;
  --fs-body:    16px;
  --fs-caption: 14px;

  --lh-tight: 1;
  --lh-snug:  1.15;
  --lh-body:  1.5;

  /* ── Spacing ─────────────────────────────────────────────── */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-7:  30px;
  --s-8:  40px;
  --s-9:  60px;
  --s-10: 80px;
  --s-11: 120px;

  /* ── Vertical Rhythm (semantic) ──────────────────────────── */
  --space-section-y: 120px;  /* gap between major sections */
  --space-block:     60px;   /* header → body within a section */
  --space-title:     20px;   /* headline → subheadline */
  --page-x:          30px;   /* horizontal gutter */

  /* ── Radii ───────────────────────────────────────────────── */
  --radius-sm:   5px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* ── Elevation ───────────────────────────────────────────── */
  --shadow-sm:   0 1px 2px rgba(22, 22, 22, 0.06);
  --shadow-md:   0 6px 24px rgba(22, 22, 22, 0.08);
  --shadow-glow: 0 0 171px rgba(255, 255, 255, 0.25);

  /* ── Motion ──────────────────────────────────────────────── */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
}

/* ── Reset & base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-ink);
  background: var(--color-bg);
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Page shell ───────────────────────────────────────────── */

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Nav ──────────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: -1;
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 200ms cubic-bezier(.16, 1, .3, 1);
}
.nav-logo-word { height: 56px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--s-4);
  list-style: none;
}
.nav-links a {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-mute);
  line-height: var(--lh-body);
  position: relative;
  transition: color var(--dur-base) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: #35A86A;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}
.nav-links a:hover { color: var(--color-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Hamburger button ─────────────────────────────────────── */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 200;
}

.nav-burger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-ink);
  transform-origin: center;
  transition: transform 360ms cubic-bezier(.16, 1, .3, 1),
              opacity   280ms cubic-bezier(.16, 1, .3, 1),
              background 280ms cubic-bezier(.16, 1, .3, 1);
}

.nav-burger.is-open .nav-burger-bar {
  background: #fff;
}
.nav-burger.is-open .nav-burger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.is-open .nav-burger-bar:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile fullscreen menu ───────────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  z-index: 150;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 380ms cubic-bezier(.16, 1, .3, 1),
              transform 380ms cubic-bezier(.16, 1, .3, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .nav {
  z-index: 200;
}

body.menu-open .nav::before {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .nav-logo {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 100px var(--page-x) 48px;
}

/* Nav items */
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity  420ms cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 55ms),
              transform 420ms cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 55ms);
}

.mobile-menu.is-open .mobile-nav-links li {
  opacity: 1;
  transform: none;
}

.mobile-nav-link {
  display: block;
  font-size: clamp(36px, 11vw, 52px);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: 1;
  color: #fff;
  padding: 20px 0;
  transition: color 240ms;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* Bottom row — socials + CTA */
.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity  400ms cubic-bezier(.16, 1, .3, 1) 360ms,
              transform 400ms cubic-bezier(.16, 1, .3, 1) 360ms;
}

.mobile-menu.is-open .mobile-menu-bottom {
  opacity: 1;
  transform: none;
}

.mobile-social {
  display: flex;
  gap: var(--s-7);
  flex-wrap: wrap;
}

.mobile-social a {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: #6b6b6b;
  transition: color 240ms;
}

.mobile-social a:hover {
  color: var(--color-primary);
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 67px;
  padding: 20px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-btn);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking);
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    transform var(--dur-fast) var(--ease);
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover  { background: #2E9A5F; border-color: #2E9A5F; }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover  { background: var(--color-primary-tint); }
.btn-outline:active { transform: scale(0.98); }

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  padding: 60px var(--page-x) 0;
}

.hero-headline {
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking);
  color: var(--color-ink);
  max-width: 845px;
  margin: 30px 0 30px;
  text-wrap: balance;
}

@keyframes hero-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-shimmer {
  background: linear-gradient(
    90deg,
    #35A86A 0%,
    #61EAA0 30%,
    #2E9A5F 55%,
    #8DFFC4 75%,
    #35A86A 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-shimmer 3.6s ease-in-out infinite;
  display: inline;
}

.hero-sub {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-body);
  letter-spacing: var(--tracking);
  color: var(--color-mute);
  max-width: 623px;
  margin-bottom: 60px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 115px;
}

.hero-portrait {
  width: 115px;
  height: 115px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 5.227px solid #C6C5C5;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  background: var(--color-surface);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-byline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-name {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-ink);
  line-height: var(--lh-tight);
}
.hero-role {
  font-size: var(--fs-body);
  font-weight: 400;
  letter-spacing: var(--tracking);
  color: var(--color-mute);
  line-height: var(--lh-body);
}

.hero-image {
  margin: 80px 0 0;
  width: 1380px;
  height: 678px;
  overflow: hidden;
}
.hero-image img {
  width: 1380px;
  transform: translateY(-585px);
}

/* ── Hero slider — fast looping gif-style sequence ────────── */

.hero-slider {
  position: relative;
  margin: 80px 0 0;
  width: 100%;
  max-width: 1380px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: hero-slide-show 3.74s steps(1, end) infinite;
  animation-delay: calc(var(--i) * 0.22s);
  will-change: opacity;
}

@keyframes hero-slide-show {
  0%      { opacity: 1; }
  5.882%  { opacity: 0; }
  100%    { opacity: 0; }
}

/* ── Section intro ────────────────────────────────────────── */

.intro {
  padding: var(--space-section-y) var(--page-x) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-title);
}

.intro-body {
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: 1.05;
  color: var(--color-ink);
  text-wrap: balance;
}

.intro-eyebrow {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-mute);
  line-height: var(--lh-body);
  max-width: 560px;
}

/* ── Value cards ──────────────────────────────────────────── */

.values {
  padding: var(--space-block) var(--page-x) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.value-card {
  background: var(--color-surface);
  padding: 20px 30px 20px 20px;
  min-height: 387px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.value-icon-mat {
  font-size: 36px;
  line-height: 1;
  color: var(--color-primary);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.value-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  margin-bottom: 20px;
}

.value-body {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
}

/* ── Project grid ─────────────────────────────────────────── */

.projects {
  padding: var(--space-section-y) var(--page-x) 0;
}

.projects-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-title);
  margin-bottom: var(--space-block);
}

.projects-headline {
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
}

.projects-sub {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
  max-width: 480px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 60px;
}

.project {
  cursor: pointer;
}

.project-art {
  aspect-ratio: 685 / 400;
  position: relative;
  overflow: hidden;
}
.project-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
  transform-origin: center;
  will-change: transform;
}
.project:hover .project-art-img { transform: scale(1.04); }

.project-meta {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-name {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  position: relative;
  align-self: flex-start;
  transition: color 320ms cubic-bezier(.16, 1, .3, 1);
}
.project-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
}
.project:hover .project-name { color: var(--color-primary); }
.project:hover .project-name::after { transform: scaleX(1); }

.project-scope {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
}

/* ── Client lockups inside project tiles ─────────────────── */

.lumo-lockup {
  position: relative;
  width: 250px;
  height: 82px;
}
.lumo-mark { position: absolute; left: 0;    top: 0;   width: 47px;  height: 82px; }
.lumo-word { position: absolute; left: 68px; top: 16px; width: 166px; height: 49px; }
.lumo-c    { position: absolute; left: 238px; top: 24px; width: 12px; height: 12px; }

.a17-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}
.a17-lockup img { width: 154px; height: 60px; }
.a17-mini {
  font-size: 11px;
  line-height: 1.1;
  white-space: pre;
  font-weight: 500;
  color: #fff;
}

.anazana-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 46px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.signal-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 45px;
  letter-spacing: -0.09em;
  line-height: 0.8;
}
.signal-mark {
  width: 55px;
  height: 55px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.signal-mark img { width: 24px; height: 32px; }

/* ── Section header (shared) ──────────────────────────────── */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-title);
  margin-bottom: var(--space-block);
  padding: 0 var(--page-x);
}
.section-headline {
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  max-width: 720px;
  text-wrap: balance;
}
.section-sub {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
  max-width: 560px;
}

/* ── Pricing ──────────────────────────────────────────────── */

.pricing {
  padding: var(--space-section-y) 0 0;
}

.pricing-terms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 var(--page-x) var(--space-block);
}
.pricing-tab {
  padding: 12px 22px;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
  cursor: default;
}
.pricing-tab:hover {
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

.deliverables {
  padding: 0 var(--page-x);
  list-style: none;
}

.deliverable:first-child {
  border-top: 1px solid var(--color-line);
}

.deliverable {
  display: grid;
  grid-template-columns: 48px 280px 1fr;
  gap: 0 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
  align-items: baseline;
  position: relative;
}
.deliverable::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.deliverable:hover::before { transform: scaleX(1); }

.deliverable-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-mute-soft);
  align-self: start;
  padding-top: 3px;
}
.deliverable-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.deliverable-title {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
}
.deliverable-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 4px 8px;
  background: var(--color-primary-tint);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.deliverable-body {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
}

/* ── Process — horizontal accordion ──────────────────────── */

.process {
  padding: var(--space-section-y) 0 0;
}

.process-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-title);
  padding: 0 var(--page-x);
  margin-bottom: var(--space-block);
}

.process-headline {
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  text-align: center;
}

.process-sub {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
  max-width: 520px;
  text-align: center;
}

/* Accordion container */
.process-accordion {
  display: flex;
  padding: 0 var(--page-x);
  height: 480px;
}

/* Panel */
.process-panel {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--color-line);
  border-right: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: flex 520ms cubic-bezier(.16, 1, .3, 1),
              background-color 520ms cubic-bezier(.16, 1, .3, 1),
              border-color 520ms cubic-bezier(.16, 1, .3, 1);
}

.process-panel:last-child {
  border-right: 1px solid var(--color-line);
}

.process-panel.is-active {
  flex: 5;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.process-panel.is-active .process-panel-num {
  color: rgba(255, 255, 255, 0.5);
}

.process-panel.is-active .process-panel-day {
  color: rgba(255, 255, 255, 0.6);
}

.process-panel.is-active .process-panel-title {
  color: #fff;
}

.process-panel.is-active .process-panel-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* Step number — always at top-left */
.process-panel-num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-mute-soft);
  line-height: 1;
}

/* Vertical day label — visible when collapsed */
.process-panel-vert {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-mute-soft);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 180ms cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.process-panel.is-active .process-panel-vert {
  opacity: 0;
}

/* Full content — visible when expanded */
.process-panel-content {
  position: absolute;
  bottom: 32px;
  left: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms 140ms cubic-bezier(.16, 1, .3, 1),
              transform 300ms 140ms cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.process-panel.is-active .process-panel-content {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.process-panel-day {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-mute-soft);
  line-height: var(--lh-tight);
}

.process-panel-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  margin: 0;
}

.process-panel-desc {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
  margin: 0;
}

/* ── FAQ ──────────────────────────────────────────────────── */

.faq {
  padding: var(--space-section-y) var(--page-x) 0;
}

.faq-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-title);
  margin-bottom: var(--space-block);
}

.faq-headline {
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  max-width: 560px;
  text-wrap: balance;
}

.faq-sub {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
  max-width: 480px;
}

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

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

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  transition: color var(--dur-base) var(--ease);
}
.faq-q:hover { color: var(--color-primary); }
.faq-q:hover .faq-icon {
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

.faq-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-mute);
  background: var(--color-surface);
  transition:
    background var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease);
}

.faq-item.is-open .faq-icon {
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

.faq-chevron {
  display: block;
  transform: rotate(-90deg);
  transition: transform 380ms cubic-bezier(.16, 1, .3, 1);
}

.faq-item.is-open .faq-chevron { transform: rotate(0deg); }

.faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(.16, 1, .3, 1);
}

.faq-item.is-open .faq-body-wrap { grid-template-rows: 1fr; }

.faq-body-inner { overflow: hidden; }

.faq-a {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: var(--color-mute);
  max-width: 720px;
  padding: 0 0 30px;
}

/* ── Footer (includes Final CTA) ──────────────────────────── */

.footer {
  background: var(--color-bg-dark);
  width: 100%;
  margin-top: var(--space-section-y);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-section-y) var(--page-x) 48px;
}

.footer-cta {
  text-align: left;
  padding-bottom: var(--space-section-y);
}

.footer-cta-headline {
  font-size: var(--fs-hero);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  color: #fff;
  max-width: 845px;
  margin: 0 0 var(--space-title);
  text-wrap: balance;
}

.footer-cta-body {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--lh-body);
  color: #B8B8B8;
  max-width: 640px;
  margin: 0 0 var(--space-block);
  text-wrap: balance;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: #6b6b6b;
  line-height: var(--lh-body);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.footer-social-link {
  color: #6b6b6b;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--tracking);
  transition: color var(--dur-base) var(--ease);
}

.footer-social-link:hover { color: var(--color-primary); }


/* ── Sticky floating CTA ──────────────────────────────────── */

.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 320ms cubic-bezier(.16, 1, .3, 1),
              transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ─────────────────────────────────────────────────────────────
   Responsive — Tablet ≤ 1024px
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root {
    --fs-hero: 56px;
    --fs-h1:   38px;

    /* Vertical rhythm scaled down */
    --space-section-y: 80px;
    --space-block:     40px;
    --page-x:          24px;
  }

  .nav { padding: 24px var(--page-x) 0; }
  .nav-links { gap: 12px; }

  .hero-headline { max-width: 100%; }
  .hero-image,
  .hero-image img {
    width: 100%;
    height: auto;
  }
  .hero-image {
    height: auto;
    aspect-ratio: 1380 / 678;
  }
  .hero-image img {
    width: 100%;
    transform: none;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
  }

  .values   { grid-template-columns: repeat(2, 1fr); }
  .value-card { min-height: 320px; }

  .deliverable {
    grid-template-columns: 36px 1fr;
    gap: 0 24px;
  }
  .deliverable-head { grid-column: 2; }
  .deliverable-body {
    grid-column: 2;
    padding-top: 8px;
  }

  .process-accordion { height: 400px; }

  .faq-q    { font-size: 20px; }

  .footer-inner { padding: var(--space-section-y) var(--page-x) 40px; }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Responsive — Mobile ≤ 640px
   ───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  :root {
    --fs-hero: 40px;
    --fs-h1:   30px;
    --fs-h2:   20px;
    --fs-h3:   18px;
    --fs-btn:  16px;
    --fs-body: 15px;

    /* Vertical rhythm scaled down further */
    --space-section-y: 60px;
    --space-block:     32px;
    --page-x:          20px;
  }

  /* Nav */
  .nav { padding: 20px var(--page-x); gap: 12px; }
  .nav-logo-sym  { height: 36px; }
  .nav-logo-word { height: 32px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Buttons */
  .btn { height: 56px; padding: 16px 24px; font-size: 16px; }

  /* Hero */
  .hero { padding: 32px var(--page-x) 0; }
  .hero-headline { margin: 20px 0 20px; }
  .hero-sub      { margin-bottom: 32px; }
  .hero-cta {
    flex-wrap: wrap;
    height: auto;
    gap: 16px;
    align-items: center;
  }
  .hero-portrait {
    width: 72px;
    height: 72px;
    border-width: 3px;
  }
  .hero-name { font-size: 16px; }
  .hero-role { font-size: 14px; }
  .hero-cta .btn { width: 100%; order: 99; margin-top: 8px; }
  .hero-image { margin-top: 40px; }

  /* Value cards — single column */
  .values {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .value-card {
    min-height: 0;
    padding: 24px 20px;
    gap: 32px;
  }
  .value-title  { margin-bottom: 12px; }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
  }
  .project-meta { padding-top: 16px; }
  .lumo-lockup    { transform: scale(0.7); }
  .anazana-lockup { font-size: 32px; }
  .signal-lockup  { font-size: 32px; }
  .signal-mark    { width: 40px; height: 40px; }
  .signal-mark img { width: 18px; height: 24px; }
  .a17-lockup img { width: 110px; height: 44px; }

  /* Pricing */
  .pricing-terms { gap: 6px; }
  .pricing-tab { padding: 10px 16px; font-size: 11px; }
  .deliverable {
    grid-template-columns: 36px 1fr;
    gap: 0 20px;
    padding: 22px 0;
  }
  .deliverable-head { grid-column: 2; }
  .deliverable-body {
    grid-column: 2;
    padding-top: 6px;
  }

  /* Process — stack panels vertically on mobile */
  .process-accordion {
    flex-direction: column;
    height: auto;
    gap: 0;
  }
  .process-panel {
    flex: none !important;
    border-right: 1px solid var(--color-line);
    border-bottom: none;
    height: 64px;
    transition: height 520ms cubic-bezier(.16, 1, .3, 1);
  }
  .process-panel:last-child { border-bottom: 1px solid var(--color-line); }
  .process-panel.is-active { height: 220px; }

  /* Number — vertically centered in collapsed panel, moves to top when expanded */
  .process-panel-num {
    top: 50%;
    transform: translateY(-50%);
  }
  .process-panel.is-active .process-panel-num {
    top: 20px;
    transform: none;
  }

  /* Day label — show horizontally next to number in collapsed state */
  .process-panel-vert {
    display: block;
    writing-mode: horizontal-tb;
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 52px;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--color-ink);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 180ms cubic-bezier(.16, 1, .3, 1);
  }
  .process-panel.is-active .process-panel-vert { opacity: 0; }

  .process-panel-content { bottom: 20px; left: 20px; right: 20px; }

  /* FAQ */
  .faq-q {
    font-size: 17px;
    padding: 24px 0;
    gap: 16px;
  }
  .faq-icon { width: 32px; height: 32px; }
  .faq-a { padding-bottom: 24px; }

  /* Footer (includes CTA) */
  .footer-inner { padding: var(--space-section-y) var(--page-x) 32px; }
  .footer-cta .btn { width: 100%; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-social { gap: var(--s-5); flex-wrap: wrap; }
}

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.preloader.is-done {
  opacity: 0;
  pointer-events: none;
}
.preloader-count {
  position: absolute;
  bottom: 48px;
  left: var(--page-x, 30px);
  font-size: clamp(72px, 11vw, 150px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #222;
  font-variant-numeric: tabular-nums;
}
