/* ==========================================================================
   TOKMAKAR — Aluminium Doors, Windows & Automation
   Design language: architectural drawing meets anodised metal.
   ========================================================================== */

:root {
  /* brand: Tokmakar navy #203050 + signal orange #F84C0A (from logo) */
  --ink: #0d1422;
  --ink-2: #131c2e;
  --ink-3: #1b2740;
  --navy: #203050;
  --line: rgba(214, 222, 236, 0.12);
  --line-strong: rgba(214, 222, 236, 0.24);
  --steel: #8b96aa;
  --alu: #dde3ec;
  --paper: #eef1f5;
  --paper-2: #e2e7ee;
  --paper-ink: #16213a;
  --accent: #f84c0a;
  --accent-soft: rgba(248,76,10, 0.16);
  --go: #7fd6a0;

  --f-display: "Archivo", "Helvetica Neue", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--alu);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }

/* grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}
.display em, .h2 em, .h3 em, .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.display em { color: var(--accent); }
.h2 {
  font-weight: 300;
  font-variation-settings: "wdth" 108;
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}
.h3 {
  font-weight: 400;
  font-variation-settings: "wdth" 104;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--alu); max-width: 46ch; font-weight: 300; }
.muted { color: var(--steel); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; }

/* split text helpers */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* ---------- reveal states (only when JS+GSAP is live) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 18px 0;
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s;
}
.nav.is-scrolled { background: rgba(13,20,34, 0.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 31px; overflow: visible; }
.brand-mark .slat { transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark .s1 { transform: translateX(-3px); }
.brand:hover .brand-mark .s2 { transform: translateX(-6px); transition-delay: .04s; }
.brand:hover .brand-mark .s3 { transform: translateX(-9px); transition-delay: .08s; }
.brand-word { display: grid; font-weight: 700; font-variation-settings: "wdth" 118; letter-spacing: 0.06em; font-size: 21px; line-height: 1; color: var(--alu); }
.brand-word b { font-weight: 700; color: var(--accent); grid-row: 1; grid-column: 2; }
.brand-word small { grid-column: 1 / span 2; font-size: 8.6px; font-weight: 500; letter-spacing: 0.05em; font-variation-settings: "wdth" 100; color: var(--steel); margin-top: 4px; white-space: nowrap; }

.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--alu);
  overflow: hidden;
}
.nav-links a span { display: block; transition: transform 0.5s var(--ease); }
.nav-links a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav-links a:hover span { transform: translateY(-100%); }
.nav-links a.is-active::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: var(--alu); color: var(--ink); border-color: var(--alu); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px var(--go); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--alu); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  pointer-events: none;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a { display: block; font-size: clamp(40px, 11vw, 64px); font-weight: 300; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.1; border-bottom: 1px solid var(--line); padding: 10px 0; }
.mobile-menu a small { font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.1em; vertical-align: top; margin-right: 12px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
}

/* ==========================================================================
   PAGE TRANSITION (aluminium slats)
   ========================================================================== */
.transition {
  position: fixed; inset: 0; z-index: 9500;
  display: grid; grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}
.transition span {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #2a2f37, #171a1f 60%, #1f232a);
  border-right: 1px solid rgba(255,255,255,0.05);
  transform: scaleY(1);
  transform-origin: top;
}
.transition span { animation: slatOut 0.9s var(--ease-in-out) 0.05s forwards; }
.transition.is-in span { transform-origin: bottom; transform: scaleY(0); animation: slatIn 0.7s var(--ease-in-out) forwards; }
.transition span:nth-child(2) { animation-delay: 0.04s !important; }
.transition span:nth-child(3) { animation-delay: 0.08s !important; }
.transition span:nth-child(4) { animation-delay: 0.12s !important; }
.transition span:nth-child(5) { animation-delay: 0.16s !important; }
.transition span:nth-child(6) { animation-delay: 0.20s !important; }
@keyframes slatOut { to { transform: scaleY(0); } }
@keyframes slatIn { to { transform: scaleY(1); } }
.transition .t-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.4em; color: var(--steel); transition: opacity 0.3s; }
.transition .t-brand { animation: fadeOut .3s .1s forwards; } .transition.is-in .t-brand { animation: none; opacity: 1; }
@keyframes fadeOut { to { opacity: 0; } }

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9400;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--alu);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.cursor-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink); opacity: 0; transition: opacity 0.2s; text-transform: uppercase; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cursor.has-label { width: 76px; height: 76px; margin: -38px 0 0 -38px; mix-blend-mode: normal; background: var(--alu); }
.cursor.has-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  border-radius: 100px;
  font-size: 14px; letter-spacing: 0.03em;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-solid { background: var(--alu); color: var(--ink); }
