/* =========================================================================
   BIG COVE TECHNOLOGY — "DEEP WATER"
   A cinematic deep-ocean editorial system.
   Display: Newsreader · Body: Hanken Grotesk · Instrument: IBM Plex Mono
   ========================================================================= */

:root {
  /* ---- abyssal ink ---- */
  --abyss:    #060a10;
  --deep:     #0a0f17;
  --ink:      #0e141d;
  --surface:  #141a24;   /* near the logo dark #161a21 */
  --raised:   #1a2230;
  --line:     rgba(150, 200, 230, 0.10);
  --line-2:   rgba(150, 200, 230, 0.18);

  /* ---- foam / text ---- */
  --foam:     #f1f7fa;
  --body:     #c9d6e0;                      /* solid body copy — ~9:1 on abyss */
  --mist:     rgba(228, 240, 247, 0.80);    /* secondary text — AA */
  --mist-dim: rgba(228, 240, 247, 0.56);    /* decorative/labels only, never running prose */

  /* ---- brand gradient (straight from the logo) ---- */
  --turq:   #67ccd0;
  --cyan:   #52aee5;
  --blue:   #367bc2;
  --indigo: #3f49a6;
  --grad:   linear-gradient(105deg, var(--turq) 0%, var(--cyan) 38%, var(--blue) 70%, var(--indigo) 100%);
  --grad-soft: linear-gradient(120deg, #8fe0e3, #6fc0ec 45%, #5b8fd6 80%);

  /* ---- warm "dawn / lighthouse" counterpoint ---- */
  --beam:     #ff8e5a;
  --beam-2:   #ffb27e;
  --beam-dim: rgba(255, 142, 90, 0.14);

  --glow:     rgba(82, 174, 229, 0.35);
  --glow-turq:rgba(103, 204, 208, 0.30);

  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1280px;
  --pad: clamp(22px, 5vw, 88px);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--abyss);
  color: var(--foam);
  line-height: 1.55;
  font-size: clamp(16px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

/* depth-graded background: light at top, abyss at bottom */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(82,174,229,0.16), transparent 60%),
    linear-gradient(180deg, #0c1622 0%, var(--deep) 28%, var(--abyss) 60%, #04070b 100%);
  z-index: -3;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: rgba(103,204,208,0.28); color: #fff; }

/* ---------------------------------------------------------------- atmosphere */
.grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.05; mix-blend-mode: screen;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bioluminescence {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  width: 100%; height: 100%;
}

/* ---------------------------------------------------------------- custom cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: screen; }
@media (hover: none) { .cursor { display: none; } }
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--turq); transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(103,204,208,0.6); transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s;
}
body.cursor-hot .cursor-ring { width: 60px; height: 60px; border-color: var(--beam-2); background: rgba(255,142,90,0.08); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- shared atoms */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 12px var(--turq); display: inline-block; }
.grad {
  background: var(--grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  animation: gradPan 10s ease-in-out infinite alternate;
}
@keyframes gradPan { to { background-position: 100% center; } }

.section-head { max-width: 860px; margin: 0 auto; }
.section-head__label,
.about .section-head__label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mist); margin-bottom: 28px;
}
.section-head__title {
  font-family: "Newsreader", serif; font-weight: 360;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.01em;
}
.section-head__sub { margin-top: 26px; font-size: 1.08rem; color: var(--body); max-width: 60ch; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.96rem; font-weight: 600; padding: 16px 26px; border-radius: 100px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s;
  will-change: transform;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--beam { background: var(--beam); color: #2a0f04; box-shadow: 0 10px 40px -8px rgba(255,142,90,0.5); }
.btn--beam:hover { background: var(--beam-2); box-shadow: 0 16px 50px -8px rgba(255,142,90,0.6); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--foam); }
.btn--ghost:hover { border-color: var(--turq); background: rgba(103,204,208,0.06); }

/* ================================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: padding .5s var(--ease), background .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px var(--pad);
  background: rgba(8, 13, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__mark { display: block; animation: navwave 4.5s ease-in-out infinite; will-change: transform; }
.foot__brand img { display: block; }
@keyframes navwave { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.nav__word { font-family: "Newsreader", serif; font-weight: 500; font-size: 1.18rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  position: relative; font-size: 0.9rem; color: var(--mist); display: inline-flex; align-items: baseline; gap: 7px;
  transition: color .3s;
}
.nav__links a:hover { color: var(--foam); }
.nav__num { font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; color: var(--turq); opacity: 0.8; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--grad);
  transition: width .4s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600;
  padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--foam);
  transition: border-color .3s, background .3s, transform .3s;
}
.nav__cta:hover { border-color: var(--beam); color: var(--beam-2); }
.nav__cta svg { transition: transform .3s var(--ease); }
.nav__cta:hover svg { transform: translate(2px,-2px); }
@media (max-width: 820px) { .nav__links { display: none; } }
@media (max-width: 540px) { .nav__cta span { display: none; } .nav__cta { padding: 11px; } }

/* ================================================================ DEPTH GAUGE */
.gauge {
  position: fixed; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%);
  z-index: 150; display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; transition: opacity .6s;
  mix-blend-mode: screen;
}
.gauge.live { opacity: 1; }
.gauge__track { position: relative; width: 1px; height: 34vh; background: linear-gradient(var(--line-2), transparent); }
.gauge__marker {
  position: absolute; left: 50%; top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--turq); transform: translate(-50%,-50%);
  box-shadow: 0 0 14px var(--turq); transition: top .15s linear;
}
.gauge__readout { display: flex; align-items: baseline; gap: 3px; font-family: "IBM Plex Mono", monospace; }
.gauge__depth { font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em; color: var(--foam); font-variant-numeric: tabular-nums; }
.gauge__unit { font-size: 0.7rem; color: var(--mist); }
.gauge__zone {
  font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mist); writing-mode: vertical-rl; text-orientation: mixed;
}
@media (max-width: 1080px) { .gauge { display: none; } }

