/* ============================================================
   TW Projects — V3 · exact Dala replica layout
   (dala.craftedbygc.com structure, TW content)
   Pure #000 · Hanken Grotesk · violet #5BA8FF · amber #BFE0FF
   No cards, no borders, no shadows. Hierarchy = scale + space.
   ============================================================ */

:root {
  --void: #0a101d; /* deep night navy, clearly tinted toward the brand blue */
  --fg: #ffffff;
  --fg-2: #bdbdbd;
  --fg-3: #9a9a9a;
  --iris: #5BA8FF;
  --iris-2: #7BBCFF;
  --saffron: #BFE0FF;
  --line: rgba(255, 255, 255, 0.10);
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--void); }

body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--fg);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 200;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

#constellation {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; display: block;
  /* deep-space depth behind the particles: soft brand-blue glows on a
     tinted base — bright triangles keep full contrast against it */
  background:
    radial-gradient(ellipse 95% 70% at 50% 0%, rgba(64, 114, 198, 0.30), transparent 62%),
    radial-gradient(ellipse 70% 55% at 94% 42%, rgba(48, 92, 170, 0.22), transparent 66%),
    radial-gradient(ellipse 82% 60% at 2% 92%, rgba(42, 84, 156, 0.24), transparent 64%),
    linear-gradient(180deg, #0e1526, #0a101d 45%, #0c1322);
}
main, header.site, footer.site { position: relative; z-index: 2; }
::selection { background: var(--iris); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Loader (Dala: LOADING + percent, headline visible) ---------- */
#loader {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg);
  transition: opacity 0.8s var(--ease);
}
#loader .load-lbl { position: absolute; left: var(--pad); bottom: 30px; }
#loader .load-num { position: absolute; right: var(--pad); bottom: 30px; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02em; }
#loader.done { opacity: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1em 1.75em; border-radius: 100px;
  text-decoration: none; cursor: pointer; border: none;
  background: var(--iris); color: #04122e;
  transition: background 0.35s var(--ease), transform 0.45s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--iris-2); transform: translateY(-2px); }
.link-ghost {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg); text-decoration: none; transition: color 0.3s var(--ease);
}
.link-ghost:hover { color: var(--saffron); }

