/* FABER — software craftsmanship
   VOICE   confident and plain: a workshop that also ships software
   IDEA    a smithy for software: a dark forge, blue-hot steel, the F's 45-degree cuts and its cyan inline
   PICTURE the forged F striking its anvil and throwing sparks; screens hammered out of wireframes
   COLOUR  navy night, royal blue, cyan heat, cool paper
   TYPE    Montserrat throughout: 800 for headings like the wordmark, 400 and 500 for reading */

/* Montserrat, served from this site (no requests to Google). Licence: assets/fonts/OFL.txt */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --deep: #07122A;
  --night: #0B1A36;
  --navy: #102347;
  --steel: #17408F;
  --royal: #1E4FB8;
  --blue: #2C6BD6;
  --sky: #6CB6FF;
  --cyan: #22C1FF;
  --paper: #F3F6FB;
  --white: #FFFFFF;
  --ink: #102347;
  --muted: #4E5B75;
  --on-dark: rgba(255, 255, 255, 0.76);
  --line: rgba(16, 35, 71, 0.12);
  --line-strong: rgba(16, 35, 71, 0.28);
  --line-dark: rgba(255, 255, 255, 0.13);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 4vw, 48px);
  --max: 1240px;
  --header: 76px;
  --cut: 14px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --strike: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cyan); color: var(--navy); font-weight: 700; }
.skip:focus { top: 12px; }

/* The F's cut: top-left and bottom-right corners at 45 degrees */
.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ---------------------------------------------------------------- Header */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: transform 0.45s var(--ease); }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 42, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header::before { opacity: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); }

.progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--royal), var(--cyan));
  transform-origin: left; transform: scaleX(var(--progress, 0));
  opacity: 0; transition: opacity 0.3s;
}
.site-header.is-scrolled .progress { opacity: 1; }

.brand { position: relative; z-index: 2; display: block; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); font-size: 0.95rem; font-weight: 600; }
.nav-link {
  color: #fff; text-decoration: none; padding: 6px 0;
  background: linear-gradient(var(--cyan), var(--cyan)) left bottom / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { background-size: 100% 2px; }

.lang-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 32px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; transition: border-color 0.25s, color 0.25s; }
.lang-link:hover { border-color: var(--cyan); color: var(--cyan); }
.menu-btn { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #fff; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease), width 0.4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; width: 14px; }
body.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { width: 22px; transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav .nav-link, .nav .btn { display: none; }
  .menu-btn { display: block; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header) + 24px) var(--gutter) 40px;
  background: var(--night); color: #fff;
  clip-path: polygon(100% 0, 100% 0, 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
body.menu-open .menu { clip-path: polygon(-100% 0, 100% 0, 100% 200%); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.menu ul { list-style: none; margin: 0 0 40px; padding: 0; }
.menu li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.menu li a { display: block; padding: 14px 0; font-size: clamp(1.9rem, 8.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-decoration: none; transform: translateY(110%); transition: transform 0.6s var(--ease-out), color 0.2s; }
.menu li a:hover { color: var(--cyan); }
body.menu-open .menu li a { transform: none; transition-delay: calc(0.2s + var(--i, 0) * 0.06s); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--on-dark); font-size: 0.95rem; }
.menu-foot a { color: #fff; }

/* ---------------------------------------------------------------- Buttons */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.btn {
  --cut: 10px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px;
  border: 0; font: inherit; font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color 0.3s, transform 0.35s var(--ease-out);
}
/* the cyan inline from the logo, as a thin line inside the button */
.btn::after {
  content: ""; position: absolute; inset: 4px; z-index: -1; pointer-events: none;
  border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; opacity: 0.35;
  clip-path: polygon(calc(var(--cut) - 2px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 2px));
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -2; transform: translateX(-101%); transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(1px); }

.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan::before { background: #fff; }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal::before { background: var(--navy); }
.btn-royal[disabled] { opacity: 0.6; cursor: progress; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; --cut: 8px; }

.text-link, .project-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: inherit; text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(var(--cyan), var(--cyan)) left bottom / 100% 2px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.text-link:hover, .project-link:hover { background-size: 0 2px; background-position: right bottom; }
.text-link svg, .project-link svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.text-link:hover svg, .project-link:hover svg { transform: translate(3px, -3px); }
.project-link { color: var(--royal); }

/* ---------------------------------------------------------------- Dark forge ground */

.forge { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; }
.forge::before {
  /* brushed steel: faint 45-degree strokes, like the F's cuts */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 22px);
}
.forge::after {
  /* heat that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 60%), rgba(34, 193, 255, 0.12), transparent 70%);
  transition: background 0.2s;
}

/* ---------------------------------------------------------------- Hero */

.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 40px) 0 clamp(48px, 7vw, 88px); }
.hero .sparks { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { z-index: 1; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }

.status { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 0.92rem; font-weight: 500; color: var(--on-dark); opacity: 0; animation: rise 0.7s var(--ease-out) 0.1s forwards; }
.status .dot { display: block; position: relative; width: 9px; height: 9px; background: var(--cyan); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }
.status .ping { position: relative; display: block; width: 9px; height: 9px; }
.status .ping::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--cyan); animation: ping 2s var(--ease-out) infinite; }

.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* words are struck into place: they drop, overshoot and settle like metal under a hammer */
.kinetic .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0 0.1em; margin: -0.04em 0 -0.1em; }
.kinetic .w > span { display: inline-block; transform: translateY(-110%); animation: struck 0.75s var(--strike) forwards; animation-delay: calc(0.35s + var(--i) * 0.12s); }
.hero h1 .hot { color: var(--cyan); }

.lead { margin: 0 0 34px; max-width: 46ch; font-size: 1.12rem; color: rgba(255, 255, 255, 0.84); opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease-out) 0.95s forwards; }
.hero .actions { opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease-out) 1.1s forwards; }