.btn-solid::before { background: var(--accent); }
.btn-line { border: 1px solid var(--line-strong); }
.btn-line::before { background: var(--alu); }
.btn-line:hover { color: var(--ink); }
.btn .arrow { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 40px;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(248,76,10,0.10), transparent 70%),
    var(--ink);
}
.blueprint-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
  opacity: 0.5;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-title { font-size: clamp(44px, 5vw, 88px); margin: 22px 0 28px; white-space: nowrap; }
@media (max-width: 960px) { .hero-title { font-size: clamp(44px, 11vw, 96px); } }
.hero-title .split-line:nth-child(2) { padding-left: 0.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* --- interactive window --- */
.stage { position: relative; z-index: 2; }
.win {
  --frame: #c9ced5;
  --frame-dark: #8e959e;
  --frame-light: #f1f3f5;
  --open: 0;
  position: relative;
  aspect-ratio: 1.18 / 1;
  width: 100%;
  padding: 3.2%;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, rgba(0,0,0,0.04) 1px 2px, transparent 2px 4px),
    linear-gradient(135deg, var(--frame-light), var(--frame) 35%, var(--frame-dark) 70%, var(--frame) 100%);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -2px 0 rgba(0,0,0,0.25);
  transition: --frame 0.6s;
  touch-action: pan-y;
}
.win::after { /* sill shadow */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -34px; height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 70%);
  filter: blur(8px); z-index: -1;
}
.win-inner {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.5), inset 0 8px 18px rgba(0,0,0,0.6);
  perspective: 1400px;
}
.view { position: absolute; inset: -6%; will-change: transform; }
.view svg { width: 100%; height: 100%; }

.sash {
  position: absolute; top: 0; bottom: 0;
  width: 51%;
  padding: clamp(9px, 1.5vw, 20px);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.45), 8px 0 24px rgba(0,0,0,0.35);
  will-change: transform;
  transform-origin: 50% 100%;
}
/* metal sash frame drawn as a ring so the glass stays see-through */
.sash::before {
  content: ""; position: absolute; inset: 0; padding: inherit; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, var(--frame-light), var(--frame) 40%, var(--frame-dark));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.sash-l { left: 0; z-index: 1; }
