
  :root {
    --bg: #0b0c0f;
    --bg-2: #10121a;
    --surface: #14161d;
    --surface-2: #1a1d26;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f2f3f5;
    --text-2: #a4a9b4;
    --text-3: #6b7180;
    --accent: #7fd7ff;
    --accent-hover: #9ee2ff;
    --accent-ink: #061119;
    --accent-soft: rgba(127, 215, 255, 0.12);
    --shadow: 0 24px 64px -24px rgba(3, 4, 8, 0.9);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --radius: 14px;
    --radius-sm: 8px;
    --nav-h: 72px;
    --z-canvas: 0;
    --z-content: 1;
    --z-nav: 10;
    --z-noise: 20;
    --z-skip: 30;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Geist', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  ::selection { background: var(--accent); color: var(--accent-ink); }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button, input, textarea, select { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

  .mono { font-family: 'Geist Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
  .container { width: min(100% - 2.5rem, 1280px); margin-inline: auto; }
  @media (min-width: 768px) { .container { width: min(100% - 5rem, 1280px); } }

  /* Grain overlay */
  .noise {
    position: fixed; inset: 0; z-index: var(--z-noise); pointer-events: none; opacity: .055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: screen;
  }

  .skip-link {
    position: absolute; top: -100%; left: 1rem; z-index: var(--z-skip);
    padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-sm); font-weight: 600;
  }
  .skip-link:focus { top: 1rem; }

  /* ---------- NAV ---------- */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.is-scrolled {
    background: rgba(11, 12, 15, 0.72);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom-color: var(--line);
  }
  .nav .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; letter-spacing: -0.01em; }
  .brand svg { width: 36px; height: 36px; color: var(--text); }
  .nav .brand rect { transform-box: fill-box; transform-origin: center; animation: pop .6s var(--ease-out) both; animation-delay: calc(.2s + var(--d, 0s)); }
  @keyframes pop { from { transform: scale(0); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .nav .brand rect { animation: none; } }
  .brand span small { display: block; font-size: .68rem; font-weight: 500; color: var(--text-3); letter-spacing: .04em; line-height: 1.1; }
  .nav-links { display: none; gap: .25rem; list-style: none; }
  .nav-links a {
    display: block; padding: .5rem .85rem; border-radius: 999px; font-size: .92rem; color: var(--text-2);
    transition: color .2s ease, background-color .2s ease;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-links a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
  @media (min-width: 900px) { .nav-links { display: flex; } }
  .nav-cta { display: none; }
  @media (min-width: 900px) { .nav-cta { display: inline-flex; } }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
  }
  .nav-toggle:active { transform: scale(.96); }
  .nav-toggle svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; }
  @media (min-width: 900px) { .nav-toggle { display: none; } }

  .mobile-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: calc(var(--z-nav) - 1);
    background: rgba(11,12,15,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
  }
  .mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 1rem; width: 100%; justify-content: center; }

  /* ---------- BUTTONS ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s var(--ease-out), box-shadow .2s ease;
  }
  .btn:active { transform: translateY(1px) scale(.985); }
  .btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px rgba(127,215,255,.45); }
  .btn-primary:hover { background: var(--accent-hover); box-shadow: 0 14px 34px -12px rgba(127,215,255,.6); }
  .btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
  .btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
  .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(3px); } }
  .link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--text); }
  .link-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(3px); } }

  /* ---------- HERO ---------- */
  .hero {
    position: relative; min-height: 100dvh; display: grid; align-items: end;
    padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; overflow: hidden;
    isolation: isolate;
  }
  /* The scene is fixed to the viewport and keeps building while the first sections scroll over it */
  .hero-canvas {
    position: fixed; inset: 0; z-index: var(--z-canvas); pointer-events: none;
    background:
      radial-gradient(70% 60% at 68% 42%, rgba(127,215,255,.09), transparent 60%),
      radial-gradient(60% 50% at 30% 90%, rgba(60,70,110,.18), transparent 70%),
      var(--bg);
    will-change: opacity;
  }
  .hero-canvas canvas { display: block; width: 100%; height: 100%; }
  .hero-fade { position: absolute; inset: auto 0 0 0; height: 30%; z-index: var(--z-canvas); background: linear-gradient(to bottom, transparent, rgba(11,12,15,.55)); pointer-events: none; }
  .hero-aside .stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: .9rem; }
  .hero-aside .stages span { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); transition: color .3s ease; }
  .hero-aside .stages span.on { color: var(--text); }
  .hero-aside .stages span.done { color: var(--accent); }
  .hero-aside .cue { margin-top: .9rem; font-size: .78rem; color: var(--text-3); display: flex; align-items: center; gap: .5rem; }
  .hero-aside .cue svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s var(--ease-in-out) infinite; }
  @keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
  @media (prefers-reduced-motion: reduce) { .hero-aside .cue svg { animation: none; } }
  .hero .container { position: relative; z-index: var(--z-content); display: grid; gap: 2.5rem; }
  @media (min-width: 1024px) { .hero .container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
  .hero h1 {
    font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-weight: 600; line-height: .98; letter-spacing: -0.035em;
    text-wrap: balance; max-width: 12ch;
  }
  .hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); padding-bottom: .05em; }
  .hero p { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
  .hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
  .hero-aside { display: grid; gap: 1rem; }
  .hero-aside .card-glass {
    padding: 1.25rem 1.35rem; border-radius: var(--radius);
    background: rgba(20, 22, 29, .55); border: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), var(--shadow);
  }
  @media (prefers-reduced-transparency: reduce) { .hero-aside .card-glass, .nav.is-scrolled, .mobile-menu { backdrop-filter: none; background: var(--surface); } }
  .hero-aside .label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
  .hero-aside .stage { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .55rem; }
  .hero-aside .stage strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
  .hero-aside .bar { height: 3px; margin-top: .9rem; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
  .hero-aside .bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
  .hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: var(--z-content); color: var(--text-3); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; display: none; }
  @media (min-width: 1024px) { .hero-scroll { display: block; } }

  /* Entry animation */
  .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
  .rise[data-delay="1"] { animation-delay: .08s; }
  .rise[data-delay="2"] { animation-delay: .18s; }
  .rise[data-delay="3"] { animation-delay: .3s; }
  .rise[data-delay="4"] { animation-delay: .45s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* ---------- SECTIONS ---------- */
  section { position: relative; }
  .section { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 9rem); }
  .section-head { max-width: 62ch; }
  .section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
  .section-head p { margin-top: 1.1rem; color: var(--text-2); font-size: 1.08rem; max-width: 56ch; text-wrap: pretty; }
  .eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.1rem; }
  .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .07s; }
  .reveal[data-d="2"] { transition-delay: .14s; }
  .reveal[data-d="3"] { transition-delay: .21s; }
  .reveal[data-d="4"] { transition-delay: .28s; }

  /* ---------- SERVICES BENTO ---------- */
  .bento { margin-top: 3.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
  @media (min-width: 768px) {
    .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); }
    .bento .s-1 { grid-column: span 7; grid-row: span 2; }
    .bento .s-2 { grid-column: span 5; }
    .bento .s-3 { grid-column: span 5; }
    .bento .s-4 { grid-column: span 12; min-height: 220px; }
  }
  @media (min-width: 1024px) {
    .bento .s-4 { grid-column: span 12; }
  }
  .tile {
    position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--surface); padding: 1.6rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px;
    transition: border-color .25s ease, transform .35s var(--ease-out);
  }
  @media (hover: hover) and (pointer: fine) {
    .tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
    .tile:hover .tile-img { transform: scale(1.04); }
    .tile:hover .tile-more svg { transform: translateX(3px); }
  }
  .tile-img {
    position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45;
    filter: grayscale(1) contrast(1.05); transition: transform .8s var(--ease-out); will-change: transform;
  }
  .tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,15,.96) 20%, rgba(11,12,15,.35) 70%, rgba(11,12,15,.1)); }
  .tile > * { position: relative; }
  .tile .num { position: absolute; top: 1.35rem; left: 1.6rem; font-size: .78rem; color: var(--text-3); letter-spacing: .06em; }
  .tile .spot { position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(127,215,255,.13), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
  @media (hover: hover) and (pointer: fine) { .tile:hover .spot { opacity: 1; } }
  .tile h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
  .s-1 h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
  .tile p { margin-top: .6rem; color: var(--text-2); max-width: 46ch; font-size: .98rem; }
  .tile ul { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
  .tile li { font-size: .78rem; padding: .3rem .65rem; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text-2); background: rgba(11,12,15,.5); }
  .tile-more { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--accent); }
  .tile-more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
  .s-4 { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
  .s-4 .fiber-viz { position: absolute; inset: 0; opacity: .9; }
  .s-4 .fiber-viz svg { width: 100%; height: 100%; }
  .s-4 .fiber-viz path { fill: none; stroke-width: 1.2; stroke: rgba(255,255,255,.12); }
  .s-4 .fiber-viz path.glow { stroke: var(--accent); stroke-dasharray: 60 600; stroke-dashoffset: 660; animation: dash 6s linear infinite; }
  .s-4 .fiber-viz path.glow:nth-child(4) { animation-delay: -2s; }
  .s-4 .fiber-viz path.glow:nth-child(6) { animation-delay: -4s; }
  @keyframes dash { to { stroke-dashoffset: 0; } }

  /* ---------- PROCESS ---------- */
  .process { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .steps { margin-top: 3.5rem; position: relative; display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
  @media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
  .steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--line); display: none; }
  .steps .track { position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); display: none; }
  @media (min-width: 1100px) { .steps::before, .steps .track { display: block; } }
  .step { position: relative; padding-top: 3.2rem; }
  .step .dot {
    position: absolute; top: 14px; left: 0; width: 17px; height: 17px; border-radius: 50%;
    background: var(--bg-2); border: 1px solid var(--line-strong);
    display: grid; place-items: center;
  }
  .step .dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .4s var(--ease-out); }
  .step.in .dot::after { transform: scale(1); }
  .step .idx { font-size: .8rem; color: var(--text-3); letter-spacing: .06em; }
  .step h3 { margin-top: .4rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
  .step p { margin-top: .6rem; color: var(--text-2); font-size: .98rem; }
  .step .meta { margin-top: 1rem; font-size: .8rem; color: var(--text-3); }

  /* ---------- WORKFORCE ---------- */
  .workforce .grid { margin-top: 3rem; display: grid; gap: 3rem; }
  @media (min-width: 1024px) { .workforce .grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }
  .workforce .facts { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
  .workforce .fact { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .workforce .fact span { color: var(--text-2); }
  .workforce .fact strong { font-weight: 500; text-align: right; }
  .trades { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
  @media (min-width: 640px) { .trades { grid-template-columns: repeat(3, 1fr); } }
  .trade {
    padding: 1.15rem 1.15rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
    transition: border-color .25s ease, background-color .25s ease, transform .3s var(--ease-out);
  }
  @media (hover: hover) and (pointer: fine) { .trade:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); } }
  .trade svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .trade strong { display: block; margin-top: .9rem; font-weight: 600; font-size: .98rem; letter-spacing: -0.01em; }
  .trade span { display: block; margin-top: .2rem; color: var(--text-3); font-size: .82rem; }
  .trade.is-photo { position: relative; overflow: hidden; min-height: 150px; grid-column: span 2; border-color: transparent; }
  @media (min-width: 640px) { .trade.is-photo { grid-column: span 1; } }
  .trade.is-photo .ph { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05); opacity: .7; }
  .trade.is-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,15,.9), rgba(11,12,15,.1)); }
  .trade.is-photo strong { position: relative; z-index: 1; margin-top: 0; align-self: end; }
  .trade.is-photo { display: flex; align-items: flex-end; }

  /* ---------- MACHINERY ---------- */
  .machinery { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
  .marquee { margin-top: 3rem; position: relative; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
  .marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 48s linear infinite; }
  @media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .machine {
    flex: 0 0 auto; display: flex; align-items: center; gap: 1rem; padding: .9rem 1.2rem .9rem 1rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); min-width: 240px;
  }
  .machine svg { width: 30px; height: 30px; stroke: var(--text-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
  .machine strong { display: block; font-weight: 600; font-size: .95rem; letter-spacing: -0.01em; }
  .machine span { display: block; font-size: .78rem; color: var(--text-3); }
  .machinery .split { margin-top: 3.5rem; display: grid; gap: 1rem; }
  @media (min-width: 900px) { .machinery .split { grid-template-columns: 1.3fr 1fr; } }
  .panel { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 1.75rem; }
  .panel.photo { position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; }
  .panel.photo .ph { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05); opacity: .6; }
  .panel.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,15,.95) 25%, rgba(11,12,15,.2)); }
  .panel.photo > div { position: relative; z-index: 1; }
  .panel h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
  .panel p { margin-top: .6rem; color: var(--text-2); }
  .panel .list { margin-top: 1.25rem; list-style: none; display: grid; gap: .55rem; }
  .panel .list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
  .panel .list li::before { content: ""; flex: 0 0 auto; margin-top: .55rem; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }

  /* ---------- CONTACT ---------- */
  .contact .grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
  @media (min-width: 1024px) { .contact .grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
  .form { display: grid; gap: 1.1rem; }
  .form .row { display: grid; gap: 1.1rem; }
  @media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
  .field { display: grid; gap: .45rem; }
  .field label { font-size: .88rem; font-weight: 500; color: var(--text-2); }
  .field input, .field textarea, .field select {
    width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
    appearance: none; -webkit-appearance: none;
  }
  .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a4a9b4' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
  .field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .field textarea { min-height: 140px; resize: vertical; }
  .field .err { display: none; font-size: .82rem; color: #ff8a65; }
  .field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ff8a65; }
  .field.invalid .err { display: block; }
  .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .25rem; }
  .form-foot small { color: var(--text-3); font-size: .82rem; }
  .form-status { display: none; margin-top: .5rem; padding: .9rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: .92rem; }
  .form-status.show { display: block; }

  .contact-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
  .contact-card .top { padding: 1.6rem 1.6rem 1.4rem; border-bottom: 1px solid var(--line); }
  .contact-card .top h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
  .contact-card .top p { margin-top: .4rem; color: var(--text-2); font-size: .95rem; }
  .contact-card dl { display: grid; }
  .contact-card .item { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1rem 1.6rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .contact-card .item dt { color: var(--text-3); }
  .contact-card .item dd a { border-bottom: 1px solid var(--line-strong); transition: border-color .2s ease; }
  .contact-card .item dd a:hover { border-color: var(--text); }
  .contact-card .qr { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; padding: 1.6rem 1.6rem 1.7rem; background: linear-gradient(180deg, transparent, rgba(127,215,255,.04)); }
  @media (max-width: 420px) { .contact-card .qr { grid-template-columns: 1fr; } }
  .contact-card .qr strong { display: block; font-weight: 600; font-size: .95rem; }
  .contact-card .qr span { display: block; color: var(--text-3); font-size: .85rem; margin-top: .2rem; }
  .contact-card .qr .hint { margin-top: .9rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
  .contact-card .qr .hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(127,215,255,.5); animation: ping 2.4s ease-out infinite; }
  @keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(127,215,255,0); } 100% { box-shadow: 0 0 0 0 rgba(127,215,255,0); } }

  /* The tag: a bone-white site badge with the QR built from the same modules as the hero */
  .qr-tag {
    --tag-ink: #0b0d11; --accent: #1596c4;
    position: relative; width: 224px; padding: 14px 14px 11px; border-radius: 16px; background: #e9edf2; color: var(--tag-ink);
    box-shadow: 0 30px 60px -30px rgba(3,4,8,.9), 0 0 0 1px rgba(255,255,255,.08);
    rotate: -2.5deg; transition: rotate .45s var(--ease-out), translate .45s var(--ease-out);
    cursor: crosshair;
  }
  @media (hover: hover) and (pointer: fine) { .qr-tag:hover { rotate: 0deg; translate: 0 -3px; } }
  .qr-tag::before { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 34px; height: 3px; border-radius: 2px; background: rgba(11,13,17,.12); }
  .qr-tag svg { width: 100%; height: auto; display: block; margin-top: 6px; }
  .qr-tag .m {
    fill: var(--tag-ink); stroke: var(--tag-ink); stroke-width: 0; transform-box: fill-box; transform-origin: center;
    opacity: 0; transform: scale(.25);
    transition: transform .55s var(--ease-out) var(--d, 0s), opacity .4s ease var(--d, 0s), fill .35s ease, stroke-width .35s ease;
  }
  .qr-tag.in .m { opacity: 1; transform: scale(1); }
  .qr-tag .f { fill: none; stroke: var(--tag-ink); stroke-width: 1; opacity: 0; transition: opacity .5s ease .1s, fill .35s ease; }
  .qr-tag .fi { fill: var(--tag-ink); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: transform .6s var(--ease-out) .25s, opacity .4s ease .25s, fill .35s ease; }
  .qr-tag.in .f, .qr-tag.in .fi { opacity: 1; transform: none; }
  .qr-tag .mark { color: var(--tag-ink); opacity: 0; transition: opacity .6s ease .9s; }
  .qr-tag.in .mark { opacity: 1; }
  /* Sketch mode: modules become outlines, brace stays */
  @media (hover: hover) and (pointer: fine) {
    .qr-tag.in:hover .m { fill: transparent; stroke-width: .16; transition-delay: 0s; }
    .qr-tag.in:hover .fi { fill: var(--accent); }
  }
  .qr-tag .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(11,13,17,.55); }
  .qr-tag .foot b { font-weight: 500; color: var(--tag-ink); }
  .qr-tag .foot .state::after { content: "Realization"; }
  @media (hover: hover) and (pointer: fine) { .qr-tag:hover .foot .state::after { content: "Sketch"; } }
  @media (prefers-reduced-motion: reduce) {
    .qr-tag { rotate: 0deg; }
    .qr-tag .m, .qr-tag .fi { transform: none; transition: opacity .3s ease; }
    .qr-tag .qr .hint i { animation: none; }
  }

  /* ---------- FOOTER ---------- */
  footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; color: var(--text-3); font-size: .88rem; }
  footer .container { display: grid; gap: 2rem; }
  @media (min-width: 768px) { footer .container { grid-template-columns: 1fr auto; align-items: end; } }
  footer .brand { color: var(--text); }
  footer .legal { margin-top: 1rem; line-height: 1.8; }
  footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
  footer nav a { transition: color .2s ease; }
  footer nav a:hover { color: var(--text); }
  footer .bottom { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }

  /* ---------- REDUCED MOTION ---------- */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rise, .reveal { animation: none; transition: opacity .3s ease; transform: none; }
    .reveal { opacity: 0; } .reveal.in { opacity: 1; }
    .rise { opacity: 1; }
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
    .s-4 .fiber-viz path.glow { animation: none; stroke-dasharray: none; opacity: .5; }
    .tile, .trade, .btn { transition-property: background-color, border-color, color; }
    .tile-img { transition: none; }
  }
