/* =========================================================
   BTP Solutions — premium landing
   CI: brushed gold (logo) + corporate blue (wordmark)
   ========================================================= */
:root {
  --bg: #05070d;
  --bg-2: #0a0f1c;
  --ink: #eef1f7;
  --ink-2: rgba(238, 241, 247, 0.66);
  --ink-3: rgba(238, 241, 247, 0.4);
  --gold-1: #fbe7a6;
  --gold-2: #e8c063;
  --gold-3: #b8862b;
  --gold-4: #7a5517;
  --blue-1: #6fa8ff;
  --blue-2: #1f5fd1;
  --blue-3: #0b2e6e;
  --teal: #46d7d0;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-gold: rgba(232, 192, 99, 0.35);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Sora", "IBM Plex Sans Thai", system-ui, sans-serif;
  --font-th: "IBM Plex Sans Thai", "Sora", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --glow-a: rgba(232, 192, 99, 0.32);
  --glow-b: rgba(31, 95, 209, 0.34);
  --glow-c: rgba(70, 215, 208, 0.12);
}

*,
*::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; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-2); color: #1a1205; }

/* ---------- atmosphere ---------- */
#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.atmos { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, #0b1224 0%, var(--bg) 55%); }
.atmos__glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; transition: background 1.6s var(--ease); }
.atmos__glow--a { width: 60vmax; height: 60vmax; left: 50%; top: 40%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--glow-a), transparent 65%); }
.atmos__glow--b { width: 70vmax; height: 70vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(circle, var(--glow-b), transparent 60%); }
.atmos__glow--c { width: 50vmax; height: 50vmax; right: -15vmax; top: -15vmax; background: radial-gradient(circle, var(--glow-c), transparent 60%); }
.atmos__beam {
  position: absolute; left: 50%; top: -20vh; width: 40vw; height: 120vh; transform: translateX(-50%) rotate(12deg);
  background: linear-gradient(180deg, rgba(251, 231, 166, 0.1), transparent 70%);
  filter: blur(40px); opacity: 0.7; mix-blend-mode: screen;
}
.grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-1%,3%)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.65)); }

main, .footer { position: relative; z-index: 4; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
}
.loader__logo { width: 92px; filter: drop-shadow(0 0 24px rgba(232, 192, 99, 0.45)); }
.loader__logo img { width: 100%; }
.loader__bar { width: 180px; height: 1px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-3), var(--gold-1)); }
.loader__count { font-size: 12px; letter-spacing: 0.3em; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 0 0 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2);
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.display {
  margin: 0; font-weight: 300; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(44px, 8.4vw, 136px);
}
.muted { color: var(--ink-3); }
.gold-text {
  background: linear-gradient(100deg, var(--gold-4) 0%, var(--gold-2) 22%, var(--gold-1) 45%, var(--gold-2) 62%, var(--gold-3) 85%, var(--gold-1) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }
.th { display: block; margin-top: 14px; font-family: var(--font-th); font-size: 15px; color: var(--ink-3); line-height: 1.7; }
.th-inline { font-family: var(--font-th); color: var(--ink-3); }

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

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 13px; }
.btn--gold {
  color: #1d1406;
  background: linear-gradient(120deg, var(--gold-3), var(--gold-1) 50%, var(--gold-2));
  box-shadow: 0 10px 40px -10px rgba(232, 192, 99, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--glass { color: var(--ink); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.arrow { width: 14px; height: 1px; background: currentColor; position: relative; transition: width 0.5s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 22px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: transform 0.7s var(--ease), background 0.5s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 34px; filter: drop-shadow(0 0 10px rgba(232, 192, 99, 0.35)); }
.nav__brand span { display: flex; flex-direction: column; font-weight: 500; font-size: 14px; letter-spacing: 0.04em; line-height: 1.2; }
.nav__brand small { font-family: var(--font-th); font-weight: 300; font-size: 11px; color: var(--ink-3); letter-spacing: 0; }
.nav__links { display: flex; gap: 4px; padding: 6px; border-radius: 999px; }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: color 0.3s, background 0.3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.08); }

.progress { position: fixed; z-index: 51; left: 0; top: 0; height: 2px; width: 100%; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-2), var(--gold-1)); }