/* ---------- Header ---------- */
header.site { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.4s var(--ease); }
header.site.scrolled { background: rgba(10, 16, 29, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
header .nav { display: flex; align-items: center; gap: 30px; height: 88px; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); margin-right: auto; }
.brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.brand-mark span { font-weight: 600; font-size: 0.95rem; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--fg-3); text-decoration: none;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.header-cta { padding: 0.85em 1.5em; font-size: 0.7rem; }
.nav-toggle {
  display: none; background: transparent; border: none; color: var(--fg);
  width: 40px; height: 40px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle-bar { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
header.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
header.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
header.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 0 16px; align-items: stretch;
    background: rgba(10, 16, 29, 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  }
  header.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px var(--pad); font-size: 0.85rem; color: var(--fg); }
}
body.nav-locked { overflow: hidden; }
@media (max-width: 600px) {
  header .nav { height: 68px; gap: 12px; }
  .header-cta { padding: 0.62em 1em; font-size: 0.6rem; }
}
@media (max-width: 480px) { .brand-mark span { display: none; } }

/* ---------- Word-reveal ---------- */
.w { display: inline-block; opacity: 0; transform: translateY(0.6em); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.in .w { opacity: 1; transform: none; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- HERO (centered headline over the brain) ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 400; line-height: 1.25; letter-spacing: -0.015em;
  max-width: 30ch; margin: 0 auto;
}
.hero .btn { margin-top: 34px; }

/* ---------- CONTENT BLOCKS (one per viewport, huge left headline) ---------- */
.blk { min-height: 100svh; display: flex; align-items: center; padding: clamp(90px, 12vh, 140px) 0; position: relative; }
.blk .container { position: relative; }
.blk-h {
  font-size: clamp(3rem, 8.6vw, 6.9rem);
  font-weight: 400; line-height: 1.04; letter-spacing: -0.04em;
  max-width: 12ch;
}
.blk-tag {
  margin-top: 30px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--saffron); max-width: 52ch;
}
.blk-p {
  margin-top: 16px; max-width: 46ch; color: #ccd3df; font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65;
  /* dark halo lifts body copy off the particle canvas behind it */
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 18px rgba(0,0,0,0.7);
}
.blk-tag { text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 14px rgba(0,0,0,0.7); }
.blk-p strong, .blk li strong { color: var(--fg); font-weight: 400; }
.blk .btn, .blk .link-ghost { margin-top: 32px; }

/* right-aligned block variant (Datenhoheit: lock particles live left) */
.blk-right .blk-inner { margin-left: auto; max-width: 620px; }
@media (max-width: 820px) { .blk-right .blk-inner { margin-left: 0; max-width: none; } }

/* ---------- CORE-SYSTEM: copy left, dynamic loop right ---------- */
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.core-grid .blk-h { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
@media (max-width: 940px) { .core-grid { grid-template-columns: 1fr; } }

.loop-stage { position: relative; }
.loop-svg { width: 100%; height: auto; overflow: visible; }
.loop-center-glow { fill: url(#loop-center-grad); animation: loop-breathe 5s var(--ease) infinite; }
@keyframes loop-breathe { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.loop-ring { fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 1.5; }
.loop-dash { fill: none; stroke: var(--iris); stroke-width: 1; stroke-dasharray: 3 10; opacity: 0.5; animation: loop-spin 60s linear infinite; transform-origin: 320px 260px; }
@keyframes loop-spin { to { stroke-dashoffset: -260; } }
.loop-trace { fill: none; stroke: var(--saffron); stroke-width: 2.5; stroke-linecap: round; opacity: 0.9; }
.loop-flash { fill: none; stroke: var(--saffron); stroke-width: 2; opacity: 0; }
.loop-center-lbl { fill: var(--fg-3); font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-anchor: middle; }
.loop-center-num { fill: var(--fg); font-family: var(--sans); font-weight: 200; font-size: 52px; text-anchor: middle; letter-spacing: -0.02em; }
.loop-station .halo { fill: var(--iris); opacity: 0; transition: opacity 0.4s var(--ease); }
.loop-station .node { fill: #000; stroke: rgba(255,255,255,0.18); stroke-width: 1.5; transition: stroke 0.4s var(--ease); }
.loop-station .ic { stroke: var(--iris); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loop-station .lbl { fill: var(--fg); font-size: 15px; font-weight: 400; text-anchor: middle; }
.loop-station .sub { fill: var(--fg-3); font-family: var(--sans); font-weight: 600; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; text-anchor: middle; }
.loop-station { cursor: pointer; outline: none; }
.loop-station:hover .halo, .loop-station:focus-visible .halo { opacity: 0.16; }
.loop-station:hover .node, .loop-station:focus-visible .node { stroke: var(--iris); }
.loop-traveler .chip { fill: var(--iris); }
.loop-traveler .tic { stroke: #04122e; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loop-tip {
  position: absolute; z-index: 5; width: max-content; max-width: 240px; padding: 13px 16px;
  background: rgba(10, 10, 14, 0.92); border-radius: 12px;
  font-size: 0.88rem; line-height: 1.5; color: var(--fg); font-weight: 200;
  pointer-events: none; transform: translate(-50%, -120%); transition: opacity 0.2s ease;
}
.loop-caption { text-align: center; margin-top: 18px; color: var(--fg-3); font-size: 0.9rem; font-weight: 200; }
.loop-caption .num { color: var(--saffron); font-weight: 400; }
@media (max-width: 760px) { .loop-tip { display: none !important; } }

/* stat cards (Daten block) — ainnovators-style boxes: one big organic
   motif per card (inline SVG layer) moving slowly across the whole card,
   static grid texture above it, count-up numbers on top */
.stat-cards {
  list-style: none; margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 1080px;
}
.stat-card {
  position: relative; overflow: hidden; border-radius: 24px;
  padding: 30px 26px 26px; min-height: 300px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(191, 224, 255, 0.14);
  /* fully opaque so the particle canvas never bleeds through the card */
  background: linear-gradient(160deg, #234677, #16264d 55%, #0d1326);
}
/* grid texture + bottom scrim for text legibility: above the art, below the text */
.stat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(rgba(191,224,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,224,255,0.05) 1px, transparent 1px),
    linear-gradient(180deg, transparent 52%, rgba(10,14,26,0.55));
  background-size: 44px 44px, 44px 44px, cover;
}
.stat-card > * { position: relative; z-index: 3; }
.stat-card > .card-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}

/* --- card-art motifs (all animation via transform only) --- */
@keyframes art-spin { to { transform: rotate(360deg); } }

/* 1 · fanning sheets (15 Std.) */
.fan-s {
  fill: #5BA8FF; transform-box: fill-box; transform-origin: 6% 97%;
  animation: 13s ease-in-out infinite alternate;
}
.fan-s1 { opacity: 0.30; animation-name: art-fan1; }
.fan-s2 { opacity: 0.22; animation-name: art-fan2; }
.fan-s3 { opacity: 0.15; animation-name: art-fan3; }
.fan-s4 { opacity: 0.10; animation-name: art-fan4; }
@keyframes art-fan1 { from { transform: rotate(-9deg); }  to { transform: rotate(3deg); } }
@keyframes art-fan2 { from { transform: rotate(-2deg); }  to { transform: rotate(19deg); } }
@keyframes art-fan3 { from { transform: rotate(5deg); }   to { transform: rotate(37deg); } }
@keyframes art-fan4 { from { transform: rotate(12deg); }  to { transform: rotate(56deg); } }

/* 2 · rotating concentric arcs (73%) */
.arcs-g { transform-box: fill-box; transform-origin: center; animation: art-spin 46s linear infinite; }
.arc  { fill: none; stroke: #5BA8FF; stroke-linecap: round; }
.arc1 { stroke-width: 46; stroke-dasharray: 340 175;  opacity: 0.34; }
.arc2 { stroke-width: 42; stroke-dasharray: 700 255;  opacity: 0.25; }
.arc3 { stroke-width: 40; stroke-dasharray: 1000 414; opacity: 0.18; }
.arc4 { stroke-width: 38; stroke-dasharray: 1400 485; opacity: 0.12; }

/* 3 · drifting circles (CHF 30'000) */
.dot   { fill: #5BA8FF; animation: 18s ease-in-out infinite alternate; }
.dot-a { opacity: 0.26; animation-name: art-drift-a; animation-duration: 21s; }
.dot-b { opacity: 0.20; animation-name: art-drift-b; animation-duration: 17s; }
.dot-c { opacity: 0.32; animation-name: art-drift-c; animation-duration: 14s; }
.dot-d { opacity: 0.16; animation-name: art-drift-d; animation-duration: 24s; }
.dot-e { opacity: 0.36; animation-name: art-drift-b; animation-duration: 12s; }
.dot-f { opacity: 0.20; animation-name: art-drift-d; animation-duration: 19s; }
@keyframes art-drift-a { to { transform: translate(-110px, 90px); } }
@keyframes art-drift-b { to { transform: translate(90px, -70px); } }
@keyframes art-drift-c { to { transform: translate(-70px, -100px); } }
@keyframes art-drift-d { to { transform: translate(100px, 60px); } }

/* 4 · swaying leaves (20–30%) */
.leaf-g  { transform-box: fill-box; transform-origin: 50% 100%; animation: art-sway 16s ease-in-out infinite alternate; }
.leaf-g2 { animation-duration: 12s; animation-direction: alternate-reverse; }
.lf  { fill: #5BA8FF; }
.lf1 { opacity: 0.13; } .lf2 { opacity: 0.27; } .lf3 { opacity: 0.20; } .lf4 { opacity: 0.11; }
@keyframes art-sway { from { transform: rotate(-11deg); } to { transform: rotate(12deg); } }

/* 5 · rolling waves (+11%) */
.wave   { fill: #5BA8FF; animation: 22s ease-in-out infinite alternate; }
.wave-1 { opacity: 0.24; animation-name: art-wave-a; }
.wave-2 { opacity: 0.13; animation-name: art-wave-b; animation-duration: 28s; }
@keyframes art-wave-a { from { transform: translate(-80px, 8px); }  to { transform: translate(70px, -18px); } }
@keyframes art-wave-b { from { transform: translate(60px, -6px); }  to { transform: translate(-70px, 14px); } }

/* 6 · breathing blob (8%) */
.blob-spin    { transform-box: fill-box; transform-origin: center; animation: art-spin 74s linear infinite; }
.blob-breathe { transform-box: fill-box; transform-origin: center; animation: art-breathe 11s ease-in-out infinite alternate; }
.blob-p { fill: #5BA8FF; opacity: 0.22; }
@keyframes art-breathe { from { transform: scale(0.94); } to { transform: scale(1.14); } }
.stat-card .n {
  font-size: clamp(2rem, 2.6vw, 2.7rem); font-weight: 400; color: var(--fg);
  letter-spacing: -0.02em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat-card .src { margin-top: 8px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); }
.stat-card p { margin-top: auto; padding-top: 18px; color: #dde7f7; font-weight: 300; font-size: 0.96rem; line-height: 1.55; }
@media (max-width: 1020px) { .stat-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stat-cards { grid-template-columns: 1fr; } .stat-card { min-height: 0; } .stat-card p { padding-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .card-art * { animation: none !important; } }

/* text cards — same visual system as the stat cards, applied to all body
   copy blocks (titles stay outside); motif layer dimmed behind long text */
.text-card {
  position: relative; overflow: hidden; border-radius: 24px;
  border: 1px solid rgba(191, 224, 255, 0.14);
  background: linear-gradient(160deg, #1e3c69, #14224a 55%, #0d1326);
  padding: clamp(26px, 3.4vw, 42px);
  margin-top: 30px; max-width: 720px;
}
.text-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(rgba(191,224,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,224,255,0.05) 1px, transparent 1px),
    linear-gradient(180deg, transparent 52%, rgba(10,14,26,0.5));
  background-size: 44px 44px, 44px 44px, cover;
}
.text-card > * { position: relative; z-index: 3; }
.text-card > .card-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.55;
}
.text-card > :first-child:not(.card-art), .text-card > .card-art + * { margin-top: 0; }
.text-card .blk-p, .text-card .blk-tag { text-shadow: none; }
.text-card .item-list { margin-top: 26px; }
.text-card .item-list ~ .item-list, .text-card .blk-p ~ .item-list { margin-top: 30px; }

/* item list (Ansatz / Core / Warum / Datenhoheit / Prozess) */
.item-list { list-style: none; margin-top: 36px; display: grid; gap: 26px; max-width: 640px; }
.item-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; }
.item-list .idx { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--iris); }
.item-list h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 400; letter-spacing: -0.01em; }
.item-list p { margin-top: 6px; color: var(--fg-2); font-weight: 200; font-size: 0.98rem; line-height: 1.6; max-width: 52ch; }
.item-list a { color: var(--saffron); text-decoration: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.item-list a:hover { text-decoration: underline; }

/* ---------- TEAM (carousel, huge portrait, like the reference) ---------- */
#s-team { min-height: 100svh; display: flex; align-items: center; padding: clamp(90px, 12vh, 140px) 0; }
.team-kicker { text-align: center; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); }
.team-title { text-align: center; font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 400; letter-spacing: -0.035em; margin-top: 16px; }
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px); margin-top: clamp(36px, 5vh, 60px);
  max-width: 980px; margin-left: auto; margin-right: auto;
}
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }
.member { text-align: center; }
.member .ph {
  width: min(360px, 100%); aspect-ratio: 4/5; margin: 0 auto;
  border-radius: 24px; overflow: hidden; background: #0a0a0a;
}
.member .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .role { margin-top: 26px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--iris); }
.member h3 { margin-top: 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; }
.member .degree { margin-top: 6px; color: var(--fg-3); font-size: 0.9rem; }
.member .bio { margin: 18px auto 0; max-width: 52ch; color: var(--fg-2); font-weight: 200; line-height: 1.65; }
.member .hobbies { margin-top: 14px; font-size: 0.88rem; color: var(--fg-3); }
.member .hobbies span { color: var(--saffron); font-weight: 400; }

/* ---------- KUNDEN (investors slot) ---------- */
#s-kunden { padding: clamp(110px, 16vh, 200px) 0; text-align: center; }
.kunden-line { max-width: 44ch; margin: 0 auto; color: var(--fg-2); font-weight: 200; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; }
.kunden-grid { margin-top: clamp(40px, 6vh, 64px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 56px); align-items: center; }
.kunde { display: grid; gap: 10px; justify-items: center; text-decoration: none; }
.kunde img { max-width: 118px; max-height: 40px; object-fit: contain; filter: grayscale(1) brightness(1.6) invert(1); opacity: 0.55; transition: opacity 0.35s var(--ease); }
.kunde:hover img { opacity: 1; }
.kunde .stat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); transition: color 0.35s var(--ease); }
.kunde:hover .stat { color: var(--saffron); }

/* ---------- FINAL CTA + FORM ---------- */
#s-cta { min-height: 100svh; display: flex; align-items: center; text-align: center; padding: clamp(260px, 36vh, 400px) 0 clamp(90px, 10vh, 140px); }
#s-cta .cta-h { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; max-width: 24ch; margin: 0 auto; }
#s-cta .blk-p { margin: 22px auto 0; }
.contact-form { max-width: 620px; margin: 46px auto 0; text-align: left; }
.form-fields { display: grid; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--iris); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 200; color: var(--fg);
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.18); border-radius: 0;
  padding: 9px 2px 13px; transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--iris); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.26); }