/* ================================================================ HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 160px var(--pad) 120px;
}
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 18% 30%, var(--glow), transparent 70%),
    radial-gradient(40% 50% at 82% 60%, var(--glow-turq), transparent 70%);
  filter: blur(20px); opacity: 0.7;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%,2%,0) scale(1.08); } }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mist); margin-bottom: 38px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,0.02); backdrop-filter: blur(6px);
}
.hero__coords { color: var(--turq); }

.hero__title {
  font-family: "Newsreader", serif; font-weight: 340;
  font-size: clamp(2.7rem, 8.2vw, 7.2rem); line-height: 0.98; letter-spacing: -0.025em;
  max-width: 16ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero__title .line__in { display: block; transform: translateY(110%); }
.hero.lit .line__in { animation: riseIn 1.1s var(--ease-out) forwards; }
.hero.lit .line:nth-child(1) .line__in { animation-delay: .15s; }
.hero.lit .line:nth-child(2) .line__in { animation-delay: .30s; }
.hero.lit .line:nth-child(3) .line__in { animation-delay: .45s; }
@keyframes riseIn { to { transform: translateY(0); } }
.hero__title em.grad { font-weight: 400; }

.hero__lede {
  margin-top: 40px; max-width: 56ch; font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  color: var(--body); line-height: 1.65;
}
.hero__lede strong { color: var(--foam); font-weight: 600; }

.hero__actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  margin-top: 64px; display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap;
  padding-top: 34px; border-top: 1px solid var(--line); max-width: 760px;
}
.hero__stats dt { font-family: "Newsreader", serif; font-size: 1.5rem; font-weight: 420; letter-spacing: -0.01em; }
.hero__stats dd { color: var(--mist); font-size: 0.86rem; margin-top: 4px; max-width: 22ch; }

.hero__scroll {
  position: absolute; left: var(--pad); bottom: 38px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mist);
}
.hero__scroll-line { position: relative; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.hero__scroll-dot { position: absolute; left: 50%; top: -10px; width: 4px; height: 12px; background: var(--turq); transform: translateX(-50%); border-radius: 2px; animation: scrolldot 2.4s var(--ease) infinite; }
@keyframes scrolldot { 0% { top: -14px; opacity: 0; } 30% { opacity: 1; } 100% { top: 60px; opacity: 0; } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* the wave */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 16vh; min-height: 110px; pointer-events: none; }
.hero__wave svg, .contact__wave svg { width: 100%; height: 100%; display: block; }
.wave { fill: none; }
.wave--1 { fill: rgba(63,73,166,0.10); animation: waveShift 9s ease-in-out infinite alternate; }
.wave--2 { fill: rgba(54,123,194,0.10); animation: waveShift 12s ease-in-out infinite alternate-reverse; }
.wave--3 { fill: rgba(103,204,208,0.06); animation: waveShift 7s ease-in-out infinite alternate; }
@keyframes waveShift { from { transform: translateX(0); } to { transform: translateX(-3%); } }