.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line-dark); opacity: 0; animation: rise 0.9s var(--ease-out) 1.3s forwards; transform: translateY(12px); }
.proof li { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; color: var(--on-dark); line-height: 1.4; }
.proof strong { font-size: 1.45rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }

/* The mark, drawn and struck */
.hero-mark { position: relative; justify-self: center; width: min(100%, 520px); }
.forge-mark { width: 100%; height: auto; overflow: visible; }
.fm-f { transform-box: view-box; transform-origin: 60px 190px; }
.fm-outer, .fm-face { opacity: 0; animation: appear 0.6s ease 0.2s forwards; }
.fm-face { animation-delay: 0.45s; }
.fm-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) 0.5s forwards; }
.fm-anvil { transform-box: view-box; transform-origin: 140px 198px; opacity: 0; transform: translateY(-80px); animation: drop 0.55s cubic-bezier(0.55, 0, 1, 0.45) 1.2s forwards; }
.fm-heat { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hero-mark.is-struck .fm-heat { animation: heat 1.6s ease-out; }
.hero-mark.is-struck .fm-f { animation: jolt 0.4s var(--ease-out); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: min(62vw, 340px); justify-self: start; }
}
@media (max-width: 560px) {
  .proof { grid-template-columns: 1fr; gap: 14px; }
  .proof li { flex-direction: row; align-items: baseline; gap: 10px; }
  .proof strong { font-size: 1.15rem; min-width: 4.2em; }
}

/* ---------------------------------------------------------------- Ticker */

