/* =========================================================================
   WOLF — Intelligent Environments
   Direction B · Cinema — dark, cinematic, brand navy-black + amber light
   ========================================================================= */

:root {
  --bg:     #0C161D;   /* deep navy-black, derived from brand navy */
  --bg-2:   #11212B;   /* raised panel */
  --bg-3:   #091016;   /* deepest (footer) */
  --ink:    #ECE6DA;   /* warm off-white */
  --ink-2:  #B7B3AA;   /* secondary text */
  --muted:  #7E8A92;   /* cool muted */
  --muted-2:#9A958A;
  --amber:  #D69E6B;   /* the light */
  --amber-2:#E4B181;
  --line:   rgba(236,230,218,0.12);
  --line-2: rgba(236,230,218,0.22);

  --display: "Space Grotesk", system-ui, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --nav-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--bg); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); position: relative; }

/* ---- type helpers ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 13px;
}
.eyebrow::before { content:""; width: 26px; height: 1px; background: var(--amber); display: inline-block; }
.eyebrow.brass { color: var(--amber); }
.eyebrow.on-dark { color: var(--muted); }

/* .serif kept as a class name from the C markup — remapped to grotesque display */
.serif { font-family: var(--display); font-weight: 300; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--amber); }

/* lowercase editorial statements (the cinematic signature) */
.hero-h1, .manifesto-h2, .section-head h2, .diff h2, .contact-left h2 { text-transform: lowercase; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px; border: 1px solid var(--amber); background: var(--amber); color: var(--bg);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--amber-2); border-color: var(--amber-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn .ar { transition: transform .25s; }
.btn:hover .ar { transform: translateX(4px); }

/* =========================================================================
   PLACEHOLDER IMAGERY
   ========================================================================= */
.ph { position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.ph::after {
  content:""; position:absolute; inset:0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, rgba(0,0,0,0) 2px 11px);
}
.ph .cap {
  position: absolute; left: 16px; bottom: 13px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: rgba(245,240,232,0.82); text-transform: uppercase;
}
.ph.dusk   { background: linear-gradient(158deg, #2c3a43 0%, #1a2730 48%, #0f1b23 100%); }
.ph.dusk::before { content:""; position:absolute; inset:0; background: radial-gradient(72% 80% at 80% 14%, rgba(214,158,107,0.50), rgba(214,158,107,0) 60%); }
.ph.day    { background: linear-gradient(155deg, #4a5762 0%, #313e48 55%, #1c2832 100%); }
.ph.day::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 70% at 30% 10%, rgba(231,221,205,0.30), rgba(231,221,205,0) 55%); }
.ph.stone  { background: linear-gradient(150deg, #525a5c 0%, #3a4042 45%, #23282b 100%); }
.ph.night  { background: linear-gradient(160deg, #20303a 0%, #14222b 50%, #0c161d 100%); }
.ph.night::before { content:""; position:absolute; inset:0; background: radial-gradient(62% 70% at 22% 86%, rgba(214,158,107,0.40), rgba(214,158,107,0) 55%); }
.ph.warm   { background: linear-gradient(155deg, #6a533c 0%, #4a3a2a 50%, #2a2018 100%); }
.ph.warm::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 75% at 75% 80%, rgba(224,177,129,0.45), rgba(224,177,129,0) 58%); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(12,22,29,0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo img { height: 19px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px; background: var(--amber); transition: right .3s; }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line-2); padding: 11px 20px; color: var(--amber); transition: background .25s, color .25s, border-color .25s;
}
.nav-cta:hover { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.6,0,.2,1); pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); pointer-events: auto; }
.mobile-menu a { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 9vw, 56px); padding: 8px 0; text-transform: lowercase; }
.mobile-menu a .mi { font-family: var(--mono); font-size: 13px; color: var(--amber); margin-right: 18px; }
.mobile-menu > a.here { color: var(--amber); }

/* =========================================================================
   HERO  (cinematic, text-forward, amber glow)
   ========================================================================= */
.hero { padding-top: var(--nav-h); position: relative; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(58% 70% at 88% 18%, rgba(214,158,107,0.26), rgba(214,158,107,0) 60%),
    radial-gradient(80% 60% at 18% 116%, rgba(214,158,107,0.10), rgba(0,0,0,0) 55%);
}
.hero-inner { position: relative; z-index: 2; min-height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(48px,9vh,110px); padding-bottom: 40px; }
.hero-h1 { font-family: var(--display); font-weight: 300; font-size: clamp(50px, 7vw, 104px); line-height: 0.99; letter-spacing: -0.025em; margin: 28px 0 0; max-width: 16ch; }
.hero-h1 b { font-weight: 500; color: #fff; }
.hero-sub { font-size: clamp(16px,1.2vw,18px); line-height: 1.62; color: var(--ink-2); max-width: 48ch; margin: 32px 0 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 42px; }
.hero-meta { display: grid; grid-template-columns: repeat(3,auto); gap: clamp(40px,7vw,90px); margin-top: clamp(48px,8vh,90px); padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-meta .v { font-family: var(--display); font-weight: 400; font-size: clamp(17px,1.4vw,21px); margin-top: 10px; color: var(--ink); }

/* =========================================================================
   MANIFESTO
   ========================================================================= */
.manifesto { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.manifesto::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(50% 90% at 50% -10%, rgba(214,158,107,0.12), rgba(0,0,0,0) 60%); }
.manifesto .wrap { padding-top: clamp(80px,12vh,150px); padding-bottom: clamp(80px,12vh,150px); text-align: center; }
.manifesto .eyebrow { justify-content: center; margin-bottom: 38px; }
.manifesto-h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 4.1vw, 58px); line-height: 1.18; letter-spacing: -0.02em; max-width: 24ch; margin: 0 auto; }
.manifesto-h2 em { color: var(--amber); font-style: normal; }
.manifesto-foot { margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* =========================================================================
   SECTION SCAFFOLD
   ========================================================================= */
.section { padding-top: clamp(80px,11vh,140px); padding-bottom: clamp(80px,11vh,140px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px,7vh,84px); }
.section-head h2 { font-family: var(--display); font-weight: 300; font-size: clamp(34px,4.8vw,68px); line-height: 1.02; letter-spacing: -0.025em; margin: 22px 0 0; }
.section-head p { font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 42ch; margin: 0; align-self: end; }

/* ---- Systems list ---- */
.sys-row {
  display: grid; grid-template-columns: 54px 1.1fr 1.4fr auto; gap: 28px; align-items: center;
  padding: 30px 8px; border-top: 1px solid var(--line); transition: padding-left .3s, background .3s;
}
.sys-row:last-child { border-bottom: 1px solid var(--line); }
.sys-row:hover { background: var(--bg-2); padding-left: 22px; }
.sys-row .n { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.sys-row .t { font-family: var(--display); font-size: clamp(24px,2.6vw,34px); font-weight: 400; line-height: 1.05; text-transform: lowercase; }
.sys-row .d { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.sys-row .go { font-size: 20px; color: var(--muted); transition: transform .3s, color .3s; }
.sys-row:hover .go { transform: translateX(6px); color: var(--amber); }

/* =========================================================================
   WORK
   ========================================================================= */
.work-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; margin-bottom: clamp(40px,6vh,80px); }
.work-feature .ph { aspect-ratio: 16/10; }
.work-feature .meta .loc { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.work-feature .meta h3 { font-family: var(--display); font-weight: 300; font-size: clamp(30px,3.6vw,48px); line-height: 1.04; margin: 18px 0 0; letter-spacing: -0.02em; }
.work-feature .meta p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin: 22px 0 0; max-width: 40ch; }
.work-feature .meta .specs { display: flex; gap: 30px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.work-feature .meta .specs div { font-size: 13px; color: var(--muted); }
.work-feature .meta .specs b { display: block; font-family: var(--display); font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.4vw,34px); }
.work-card { cursor: pointer; }
.work-card .ph { aspect-ratio: 4/5; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.work-card:hover .ph { transform: scale(1.02); }
.work-card .loc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-top: 20px; }
.work-card h4 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 9px 0 0; line-height: 1.1; }
.work-card .yr { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* =========================================================================
   CIRCADIAN (Light — the differentiator)
   ========================================================================= */
.circ { position: relative; overflow: hidden; }
.circ::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(60% 70% at 50% 0%, rgba(214,158,107,0.12), rgba(0,0,0,0) 60%); }
.circ-bar {
  height: 10px; border-radius: 6px; margin: 8px 0 12px;
  background: linear-gradient(90deg,
    #2a1410 0%,    /* deep night — warm, dim, melatonin-safe */
    #b8662a 12%,   /* dawn — amber rising */
    #e3a85f 24%,   /* morning — warming */
    #ddc9a8 40%,
    #c3d4ea 47%,
    #aec6e8 50%,   /* midday — cool daylight, blue-rich, alerting */
    #c3d4ea 53%,
    #e0b585 62%,
    #d6883f 75%,   /* dusk — golden */
    #b3631f 88%,
    #240f08 100%   /* night — back to warm dim */
  );
  box-shadow: 0 0 60px rgba(214,158,107,0.26);
}
.circ-scale { display: flex; justify-content: space-between; margin-bottom: 44px; }
.circ-scale span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.circ-scale span b { color: var(--ink-2); font-weight: 400; }
.circ-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,3vw,52px); }
.circ-m { padding-top: 24px; border-top: 1px solid var(--line); }
.circ-m .t { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.circ-m h4 { font-family: var(--display); font-weight: 400; font-size: clamp(22px,2.2vw,28px); margin: 14px 0 12px; text-transform: lowercase; }
.circ-m p { font-size: 15px; line-height: 1.58; color: var(--ink-2); margin: 0; }
.circ-foot { font-family: var(--display); font-weight: 300; font-size: clamp(18px,1.7vw,24px); line-height: 1.5; color: var(--ink); max-width: 60ch; margin: clamp(40px,6vh,72px) auto 0; text-align: center; }

/* =========================================================================
   DIFFERENCE (raised panel + glow)
   ========================================================================= */
.diff { background: var(--bg-2); position: relative; overflow: hidden; }
.diff::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(46% 80% at 82% 30%, rgba(214,158,107,0.16), rgba(0,0,0,0) 60%); }
.diff .wrap { padding-top: clamp(80px,12vh,150px); padding-bottom: clamp(80px,12vh,150px); }
.diff .eyebrow { margin-bottom: 36px; }
.diff h2 { font-family: var(--display); font-weight: 300; font-size: clamp(32px,4.8vw,66px); line-height: 1.08; letter-spacing: -0.025em; max-width: 18ch; margin: 0; }
.diff h2 em { color: var(--amber); font-style: normal; }
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,64px); margin-top: clamp(56px,8vh,96px); }
.diff-col .n { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.diff-col h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 18px 0 14px; }
.diff-col p { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }
.diff-col { padding-top: 26px; border-top: 1px solid var(--line-2); }

/* =========================================================================
   PROCESS
   ========================================================================= */
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,2.6vw,40px); }
.proc-step { padding-top: 26px; border-top: 2px solid var(--amber); }
.proc-step .n { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.proc-step h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 16px 0 12px; }
.proc-step p { font-size: 15px; line-height: 1.58; color: var(--ink-2); margin: 0; }