/* ================================================================ WHAT WE BUILD */
.craft { position: relative; padding: clamp(100px, 13vw, 180px) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.craft .section-head { position: relative; margin: 0 0 60px; }
.craft .section-head__title { font-weight: 340; line-height: 1.04; }
/* faint circuit-trace atmosphere */
.craft__texture {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("/img/header-bg.jpg") right top / 60% auto no-repeat;
  opacity: 0.06; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 55%);
  mask-image: linear-gradient(to bottom left, #000, transparent 55%);
}
.craft .offers, .craft .band, .craft .markets { position: relative; z-index: 1; }

/* two offering cards */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } }
.offer {
  position: relative; padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(120,180,220,0.045), transparent 65%);
  transition: border-color .5s var(--ease), transform .5s var(--ease), background .5s;
}
.offer::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.offer:hover { border-color: var(--line-2); transform: translateY(-5px); }
.offer:hover::before { transform: scaleX(1); }
.offer__icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  border: 1px solid var(--line-2); color: var(--turq); background: rgba(103,204,208,0.05); margin-bottom: 26px;
}
.offer__title { font-family: "Newsreader", serif; font-weight: 420; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; }
.offer__desc { margin-top: 14px; color: var(--body); font-size: 1.03rem; line-height: 1.62; max-width: 44ch; }
.offer__tags { list-style: none; padding: 24px 0 0; margin-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.offer__tags li {
  font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mist); padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px;
}

/* "whole vessel, or the missing piece" augmentation band */
.band {
  margin-top: 22px; padding: clamp(26px, 3vw, 40px) clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--line); border-left: 3px solid var(--beam); border-radius: 18px;
  background: linear-gradient(100deg, var(--beam-dim), transparent 62%);
}
.band__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--beam-2); }
.band__text { margin-top: 12px; color: var(--foam); font-size: 1.08rem; line-height: 1.6; max-width: 72ch; }

/* offer "best when" qualifier */
.offer__best { margin-top: 18px; color: var(--mist); font-size: 0.95rem; line-height: 1.5; }
.offer__best span {
  font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--turq); display: inline-block; margin-right: 8px;
}

/* "any market" strip */
.markets {
  margin-top: 22px; padding: clamp(26px, 3vw, 40px) clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background:
    linear-gradient(100deg, rgba(20,26,36,0.7), rgba(14,20,29,0.4)),
    url("/img/map-image.png") center / cover;
}
.markets::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--ink)); opacity: 0.55; pointer-events: none; }
.markets__copy, .markets__tags { position: relative; z-index: 1; }
.markets__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--turq); }
.markets__line { margin-top: 10px; color: var(--foam); font-size: 1.06rem; line-height: 1.55; max-width: 54ch; }
.markets__line strong { color: var(--foam); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.markets__tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.markets__tags li {
  font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist); padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(8,13,20,0.4);
}