.hp { position: absolute; left: -9999px; opacity: 0; }
#cf-submit { margin-top: 10px; justify-self: center; }
.status { font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.status.err { color: #ff8a8a; }
.form-success { text-align: center; padding: 26px 0; }
.form-success-icon { color: var(--iris); margin-bottom: 16px; }
.form-success-icon svg { width: 60px; height: 60px; }
.form-success-check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-check 0.8s var(--ease) forwards 0.2s; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.form-success-title { font-size: 1.5rem; font-weight: 400; margin-bottom: 8px; }
.form-success-sub { color: var(--fg-2); max-width: 40ch; margin: 0 auto 20px; }
.form-success-reset { background: transparent; border: none; color: var(--fg); cursor: pointer; font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.form-success-reset:hover { color: var(--saffron); }
.secondary-link { text-align: center; margin-top: 28px; color: var(--fg-3); font-size: 0.92rem; }
.secondary-link a { color: var(--saffron); text-decoration: none; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- FOOTER (single minimal row) ---------- */
footer.site { padding: 40px 0 36px; }
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  font-size: 0.74rem; font-weight: 400; color: var(--fg-3);
}
.footer-row .grp { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-row a { color: var(--fg-3); text-decoration: none; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s var(--ease); }
.footer-row a:hover { color: var(--fg); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .w, .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}