/* =========================================================================
   JOURNAL
   ========================================================================= */
.jrnl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,2.6vw,40px); }
.jrnl-card { cursor: pointer; }
.jrnl-card .ph { aspect-ratio: 3/2; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.jrnl-card:hover .ph { transform: scale(1.02); }
.jrnl-card .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-top: 20px; display: flex; gap: 12px; }
.jrnl-card .cat span { color: var(--muted); }
.jrnl-card h4 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 11px 0 0; max-width: 26ch; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact .wrap { padding-top: clamp(80px,11vh,140px); padding-bottom: clamp(80px,11vh,140px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px,6vw,100px); }
.contact-left h2 { font-family: var(--display); font-weight: 300; font-size: clamp(34px,4.6vw,60px); line-height: 1.04; letter-spacing: -0.025em; margin: 24px 0 0; }
.contact-left p { font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 38ch; margin: 26px 0 0; }
.contact-detail { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-detail .item .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-detail .item .v { font-family: var(--display); font-size: 20px; margin-top: 4px; color: var(--amber); }

form .field { margin-bottom: 22px; }
form label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
form input, form select, form textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line-2);
  padding: 10px 0; transition: border-color .25s;
}
form select option { color: #111; }
form input::placeholder { color: var(--muted); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-bottom-color: var(--amber); }
form textarea { resize: vertical; min-height: 70px; }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
form .field.err input, form .field.err select, form .field.err textarea { border-bottom-color: #d98a6a; }
form .field .msg { font-size: 12px; color: #d98a6a; margin-top: 7px; display: none; }
form .field.err .msg { display: block; }
form .submit-row { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
form .form-note { font-size: 13px; color: var(--muted); }
.form-success { display: none; padding: 26px 0; }
.form-success.show { display: block; }
.form-success .serif { font-size: 26px; color: var(--ink); }
.form-success p { color: var(--ink-2); margin: 12px 0 0; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--bg-3); color: var(--ink); padding-top: clamp(64px,9vh,110px); padding-bottom: 40px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(50px,7vh,80px); border-bottom: 1px solid var(--line); }
.footer-brand img { height: 24px; margin-bottom: 26px; }
.footer-brand p { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 34ch; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; font-weight: 400; }
.footer-col a { display: block; font-size: 15px; color: var(--ink-2); padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; flex-wrap: wrap; }
.footer-bottom span, .footer-bottom a { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.footer-bottom .legal { display: flex; gap: 26px; }

/* =========================================================================
   POWERED BY (KNX · DALI credential)
   ========================================================================= */
.powered { background: var(--bg); border-top: 1px solid var(--line); }
.powered .wrap { padding-top: clamp(56px,8vh,90px); padding-bottom: clamp(56px,8vh,90px); text-align: center; }
.powered-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.powered-names { font-family: var(--display); font-weight: 300; font-size: clamp(30px,4vw,52px); letter-spacing: 0.04em; margin: 16px 0 0; }
.powered-names span { color: var(--muted-2); padding: 0 6px; }
.powered-logos { display: flex; align-items: center; justify-content: center; gap: clamp(28px,4vw,56px); margin: 26px 0 0; }
.powered-logo { width: clamp(120px,15vw,180px); height: clamp(36px,4.5vw,50px); }
.powered-logo::part(image) { filter: brightness(0) invert(1); }
.powered-div { width: 1px; height: 38px; background: var(--line); }
.powered p { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); max-width: 52ch; margin: 22px auto 0; }

/* =========================================================================
   WORK PAGE — header, filters, modal
   ========================================================================= */
.page-head { padding-top: calc(var(--nav-h) + clamp(50px,9vh,110px)); position: relative; overflow: hidden; }
.page-head::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(54% 60% at 84% 8%, rgba(214,158,107,0.20), rgba(214,158,107,0) 60%); }
.page-head .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px,6vh,68px); }
.page-head h1 { font-family: var(--display); font-weight: 300; font-size: clamp(46px,7vw,92px); line-height: 0.99; letter-spacing: -0.025em; margin: 26px 0 0; text-transform: lowercase; }
.page-head .lede { font-size: clamp(16px,1.3vw,19px); line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 28px 0 0; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(36px,5vh,56px); padding-bottom: 8px; }
.filter-btn {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); padding: 10px 18px; border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--muted); }
.filter-btn.active { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.filter-btn .ct { opacity: 0.55; margin-left: 7px; }

.work-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,2.6vw,40px); }
.work-page-grid .work-card.feat { grid-column: span 2; }
.work-page-grid .work-card.feat .ph { aspect-ratio: 16/10; }
.work-card .scope { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.work-card .sys { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.work-card.hide { display: none; }
.work-empty { display: none; padding: 60px 0; color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* CTA band */
.cta-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(50% 90% at 50% 120%, rgba(214,158,107,0.16), rgba(0,0,0,0) 60%); }
.cta-band .wrap { padding-top: clamp(72px,11vh,130px); padding-bottom: clamp(72px,11vh,130px); text-align: center; position: relative; z-index: 2; }
.cta-band h2 { font-family: var(--display); font-weight: 300; font-size: clamp(32px,4.6vw,62px); line-height: 1.06; letter-spacing: -0.025em; text-transform: lowercase; margin: 18px 0 0; }
.cta-band .hero-cta { justify-content: center; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-scrim { position: absolute; inset: 0; background: rgba(6,10,13,0.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal.open .modal-scrim { opacity: 1; }
.modal-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 94vw);
  background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto;
  transform: translateX(40px); opacity: 0; transition: transform .4s cubic-bezier(.5,0,.2,1), opacity .4s;
}
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-panel .ph { aspect-ratio: 16/10; }
.modal-close { position: absolute; top: 20px; right: 20px; z-index: 3; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12,22,29,0.6); color: var(--ink); font-size: 18px; line-height: 1; }
.modal-close:hover { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.modal-body { padding: clamp(28px,4vw,48px); }
.modal-body .loc { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.modal-body h3 { font-family: var(--display); font-weight: 300; font-size: clamp(30px,4vw,46px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 0; }
.modal-body .desc { font-size: 16px; line-height: 1.64; color: var(--ink-2); margin: 22px 0 0; }
.modal-specs { display: flex; flex-wrap: wrap; gap: 28px; margin: 30px 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-specs div { font-size: 13px; color: var(--muted); }
.modal-specs b { display: block; font-family: var(--display); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.modal-sys { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.modal-sys span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 999px; }
.modal-quote { font-family: var(--display); font-weight: 300; font-size: clamp(20px,2vw,26px); line-height: 1.4; color: var(--ink); margin: 34px 0 0; }
.modal-quote .by { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* =========================================================================
   SYSTEMS PAGE — discipline index + alternating blocks
   ========================================================================= */
.sys-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(34px,5vh,54px); }
.sys-index a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line-2); padding: 10px 17px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 9px; transition: background .2s, color .2s, border-color .2s;
}
.sys-index a:hover { color: var(--bg); background: var(--amber); border-color: var(--amber); }
.sys-index a:hover .n { color: var(--bg); }
.sys-index a .n { color: var(--amber); }

.disc { padding-top: clamp(60px,9vh,118px); padding-bottom: clamp(60px,9vh,118px); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.disc.panel { background: var(--bg-2); }
.disc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,84px); align-items: center; }
.disc.rev .disc-media { order: 2; }
.disc-media .ph { aspect-ratio: 4/5; }
.disc-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--amber); }
.disc h2 { font-family: var(--display); font-weight: 300; font-size: clamp(34px,4.4vw,60px); line-height: 1.02; letter-spacing: -0.025em; text-transform: lowercase; margin: 16px 0 0; }
.disc h2 em { color: var(--amber); font-style: normal; }
.disc-lede { font-size: clamp(16px,1.2vw,18px); line-height: 1.62; color: var(--ink-2); margin: 24px 0 0; max-width: 46ch; }
.disc-feats { margin-top: clamp(28px,4vh,42px); border-top: 1px solid var(--line); }
.disc-feat { display: grid; grid-template-columns: 156px 1fr; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.disc-feat .fl { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--amber); padding-top: 3px; }
.disc-feat .fd { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.disc-link { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(26px,3.5vh,38px); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.disc-link .ar { transition: transform .25s; color: var(--amber); }
.disc-link:hover .ar { transform: translateX(5px); }

/* circadian mini-bar reused on the Light block */
.disc .circ-bar { margin: 0 0 14px; }

@media (max-width: 980px) {
  .disc-grid { grid-template-columns: 1fr; gap: 30px; }
  .disc.rev .disc-media { order: 0; }
  .disc-media .ph { aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .disc-feat { grid-template-columns: 1fr; gap: 5px; }
}

/* =========================================================================
   NAV — active sector state
   ========================================================================= */
.nav-links a.here { color: var(--ink); }
.nav-links a.here::after { right: 0; }

/* sector switch — Residential / Commercial */
.nav-left { display: flex; align-items: center; }
.sector-switch { display: inline-flex; align-items: center; margin-left: 20px; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.sector-switch a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 7px 13px; line-height: 1; transition: background .2s, color .2s; }
.sector-switch a + a { border-left: 1px solid var(--line-2); }
.sector-switch a.here { background: var(--amber); color: var(--bg); }
.sector-switch a:not(.here):hover { color: var(--ink); }
@media (max-width: 980px) { .sector-switch { display: none; } }

/* sector switch — mobile menu */
.mm-sector { display: flex; gap: 10px; margin-bottom: 30px; }
.mm-sector a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 20px; color: var(--ink-2); }
.mm-sector a.here { background: var(--amber); color: var(--bg); border-color: var(--amber); }

/* =========================================================================
   BRAND HOME — fork into Residential / Commercial
   ========================================================================= */
.brand-hero { padding-top: var(--nav-h); position: relative; overflow: hidden; }
.brand-hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(56% 64% at 50% 8%, rgba(214,158,107,0.22), rgba(214,158,107,0) 60%),
    radial-gradient(70% 50% at 50% 116%, rgba(214,158,107,0.08), rgba(0,0,0,0) 55%);
}
.brand-hero .wrap { position: relative; z-index: 2; padding-top: clamp(56px,11vh,130px); padding-bottom: clamp(30px,5vh,56px); text-align: center; }
.brand-hero .eyebrow { justify-content: center; }
.brand-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(44px,6.6vw,98px); line-height: 0.99; letter-spacing: -0.025em; margin: 26px auto 0; max-width: 17ch; text-transform: lowercase; }
.brand-hero h1 b { font-weight: 500; color: #fff; }
.brand-hero .sub { font-size: clamp(16px,1.3vw,19px); line-height: 1.62; color: var(--ink-2); max-width: 56ch; margin: 30px auto 0; }

.fork { padding-bottom: clamp(70px,11vh,130px); }
.fork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,2.4vw,30px); }
.fork-card {
  position: relative; overflow: hidden; min-height: clamp(380px,52vh,560px);
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(30px,3.4vw,52px); transition: border-color .35s;
}
.fork-card::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(8,14,19,0.86) 0%, rgba(8,14,19,0.34) 48%, rgba(8,14,19,0.12) 100%); z-index: 1; transition: opacity .4s; }
.fork-card .bg { position:absolute; inset:0; z-index:0; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.fork-card:hover { border-color: var(--amber); }
.fork-card:hover .bg { transform: scale(1.04); }
.fork-card > * { position: relative; z-index: 2; }
.fork-card .fc-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.fork-card h2 { font-family: var(--display); font-weight: 300; font-size: clamp(30px,3.4vw,46px); line-height: 1.02; letter-spacing: -0.02em; text-transform: lowercase; margin: 14px 0 0; }
.fork-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 16px 0 0; max-width: 38ch; }
.fork-card .fc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fork-card .fc-tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 999px; }
.fork-card .fc-enter { display: inline-flex; align-items: center; gap: 11px; margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.fork-card .fc-enter .ar { color: var(--amber); transition: transform .25s; }
.fork-card:hover .fc-enter .ar { transform: translateX(5px); }

/* brand belief strip */
.belief { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.belief::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(50% 90% at 50% -10%, rgba(214,158,107,0.10), rgba(0,0,0,0) 60%); }
.belief .wrap { padding-top: clamp(70px,11vh,130px); padding-bottom: clamp(70px,11vh,130px); text-align: center; }
.belief h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px,4vw,56px); line-height: 1.16; letter-spacing: -0.02em; max-width: 22ch; margin: 22px auto 0; }
.belief h2 em { color: var(--amber); font-style: normal; }