/* ================================================================ WORK (gallery) */
.work {
  position: relative; padding: clamp(96px, 12vw, 168px) var(--pad); max-width: var(--maxw); margin: 0 auto;
}
.work::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(75% 46% at 50% 28%, rgba(54,123,194,0.07), transparent 72%);
}
.work .section-head, .work__grid { position: relative; z-index: 1; }
.work .section-head { margin: 0 0 60px; }

/* featured flagship card */
.work__feature {
  position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 0;
  margin-bottom: 22px; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  background: var(--surface); cursor: pointer; outline: none;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.work__feature:hover, .work__feature:focus-visible {
  transform: translateY(-6px); border-color: var(--turq);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,0.85);
}
.work__feature:focus-visible { box-shadow: 0 0 0 2px var(--turq); }
.work__feature-media {
  position: relative; min-height: 360px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #16222f, var(--ink)); border-right: 1px solid var(--line);
}
.work__feature-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform 1.2s var(--ease);
}
.work__feature:hover .work__feature-media img { transform: scale(1.04); }
.work__feature-media .work__cat {
  background: rgba(255,142,90,0.92); color: #2a0f04; border-color: transparent; font-weight: 600;
}
.work__feature-body { padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.work__feature-eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turq); }
.work__feature-title { font-family: "Newsreader", serif; font-weight: 440; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 6px; transition: color .4s; }
.work__feature:hover .work__feature-title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work__feature-sub { color: var(--foam); font-size: 1.1rem; }
.work__feature-desc { color: var(--body); font-size: 1rem; line-height: 1.6; margin-top: 16px; max-width: 46ch; }
.work__feature-desc strong { color: var(--foam); }
.work__feature .work__foot { margin-top: 26px; }
@media (max-width: 760px) {
  .work__feature { grid-template-columns: 1fr; }
  .work__feature-media { min-height: 0; aspect-ratio: 16 / 11; border-right: 0; border-bottom: 1px solid var(--line); }
}

.work__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }

.work__card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  cursor: pointer; outline: none;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
@media (hover: none) { .work__card { cursor: pointer; } }
.work__card:hover, .work__card:focus-visible {
  transform: translateY(-7px); border-color: var(--line-2);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,0.8);
}
.work__card:focus-visible { box-shadow: 0 0 0 2px var(--turq); }

/* image plate — frames the high-key white product photos on a branded slab */
.work__plate {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #182433, var(--ink));
  border-bottom: 1px solid var(--line);
}
.work__plate--dark { background: #0a0e15; }
.work__plate img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: contrast(1.02) brightness(0.97);
  transition: transform 1.1s var(--ease);
}
.work__plate--dark img { filter: none; }
.work__card:hover .work__plate img { transform: scale(1.05); }
.work__plate::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(6,10,16,0.45); pointer-events: none; }
.work__cat {
  position: absolute; left: 14px; top: 14px; z-index: 2; font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--turq);
  background: rgba(8,13,20,0.66); border: 1px solid var(--line-2); padding: 6px 11px; border-radius: 100px;
  backdrop-filter: blur(6px);
}
.work__index {
  position: absolute; right: 16px; bottom: 12px; z-index: 2; font-family: "Newsreader", serif;
  font-size: 2.2rem; font-weight: 500; color: rgba(241,247,250,0.16); line-height: 1;
}

.work__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work__title {
  font-family: "Newsreader", serif; font-weight: 420; font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.06; letter-spacing: -0.015em; transition: color .4s;
}
.work__card:hover .work__title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work__sub { color: var(--body); margin-top: 9px; font-size: 0.96rem; line-height: 1.5; flex: 1; }
.work__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.work__client { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--mist); }
.work__open {
  display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--turq); white-space: nowrap;
  transition: gap .3s var(--ease);
}
.work__card:hover .work__open { gap: 10px; }

/* ================================================================ ABOUT */
.about { padding: clamp(100px,12vw,180px) var(--pad); background: linear-gradient(180deg, transparent, rgba(20,26,36,0.5) 50%, transparent); }
.about__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 56px; } }

.about__portrait { position: relative; }
.about__frame {
  position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2);
  aspect-ratio: 4/5; max-width: 420px;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); transition: transform 1.2s var(--ease); }