.chapter-hud {
  position: fixed; z-index: 40; left: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.chapter-hud.is-visible { opacity: 1; }
.chapter-hud__idx { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.chapter-hud__line { width: 60px; height: 1px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.chapter-hud__line i { display: block; height: 100%; background: var(--gold-2); transform-origin: left; transform: scaleX(0); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--gutter) 96px; }
.hero__inner { width: 100%; }
.hero__title { margin: 0 0 40px; font-weight: 200; font-size: clamp(60px, 12.5vw, 220px); line-height: 0.9; letter-spacing: -0.05em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title { font-size: clamp(60px, 10.4vw, 190px); max-width: 64vw; }
.hero__title .line:nth-child(2) { padding-left: 5vw; font-weight: 300; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero__lede { max-width: 540px; margin: 0; color: var(--ink-2); font-size: 17px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- manifesto ---------- */
.manifesto { position: relative; height: 260vh; }
.manifesto__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }
.manifesto__text { margin: 0; max-width: 1400px; font-size: clamp(32px, 5.4vw, 86px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 300; }
.manifesto__text .word { color: rgba(238, 241, 247, 0.12); transition: color 0.2s linear; }
.manifesto__text .word.is-on { color: var(--ink); }
.manifesto__text .word.is-gold { color: var(--gold-1); text-shadow: 0 0 30px rgba(232, 192, 99, 0.4); }
.manifesto__th { margin-top: 36px; font-family: var(--font-th); color: var(--ink-3); font-size: clamp(16px, 1.6vw, 22px); }

/* ---------- section head ---------- */
.section-head { padding: 22vh var(--gutter) 8vh; }

/* ---------- capability chapters ---------- */
.chapter {
  position: relative; min-height: 130vh; padding: 12vh var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; gap: 40px 6vw; align-items: start;
}
.chapter--alt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter__copy { position: sticky; top: 18vh; grid-column: 1; grid-row: 1 / span 2; max-width: 520px; }
.chapter--alt .chapter__copy { grid-column: 2; }
.chapter__num { display: block; font-size: 13px; color: var(--ink-3); letter-spacing: 0.2em; margin-bottom: 18px; }
.chapter__title { margin: 0 0 26px; font-weight: 300; font-size: clamp(40px, 5.4vw, 88px); line-height: 1; letter-spacing: -0.04em; }
.chapter__body { margin: 0; color: var(--ink-2); font-size: 17px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.chips li { font-size: 12.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--stroke-gold); color: var(--gold-1); background: rgba(232, 192, 99, 0.06); }

.hud { grid-column: 2; grid-row: 1; justify-self: end; margin-top: 46vh; width: min(340px, 100%); border-radius: var(--radius); padding: 22px; font-size: 13px; }
.chapter--alt .hud { grid-column: 1; justify-self: start; }
.hud__head { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.hud__head em { margin-left: auto; font-style: normal; color: var(--ink-3); letter-spacing: 0.1em; font-size: 10px; }
.hud__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hud__rotor { width: 110px; margin: 0 auto 18px; }
.hud__rotor svg { fill: none; stroke: var(--gold-2); stroke-width: 1.2; }
.hud__rotor .spin { transform-origin: 50px 50px; animation: spin 3.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hud__stats { display: grid; gap: 10px; margin: 0; }
.hud__stats div { display: flex; justify-content: space-between; border-top: 1px solid var(--stroke); padding-top: 10px; }
.hud__stats dt { color: var(--ink-3); }
.hud__stats dd { margin: 0; color: var(--ink); }
.hud__flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: f; }
.hud__flow li { position: relative; padding-left: 34px; display: grid; }
.hud__flow li::before { counter-increment: f; content: counter(f); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid var(--stroke-gold); color: var(--gold-1); }
.hud__flow li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: -12px; width: 1px; background: linear-gradient(var(--gold-3), transparent); }
.hud__flow b { font-weight: 500; }
.hud__flow span { color: var(--ink-3); font-size: 12px; }
.hud__bars { display: grid; gap: 12px; }
.hud__bars div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; color: var(--ink-3); }
.hud__bars i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.hud__bars i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--v)); background: linear-gradient(90deg, var(--blue-2), var(--teal)); }
.hud__wave { width: 100%; height: 50px; margin-top: 16px; }
.hud__wave path { fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 6 4; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -60; } }
.hud__checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hud__checks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.hud__checks i { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--stroke-gold); position: relative; }
.hud__checks li.is-done i { background: var(--gold-2); border-color: var(--gold-2); }
.hud__checks li.is-done i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #1d1406; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.chapter__photo {
  grid-column: 2; grid-row: 2; margin: 0; justify-self: end; width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--stroke); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  clip-path: inset(18% 12% 18% 12% round var(--radius));
}
.chapter--alt .chapter__photo { grid-column: 1; justify-self: start; }
.chapter__photo img { width: 100%; height: 118%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }

/* ---------- hydropower ---------- */
.hydro { position: relative; padding: 0 0 18vh; }
.hydro__inner { padding: 24vh var(--gutter) 0; max-width: 1300px; min-height: 80vh; }
.backdrop { position: fixed; inset: 0; z-index: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); filter: saturate(0.6) brightness(0.32) contrast(1.1); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 40%, transparent 30%, rgba(5, 7, 13, 0.85)), linear-gradient(180deg, rgba(5, 7, 13, 0.6), transparent 30%, transparent 70%, rgba(5, 7, 13, 0.8)); }
.hydro__title { margin-bottom: 36px; }
.hydro__lede { max-width: 640px; color: var(--ink-2); font-size: 18px; margin: 0; }
.hydro__grid { margin: 14vh var(--gutter) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: var(--radius); padding: 28px; min-height: 210px; display: flex; flex-direction: column; transition: border-color 0.5s, transform 0.6s var(--ease); }
.tile:hover { border-color: var(--stroke-gold); transform: translateY(-6px); }
.tile span { font-size: 12px; color: var(--gold-2); letter-spacing: 0.2em; }
.tile h4 { margin: auto 0 10px; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.tile p { margin: 0; color: var(--ink-3); font-size: 14px; }
.hydro__note { margin: 18px var(--gutter) 0; font-size: 12.5px; color: var(--ink-3); }
.safety { margin: 12vh var(--gutter) 0; padding-top: 36px; border-top: 1px solid var(--stroke); }
.safety ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: clamp(18px, 2vw, 28px); font-weight: 300; letter-spacing: -0.01em; }
.safety li { display: flex; align-items: center; gap: 14px; }
.safety li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-2); box-shadow: 0 0 14px var(--gold-2); }