/* =========================================================================
   COMMERCIAL — value, sectors, stats
   ========================================================================= */
.cval-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,64px); }
.cval { padding-top: 26px; border-top: 2px solid var(--amber); }
.cval .n { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.cval h3 { font-family: var(--display); font-weight: 400; font-size: 25px; margin: 16px 0 12px; }
.cval p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }

.sectors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.4vw,34px); }
.sector-card { cursor: default; }
.sector-card .ph { aspect-ratio: 3/2; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.sector-card:hover .ph { transform: scale(1.02); }
.sector-card .sc-name { font-family: var(--display); font-weight: 400; font-size: 23px; margin: 18px 0 0; }
.sector-card .sc-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 9px 0 0; max-width: 34ch; }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,4vw,60px); }
.stat { border-top: 1px solid var(--line); padding-top: 24px; }
.stat b { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(36px,4.4vw,58px); letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.stat .sl { font-size: 14.5px; color: var(--ink-2); margin-top: 14px; line-height: 1.5; max-width: 30ch; }

@media (max-width: 980px) {
  .fork-grid { grid-template-columns: 1fr; }
  .cval-grid { grid-template-columns: 1fr; gap: 0; }
  .cval { margin-top: 0; border-top: none; border-bottom: 1px solid var(--line-2); padding: 26px 0; }
  .sectors-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .sectors-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================================
   USER-FILLABLE IMAGE SLOTS (dark theme)
   <image-slot class="ph dusk" …> reuses .ph sizing/gradient; these rules
   fix the empty-state contrast and let aspect-ratio drive height.
   ========================================================================= */
image-slot.ph { display: block; width: 100%; height: auto; }
image-slot.ph::part(empty) { color: var(--ink); }
image-slot.ph::part(ring) { border-color: rgba(236,230,218,0.34); }
image-slot.device { display: block; width: 100%; height: auto; }
image-slot.device::part(frame) { background: var(--bg-3); }
image-slot.device::part(empty) { color: var(--ink-2); }
image-slot.device::part(ring) { border-color: rgba(236,230,218,0.28); }

/* ---- Residential interface section + device frames ---- */
.interface { position: relative; overflow: hidden; }
.interface::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(54% 64% at 78% 12%, rgba(214,158,107,0.14), rgba(214,158,107,0) 60%); }
.interface .wrap { padding-top: clamp(80px,11vh,140px); padding-bottom: clamp(80px,11vh,140px); position: relative; z-index: 2; }
.if-grid { display: grid; grid-template-columns: 1.55fr 0.75fr; gap: clamp(28px,4vw,64px); align-items: center; }
.device-tablet { border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; background: #05090c; box-shadow: 0 50px 110px rgba(0,0,0,0.55); }
.device-phone { width: 100%; border: 1px solid var(--line-2); border-radius: 36px; padding: 10px; background: #05090c; max-width: 270px; margin: 0 auto; box-shadow: 0 50px 110px rgba(0,0,0,0.55); }
@media (max-width: 760px) {
  .if-grid { grid-template-columns: 1fr; gap: 30px; }
  .device-phone { max-width: 230px; }
}

/* =========================================================================
   LEGAL PAGES — privacy / terms / cookies
   ========================================================================= */
.legal { padding-top: clamp(56px,8vh,96px); padding-bottom: clamp(80px,12vh,150px); }
.legal-grid { display: grid; grid-template-columns: 232px 1fr; gap: clamp(40px,6vw,96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
.legal-toc .tl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 3px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); border-top: 1px solid var(--line); transition: color .2s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.legal-toc a:hover, .legal-toc a.active { color: var(--amber); }
.legal-toc a.active::before { color: var(--amber); }

.legal-body { max-width: 70ch; }
.legal-updated { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 26px; margin-bottom: 40px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 26px; }
.legal-intro { font-size: clamp(17px,1.5vw,21px); line-height: 1.62; color: var(--ink); font-family: var(--display); font-weight: 300; margin: 0 0 8px; }
.legal-sec { padding-top: clamp(40px,6vh,64px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-sec:first-of-type { padding-top: clamp(28px,4vh,40px); }
.legal-sec h2 { font-family: var(--display); font-weight: 300; font-size: clamp(23px,2.4vw,32px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.legal-sec h2 .n { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: 0.04em; }
.legal-sec h3 { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.01em; color: var(--ink); margin: 30px 0 10px; }
.legal-sec p { font-size: 15.5px; line-height: 1.72; color: var(--ink-2); margin: 0 0 16px; }
.legal-sec p:last-child { margin-bottom: 0; }
.legal-sec a { color: var(--amber); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.legal-sec a:hover { color: var(--amber-2); border-color: var(--amber-2); }
.legal-sec ul { list-style: none; display: grid; gap: 11px; margin: 4px 0 18px; padding: 0; }
.legal-sec ul li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.62; color: var(--ink-2); }
.legal-sec ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 1px; background: var(--amber); }
.legal-sec ul li strong { color: var(--ink); font-weight: 600; }
.legal-callout { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(22px,2.4vw,30px); margin: 24px 0 8px; }
.legal-callout p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.legal-callout .ck { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 12px; }

/* cookie consent banner */
.cookie-banner { position: fixed; left: clamp(16px,3vw,28px); right: clamp(16px,3vw,28px); bottom: clamp(16px,3vw,28px); z-index: 200; background: rgba(17,33,43,0.94); backdrop-filter: blur(16px); border: 1px solid var(--line-2); padding: clamp(18px,2vw,24px) clamp(20px,2.4vw,30px); display: none; gap: clamp(18px,3vw,40px); align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.cookie-banner p a { color: var(--amber); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions button { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 22px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: all .2s; }
.cookie-actions button:hover { border-color: var(--amber); color: var(--amber); }
.cookie-actions button.primary { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.cookie-actions button.primary:hover { background: var(--amber-2); border-color: var(--amber-2); color: var(--bg); }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; top: auto; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .work-feature { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2,1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 0; }
  .diff-col { margin-top: 0; border-top: none; border-bottom: 1px solid var(--line-2); padding: 28px 0; }
  .proc-grid { grid-template-columns: repeat(2,1fr); gap: 30px 24px; }
  .circ-grid { grid-template-columns: repeat(2,1fr); gap: 30px 28px; }
  .jrnl-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sys-row { grid-template-columns: 40px 1fr; gap: 6px 18px; }
  .sys-row .d { grid-column: 2; max-width: none; }
  .sys-row .go { display: none; }
  .work-page-grid { grid-template-columns: repeat(2,1fr); }
  .work-page-grid .work-card.feat { grid-column: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-meta { grid-template-columns: 1fr; gap: 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-page-grid { grid-template-columns: 1fr; }
  .work-page-grid .work-card.feat { grid-column: span 1; }
  .proc-grid { grid-template-columns: 1fr; }
  .circ-grid { grid-template-columns: 1fr; }
  .circ-scale span:nth-child(2), .circ-scale span:nth-child(4) { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  form .row2 { grid-template-columns: 1fr; gap: 0; }
  .hero-cta .btn { flex: 1; }
}

/* =========================================================================
   KARTRA FORM HELPERS (shared)
   ========================================================================= */
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--sans); font-size: 11px; }
.kt-captcha { margin: 6px 0 4px; }
.kt-captcha:empty { margin: 0; }
.kt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