.ticker { background: var(--royal); color: #fff; overflow: hidden; padding: clamp(16px, 2.2vw, 24px) 0; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker ul { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 32px); padding-right: clamp(20px, 2.4vw, 32px); font-size: clamp(1.2rem, 2.3vw, 1.9rem); font-weight: 800; letter-spacing: -0.015em; white-space: nowrap; }
.ticker li::after { content: ""; width: 0.42em; height: 0.42em; background: var(--cyan); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }

/* ---------------------------------------------------------------- Sections */

.section { padding: clamp(88px, 12vw, 160px) 0; }
.section.white { background: var(--white); }
.section.forge { background-color: var(--night); }

.head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head .bar { grid-column: 1 / -1; display: block; width: 56px; height: 8px; background: var(--cyan); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.head h2 { margin: 0; font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask > span { display: block; }
.head p { margin: 0; max-width: 46ch; color: var(--muted); }
.forge .head p { color: var(--on-dark); }

html.js .head .bar { transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
html.js .head .mask > span { transform: translateY(105%); transition: transform 0.9s var(--ease-out) 0.2s; }
html.js .head p { opacity: 0; transform: translateY(12px); transition: opacity 0.8s ease 0.45s, transform 0.8s var(--ease-out) 0.45s; }
html.js .head.in .bar { transform: none; }
html.js .head.in .mask > span { transform: none; }
html.js .head.in p { opacity: 1; transform: none; }

@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Services */

.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 14px clamp(24px, 4vw, 56px);
  align-items: start; padding: clamp(28px, 3.6vw, 44px) 0; border-bottom: 1px solid var(--line);
  transition: background-color 0.35s;
}
.service::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--royal); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.service:hover::before { transform: scaleX(1); }

.icon { width: 56px; height: 56px; color: var(--navy); overflow: visible; transition: color 0.3s, transform 0.5s var(--ease-out); }
.icon path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .acc { fill: var(--cyan); stroke: none; }
.service:hover .icon { color: var(--royal); transform: translateY(-3px); }
html.js .icon path:not(.acc) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
html.js .icon .acc { opacity: 0; transform: scale(0.2); transform-box: fill-box; transform-origin: center; transition: opacity 0.3s, transform 0.5s var(--strike); }
html.js .service.in .icon path:not(.acc) { stroke-dashoffset: 0; transition-delay: calc(var(--d, 0) * 0.12s); }
html.js .service.in .icon .acc { opacity: 1; transform: none; transition-delay: 0.9s; }

.service h3 { margin: 0; font-size: clamp(1.45rem, 2.7vw, 2.1rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; transition: color 0.3s, transform 0.5s var(--ease-out); }
.service:hover h3 { color: var(--royal); transform: translateX(6px); }
.service p { margin: 0; max-width: 48ch; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 3px; font-size: 0.84rem; font-weight: 500; color: var(--muted); transition: border-color 0.3s, color 0.3s; }
.service:hover .tags li { border-color: rgba(30, 79, 184, 0.35); color: var(--royal); }

@media (max-width: 760px) {
  .service { grid-template-columns: 40px minmax(0, 1fr); }
  .service .icon { width: 36px; height: 36px; }
  .service > div { grid-column: 2; }
}

.toolbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 64px; margin-top: clamp(48px, 6vw, 72px); align-items: baseline; }
.toolbox h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--muted); }
.toolbox ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.toolbox li { font-weight: 700; font-size: 1.02rem; transition: color 0.25s; }
.toolbox li:hover { color: var(--royal); }
@media (max-width: 760px) { .toolbox { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Work */

.project { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 80px); align-items: center; }
.project + .project { margin-top: clamp(104px, 13vw, 168px); }
.project.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.project.flip .shots { order: 2; }

/* a forged frame: dark plate, cut corners, a cyan inline (drawn on pseudo elements so the phone can hang over the edge) */
.shots {
  --cut: 22px;
  position: relative; display: block; text-decoration: none; isolation: isolate;
  padding: clamp(22px, 4vw, 48px) clamp(22px, 4vw, 48px) clamp(50px, 7vw, 84px);
  perspective: 1400px;
}
.shots::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 70% 80%, rgba(44, 107, 214, 0.35), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 18px),
    var(--night);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.shots::after {
  content: ""; position: absolute; inset: 9px; z-index: -1; pointer-events: none;
  border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); opacity: 0.8;
  clip-path: polygon(calc(var(--cut) - 4px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 4px));
}
.flip .shots::before {
  background:
    radial-gradient(60% 70% at 30% 80%, rgba(34, 193, 255, 0.25), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 18px),
    var(--royal);
}

