/* ============================================================
   NexSurfaces — shared design system
   Charcoal + red · Archivo / Space Mono · light + dark
   ============================================================ */

/* ---- tokens ---- */
:root {
  --bg:        #ece8e1;
  --bg-2:      #e3ded3;
  --surface:   #f5f2eb;
  --surface-2: #e7e2d7;
  --ink:       #16161a;
  --ink-2:     #2c2c30;
  --soft:      #5d5a52;
  --faint:     #8a867c;
  --line:      rgba(20,20,25,.14);
  --line-2:    rgba(20,20,25,.08);
  --accent:    #cb1f24;
  --accent-ink:#ffffff;
  --btn-bg:    #16161a;
  --btn-ink:   #f6f4f0;
  --hero-scrim: linear-gradient(100deg, rgba(238,234,227,.95) 0%, rgba(238,234,227,.74) 24%, rgba(238,234,227,.30) 48%, rgba(238,234,227,0) 68%), linear-gradient(0deg, rgba(238,234,227,.55) 0%, rgba(238,234,227,0) 26%);
  --header-bg: rgba(236,232,225,.82);
  --shadow:    0 24px 60px rgba(20,18,14,.14);
  --shadow-sm: 0 10px 30px rgba(20,18,14,.10);
}
html[data-theme="dark"] {
  --bg:        #0f0f11;
  --bg-2:      #161619;
  --surface:   #1a1a1e;
  --surface-2: #232328;
  --ink:       #f3f1ee;
  --ink-2:     #e3e0db;
  --soft:      #a8a6a1;
  --faint:     #777570;
  --line:      rgba(255,255,255,.14);
  --line-2:    rgba(255,255,255,.07);
  --accent:    #e8403f;
  --accent-ink:#ffffff;
  --btn-bg:    #cb1f24;
  --btn-ink:   #ffffff;
  --hero-scrim: linear-gradient(100deg, rgba(13,13,15,.93) 0%, rgba(13,13,15,.72) 26%, rgba(13,13,15,.34) 52%, rgba(13,13,15,.05) 80%), linear-gradient(0deg, rgba(13,13,15,.62) 0%, rgba(13,13,15,0) 30%);
  --header-bg: rgba(15,15,17,.80);
  --shadow:    0 24px 60px rgba(0,0,0,.45);
  --shadow-sm: 0 10px 30px rgba(0,0,0,.40);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* ---- layout ---- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: clamp(22px, 5vw, 76px); }
.section { padding-block: clamp(74px, 9vw, 134px); position: relative; }
.section--tight { padding-block: clamp(54px, 6vw, 88px); }
.section--alt { background: var(--bg-2); }

/* ---- shared atoms ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--soft); margin: 0 0 22px;
}
.eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex: none; }
.eyebrow--line::before { content:""; width: 40px; height: 2px; background: var(--accent); }

.display { font-size: clamp(40px, 6.4vw, 92px); text-transform: uppercase; letter-spacing: -.028em; line-height: .94; }
.h2 { font-size: clamp(30px, 4.2vw, 56px); text-transform: uppercase; letter-spacing: -.025em; }
.h3 { font-size: clamp(21px, 2vw, 27px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--soft); }
.accent { color: var(--accent); }
.mono { font-family: 'Space Mono', monospace; }
.mono-label { font-family:'Space Mono', monospace; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 13px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 700; font-size: 14.5px; letter-spacing: .05em; text-transform: uppercase;
  padding: 17px 30px; border: 1px solid transparent;
  transition: transform .16s, box-shadow .22s, filter .16s, background .2s, color .2s;
}
.btn .arr { transition: transform .2s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn--accent { background: var(--accent); color: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 4px; width: fit-content;
}
.link-arrow .arr { color: var(--accent); transition: transform .2s; }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line); box-shadow: var(--shadow-sm);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 86px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: block; }
.footer-brand .logo-light { display: none; }
html[data-theme="dark"] .footer-brand .logo-dark { display: none; }
html[data-theme="dark"] .footer-brand .logo-light { display: block; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink); opacity: .82; position: relative; padding-block: 6px;
  transition: opacity .15s, color .15s;
}
.main-nav a::after {
  content:""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .22s ease;
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { opacity: 1; color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; flex-direction: column; line-height: 1.15; text-align: right;
}
.header-phone .l { font-family:'Space Mono', monospace; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.header-phone .n { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.header-phone .n:hover { color: var(--accent); }

/* theme toggle */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); display: grid; place-items: center;
  transition: border-color .2s, color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(15deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: block; }

/* mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 50%; place-items: center; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content:""; display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s, opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO (page top)
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 38%; z-index: -2; }
.hero__scrim { position: absolute; inset: 0; background: var(--hero-scrim); z-index: -1; pointer-events: none; }
.hero__frame { position: absolute; inset: 102px 26px 26px; border: 1px solid var(--line); pointer-events: none; z-index: 1; }
.tick { position: absolute; width: 15px; height: 15px; }
.tick::before,.tick::after { content:""; position: absolute; background: var(--accent); }
.tick::before { width: 15px; height: 2px; } .tick::after { width: 2px; height: 15px; }
.tick.tl{top:-1px;left:-1px} .tick.tr{top:-1px;right:-1px} .tick.tr::before{right:0}.tick.tr::after{right:0}
.tick.bl{bottom:-1px;left:-1px} .tick.bl::before{bottom:0}.tick.bl::after{bottom:0}
.tick.br{bottom:-1px;right:-1px} .tick.br::before{right:0;bottom:0}.tick.br::after{right:0;bottom:0}

.hero__inner { margin-top: auto; padding-bottom: clamp(48px, 7vh, 88px); padding-top: 150px; }
.hero__title { color: var(--ink); }
.hero__title .thin { font-weight: 500; color: var(--soft); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 22px; color: var(--accent);
  font-weight: 700; font-size: clamp(15px,1.4vw,19px); letter-spacing: .26em; text-transform: uppercase;
}
.hero__kicker .rule { width: 54px; height: 2px; background: var(--accent); }
.hero__sub { margin-top: 26px; max-width: 540px; color: var(--soft); font-size: clamp(16px,1.4vw,18.5px); line-height: 1.55; }
.hero__sub em { color: var(--accent); font-style: normal; font-weight: 600; }
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__sub--brief { display: none; } /* desktop shows the full subtitle */
.hero__cta { display: flex; align-items: center; gap: 32px; margin-top: 38px; flex-wrap: wrap; }
.callout { display: flex; flex-direction: column; gap: 2px; }
.callout .lbl { font-family:'Space Mono',monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.callout .num { font-size: 22px; font-weight: 700; }
.callout .num:hover { color: var(--accent); }
.hero__foot {
  margin-top: clamp(28px,4vh,46px); padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft);
}
.hero__foot .scroll { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.hero__foot .scroll .ln { width: 38px; height: 1px; background: var(--ink); }

/* compact page-hero for interior pages */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: 150px; padding-bottom: clamp(44px,6vw,76px); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.page-hero__scrim { position: absolute; inset: 0; background: var(--hero-scrim); z-index: -1; }
.page-hero .crumb { font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero__lead { margin-top: 22px; max-width: 56ch; color: var(--soft); font-size: clamp(17px,1.4vw,20px); }

/* ============================================================
   MARQUEE strip
   ============================================================ */
.marquee { border-block: 1px solid var(--line); background: var(--ink); color: var(--bg); overflow: hidden; }
.marquee__track { display: flex; gap: 44px; padding: 20px 0; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family:'Space Mono',monospace; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content:"✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee__track { animation: none; } }

/* ============================================================
   SERVICES / materials grid
   ============================================================ */
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin-bottom: clamp(38px,5vw,64px); }
.section-head .lead { margin-top: 18px; }
@media (max-width: 760px){ .section-head { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px){ .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  padding: 30px; min-height: 270px; display: flex; flex-direction: column;
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__no { font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.card h3 { margin-top: 16px; font-size: 24px; text-transform: uppercase; letter-spacing: -.01em; }
.card p { margin-top: 12px; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
.card .link-arrow { margin-top: auto; padding-top: 22px; border: none; font-size: 12px; }
.card__swatch { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .3s; z-index: -1; }
.card:hover .card__swatch { opacity: .14; }

/* ============================================================
   SPLIT (about teaser / image+text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); }
.split__media img, .split__media .imgph { width: 100%; height: 100%; object-fit: cover; }
.split__media .badge {
  position: absolute; left: 18px; bottom: 18px; background: var(--accent); color: #fff;
  font-family:'Space Mono',monospace; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; padding: 9px 14px;
}
.split__body p + p { margin-top: 18px; }
.split__body .lead { margin-top: 22px; }
.split__cta { margin-top: 34px; display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ============================================================
   IMAGE placeholders
   ============================================================ */
.imgph {
  position: relative; background:
    repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  display: grid; place-items: center; color: var(--faint);
}
.imgph::after {
  content: attr(data-ph); font-family:'Space Mono',monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); text-align: center; padding: 12px 16px;
  border: 1px dashed var(--line); background: var(--bg);
}

/* ============================================================
   STATS band
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: 38px 30px; }
.stat .n { font-size: clamp(38px,4.6vw,60px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat .n .accent { color: var(--accent); }
.stat .l { margin-top: 12px; font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg); padding: 32px 28px 40px; position: relative; transition: background .25s; }
.step:hover { background: var(--surface); }
.step .no { font-family:'Space Mono',monospace; font-size: 13px; letter-spacing: .18em; color: var(--accent); }
.step h3 { margin-top: 20px; font-size: 21px; text-transform: uppercase; }
.step p { margin-top: 12px; color: var(--soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .steps { grid-template-columns: 1fr; } }

/* ============================================================
   VIDEO block
   ============================================================ */
.video {
  position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line);
  background-size: cover; background-position: center; display: grid; place-items: center; cursor: pointer;
}
.video::before { content:""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.55), rgba(10,10,12,.25)); }
.video__play {
  position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; transition: transform .25s, box-shadow .25s; box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.video:hover .video__play { transform: scale(1.08); }
.video__play::after { content:""; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff; }
.video__cap { position: absolute; left: 24px; bottom: 22px; color: #fff; font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.video__ring { position: absolute; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0%{ transform: scale(1); opacity: .7 } 100%{ transform: scale(1.7); opacity: 0 } }
@media (prefers-reduced-motion: reduce){ .video__ring { animation: none; } }

/* ============================================================
   OWNERS / team
   ============================================================ */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.owner { background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; gap: 22px; align-items: center; }
.owner__photo { width: 122px; height: 150px; flex: none; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; position: relative; }
.owner__photo .ini { font-size: 34px; font-weight: 800; color: var(--faint); letter-spacing: -.02em; }
.owner__photo .tag { position: absolute; bottom: 8px; font-family:'Space Mono',monospace; font-size: 9px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.owner h3 { font-size: 22px; text-transform: uppercase; }
.owner .role { margin-top: 6px; font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.owner p { margin-top: 14px; color: var(--soft); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 760px){ .team { grid-template-columns: 1fr; } }

/* values */
.values { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value { padding: 28px 0; border-top: 2px solid var(--ink); }
.value .no { font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .18em; color: var(--accent); }
.value h3 { margin-top: 16px; font-size: 20px; text-transform: uppercase; }
.value p { margin-top: 12px; color: var(--soft); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 880px){ .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .values { grid-template-columns: 1fr; } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--line); background: transparent; color: var(--soft);
  transition: all .2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border: 1px solid var(--line); cursor: pointer; grid-column: span 4; aspect-ratio: 1/1; }
.tile.tile--wide { grid-column: span 8; aspect-ratio: 16/10; }
.tile.tile--tall { grid-column: span 4; aspect-ratio: 3/4; }
.tile__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__o { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.72) 0%, rgba(10,10,12,0) 52%); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.tile:hover .tile__o { opacity: 1; }
.tile__o .t { color: #fff; font-weight: 700; font-size: 18px; text-transform: uppercase; }
.tile__o .m { color: rgba(255,255,255,.7); font-family:'Space Mono',monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.tile.is-hidden { display: none; }
@media (max-width: 900px){ .tile, .tile--tall { grid-column: span 6; } .tile--wide { grid-column: span 12; } }
@media (max-width: 560px){ .tile, .tile--tall, .tile--wide { grid-column: span 12; aspect-ratio: 4/3; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,10,.92); display: none; place-items: center; padding: 32px; }
.lightbox.is-open { display: grid; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 84vh; aspect-ratio: 3/2; width: 100%; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.14); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; color: #fff; font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 20px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 22px; }
.lightbox__nav.prev { left: 24px; } .lightbox__nav.next { right: 24px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--bg); isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; z-index: -1; }
.cta-band .container { padding-block: clamp(64px,8vw,108px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: var(--bg); }
.cta-band .eyebrow { color: rgba(255,255,255,.6); }
html[data-theme="dark"] .cta-band { background: #050506; color: #ece8e1; }
html[data-theme="dark"] .cta-band h2 { color: #f5f2ec; }
html[data-theme="dark"] .cta-band .mono-label { color: rgba(255,255,255,.5); }
.cta-band__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band .btn--accent:hover { filter: brightness(1.1); }
@media (max-width: 820px){ .cta-band .container { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(56px,7vw,84px); }
.footer-brand img { height: 42px; }
.footer-brand p { margin-top: 20px; color: var(--soft); font-size: 15px; max-width: 34ch; }
.footer-col h4 { font-family:'Space Mono',monospace; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.footer-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--soft); font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); font-family:'Space Mono',monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE header / nav
   ============================================================ */
@media (max-width: 1040px){
  .header-phone { display: none; }
}
@media (max-width: 900px){
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: 86px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 20px clamp(22px,5vw,76px) 30px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .main-nav a { font-size: 16px; padding-block: 12px; width: 100%; }
  body.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---- small phones ---- */
@media (max-width: 560px){
  .hero__inner { padding-top: 118px; }
  .page-hero { padding-top: 118px; }
  .hero__foot { font-size: 10.5px; gap: 14px; }
  .hero__foot .scroll .ln { width: 22px; }
  .hero__cta { gap: 20px; }
  .card { min-height: 0; padding: 26px 24px; }
  .marquee span, .marquee__track { gap: 30px; }
  .lightbox__nav.prev { left: 10px; } .lightbox__nav.next { right: 10px; }
  .lightbox { padding: 18px; }
}

/* ---- mobile hero: simplified + tidy spacing ---- */
@media (max-width: 600px){
  /* stronger bottom-up scrim so every word stays legible over the photo */
  .hero__scrim { background: linear-gradient(0deg, rgba(236,232,225,.97) 0%, rgba(236,232,225,.9) 42%, rgba(236,232,225,.5) 72%, rgba(236,232,225,0) 100%); }
  html[data-theme="dark"] .hero__scrim { background: linear-gradient(0deg, rgba(15,15,17,.96) 0%, rgba(15,15,17,.88) 42%, rgba(15,15,17,.45) 72%, rgba(15,15,17,0) 100%); }

  /* no architectural frame on phones */
  .hero__frame { display: none; }

  /* center the block vertically (not bottom-anchored); stays left-aligned */
  .hero__inner { margin-block: auto; padding-top: 56px; padding-bottom: 44px; }

  /* materials line on a single row, with a more legible color */
  .hero .eyebrow { white-space: nowrap; font-size: 11px; letter-spacing: .1em; gap: 9px; margin: 0 0 20px; color: var(--ink-2); }

  .hero__title { font-size: clamp(42px, 12vw, 54px); }

  .hero__kicker { margin-top: 16px; font-size: 14px; letter-spacing: .2em; }
  .hero__kicker .rule { display: none; }   /* no dash on mobile */

  /* swap the long subtitle for a brief, left-aligned one */
  .hero__sub--full  { display: none; }
  .hero__sub--brief { display: block; margin-top: 18px; max-width: 30ch; }
  .hero__foot { display: none; }            /* hide Showroom + Scroll */

  /* CTA stacked, everything left-aligned */
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 26px; }
  .hero__cta .btn { width: auto; justify-content: flex-start; }
  .callout { align-items: flex-start; text-align: left; }
}