.sash-r { right: 0; z-index: 2; box-shadow: 0 0 0 1px rgba(0,0,0,0.45), -10px 0 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.4); }
.sash .handle {
  position: absolute; top: 50%; width: 6px; height: 16%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--frame-dark), var(--frame-light), var(--frame-dark));
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.sash-l .handle { right: 1.4%; }
.sash-r .handle { left: 1.4%; }
.glass {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(170, 200, 215, 0.20), rgba(60, 90, 110, 0.28));
  backdrop-filter: blur(1.2px) saturate(1.1) brightness(0.92);
  -webkit-backdrop-filter: blur(1.2px) saturate(1.1) brightness(0.92);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6), inset 0 0 0 3px rgba(20,22,26,0.85);
}
.glass::before { /* reflection streaks */
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.16) 42%, transparent 46%, transparent 52%, rgba(255,255,255,0.08) 54%, transparent 58%);
  transform: translateX(calc(var(--gx, 0) * 1%));
}
.glass::after { /* cursor glint */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle 160px at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,0.20), transparent 70%);
  mix-blend-mode: screen;
}
.sensor {
  position: absolute; top: -2.2%; left: 50%; transform: translate(-50%, -50%);
  width: 22%; height: 3.4%;
  min-height: 12px;
  background: linear-gradient(180deg, #2a2e35, #15181c);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  z-index: 5;
  opacity: 0; transition: opacity 0.5s;
}
.win[data-mode="auto"] .sensor { opacity: 1; }
.sensor i { width: 6px; height: 6px; border-radius: 50%; background: #3a2a1a; transition: background 0.3s, box-shadow 0.3s; }
.sensor.is-on i { background: var(--go); box-shadow: 0 0 10px var(--go); }
.sensor-wave { position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 2/1; transform: translateX(-50%); border-radius: 0 0 999px 999px; border: 1px solid rgba(127,214,160,0.0); border-top: 0; pointer-events: none; }
.sensor.is-on .sensor-wave { animation: wave 1.6s var(--ease) infinite; }
@keyframes wave { from { border-color: rgba(127,214,160,0.5); transform: translateX(-50%) scale(0.4); } to { border-color: rgba(127,214,160,0); transform: translateX(-50%) scale(2.6); } }

.dim { position: absolute; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--steel); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.dim-top { left: 0; right: 0; top: -30px; justify-content: center; }
.dim-top::before, .dim-top::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.dim-side { top: 0; bottom: 0; right: -34px; writing-mode: vertical-rl; justify-content: center; }
.dim-side::before, .dim-side::after { content: ""; flex: 1; width: 1px; background: var(--line-strong); }

.controls {
  margin-top: 46px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 100px; position: relative; }
.seg button { position: relative; z-index: 1; padding: 8px 16px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); transition: color 0.3s; font-family: var(--f-mono); }
.seg button.is-active { color: var(--ink); }
.seg .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 100px; background: var(--alu); transition: transform 0.6s var(--ease), width 0.6s var(--ease); }
.swatches { display: inline-flex; gap: 8px; align-items: center; }
.swatches .label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--steel); margin-right: 6px; text-transform: uppercase; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); position: relative; transition: transform 0.4s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--alu); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--ease); }
.swatch.is-active::after { opacity: 1; transform: scale(1); }
.swatch:hover { transform: scale(1.12); }
.readout { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--steel); border-top: 1px solid var(--line); padding-top: 14px; text-transform: uppercase; }
.readout b { color: var(--alu); font-weight: 500; }
.hint { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); z-index: 6; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(13,20,34,0.6); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 100px; pointer-events: none; transition: opacity 0.6s; white-space: nowrap; }
.hint.is-gone { opacity: 0; }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--steel); text-transform: uppercase; z-index: 3; }
.scroll-cue i { width: 1px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

@media (max-width: 960px) {
  .hero { padding-top: 100px; align-items: flex-start; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-title .split-line:nth-child(2) { padding-left: 0; }
  .dim-side { display: none; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--ink-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(26px, 3.4vw, 48px); font-weight: 300; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-item em { font-family: var(--f-serif); font-style: italic; text-transform: none; color: var(--accent); }
.marquee-item svg { width: 22px; height: 22px; flex: none; color: var(--steel); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; padding: clamp(90px, 13vw, 200px) 0; }
.section-light { background: var(--paper); color: var(--paper-ink); }
.section-light .muted, .section-light .eyebrow { color: #5d646d; }
.section-light .display em, .section-light .h2 em { color: #d9440a; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 100px); }
.section-head .h2 { margin-top: 18px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* statement words */
.statement { font-size: clamp(30px, 4.4vw, 68px); line-height: 1.08; font-weight: 300; letter-spacing: -0.025em; font-variation-settings: "wdth" 104; margin: 0; max-width: 22ch; }
.statement .word { opacity: 0.14; transition: none; }
.no-js .statement .word, .reduced .statement .word { opacity: 1; }
.statement em { font-family: var(--f-serif); color: #d9440a; }
.statement-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; border-top: 1px solid rgba(22,33,58,0.14); padding-top: 28px; }
.statement-meta p { margin: 8px 0 0; color: #4a5059; font-size: 15px; max-width: 32ch; }
@media (max-width: 760px) { .statement-meta { grid-template-columns: 1fr; } }

/* families — horizontal pin */
.families { overflow: hidden; }
.families-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; }
.family {
  position: relative;
  width: min(78vw, 560px);
  min-height: 600px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 32px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.5s;
}
.family:hover { border-color: var(--line-strong); }
.family-num { font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.14em; display: flex; justify-content: space-between; }
.family-art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.family-art svg { width: 70%; max-height: 300px; overflow: visible; }
.family-art svg * { vector-effect: non-scaling-stroke; }
.family h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 300; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1; }
.family h3 em { font-family: var(--f-serif); text-transform: none; color: var(--accent); }
.family p { color: var(--steel); margin: 0 0 22px; max-width: 40ch; }
.family .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--alu); }
.family-link { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background 0.4s, transform 0.6s var(--ease); }
.family:hover .family-link { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.family-link svg { width: 16px; }
.families-intro { width: min(70vw, 420px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 32px; padding-right: 40px; }
@media (max-width: 760px) {
  .families-track { flex-direction: column; width: 100%; }
  .family, .families-intro { width: 100%; min-height: 520px; }
  .families-intro { min-height: 0; }
}

/* profile cross-section */
.xsec { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; min-height: 100vh; }
.xsec-art { position: relative; aspect-ratio: 1; max-height: 80vh; width: 100%; }
.xsec-art svg { width: 100%; height: 100%; }
.xsec-list { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: x; }
.xsec-list li { counter-increment: x; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); opacity: 0.3; transition: opacity 0.5s; }
.xsec-list li.is-on { opacity: 1; }
.xsec-list li::before { content: "0" counter(x); font-family: var(--f-mono); font-size: 11px; color: var(--accent); padding-top: 4px; }
.xsec-list b { display: block; font-weight: 500; font-size: 17px; }
.xsec-list span { color: var(--steel); font-size: 14px; }
.xs-part { transition: opacity 0.5s, fill 0.5s; }
@media (max-width: 860px) { .xsec { grid-template-columns: 1fr; min-height: 0; } .xsec-list li { opacity: 1; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(22,33,58,0.14); }
.stat { padding: 34px 24px 34px 0; border-right: 1px solid rgba(22,33,58,0.14); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat-num { font-size: clamp(56px, 7vw, 110px); font-weight: 200; font-variation-settings: "wdth" 110; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-num small { font-size: 0.32em; letter-spacing: 0; font-weight: 400; color: #d9440a; }
.stat p { margin: 16px 0 0; font-size: 14px; color: #4a5059; max-width: 26ch; }
.stat .src { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; color: #8a9099; margin-top: 10px; text-transform: uppercase; }
@media (max-width: 960px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(22,33,58,0.14); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding-left: 0; border-right: 0; border-top: 1px solid rgba(22,33,58,0.14); } }

/* process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.process-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.step { position: relative; padding-right: 24px; }
.step-dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--accent); position: relative; z-index: 1; }
.step h4 { margin: 28px 0 10px; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--steel); font-size: 14.5px; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr; gap: 36px; } .process-line { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .process-line i { transform-origin: top; transform: scaleY(0); } .step { padding-left: 70px; } .step-dot { position: absolute; left: 0; top: 0; } .step h4 { margin-top: 8px; } }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 240px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta .display { font-size: clamp(54px, 10vw, 170px); }
.cta-blinds { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none; opacity: 0.5; }
.cta-blinds span { flex: 1; border-bottom: 1px solid var(--line); transform-origin: left; }
.cta .btn { margin-top: 48px; }
.magnetic { display: inline-block; will-change: transform; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; color: var(--steel); text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--alu); transition: color 0.3s; }
.footer a:hover { color: var(--accent); }
.footer-big { font-size: clamp(64px, 17vw, 280px); font-weight: 200; font-variation-settings: "wdth" 125; letter-spacing: 0.02em; line-height: 0.8; margin: 70px 0 20px; color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.06em; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-bottom .credit { color: var(--paper, #fff); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color .3s; }
.footer-bottom .credit:hover { color: var(--accent); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-hero { position: relative; padding: clamp(150px, 20vw, 240px) 0 clamp(60px, 8vw, 110px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(54px, 10.5vw, 176px); margin-top: 26px; }
.page-hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); }
.page-hero .index { font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.14em; }

/* ==========================================================================
   PRODUCTS PAGE
   ========================================================================== */
.filters { position: sticky; top: 72px; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0; margin-bottom: 40px; background: linear-gradient(var(--ink) 70%, transparent); }
.filter-count { font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.12em; text-transform: uppercase; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  position: relative;
  background: var(--ink);
  padding: 26px;
  min-height: 460px;
  display: flex; flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 280px at var(--cx, 50%) var(--cy, 50%), rgba(248,76,10,0.12), transparent 70%); opacity: 0; transition: opacity 0.4s; }
.card:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--steel); text-transform: uppercase; position: relative; }
.card-art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 26px 10%; position: relative; }
.card-art svg { width: 100%; max-width: 220px; max-height: 240px; overflow: visible; transition: transform 0.8s var(--ease); }
.card:hover .card-art svg { transform: translateY(-6px) scale(1.03); }
.card h3 { position: relative; margin: 0 0 6px; font-size: 24px; font-weight: 400; letter-spacing: -0.015em; }
.card p { position: relative; margin: 0; color: var(--steel); font-size: 14px; max-width: 36ch; }
.card-specs { position: relative; display: flex; gap: 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--steel); }
.card-specs b { display: block; color: var(--alu); font-weight: 500; font-size: 12px; }
.card .plus { position: absolute; right: 22px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.6s var(--ease), background 0.3s; }
.card:hover .plus { transform: rotate(90deg); background: var(--alu); color: var(--ink); }
.card.is-hidden { display: none; }
@media (max-width: 1100px) { .catalog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } .filters { top: 60px; } }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 850; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(5,6,8,0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.5s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--ink-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.8s var(--ease-in-out); overflow-y: auto; padding: 30px clamp(20px, 4vw, 48px) 60px; overscroll-behavior: contain; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-close { position: sticky; top: 0; margin-left: auto; display: flex; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); align-items: center; justify-content: center; background: var(--ink-2); z-index: 2; transition: transform 0.5s var(--ease); }
.drawer-close:hover { transform: rotate(90deg); }
.drawer-art { height: 300px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); margin: 20px 0 30px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; }
.drawer-art svg { height: 82%; width: auto; overflow: visible; }
.drawer h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 300; font-variation-settings: "wdth" 110; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.1em; color: var(--steel); text-transform: uppercase; width: 42%; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; color: var(--alu); font-size: 15px; }
.feature-list li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--accent); margin-top: 12px; }
.note { font-size: 12px; color: var(--steel); font-family: var(--f-mono); letter-spacing: 0.02em; line-height: 1.6; }