.about__portrait:hover .about__frame img { transform: scale(1.04); }
.about__frameGlow { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(63,73,166,0.5)); mix-blend-mode: multiply; pointer-events: none; }
.about__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 70px rgba(6,10,16,0.7); pointer-events: none; }
.about__plate {
  position: absolute; left: -18px; bottom: 26px; padding: 14px 20px; border-radius: 12px;
  background: rgba(10,15,23,0.82); backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 3px; box-shadow: 0 20px 50px -16px rgba(0,0,0,0.7);
}
.about__plateName { font-family: "Newsreader", serif; font-size: 1.16rem; font-weight: 500; }
.about__plateRole { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--turq); }

.about__title { font-family: "Newsreader", serif; font-weight: 350; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.015em; margin: 26px 0 32px; }
.about__title em:not(.grad) { font-style: italic; }
.about__lede p { color: var(--body); margin-bottom: 18px; font-size: 1.06rem; line-height: 1.66; max-width: 58ch; }
.about__lede strong { color: var(--foam); }
.about__creds { list-style: none; padding: 30px 0 0; margin-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.about__creds li { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; color: var(--foam); }
.about__credIcon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 12px; color: var(--turq); background: rgba(103,204,208,0.05); }
.about__credIcon svg { width: 21px; height: 21px; }
.about__credKey { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin-bottom: 3px; }
@media (max-width: 480px) { .about__creds { grid-template-columns: 1fr; } }

/* ================================================================ CONTACT */
.contact { position: relative; padding: clamp(120px,16vw,220px) var(--pad) 0; overflow: hidden; }
.contact__glow {
  position: absolute; left: 50%; top: 30%; width: 90vw; max-width: 1100px; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,142,90,0.10), transparent 60%); filter: blur(30px); pointer-events: none;
}
.contact__inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; text-align: center; }
.contact .section-head__label { justify-content: center; }
.contact__title { font-family: "Newsreader", serif; font-weight: 330; font-size: clamp(2.2rem, 6.5vw, 5.2rem); line-height: 1.04; letter-spacing: -0.02em; }
.contact__sub { margin: 34px auto 0; max-width: 52ch; color: var(--body); font-size: 1.1rem; }
.contact__email {
  margin: 56px auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 30px 56px; border: 1px solid var(--line-2); border-radius: 20px; position: relative;
  transition: border-color .4s, background .4s, transform .4s var(--ease);
  background: rgba(255,255,255,0.015);
}
.contact__email:hover { border-color: var(--beam); background: var(--beam-dim); }
.contact__email svg { position: absolute; top: 22px; right: 22px; color: var(--mist); transition: color .4s, transform .4s var(--ease); }
.contact__email:hover svg { color: var(--beam-2); transform: translate(3px,-3px); }
.contact__emailLabel { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
.contact__emailAddr { font-family: "Newsreader", serif; font-size: clamp(1.4rem, 3.4vw, 2.4rem); font-weight: 420; }
.contact__email:hover .contact__emailAddr { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__wave { position: relative; margin: clamp(80px,12vw,150px) calc(-1 * var(--pad)) 0; height: 14vh; min-height: 90px; }

/* ================================================================ FOOTER */
.foot { padding: 70px var(--pad) 46px; border-top: 1px solid var(--line); background: var(--abyss); }
.foot__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.foot__brand { display: inline-flex; align-items: center; gap: 14px; font-family: "Newsreader", serif; font-size: 1.4rem; font-weight: 500; }
.foot__tag { color: var(--mist); max-width: 36ch; font-size: 0.98rem; }
.foot__grid { max-width: var(--maxw); margin: 36px auto 0; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot__nav, .foot__legal { display: flex; gap: 26px; flex-wrap: wrap; }
.foot__nav a, .foot__legal a { color: var(--mist); font-size: 0.92rem; transition: color .3s; }
.foot__nav a:hover, .foot__legal a:hover { color: var(--turq); }
.foot__base { max-width: var(--maxw); margin: 46px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--mist); }

/* ================================================================ MODAL */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: clamp(16px,4vw,60px); visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s; }
.modal.open { visibility: visible; opacity: 1; }
.modal__scrim { position: absolute; inset: 0; background: rgba(4,7,11,0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__panel {
  position: relative; width: min(820px, 100%); max-height: 88vh; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--ink)); border: 1px solid var(--line-2);
  border-radius: 22px; box-shadow: 0 50px 120px -30px rgba(0,0,0,0.85);
  transform: translateY(24px) scale(0.98); transition: transform .5s var(--ease); display: flex; flex-direction: column;
}
.modal.open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,15,23,0.7); color: var(--foam); display: grid; place-items: center; cursor: none; transition: background .3s, border-color .3s, transform .3s; }
.modal__close:hover { background: var(--beam); color: #2a0f04; border-color: var(--beam); transform: rotate(90deg); }
.modal__scroll { overflow-y: auto; overscroll-behavior: contain; }
.modal__hero {
  position: relative; aspect-ratio: 16 / 9; max-height: 360px; overflow: hidden;
  display: grid; place-items: center; padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(120% 100% at 50% 0%, #1a2433, var(--ink)),
    url("/img/header-bg.jpg") center / cover;
}
.modal__img {
  width: auto; max-width: 88%; height: auto; max-height: 100%;
  object-fit: contain; border-radius: 6px;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.55));
}
.modal__heroOverlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, var(--surface)); pointer-events: none; }
.modal__head { padding: 0 clamp(26px,5vw,52px); margin-top: 22px; position: relative; }
.modal__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--turq); }
.modal__title { font-family: "Newsreader", serif; font-weight: 400; font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.04; margin: 12px 0 8px; letter-spacing: -0.015em; }
.modal__sub { color: var(--mist); font-size: 1.04rem; }
.modal__facts { display: flex; gap: 38px; flex-wrap: wrap; margin: 26px 0 6px; padding: 22px 0; border-block: 1px solid var(--line); }
.modal__facts dt { font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-bottom: 5px; }
.modal__facts dd { font-size: 0.98rem; color: var(--foam); }
.modal__content { padding: 30px clamp(26px,5vw,52px) 52px; }
@media (max-width: 560px) { .modal__hero { max-height: 240px; } }