/* ---------- intelligence ---------- */
.intel { position: relative; min-height: 160vh; padding: 20vh var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: start; }
.intel__copy { position: sticky; top: 22vh; }
.intel__body { max-width: 520px; color: var(--ink-2); font-size: 17px; margin: 32px 0 0; }
.intel__panels { position: relative; height: 120vh; }
.float-card { position: absolute; width: 250px; padding: 18px 20px; border-radius: 18px; display: grid; gap: 4px; }
.float-card b { font-weight: 500; font-size: 15px; }
.float-card span { font-size: 12.5px; color: var(--ink-3); }
.float-card svg { width: 100%; height: 30px; margin-top: 8px; fill: none; stroke: var(--teal); stroke-width: 1.5; }
.float-card line { stroke: rgba(255, 120, 90, 0.6); stroke-dasharray: 3 3; }
.float-card--alert { border-color: rgba(255, 140, 90, 0.35); }
.float-card--alert svg path { stroke: #ffb37a; }
.float-card[data-float="1"] { top: 6%; left: 2%; }
.float-card[data-float="2"] { top: 30%; right: 0; }
.float-card[data-float="3"] { top: 56%; left: 10%; }
.float-card[data-float="4"] { top: 80%; right: 8%; }

/* ---------- method ---------- */
.method { position: relative; padding-bottom: 16vh; }
.method__track { position: relative; padding: 0 var(--gutter); }
.method__rail { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: rgba(255, 255, 255, 0.08); }
.method__rail i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-2), var(--gold-1)); box-shadow: 0 0 18px var(--gold-2); }
.method__steps { list-style: none; margin: 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.method__steps li { border-radius: var(--radius); padding: 24px; min-height: 260px; display: flex; flex-direction: column; }
.method__steps span { font-size: 40px; font-weight: 200; color: var(--gold-2); letter-spacing: -0.04em; }
.method__steps h4 { margin: auto 0 8px; font-weight: 400; font-size: 20px; }
.method__steps p { margin: 0; font-size: 14px; color: var(--ink-2); }
.method__steps small { margin-top: 12px; font-family: var(--font-th); color: var(--ink-3); font-size: 12.5px; }

/* ---------- projects ---------- */
.projects { position: relative; padding-bottom: 12vh; }
.projects__grid { padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.project { position: relative; grid-column: span 5; border-radius: var(--radius); overflow: hidden; min-height: 520px; border: 1px solid var(--stroke); }
.project--wide { grid-column: span 7; }
.project figure { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.project img { width: 100%; height: 120%; object-fit: cover; filter: saturate(0.8) brightness(0.8); transition: transform 1.4s var(--ease), filter 1s; }
.project:hover img { transform: scale(1.05); filter: saturate(1) brightness(0.9); }
.project__meta { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 22px 24px; border-radius: 18px; }
.project__meta span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.project__meta h3 { margin: 6px 0 6px; font-weight: 400; font-size: 24px; letter-spacing: -0.02em; }
.project__meta p { margin: 0; color: var(--ink-2); font-size: 14px; }
.marquee { margin-top: 12vh; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track img { height: 220px; width: 300px; object-fit: cover; border-radius: 16px; filter: grayscale(0.6) brightness(0.75); transition: filter 0.6s; }
.marquee__track img:hover { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- company / contact ---------- */
.company { position: relative; padding: 20vh var(--gutter) 14vh; }
.company__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6vw; align-items: end; }
.company__card { border-radius: 28px; padding: 36px; }
.company__card dl { margin: 0; display: grid; gap: 0; }
.company__card dl div { padding: 18px 0; border-top: 1px solid var(--stroke); display: grid; gap: 4px; }
.company__card dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.company__card dd { margin: 0; font-size: 16px; }
.contact__title { font-size: clamp(52px, 9vw, 150px); }
.contact__th { font-size: 18px; }
.contact address { margin: 28px 0 36px; font-style: normal; font-family: var(--font-th); color: var(--ink-2); font-size: 16px; }
.contact__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { display: flex; align-items: center; gap: 16px; padding: 32px var(--gutter) 40px; border-top: 1px solid var(--stroke); color: var(--ink-3); font-size: 12px; }
.footer img { width: 26px; }
.footer p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .method__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hydro__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .chapter, .chapter--alt { grid-template-columns: minmax(0, 1fr); min-height: auto; padding: 10vh var(--gutter); }
  .chapter__copy, .chapter--alt .chapter__copy { position: relative; top: 0; grid-column: 1; grid-row: auto; }
  .hud, .chapter--alt .hud { grid-column: 1; grid-row: auto; margin-top: 30vh; justify-self: stretch; width: auto; }
  .chapter__photo, .chapter--alt .chapter__photo { grid-column: 1; grid-row: auto; justify-self: stretch; width: 100%; aspect-ratio: 4 / 3; }
  .intel { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .intel__copy { position: relative; top: 0; }
  .intel__panels { height: auto; display: grid; gap: 12px; margin-top: 30vh; }
  .float-card { position: relative; inset: auto !important; width: auto; }
  .projects__grid { grid-template-columns: minmax(0, 1fr); }
  .project, .project--wide { grid-column: auto; min-height: 420px; }
  .company__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { max-width: none; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .chapter-hud { display: none; }
  .nav__brand small { display: none; }
}
@media (max-width: 560px) {
  .method__steps, .hydro__grid { grid-template-columns: minmax(0, 1fr); }
  .method__steps li { min-height: 0; }
  .method__steps h4 { margin-top: 24px; }
  .tile { min-height: 0; }
  .tile h4 { margin-top: 28px; }
  .hero { padding-bottom: 110px; }
  .btn { height: 50px; padding: 0 22px; }
  .marquee__track img { height: 160px; width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .gold-text, .scroll-cue i, .hud__rotor .spin, .hud__wave path { animation: none !important; }
  .chapter__photo { clip-path: none; }
}
