  /* ─── HERO ─── */
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 7rem 4vw clamp(4rem, 9svh, 6.5rem);
    position: relative;
    overflow: hidden;
  }

  .hero.hero-no-sub {
    justify-content: center;
    padding: 7.5rem 4vw 5.5rem;
  }

  .hero.hero-no-sub .hero-inner {
    max-width: min(74rem, 94vw);
  }

  .hero.hero-no-sub .hero-headline {
    max-width: none;
  }

  .hero.hero-no-sub .hero-actions {
    margin-top: 2rem;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(min-content, 1fr) auto;
    grid-template-rows: auto;
    column-gap: clamp(2rem, 5vw, 4.5rem);
    row-gap: 0;
    width: 100%;
    align-items: end;
    position: relative;
    z-index: 1;
  }

  /* Left column: headline + sub (tight stack) then CTA; single cell avoids grid row-stretch vs. tall visual */
  .hero-col {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(1.35rem, 2.8vw, 2.25rem);
    min-width: 0;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-width: 0;
  }

  .hero-headline {
    justify-self: start;
    align-self: start;
    min-width: 0;
    max-width: 100%;
    font-family: 'Syne', sans-serif;
    font-size: var(--xxl);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    opacity: 1;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .hero-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.04em;
  }

  .hero-line + .hero-line {
    margin-top: 0.02em;
  }

  .hero-line-inner {
    display: block;
    width: fit-content;
    max-width: 100%;
    opacity: 0;
    transform: translate3d(0, 1.12em, 0) rotate(-0.25deg);
    animation: heroLineReveal 0.92s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-line:nth-child(1) .hero-line-inner {
    animation-delay: 0.14s;
  }

  .hero-line:nth-child(2) .hero-line-inner {
    animation-delay: 0.34s;
  }

  @keyframes heroLineReveal {
    from {
      opacity: 0;
      transform: translate3d(0, 1.12em, 0) rotate(-0.35deg);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0) rotate(0deg);
    }
  }

  .hero-accent {
    color: var(--accent);
    display: inline-block;
    transform-origin: 0 70%;
    animation: heroAccentPop 0.68s cubic-bezier(0.16, 1, 0.32, 1) 0.55s forwards;
  }

  @keyframes heroAccentPop {
    from {
      transform: translate3d(-0.1em, 0.55em, 0) rotate(-4.5deg) scale(0.92);
      letter-spacing: -0.04em;
    }
    to {
      transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
      letter-spacing: inherit;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-line-inner {
      animation: none;
      opacity: 1;
      transform: none;
    }

    .hero-accent {
      animation: none;
      transform: none;
      letter-spacing: inherit;
    }
  }

  .hero-sub {
    min-width: 0;
    margin-top: 0;
    font-size: var(--base);
    color: var(--muted);
    font-weight: 300;
    max-width: min(58ch, 100%);
    opacity: 0;
    animation: fadeUp 0.9s 0.38s forwards;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    width: auto;
    max-width: none;
    flex: unset;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin: 0;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    opacity: 0;
    animation: fadeUp 0.9s 0.52s forwards;
    flex-wrap: wrap;
  }

  /* ─── 3D plate stack ─── */
  .hero-plate-stage {
    perspective: 800px;
    perspective-origin: 48% 36%;
    width: fit-content;
  }

  .hero-plate-scene {
    position: relative;
    display: grid;
    grid-template: 1fr / 1fr;
    justify-items: center;
    align-items: end;
    width: min(440px, 36vw);
    min-height: clamp(240px, 26vw, 320px);
    transform-style: preserve-3d;
  }

  .hero-plate-pose {
    grid-area: 1 / 1;
    position: relative;
    width: fit-content;
    justify-self: center;
    pointer-events: none;
  }

  .hero-plate-pose--deep {
    z-index: 1;
    transform: translate(26%, 10%) translateY(22px);
  }

  .hero-plate-pose--secondary {
    z-index: 2;
    transform: translate(14%, 4%) translateY(8px);
  }

  .hero-plate-pose--primary {
    z-index: 3;
    transform: translate(-8%, -4%);
  }

  .hero-plate-motion {
    transform-style: preserve-3d;
    will-change: transform;
    animation: heroPlateFloat 6s ease-in-out infinite alternate;
  }

  .hero-plate-pose--primary .hero-plate-motion {
    animation-delay: 0s;
  }

  .hero-plate-pose--secondary .hero-plate-motion {
    animation-delay: 2s;
  }

  .hero-plate-pose--deep .hero-plate-motion {
    animation-delay: 4s;
  }

  @keyframes heroPlateFloat {
    0%, 100% {
      transform: rotateX(-8deg) rotateY(-6deg) translateY(0);
    }
    50% {
      transform: rotateX(-14deg) rotateY(6deg) translateY(-10px);
    }
  }

  .hero-plate-img {
    display: block;
    height: auto;
    max-width: 100%;
  }

  .hero-plate-img--primary {
    width: clamp(260px, 30vw, 400px);
    filter: drop-shadow(0px 20px 40px rgba(20, 15, 10, 0.3));
  }

  .hero-plate-img--secondary {
    width: clamp(260px, 30vw, 400px);
    filter: blur(1.5px) drop-shadow(0px 10px 20px rgba(20, 15, 10, 0.15));
    transform: scale(0.6);
    transform-origin: 50% 60%;
  }

  .hero-plate-img--deep {
    width: clamp(260px, 30vw, 400px);
    opacity: 0.4;
    filter: blur(3px);
    transform: scale(0.4);
    transform-origin: 50% 65%;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, var(--border) 1px, transparent 1px),
      linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  }

  /* ─── Desktop + tablet: large plate stack, scales with viewport ─── */
  @media (min-width: 769px) {
    .hero-col {
      position: relative;
      z-index: 1;
    }

    .hero-visual {
      align-self: center;
      z-index: 0;
    }

    .hero-plate-stage {
      perspective: 1200px;
      perspective-origin: 48% 38%;
      /* Explicit width breaks the fit-content ↔ width:100% circular reference
         that would otherwise collapse the scene to its min-content size */
      width: min(56vw, 1200px);
    }

    .hero-plate-scene {
      width: 100%;
      max-width: min(1200px, 56vw);
      min-height: min(78svh, 960px);
      height: min(78svh, 960px);
      align-items: center;
    }

    .hero-plate-pose--primary {
      transform: translate(-14%, 0);
    }

    .hero-plate-pose--secondary {
      transform: translate(11%, 5%) translateY(6px);
    }

    .hero-plate-pose--deep {
      transform: translate(20%, 9%) translateY(16px);
    }

    .hero-plate-img--primary {
      width: clamp(480px, 48vw, min(820px, 78svh));
      max-width: 100%;
      filter: drop-shadow(0px 28px 56px rgba(20, 15, 10, 0.24));
      transform: translateZ(0);
      backface-visibility: hidden;
    }

    .hero-plate-img--secondary {
      width: clamp(440px, 44vw, min(760px, 74svh));
      max-width: 100%;
      filter: blur(1px) drop-shadow(0px 16px 36px rgba(20, 15, 10, 0.13));
      transform: scale(0.6) translateZ(0);
    }

    .hero-plate-img--deep {
      width: clamp(440px, 44vw, min(760px, 74svh));
      max-width: 100%;
      filter: blur(2px);
      transform: scale(0.4) translateZ(0);
    }
  }

  /* Narrow desktop / large tablet (769–1200px): larger plate to balance big headline */
  @media (min-width: 769px) and (max-width: 1200px) {
    .hero-inner {
      column-gap: clamp(1rem, 3vw, 2.5rem);
    }

    .hero-plate-stage {
      width: min(600px, 52vw);
    }

    .hero-plate-scene {
      max-width: min(600px, 52vw);
      min-height: min(64svh, 720px);
      height: min(64svh, 720px);
    }

    .hero-plate-img--primary {
      width: clamp(340px, 44vw, min(560px, 64svh));
      max-width: 100%;
    }

    .hero-plate-img--secondary {
      width: clamp(320px, 42vw, min(520px, 60svh));
      max-width: 100%;
    }

    .hero-plate-img--deep {
      width: clamp(320px, 42vw, min(520px, 60svh));
      max-width: 100%;
    }
  }

  /* Short viewports: cap scene height so hero + plates stay balanced */
  @media (min-width: 769px) and (max-height: 700px) {
    .hero-plate-scene {
      min-height: min(52svh, 520px);
      height: min(52svh, 520px);
    }

    .hero-plate-img--primary {
      width: clamp(240px, 34vw, min(420px, 52svh));
    }

    .hero-plate-img--secondary,
    .hero-plate-img--deep {
      width: clamp(220px, 32vw, min(400px, 50svh));
    }
  }

  .btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 0.85rem 2rem;
    font-family: 'DM Mono', 'JetBrains Mono', monospace;
    font-size: var(--sm);
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s, transform 0.2s;
  }

  .btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

  .btn-ghost {
    border: 1px solid var(--border2);
    color: var(--text);
    padding: 0.85rem 2rem;
    font-family: 'DM Mono', 'JetBrains Mono', monospace;
    font-size: var(--sm);
    letter-spacing: 0.04em;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
    background: transparent;
  }

  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); background: var(--accent-soft); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeIn { to { opacity: 1; } }

  /* ─── SECTIONS ─── */
  section {
    padding: 8rem 4vw;
    border-top: 1px solid var(--border);
  }
  #process, #contact {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
  }

  .section-label {
    font-family: 'DM Mono', 'JetBrains Mono', monospace;
    font-size: var(--sm);
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-bottom: 3.5rem;
  }

  .section-label span { color: var(--accent); }