/* prose (modal markdown) */
.prose { color: var(--body); line-height: 1.72; }
.prose h2, .prose h3 { font-family: "Newsreader", serif; color: var(--foam); font-weight: 460; letter-spacing: -0.01em; margin: 30px 0 12px; line-height: 1.2; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.24rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--foam); }
.prose a { color: var(--turq); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(103,204,208,0.4); transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: var(--turq); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.prose img { border-radius: 12px; margin: 22px 0; border: 1px solid var(--line); }

/* ---------------------------------------------------------------- responsive type */
@media (max-width: 600px) {
  .hero { padding-top: 124px; }
  .hero__title { font-size: clamp(1.75rem, 8vw, 2.7rem); letter-spacing: -0.02em; max-width: none; }
  .hero__eyebrow { font-size: 0.68rem; gap: 9px; padding: 8px 13px; flex-wrap: wrap; }
  .hero__lede { font-size: 1.02rem; }
  .hero__stats { gap: 22px 28px; }
  .hero__stats dt { font-size: 1.25rem; }
  .section-head__title { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .contact__title { font-size: clamp(1.9rem, 8.5vw, 3rem); }
}
@media (max-width: 380px) {
  .hero__title { font-size: 1.62rem; }
}

/* ================================================================ LANDING PAGES */
.lp-hero { min-height: 86svh; }
.lp-hero .hero__title { font-size: clamp(2.3rem, 6vw, 5rem); max-width: 18ch; }

.lp-section { position: relative; z-index: 1; padding: clamp(78px, 10vw, 144px) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.lp-section .section-head { margin: 0 0 46px; }
.lp-section .section-head__title { font-weight: 350; }
.lp-section .section-head__title em:not(.grad) { font-style: italic; color: var(--foam); }

.lp-prose { max-width: 72ch; }
.lp-prose p { color: var(--body); font-size: 1.1rem; line-height: 1.7; margin-bottom: 20px; }
.lp-prose p:last-child { margin-bottom: 0; }
.lp-prose strong { color: var(--foam); }
.lp-prose a, .faq__a a { color: var(--turq); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(103,204,208,0.42); transition: text-decoration-color .3s; }
.lp-prose a:hover, .faq__a a:hover { text-decoration-color: var(--turq); }

/* capability cards: 4 in a 2x2 (reuses .offers/.offer) */
.lp-offers { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .lp-offers { grid-template-columns: 1fr; } }

/* proof band links */
.band__links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.band__link { display: inline-flex; align-items: center; gap: 7px; font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--beam-2); transition: color .3s, gap .3s var(--ease); }
.band__link svg { transition: transform .3s var(--ease); }
.band__link:hover { color: var(--beam); gap: 10px; }
.band__link:hover svg { transform: translate(2px,-2px); }
.band__text em { font-style: italic; color: var(--foam); }

/* FAQ (native <details> — accessible + crawlable) */
.faq { max-width: 840px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; position: relative; padding: 26px 48px 26px 0; font-family: "Newsreader", serif; font-size: clamp(1.12rem, 2vw, 1.42rem); font-weight: 440; color: var(--foam); transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: "IBM Plex Mono", monospace; font-size: 1.5rem; line-height: 1; color: var(--turq); transition: transform .35s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq__item summary:hover { color: var(--turq); }
.faq__a { padding: 0 48px 28px 0; color: var(--body); max-width: 70ch; line-height: 1.68; font-size: 1.04rem; }
.faq__a p { margin: 0; }

/* landing CTA */
.lp-cta { position: relative; padding: clamp(100px,14vw,180px) var(--pad) 0; overflow: hidden; text-align: center; }
.lp-cta__glow { position: absolute; left: 50%; top: 24%; width: 90vw; max-width: 1000px; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,142,90,0.10), transparent 60%); filter: blur(30px); pointer-events: none; }
.lp-cta__inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.lp-cta__title { font-family: "Newsreader", serif; font-weight: 340; font-size: clamp(1.9rem, 4.8vw, 3.3rem); line-height: 1.08; letter-spacing: -0.02em; margin-top: 6px; }
.lp-cta__sub { margin: 28px auto 0; max-width: 56ch; color: var(--body); font-size: 1.08rem; }
.lp-cta .contact__email { margin-top: 44px; }
.lp-cta .contact__wave { margin-top: clamp(70px,10vw,120px); }

/* footer specialties group + homepage specialties line */
.foot__nav--spec { flex-direction: column; gap: 11px; align-items: flex-start; }
.foot__navLabel { font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist-dim); }
.craft__specialties { position: relative; z-index: 1; margin: 26px 0 0; color: var(--mist); font-size: 0.98rem; }
.craft__specialties a { color: var(--turq); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(103,204,208,0.42); transition: text-decoration-color .3s; }
.craft__specialties a:hover { text-decoration-color: var(--turq); }

/* landing credentials strip (authority / E-E-A-T) */
.lp-creds { list-style: none; padding: 0; margin: 0 0 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 920px; }
@media (max-width: 720px) { .lp-creds { grid-template-columns: 1fr; } }
.lp-cred { position: relative; padding: 24px 26px 26px; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(103,204,208,0.06), transparent 70%); }
.lp-cred::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--grad); }
.lp-cred__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--turq); background: rgba(103,204,208,0.06); margin-bottom: 16px; }
.lp-cred__icon svg { width: 21px; height: 21px; }
.lp-cred__role { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turq); margin-bottom: 6px; }
.lp-cred__name { display: block; font-family: "Newsreader", serif; font-size: 1.22rem; font-weight: 460; color: var(--foam); line-height: 1.12; letter-spacing: -0.01em; }