.shots-inner { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 0.6s var(--ease-out); }
.browser { position: relative; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); transition: transform 0.6s var(--ease-out); }
.shots:hover .browser { transform: translateY(-6px); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #E7EBF3; font-size: 0.74rem; color: var(--muted); }
.browser-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #C5CBD9; }
.browser-bar em { font-style: normal; margin-left: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; color: var(--navy); }
.live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #1FA55A; }
.live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #1FA55A; animation: ping 1.8s var(--ease-out) infinite; }

.screen { position: relative; aspect-ratio: 1600 / 1000; background: var(--deep); background-image: linear-gradient(rgba(34,193,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(34,193,255,0.07) 1px, transparent 1px); background-size: 16px 16px; }
.screen > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen img { object-fit: cover; }
.wire path { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; opacity: 0.85; }
.wire .pin { fill: #fff; stroke: none; }
.scan { width: 3px; left: 0; opacity: 0; background: #fff; box-shadow: 0 0 14px 3px var(--cyan), 0 0 40px 8px rgba(34, 193, 255, 0.45); }

html.js .wire path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .wire .pin { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }
html.js .screen img { clip-path: inset(0 100% 0 0); }
html.js .project.in .wire path { animation: draw 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 0.06s); }
html.js .project.in .wire .pin { animation: pop 0.4s var(--strike) forwards; animation-delay: calc(0.5s + var(--d, 0) * 0.05s); }
html.js .project.in .screen img { animation: unclip-x 1.3s var(--ease) 1.15s forwards; }
html.js .project.in .scan { animation: scan 1.3s var(--ease) 1.15s forwards; }

.phone { position: absolute; right: clamp(12px, 3vw, 32px); bottom: clamp(-44px, -3.4vw, -20px); width: 24%; height: auto; border: 5px solid var(--deep); border-radius: 18px; box-shadow: 0 28px 44px -18px rgba(0, 0, 0, 0.7); transform: translateY(var(--py, 0px)); transition: transform 0.7s var(--ease-out); }
.flip .phone { right: auto; left: clamp(12px, 3vw, 32px); border-color: #fff; }
.shots:hover .phone { transform: translateY(calc(var(--py, 0px) - 18px)) rotate(-2deg); }
.flip .shots:hover .phone { transform: translateY(calc(var(--py, 0px) - 18px)) rotate(2deg); }
html.js .phone { opacity: 0; translate: 0 50px; }
html.js .project.in .phone { animation: phone-in 1s var(--ease-out) 2.1s forwards; }

.ptags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ptags li { padding: 4px 11px; border-radius: 3px; background: var(--paper); font-size: 0.8rem; font-weight: 600; color: var(--royal); }
.project-info h3 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.project-info .lead-in { margin: 0 0 18px; font-size: 1.14rem; font-weight: 600; line-height: 1.4; }
.project-info .lead-in + p { margin: 0 0 22px; color: var(--muted); max-width: 46ch; }
.highlights { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 9px; }
.highlights li { position: relative; padding-left: 22px; font-size: 0.97rem; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; background: var(--royal); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 0 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; gap: 6px; }
.stats dd { margin: 0; order: -1; font-size: clamp(2.1rem, 3.8vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--royal); }
.stats dt { font-size: 0.88rem; color: var(--muted); }
.stats .wide { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
.stats .wide dd { order: 0; font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--ink); }

@media (max-width: 900px) {
  .project, .project.flip { grid-template-columns: 1fr; }
  .project.flip .shots { order: 0; }
  .project-info { padding-top: 24px; }
}

/* ---------------------------------------------------------------- Principles (dark) */

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.principle {
  --cut: 18px;
  position: relative; padding: clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.035);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color 0.4s;
}
.principle:hover { background: rgba(255, 255, 255, 0.06); }
.principle h3 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.principle p { margin: 0; max-width: 44ch; color: var(--on-dark); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

.diagram { width: 100%; max-width: 300px; height: auto; margin-bottom: 28px; overflow: visible; }
.diagram text { font-family: var(--font); font-size: 10.5px; font-weight: 600; fill: rgba(255, 255, 255, 0.7); }
.diagram .base { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.2; }
.diagram .ink { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.6; }
.diagram .blue { fill: none; stroke: var(--cyan); stroke-width: 2; }
.diagram .dash { stroke-dasharray: 3 4; }
.diagram .fill-cyan { fill: var(--cyan); }
.diagram .fill-royal { fill: var(--blue); }
.diagram .cell { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.2; }

html.js .d-team .c1 { transform: translateX(-34px); }
html.js .d-team .c2 { transform: translateX(34px); }
html.js .d-team .lens { opacity: 0; }
.d-team .c1, .d-team .c2 { transition: transform 1.2s var(--ease); }
.d-team .lens { transition: opacity 0.5s ease 1.05s; }
.principle.in .d-team .c1, .principle.in .d-team .c2 { transform: none; }
.principle.in .d-team .lens { opacity: 1; }

html.js .d-weeks .wk { opacity: 0; }
.principle.in .d-weeks .wk { animation: appear 0.25s ease forwards; animation-delay: calc(0.3s + var(--i) * 0.14s); }
.principle.in .d-weeks .now { animation: appear 0.25s ease 1.42s forwards, blink 1.1s steps(1) 1.8s infinite; }

.d-live .pulse { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.22 0.78; animation: run 2.6s linear infinite; }
.d-live .beat { transform-box: fill-box; transform-origin: center; animation: ping-svg 1.8s var(--ease-out) infinite; }

html.js .d-direct .route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.d-direct .detour, .d-direct .hop { transition: opacity 0.8s ease 0.2s; }
.principle.in .d-direct .detour, .principle.in .d-direct .hop { opacity: 0.25; }
.principle.in .d-direct .route { animation: draw 1s var(--ease) 0.7s forwards; }

/* ---------------------------------------------------------------- Process (light) */

.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--royal), var(--cyan)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps .spark-head { position: absolute; top: -5px; left: calc(var(--p, 0) * 100%); width: 13px; height: 13px; margin-left: -6px; background: #fff; box-shadow: 0 0 0 3px var(--cyan), 0 0 18px 4px rgba(34, 193, 255, 0.7); border-radius: 50%; opacity: var(--head, 0); transition: opacity 0.3s; z-index: 1; }

.step { counter-increment: step; position: relative; padding: 36px 28px 8px 0; }
.step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: rgba(16, 35, 71, 0.16); transition: color 0.5s; }
.step.on::before { color: var(--royal); }
.step::after { content: ""; position: absolute; left: 0; top: -6px; width: 15px; height: 15px; background: var(--paper); border: 2px solid var(--line-strong); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); transition: background-color 0.4s, border-color 0.4s; }
.step.on::after { background: var(--cyan); border-color: var(--cyan); }
.step h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.step .gets { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 0.88rem; color: var(--muted); }
.step .gets strong { display: block; font-weight: 700; color: var(--ink); }
html.js .step h3, html.js .step p, html.js .step .gets { opacity: 0.4; transition: opacity 0.5s; }
html.js .step.on h3, html.js .step.on p, html.js .step.on .gets { opacity: 1; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; padding-left: 36px; }
  .steps::before, .steps::after { width: 3px; height: 100%; left: 5px; }
  .steps::after { background: linear-gradient(180deg, var(--royal), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps .spark-head { left: 0; top: calc(var(--p, 0) * 100%); margin: -6px 0 0 0; }
  .step { padding: 0 0 44px; }
  .step::after { left: -36px; top: 4px; }
  .step::before { font-size: 2.4rem; margin-bottom: 10px; }
}

/* ---------------------------------------------------------------- Name statement (dark) */

.entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 0 0 clamp(28px, 4vw, 44px); padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.entry dfn { font-style: normal; font-size: 1.7rem; font-weight: 800; color: var(--cyan); letter-spacing: -0.02em; }
.statement [data-words] { margin: 0; max-width: 24ch; font-size: clamp(1.9rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.03em; }
.statement .wd { color: rgba(255, 255, 255, 0.18); transition: color 0.35s ease, text-shadow 0.8s ease; }
.statement .wd.lit { color: #fff; }
.statement .wd.glow { text-shadow: 0 0 22px rgba(34, 193, 255, 0.8); color: #DDF4FF; }

/* ---------------------------------------------------------------- FAQ */

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header) + 32px); }
.faq-side .head { grid-template-columns: 1fr; margin-bottom: 0; }
.faq-side .head p a { color: var(--royal); font-weight: 700; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(1.05rem, 1.7vw, 1.22rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; cursor: pointer; list-style: none; transition: color 0.25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--royal); }
.qa summary i { position: relative; flex: none; width: 26px; height: 26px; margin-top: -1px; background: var(--paper); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); transition: background-color 0.3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--cyan); color: var(--navy); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa .answer { overflow: hidden; }
.qa .answer p { margin: 0; padding: 0 48px 26px 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------------------------------------------------------------- CTA */

.cta { background-color: var(--royal); }
.cta .wrap { padding-top: clamp(88px, 11vw, 144px); padding-bottom: clamp(88px, 11vw, 144px); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.cta h2 { margin: 0; font-size: clamp(2.6rem, 7vw, 5.8rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; }
.cta p { margin: 0 0 28px; max-width: 38ch; color: rgba(255, 255, 255, 0.88); }
.cta .mail-line { margin: 22px 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.cta .mail-line a { color: #fff; font-weight: 700; }
.cta .ghost-mark { position: absolute; right: -6%; bottom: -18%; width: min(46vw, 560px); opacity: 0.09; pointer-events: none; z-index: -1; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Footer */

.site-footer { position: relative; overflow: hidden; background: var(--deep); color: var(--on-dark); font-size: 0.95rem; padding: clamp(64px, 8vw, 104px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line-dark); }
.foot-brand img { width: 200px; height: auto; margin-bottom: 18px; }
.foot-brand p { margin: 0; max-width: 30ch; }
.foot-col h3 { margin: 0 0 14px; font-size: 0.82rem; font-weight: 700; color: var(--cyan); }
.foot-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot-col a { color: #fff; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.foot-col a:hover { color: var(--cyan); }
.foot-col .clock { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 0.88rem; }
.to-top { background: none; border: 0; padding: 0; font: inherit; color: #fff; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.to-top svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out); }
.to-top:hover { color: var(--cyan); }
.to-top:hover svg { transform: translateY(-3px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Contact page */

.contact-hero { padding: calc(var(--header) + 72px) 0 clamp(64px, 8vw, 104px); }
.contact-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px 80px; align-items: end; }
.contact-hero h1 { margin: 0; font-size: clamp(2.7rem, 7.4vw, 5.6rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.045em; }
.contact-hero .kinetic .w > span { animation-delay: calc(0.1s + var(--i) * 0.12s); }
.contact-hero .intro { margin: 24px 0 0; max-width: 42ch; color: rgba(255, 255, 255, 0.84); opacity: 0; transform: translateY(12px); animation: rise 0.8s var(--ease-out) 0.6s forwards; }
.next { margin: 0; padding: 0; list-style: none; counter-reset: next; border-top: 1px solid var(--line-dark); }
.next li { counter-increment: next; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(12px); animation: rise 0.7s var(--ease-out) forwards; animation-delay: calc(0.7s + var(--i) * 0.12s); }
.next li::before { content: counter(next, decimal-leading-zero); grid-row: span 2; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--cyan); }
.next strong { font-weight: 700; }
.next span { color: var(--on-dark); font-size: 0.95rem; }
@media (max-width: 860px) { .contact-hero .wrap { grid-template-columns: 1fr; } }

.contact-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px clamp(48px, 7vw, 96px); padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(88px, 11vw, 144px); }
@media (max-width: 860px) { .contact-body { grid-template-columns: 1fr; } }

.form { display: grid; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { padding: 0; font-weight: 700; font-size: 0.95rem; }
.field .hint { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 4px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 176px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(34, 193, 255, 0.22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C8261E; }
.counter { justify-self: end; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.error { color: #B0201A; font-size: 0.9rem; }
.error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; font-size: 0.93rem; font-weight: 500; cursor: pointer; user-select: none; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.chip span::before { content: ""; width: 0; height: 9px; margin-left: -8px; background: var(--cyan); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); transition: width 0.3s var(--ease), margin 0.3s var(--ease); }
.chip span:hover { border-color: var(--royal); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span::before { width: 9px; margin-left: 0; }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; }
.form-status { padding: 16px 18px; border-left: 4px solid; }
.form-status[hidden] { display: none; }
.form-status.fail { background: #FCEBEA; border-color: #C8261E; }

.sent { --cut: 18px; display: grid; justify-items: start; gap: 14px; padding: clamp(32px, 5vw, 56px); background: var(--navy); color: #fff; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.sent[hidden] { display: none; }
.sent svg { width: 64px; height: 64px; }
.sent .ring { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.8s var(--ease) forwards; }
.sent .tick { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.5s var(--ease) 0.6s forwards; }
.sent h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.sent p { margin: 0; color: var(--on-dark); max-width: 44ch; }

.contact-aside { display: grid; gap: 36px; align-content: start; }
.contact-aside h2 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.contact-aside p { margin: 0 0 14px; color: var(--muted); }
.contact-aside .mail { display: inline-block; font-size: 1.12rem; font-weight: 700; color: var(--royal); text-decoration-thickness: 2px; text-underline-offset: 4px; word-break: break-all; }
.copy-btn { margin-left: 10px; padding: 4px 10px; border: 1.5px solid var(--line); border-radius: 4px; background: none; font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.copy-btn:hover { border-color: var(--royal); color: var(--royal); }
.aside-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.aside-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.aside-facts li span { color: var(--muted); }
.aside-facts li strong { font-weight: 700; text-align: right; }

/* ---------------------------------------------------------------- 404 */

.lost { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 40px) 0 64px; }
.lost .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lost h1 { margin: 0 0 18px; font-size: clamp(4.5rem, 16vw, 11rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.06em; color: var(--cyan); }
.lost h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.lost p { margin: 0 0 28px; max-width: 40ch; color: rgba(255, 255, 255, 0.84); }
.lost .lost-mark { width: min(100%, 340px); justify-self: center; transform: rotate(-8deg); opacity: 0.9; }
@media (max-width: 760px) { .lost .wrap { grid-template-columns: 1fr; } .lost .lost-mark { width: 180px; justify-self: start; order: -1; } }

/* ---------------------------------------------------------------- Keyframes */

@keyframes draw     { to { stroke-dashoffset: 0; } }
@keyframes appear   { to { opacity: 1; } }
@keyframes blink    { 50% { opacity: 0; } }
@keyframes rise     { to { opacity: 1; transform: none; } }
@keyframes struck   { to { transform: none; } }
@keyframes drop     { 0% { opacity: 0; transform: translateY(-80px); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes jolt     { 0% { transform: none; } 30% { transform: translateY(3px) rotate(-0.6deg); } 100% { transform: none; } }
@keyframes heat     { 0% { opacity: 0; transform: scale(0.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes unclip-x { to { clip-path: inset(0 0 0 0); } }
@keyframes scan     { 0% { opacity: 1; left: 0; } 94% { opacity: 1; left: 100%; } 100% { opacity: 0; left: 100%; } }
@keyframes pop      { to { opacity: 1; transform: none; } }
@keyframes phone-in { to { opacity: 1; translate: 0 0; } }
@keyframes ping     { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes ping-svg { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes run      { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- Legal: footer line, form note, privacy page */

.foot-legal { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; line-height: 1.6; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.foot-links a { color: #fff; font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--cyan); }

.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.88rem; max-width: 56ch; }
.form-note a { color: var(--royal); font-weight: 600; }

.legal-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.legal-hero .wrap { display: block; }

.legal { max-width: 72ch; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(80px, 10vw, 128px); }
.legal h2 { margin: 48px 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--royal); font-weight: 600; }
.legal .updated { margin-top: 48px; font-size: 0.9rem; }
.legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd + dt { margin-top: 10px; } }

/* ---------------------------------------------------------------- Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .statement .wd { color: #fff; }
  .d-live .pulse { stroke-dasharray: none; }
  .hero .sparks { display: none; }
}