/* glazing band */
.glazing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(22,33,58,0.12); border: 1px solid rgba(22,33,58,0.12); }
.glaze { background: var(--paper); padding: 30px 26px; min-height: 240px; position: relative; overflow: hidden; }
.glaze-vis { display: flex; gap: 6px; height: 70px; margin-bottom: 26px; align-items: stretch; }
.glaze-vis i { width: 8px; background: linear-gradient(180deg, rgba(110,160,180,0.55), rgba(70,110,130,0.7)); border: 1px solid rgba(20,40,50,0.3); }
.glaze-vis i.gap { width: 18px; background: none; border: 0; border-top: 1px dashed rgba(22,33,58,0.25); border-bottom: 1px dashed rgba(22,33,58,0.25); }
.glaze-vis i.lam { width: 3px; background: #f84c0a; border: 0; }
.glaze-vis i.coat { box-shadow: inset -3px 0 0 #d9440a; }
.glaze h4 { margin: 0 0 8px; font-weight: 500; font-size: 18px; }
.glaze p { margin: 0; color: #4a5059; font-size: 14px; }
@media (max-width: 860px) { .glazing { grid-template-columns: 1fr; } }

/* ==========================================================================
   ALUMINIUM PAGE
   ========================================================================== */
.element-wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.element {
  width: clamp(180px, 22vw, 280px); aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  background: linear-gradient(140deg, #e9ecef, #a9b0b8 45%, #6f7780 80%, #b9bfc6);
  color: #15181c;
  padding: 18px;
  display: grid; grid-template-rows: auto 1fr auto;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
.element::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 45%, transparent 60%); transform: translateX(var(--shine, -60%)); }
.element .z { font-family: var(--f-mono); font-size: 14px; display: flex; justify-content: space-between; }
.element .sym { font-size: clamp(80px, 10vw, 130px); font-weight: 300; font-variation-settings: "wdth" 100; letter-spacing: -0.04em; line-height: 1; align-self: center; }
.element .nm { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; display: flex; justify-content: space-between; }
@media (max-width: 760px) { .element-wrap { grid-template-columns: 1fr; } }

.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(22,33,58,0.12); border: 1px solid rgba(22,33,58,0.12); }
.prop { background: var(--paper); padding: 28px 24px 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.4s; }
.prop:hover { background: #fff; }
.prop .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b727b; }
.prop .v { font-size: clamp(36px, 3.6vw, 54px); font-weight: 200; font-variation-settings: "wdth" 108; letter-spacing: -0.04em; line-height: 1; margin: 18px 0 12px; }
.prop .v small { font-size: 0.36em; font-weight: 400; letter-spacing: 0; color: #d9440a; margin-left: 4px; }
.prop p { margin: 0; color: #4a5059; font-size: 13.5px; }
@media (max-width: 1000px) { .props { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .props { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.data-table th, .data-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); background: var(--ink-2); }
.data-table tbody tr { transition: background 0.3s; }
.data-table tbody tr:hover { background: var(--ink-2); }
.data-table td:first-child { font-weight: 500; }
.data-table .hl { color: var(--accent); }
.bar { display: inline-block; height: 4px; background: var(--accent); vertical-align: middle; margin-right: 10px; border-radius: 2px; }

/* thermal break demo */
.thermal { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.thermal-cell { background: var(--ink); padding: 28px; position: relative; }
.thermal-cell canvas { width: 100%; height: 300px; display: block; }
.thermal-cell h4 { margin: 0 0 4px; font-weight: 400; font-size: 20px; }
.thermal-cell .u { font-family: var(--f-mono); font-size: 12px; color: var(--steel); letter-spacing: 0.06em; }
.thermal-cell .u b { color: var(--alu); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; font-family: var(--f-display); }
.thermal-controls { grid-column: 1 / -1; background: var(--ink-2); padding: 22px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.thermal-controls label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.thermal-controls output { font-family: var(--f-mono); font-size: 13px; color: var(--alu); min-width: 70px; }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 180px; height: 2px; background: linear-gradient(90deg, #4a8fd1, #f84c0a, #e2553b); outline: none; border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--alu); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--alu); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--alu); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--alu); cursor: grab; }
@media (max-width: 760px) { .thermal { grid-template-columns: 1fr; } }

/* finishes */
.finishes { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.finish-stage { aspect-ratio: 1; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.7), transparent 65%), var(--paper-2); border: 1px solid rgba(22,33,58,0.12); overflow: hidden; }
.finish-stage svg { width: 74%; transition: filter 0.6s; }
.finish-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 24px; }
.finish-tab { padding: 10px 16px; border: 1px solid rgba(22,33,58,0.2); border-radius: 100px; font-size: 13px; transition: background 0.3s, color 0.3s; color: var(--paper-ink); }
.finish-tab.is-active { background: var(--paper-ink); color: var(--paper); }
.finish-body h3 { margin-bottom: 10px; }
.finish-body p { color: #4a5059; margin: 0 0 18px; }
.finish-colors { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.finish-colors button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(22,33,58,0.25); position: relative; }
.finish-colors button.is-active::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--paper-ink); border-radius: 50%; }
.finish-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; border-top: 1px solid rgba(22,33,58,0.14); padding-top: 18px; }
.finish-spec div { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: #6b727b; text-transform: uppercase; }
.finish-spec b { display: block; font-family: var(--f-display); font-size: 17px; color: var(--paper-ink); letter-spacing: -0.01em; text-transform: none; font-weight: 500; margin-top: 4px; }
@media (max-width: 860px) { .finishes { grid-template-columns: 1fr; } }

/* comparison */
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 6px; background: var(--line-strong); border-radius: 1px; }
.meter i.on { background: var(--accent); }

/* sustainability loop */
.loop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.loop-art { aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.loop-art svg { width: 100%; height: 100%; overflow: visible; }
.energy-bars { display: grid; gap: 22px; margin-top: 40px; }
.ebar .lbl { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--steel); margin-bottom: 8px; text-transform: uppercase; }
.ebar .lbl b { color: var(--alu); font-weight: 500; }
.ebar .track { height: 10px; background: var(--ink-3); position: relative; overflow: hidden; }
.ebar .fill { position: absolute; inset: 0; transform-origin: left; background: var(--steel); }
.ebar.recycled .fill { background: var(--go); }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; } }

.sources { font-family: var(--f-mono); font-size: 11px; color: var(--steel); line-height: 1.9; letter-spacing: 0.02em; }
.sources a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.sources a:hover { color: var(--accent); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); }
.about-split p { color: #3d434b; font-size: 17px; margin: 0 0 20px; max-width: 54ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--ink); padding: 36px 30px 40px; min-height: 320px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.value svg { width: 56px; height: 56px; margin-bottom: auto; color: var(--accent); }
.value h3 { margin: 40px 0 10px; font-weight: 400; font-size: 26px; letter-spacing: -0.02em; }
.value p { margin: 0; color: var(--steel); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .about-split { grid-template-columns: 1fr; } }

.services { border-top: 1px solid rgba(22,33,58,0.14); }
.service { display: grid; grid-template-columns: 80px 1.2fr 2fr 40px; gap: 20px; align-items: center; padding: 30px 0; border-bottom: 1px solid rgba(22,33,58,0.14); position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0; background: var(--paper-ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: 0; }
.service > * { position: relative; z-index: 1; transition: color 0.4s, transform 0.6s var(--ease); }
.service:hover::before { transform: scaleY(1); }
.service:hover > * { color: var(--paper); }
.service:hover h4 { transform: translateX(14px); }
.service .n { font-family: var(--f-mono); font-size: 12px; color: #d9440a; padding-left: 12px; }
.service h4 { margin: 0; font-size: clamp(22px, 2.4vw, 34px); font-weight: 300; font-variation-settings: "wdth" 108; text-transform: uppercase; letter-spacing: -0.02em; }
.service p { margin: 0; color: #4a5059; font-size: 15px; }
.service svg { width: 20px; }
@media (max-width: 760px) { .service { grid-template-columns: 50px 1fr; } .service p { grid-column: 2; } .service svg { display: none; } }

.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector { background: var(--ink); aspect-ratio: 0.8; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.4s; }
.sector:hover { background: var(--ink-3); }
.sector svg { width: 100%; height: auto; color: var(--steel); transition: color 0.4s; }
.sector:hover svg { color: var(--accent); }
.sector b { font-weight: 400; font-size: 17px; }
.sector span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--steel); text-transform: uppercase; margin-top: 4px; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: repeat(2, 1fr); } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 400; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; transition: transform 0.5s var(--ease), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.5s var(--ease); }
.faq details[open] summary i { background: var(--accent); border-color: var(--accent); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 60px 28px 0; color: var(--steel); max-width: 70ch; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.form-step { margin-bottom: 44px; }
.form-step > .eyebrow { margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; user-select: none; }
.chip span svg { width: 18px; height: 18px; }
.chip input:checked + span { background: var(--alu); color: var(--ink); border-color: var(--alu); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; padding-top: 18px; margin-bottom: 26px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--alu); font: inherit; font-size: 17px; padding: 10px 0; outline: none; border-radius: 0;
  transition: border-color 0.3s;
}
.field select option { background: var(--ink-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field label { position: absolute; left: 0; top: 28px; color: var(--steel); font-size: 15px; pointer-events: none; transition: transform 0.4s var(--ease), font-size 0.4s, color 0.3s, top 0.4s var(--ease); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field select ~ label { top: 0; font-size: 11px; font-family: var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field .line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.field input:focus ~ .line, .field textarea:focus ~ .line { transform: scaleX(1); }
.field textarea ~ .line { bottom: 6px; }
.size-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.size-preview { margin-top: 10px; height: 190px; padding-bottom: 24px; border: 1px dashed var(--line-strong); display: grid; place-items: center; position: relative; overflow: hidden; }
.size-preview .box { border: 2px solid var(--alu); background: linear-gradient(160deg, rgba(170,200,215,0.12), rgba(60,90,110,0.2)); transition: width 0.6s var(--ease), height 0.6s var(--ease); position: relative; }
.size-preview .box::after { content: attr(data-area); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; color: var(--alu); white-space: nowrap; }
.form-success { display: none; padding: 40px; border: 1px solid var(--accent); background: var(--accent-soft); }
.form-success.is-on { display: block; }
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); position: sticky; top: 110px; }
.contact-card { background: var(--ink-2); padding: 26px; }
.contact-card .eyebrow { margin-bottom: 12px; }
.contact-card a, .contact-card p { display: block; font-size: 20px; letter-spacing: -0.01em; margin: 0; }
.contact-card a:hover { color: var(--accent); }
.contact-card small { display: block; color: var(--steel); font-size: 13px; margin-top: 6px; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; font-size: 14px; }
.hours span:nth-child(even) { font-family: var(--f-mono); font-size: 12px; color: var(--steel); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 14px; }
.open-now i { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); }
.open-now.is-open i { background: var(--go); box-shadow: 0 0 10px var(--go); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-cards { position: static; } }
@media (max-width: 560px) { .fields, .size-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   UTIL
   ========================================================================== */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   PHOTOGRAPHY
   ========================================================================== */
.view img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.showcase { position: relative; height: 120vh; min-height: 640px; overflow: hidden; background: var(--ink); }
.showcase-media { position: absolute; inset: 0; clip-path: inset(0 0 0 0); will-change: clip-path; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.showcase-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,20,34,0) 35%, rgba(13,20,34,.88) 100%), linear-gradient(90deg, rgba(13,20,34,.55), transparent 60%); }
.showcase-copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vw, 110px); z-index: 2; }
.showcase-title { font-size: clamp(56px, 10vw, 168px); margin: 20px 0 24px; color: #fff; }
.showcase .lead { color: rgba(255,255,255,.82); }
.showcase .eyebrow { color: rgba(255,255,255,.7); }

.family-photo { position: relative; flex: 1; margin: 22px -32px 26px; min-height: 280px; overflow: hidden; }
.family-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.9) brightness(.86); }
.family:hover .family-photo img { transform: scale(1); filter: saturate(1) brightness(1); }
.family-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,20,34,.55)); pointer-events: none; }
.family-photo .family-art { position: absolute; right: 16px; bottom: 16px; z-index: 1; width: 34%; aspect-ratio: 1; padding: 14px; background: rgba(13,20,34,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-strong); color: var(--alu); }
.family-photo .family-art svg { width: 100%; max-height: none; height: 100%; }

.process-photo { position: relative; margin: 0 0 90px; height: clamp(280px, 42vw, 560px); overflow: hidden; }
.process-photo img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.process-photo figcaption { position: absolute; left: 18px; bottom: 16px; color: #fff; background: rgba(13,20,34,.6); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 100px; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }

/* photo strip / gallery */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 30vw)); gap: 12px; }
.strip figure { position: relative; margin: 0; overflow: hidden; }
.strip figure:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.strip figure:hover img { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,34,.6); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 100px; }
.js .strip figure { clip-path: inset(100% 0 0 0); }
.no-js .strip figure, .reduced .strip figure { clip-path: none; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; } .strip figure:first-child { grid-column: 1 / -1; grid-row: auto; } }

.page-hero-photo { position: relative; margin-top: clamp(40px, 6vw, 80px); height: clamp(300px, 46vw, 640px); overflow: hidden; }
.page-hero-photo img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.js .page-hero-photo { clip-path: inset(0 0 100% 0); }
.no-js .page-hero-photo, .reduced .page-hero-photo { clip-path: none; }

.photo-frame { position: relative; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
