/* =====================================================================
   ASG — asglive.com
   Design system: DARK-FIRST EDITORIAL
   ---------------------------------------------------------------------
   Brand law (asg-brand-guidelines): the ONLY brand colours are
     teal #15B6C5 · dark grey #262626 · white #FFFFFF, and the typeface is Roboto.
   Everything below is built from those three plus neutral steps derived from them.

   ACCESSIBILITY RULE ENFORCED THROUGHOUT — read before editing:
     Teal on black  = 8.4:1  -> teal MAY be text on dark surfaces.
     Teal on white  = 2.3:1  -> teal MUST NEVER be text on light surfaces.
   On paper/light sections teal appears ONLY as a solid fill (with near-black text
   on it, 6.5:1) or as a rule/keyline. There is no exception to this.

   The look: a fabrication drawing's title block. Mono metadata, hairline rules,
   index numerals, hard 2px corners. No glows, no gradients, no glass. The
   boldness is spent on ONE thing — the render/reality wipe. Everything else
   stays quiet.
   ===================================================================== */

/* ------------------------------------------------------------------ *
   1. TOKENS
 * ------------------------------------------------------------------ */
:root {
  /* Brand — do not alter */
  --teal:        #15B6C5;
  --teal-press:  #0E8C99;
  --on-teal:     #062326;   /* text on a teal fill — 6.5:1 */
  --grey:        #262626;   /* brand dark grey */
  --white:       #FFFFFF;

  /* Dark canvas (the default) */
  --void:        #0A0A0A;   /* page base */
  --pit:         #0E0F10;   /* alternating dark band */
  --slab:        #141618;   /* card / raised surface */
  --slab-2:      #1B1E20;   /* hover */
  --edge:        rgba(255,255,255,.11);   /* hairline on dark */
  --edge-soft:   rgba(255,255,255,.06);

  /* Text on dark */
  --t-hi:        #F4F6F7;   /* 18:1  */
  --t-mid:       #A2ABAE;   /* 8.5:1 */
  --t-lo:        #808A8D;   /* 5.4:1 — smallest allowed for body */

  /* Paper insert (the light band) */
  --paper:       #FFFFFF;
  --mist:        #F3F5F6;
  --rule:        #E2E6E7;   /* hairline on light */
  --i-hi:        #1A1C1D;   /* 15:1 on white */
  --i-mid:       #5A6265;   /* 6.2:1 on white */

  /* Type */
  --f-display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --f-body:    "Roboto", system-ui, sans-serif;
  --f-data:    "Roboto Mono", ui-monospace, monospace;

  /* Scale */
  --s-xs: .75rem;  --s-sm: .8125rem; --s-md: 1rem;    --s-lg: 1.125rem;
  --s-xl: 1.375rem;

  /* Geometry */
  --container: 1560px;
  --gutter:    clamp(20px, 4vw, 56px);
  --r:         2px;          /* hard corners. Precision, not softness. */
  --nav-h:     72px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------ *
   2. RESET
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--t-hi);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--s-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

/* Icons carry width/height in the tag (see lib/icons.php), but this is the
   safety net that stopped the last build shipping full-screen SVGs. */
svg.ico { width: 20px; height: 20px; flex: none; }

/* Visible focus, always. Never remove without replacing. */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--teal); color: var(--on-teal); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal); color: var(--on-teal);
  padding: 12px 20px; font-family: var(--f-data); font-size: var(--s-sm);
  text-transform: uppercase; letter-spacing: .12em;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------------ *
   3. TYPE
 * ------------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .96;
  text-wrap: balance;
}

.d1 { font-size: clamp(2.75rem, 7.2vw, 6.5rem); }
.d2 { font-size: clamp(2rem, 4.6vw, 3.75rem); }
.d3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.d4 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }

/* The mono voice: every number, code, label and tag. This is the title-block. */
.data {
  font-family: var(--f-data);
  font-weight: 400;
  font-size: var(--s-sm);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.data-sm { font-size: var(--s-xs); letter-spacing: .16em; }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--t-mid);
  max-width: 62ch;
}
p { max-width: 72ch; color: var(--t-mid); }
strong { font-weight: 500; color: var(--t-hi); }

.accent { color: var(--teal); }          /* dark surfaces ONLY */
.muted  { color: var(--t-lo); }

/* Anything marked [To be confirmed] should look provisional, not authoritative. */
.tbc {
  font-family: var(--f-data);
  font-size: var(--s-xs);
  letter-spacing: .1em;
  color: var(--t-lo);
  border-bottom: 1px dashed var(--edge);
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ *
   4. LAYOUT
 * ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 130px); }
.section--tight { padding-block: clamp(48px, 5vw, 80px); }

/* The paper insert. Dark-FIRST, not dark-only — the light band is what stops
   this reading as another near-black-plus-accent template. */
.paper {
  background: var(--paper);
  color: var(--i-hi);
}
.paper p, .paper .lede { color: var(--i-mid); }
.paper .muted { color: var(--i-mid); }
.paper .data { color: var(--i-mid); }
/* teal is NOT text here — only a fill or a rule. See the accessibility rule at top. */
.paper .accent { color: var(--i-hi); }

.band-mist { background: var(--mist); color: var(--i-hi); }

/* --- Section head: an index numeral sitting on a hairline rule --- */
.shead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  border-top: 1px solid var(--edge);
  padding-top: 18px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.paper .shead, .band-mist .shead { border-top-color: var(--rule); }

.shead__idx {
  font-family: var(--f-data);
  font-size: var(--s-xs);
  letter-spacing: .16em;
  color: var(--teal);
  padding-top: 6px;
}
.paper .shead__idx, .band-mist .shead__idx {
  /* teal can't be text on white. Use the brand grey and let the RULE carry the teal. */
  color: var(--grey);
}
.shead__body { display: flex; flex-direction: column; gap: 14px; }
.shead__eyebrow {
  font-family: var(--f-data);
  font-size: var(--s-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t-lo);
}
.paper .shead__eyebrow { color: var(--i-mid); }

.shead__row {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
}

/* ------------------------------------------------------------------ *
   5. BUTTONS  (min 44px tall — touch target floor)
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--r);
  font-family: var(--f-data);
  font-size: var(--s-sm);
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid transparent;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  cursor: pointer;
  touch-action: manipulation;
}
.btn .ico { transition: transform .22s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn--primary { background: var(--teal); color: var(--on-teal); font-weight: 500; }
.btn--primary:hover { background: var(--teal-press); }

.btn--ghost { border-color: var(--edge); color: var(--t-hi); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.paper .btn--ghost { border-color: var(--rule); color: var(--i-hi); }
.paper .btn--ghost:hover { border-color: var(--grey); background: var(--grey); color: var(--white); }

.btn--solid { background: var(--grey); color: var(--white); }
.btn--solid:hover { background: #000; }

/* Text link with an underline that draws in */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-data); font-size: var(--s-sm);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--teal);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.tlink:hover { border-bottom-color: var(--teal); }
.paper .tlink { color: var(--i-hi); }
.paper .tlink:hover { border-bottom-color: var(--grey); }

/* ------------------------------------------------------------------ *
   6. HEADER / NAV
 * ------------------------------------------------------------------ */
.hdr {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,10,10,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--edge);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 34px; width: auto; }
/* The bundled logo carries the GREY logotype. On this dark header the brand book
   calls for the WHITE-logotype artwork. Until that EPS is supplied, the grey mark
   sits inside a white holding device — which is exactly what the book prescribes. */
.brand__hold {
  background: var(--white);
  padding: 7px 12px;
  border-radius: var(--r);
  display: flex; align-items: center;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-data);
  font-size: var(--s-xs);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--t-mid);
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav a:hover { color: var(--t-hi); }
.nav a.is-on { color: var(--t-hi); border-bottom-color: var(--teal); }

.hdr__cta { display: flex; align-items: center; gap: 12px; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--edge); border-radius: var(--r);
  color: var(--t-hi);
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--void);
  z-index: 99;
  padding: 32px var(--gutter);
  display: none;
  flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer a {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.75rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--edge-soft);
  color: var(--t-hi);
}
.drawer a:hover, .drawer a.is-on { color: var(--teal); }
.drawer .btn { margin-top: 24px; justify-content: center; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__cta .btn--primary { display: none; }
}

/* ------------------------------------------------------------------ *
   7. HERO
 * ------------------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 5vw, 72px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
}
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; }
}
.hero__eyebrow {
  font-family: var(--f-data); font-size: var(--s-xs);
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--teal);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.hero__eyebrow::before {
  content: ""; width: 42px; height: 1px; background: var(--teal); flex: none;
}
.hero h1 { margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ------------------------------------------------------------------ *
   8. THE SIGNATURE — render → reality wipe
      A range input, not a JS drag handler, so it is keyboard-operable
      (arrow keys) for free.
 * ------------------------------------------------------------------ */
.wipe {
  position: relative;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  background: var(--slab);
  overflow: hidden;
}
.wipe__stage { position: relative; aspect-ratio: 16 / 10; }
.wipe__stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* The BUILT photo is clipped back to reveal the RENDER underneath. */
.wipe__after { clip-path: inset(0 0 0 var(--pos, 50%)); }

.wipe__line {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px; margin-left: -1px;
  background: var(--teal);
  pointer-events: none;
}
.wipe__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(21,182,197,.16);
}
.wipe__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  background: transparent;
}
.wipe__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; }
.wipe__range::-moz-range-thumb { width: 48px; height: 100%; border: 0; background: transparent; }
.wipe__range:focus-visible ~ .wipe__line { box-shadow: 0 0 0 2px var(--white); }

/* The corner tags that name each half */
.wipe__tag {
  position: absolute; top: 14px;
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r);
  background: rgba(10,10,10,.72);
  color: var(--t-hi);
  pointer-events: none;
}
.wipe__tag--l { left: 14px; }
.wipe__tag--r { right: 14px; }

/* The title block beneath — mono, hairline-divided. Reads like a drawing. */
.tblock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  border-top: 1px solid var(--edge);
}
.tblock__cell {
  padding: 14px 16px;
  border-right: 1px solid var(--edge);
}
.tblock__cell:last-child { border-right: 0; }
.tblock__k {
  font-family: var(--f-data); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--t-lo); display: block; margin-bottom: 5px;
}
.tblock__v {
  font-family: var(--f-data); font-size: var(--s-sm);
  font-weight: 500; letter-spacing: .06em;
  color: var(--t-hi);
}

/* Placeholder shown when a project has no images yet — still designed, not broken. */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 10px,
      rgba(255,255,255,.022) 10px 20px),
    var(--slab);
  color: var(--t-lo);
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .16em; text-transform: uppercase;
  text-align: center; padding: 20px;
}

/* ------------------------------------------------------------------ *
   9. CAPABILITY BAND — the numbers
 * ------------------------------------------------------------------ */
.caps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--edge);
  border-left: 1px solid var(--edge);
}
.paper .caps, .band-mist .caps { border-top-color: var(--rule); border-left-color: var(--rule); }

.cap {
  border-right: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: 26px 22px 24px;
  position: relative;
}
.paper .cap, .band-mist .cap { border-right-color: var(--rule); border-bottom-color: var(--rule); }

/* the teal keyline that fires on hover — the only movement in the band */
.cap::after {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 0; height: 2px; background: var(--teal);
  transition: width .4s var(--ease);
}
.cap:hover::after { width: 100%; }

.cap__v {
  font-family: var(--f-display);
  font-weight: 700; font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 10px;
}
.cap__u {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); font-weight: 400;
}
.paper .cap__u, .band-mist .cap__u { color: var(--grey); }

.cap__l {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--t-lo); line-height: 1.5;
}
.paper .cap__l, .band-mist .cap__l { color: var(--i-mid); }

/* ------------------------------------------------------------------ *
   10. PROJECT CARDS
 * ------------------------------------------------------------------ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2px;                       /* hairline gutters — the grid reads as a sheet */
  background: var(--edge);
  border: 1px solid var(--edge);
}
.paper .pgrid, .band-mist .pgrid { background: var(--rule); border-color: var(--rule); }

@media (max-width: 480px) {
  .pgrid { grid-template-columns: 1fr; }
}

.pcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--void);
  transition: background .25s var(--ease);
}
.paper .pcard, .band-mist .pcard { background: var(--paper); }
.pcard:hover { background: var(--slab); }
.paper .pcard:hover, .band-mist .pcard:hover { background: var(--mist); }

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--slab);
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.035); }

/* index numeral, top-left, on the image */
.pcard__idx {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .14em;
  padding: 8px 12px;
  background: var(--void); color: var(--teal);
}
.paper .pcard__idx, .band-mist .pcard__idx { background: var(--grey); color: var(--white); }

/* "PAIRED" flag — this project has both a render and a build photo */
.pcard__paired {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-data); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 9px; border-radius: var(--r);
  background: var(--teal); color: var(--on-teal); font-weight: 500;
}

.pcard__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__meta {
  font-family: var(--f-data); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--t-lo);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.paper .pcard__meta, .band-mist .pcard__meta { color: var(--i-mid); }
.pcard__meta span + span::before { content: "/ "; opacity: .5; }

.pcard__title { font-size: 1.3125rem; }
.pcard a.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pcard__spec {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--edge-soft);
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal);
}
.paper .pcard__spec { border-top-color: var(--rule); color: var(--i-hi); }

/* ------------------------------------------------------------------ *
   11. FILTERS / TABS
 * ------------------------------------------------------------------ */
.tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 28px;
}
.paper .tabs { border-bottom-color: var(--rule); }
.tab {
  font-family: var(--f-data); font-size: var(--s-xs);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--t-lo);
  padding: 14px 20px; min-height: 46px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--t-hi); }
.tab.is-on { color: var(--teal); border-bottom-color: var(--teal); }
.paper .tab.is-on { color: var(--i-hi); border-bottom-color: var(--grey); }
.tab__n { opacity: .55; margin-left: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-data); font-size: var(--s-xs);
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--t-mid);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  padding: 9px 14px; min-height: 40px;
  display: inline-flex; align-items: center;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--t-lo); color: var(--t-hi); }
.chip.is-on { background: var(--teal); border-color: var(--teal); color: var(--on-teal); font-weight: 500; }

.searchbar {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--edge); border-radius: var(--r);
  padding: 0 14px; min-height: 46px;
  color: var(--t-lo);
  min-width: 260px;
}
.searchbar:focus-within { border-color: var(--teal); color: var(--teal); }
.searchbar input {
  border: 0; background: none; outline: none;
  font-family: var(--f-data); font-size: var(--s-sm);
  letter-spacing: .08em; color: var(--t-hi);
  width: 100%; padding-block: 12px;
}
.searchbar input::placeholder { color: var(--t-lo); text-transform: uppercase; letter-spacing: .12em; }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}

/* Empty state — part of the design, not an afterthought. */
.empty {
  border: 1px dashed var(--edge);
  border-radius: var(--r);
  padding: 60px 24px;
  text-align: center;
  color: var(--t-lo);
}
.empty h3 { margin-bottom: 10px; color: var(--t-hi); }
.empty p { margin-inline: auto; }

/* ------------------------------------------------------------------ *
   12. SERVICES — the editorial index list
 * ------------------------------------------------------------------ */
.slist { border-top: 1px solid var(--edge); }
.paper .slist { border-top-color: var(--rule); }

.srow {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--edge);
  transition: padding-left .3s var(--ease);
}
.paper .srow { border-bottom-color: var(--rule); }
.srow:hover { padding-left: 14px; }

@media (min-width: 900px) {
  .srow { grid-template-columns: 56px minmax(220px, 300px) 1fr auto; gap: 32px; }
}

.srow__n {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .14em; color: var(--teal);
}
.paper .srow__n { color: var(--grey); }

.srow__t { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.srow__d { color: var(--t-mid); font-size: var(--s-md); max-width: 60ch; }
.paper .srow__d { color: var(--i-mid); }
.srow__go { color: var(--t-lo); transition: color .2s var(--ease), transform .3s var(--ease); }
.srow:hover .srow__go { color: var(--teal); transform: translateX(4px); }
.paper .srow:hover .srow__go { color: var(--i-hi); }
.srow a::after { content: ""; position: absolute; inset: 0; }

@media (max-width: 899px) { .srow__d, .srow__go { display: none; } }

/* ------------------------------------------------------------------ *
   13. CLIENT LOGO MARQUEE
 * ------------------------------------------------------------------ */
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--void), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--void), transparent); }
.paper .marquee::before { background: linear-gradient(90deg, var(--paper), transparent); }
.paper .marquee::after  { background: linear-gradient(270deg, var(--paper), transparent); }

.marquee__track {
  display: flex; gap: 2px;
  width: max-content;
  animation: slide 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

.logocell {
  flex: none;
  width: 200px; height: 118px;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  border: 1px solid var(--edge);
  background: var(--void);
}
.paper .logocell { border-color: var(--rule); background: var(--paper); }
.logocell img {
  max-height: 100%; max-width: 100%;
  width: auto; object-fit: contain;
  filter: grayscale(1) brightness(2.2);
  opacity: .62;
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.paper .logocell img { filter: grayscale(1); opacity: .55; }
.logocell:hover img { filter: none; opacity: 1; }
.logocell__txt {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--t-lo); text-align: center; line-height: 1.4;
}

/* ------------------------------------------------------------------ *
   14. SHOWS
 * ------------------------------------------------------------------ */
.showgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px; background: var(--rule);
  border: 1px solid var(--rule);
}
.show {
  background: var(--paper);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.show__n {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .16em; color: var(--i-mid);
}
.show__t { font-size: 1.625rem; color: var(--i-hi); }
.show__d { font-size: var(--s-sm); color: var(--i-mid); line-height: 1.6; }
.show__badge {
  margin-top: auto;
  align-self: flex-start;
  background: var(--teal); color: var(--on-teal);
  font-family: var(--f-data); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 10px; border-radius: var(--r);
}

/* ------------------------------------------------------------------ *
   15. TEAM
 * ------------------------------------------------------------------ */
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px; background: var(--edge); border: 1px solid var(--edge);
}
.tcard {
  background: var(--void);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.tcard__ph {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover; filter: grayscale(1);
  border: 1px solid var(--edge);
}
.tcard__ph--empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--slab); color: var(--t-lo);
  font-family: var(--f-display); font-weight: 700; font-size: 1.5rem;
}
.tcard__n { font-size: 1.125rem; }
.tcard__r {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
}
.tcard__b { font-size: var(--s-sm); color: var(--t-mid); line-height: 1.6; }

/* ------------------------------------------------------------------ *
   16. PROJECT DETAIL
 * ------------------------------------------------------------------ */
.sheet { max-width: 1180px; }
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px; background: var(--edge); border: 1px solid var(--edge);
}
.gal button {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--slab); padding: 0; display: block; width: 100%;
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal button:hover img { transform: scale(1.04); }
.gal__k {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--f-data); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--void); color: var(--teal); padding: 6px 10px;
}

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,6,6,.94);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lb.is-open { display: flex; }
.lb img { max-width: 94vw; max-height: 88vh; width: auto; object-fit: contain; }
.lb__x {
  position: absolute; top: 20px; right: 20px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--edge); border-radius: var(--r);
  color: var(--t-hi); background: rgba(10,10,10,.6);
}
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--edge); border-radius: var(--r);
  color: var(--t-hi); background: rgba(10,10,10,.6);
}
.lb__nav--p { left: 20px; }
.lb__nav--n { right: 20px; }

/* ------------------------------------------------------------------ *
   17. FORMS
 * ------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label {
  font-family: var(--f-data); font-size: var(--s-xs);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--t-lo);
}
.paper .field label { color: var(--i-mid); }
.field .req { color: var(--teal); }
.paper .field .req { color: var(--grey); }

.field input, .field textarea, .field select {
  background: var(--slab);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  padding: 14px 16px;
  min-height: 50px;
  color: var(--t-hi);
  font-size: var(--s-md);
  transition: border-color .2s var(--ease);
  width: 100%;
}
.paper .field input, .paper .field textarea, .paper .field select {
  background: var(--white); border-color: var(--rule); color: var(--i-hi);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field__hint { font-size: var(--s-sm); color: var(--t-lo); }
.field__err {
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: #FF8A80;
}
.field.has-err input, .field.has-err textarea { border-color: #FF8A80; }

.frow { display: grid; grid-template-columns: 1fr; gap: 0 20px; }
@media (min-width: 720px) { .frow { grid-template-columns: 1fr 1fr; } }

/* The honeypot. MUST be off-screen, never display:none and never visible —
   a visible one gets filled by real users and their enquiry is silently binned. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

.alert {
  border: 1px solid var(--edge);
  border-left: 3px solid var(--teal);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: var(--s-sm);
}
.alert--ok  { border-left-color: var(--teal); }
.alert--err { border-left-color: #FF8A80; }
.paper .alert { border-color: var(--rule); }

/* ------------------------------------------------------------------ *
   18. CTA BAND
 * ------------------------------------------------------------------ */
.cta {
  background: var(--teal);
  color: var(--on-teal);
}
.cta h2 { color: var(--on-teal); }
.cta p { color: rgba(6,35,38,.82); }
.cta .btn--solid { background: var(--on-teal); color: var(--teal); }
.cta .btn--solid:hover { background: #000; }
.cta__grid {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: space-between;
}

/* ------------------------------------------------------------------ *
   19. FOOTER
 * ------------------------------------------------------------------ */
.ftr { background: #060606; border-top: 1px solid var(--edge); padding-top: clamp(56px, 6vw, 88px); }
.ftr__grid {
  display: grid; gap: 44px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
}
@media (min-width: 760px)  { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.ftr h4 {
  font-family: var(--f-data); font-weight: 500;
  font-size: var(--s-xs); letter-spacing: .16em;
  color: var(--t-lo); margin-bottom: 20px;
  text-transform: uppercase;
}
.ftr__links { display: flex; flex-direction: column; gap: 2px; }
.ftr__links a {
  color: var(--t-mid); font-size: var(--s-sm);
  padding: 7px 0; min-height: 36px; display: flex; align-items: center;
  transition: color .2s var(--ease);
}
.ftr__links a:hover { color: var(--teal); }

.ftr__contact { display: flex; flex-direction: column; gap: 14px; }
.ftr__contact a, .ftr__contact div {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--t-mid); font-size: var(--s-sm);
}
.ftr__contact a:hover { color: var(--teal); }
.ftr__contact .ico { margin-top: 3px; color: var(--teal); }

.social { display: flex; gap: 8px; margin-top: 22px; }
.social a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--edge); border-radius: var(--r);
  color: var(--t-mid);
  transition: all .2s var(--ease);
}
.social a:hover { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }

.ftr__bar {
  border-top: 1px solid var(--edge);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-family: var(--f-data); font-size: var(--s-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--t-lo);
}
.ftr__logo { background: var(--white); padding: 10px 14px; border-radius: var(--r); display: inline-flex; margin-bottom: 22px; }
.ftr__logo img { height: 40px; width: auto; }

/* ------------------------------------------------------------------ *
   20. QUICK-CONTACT DOCK
 * ------------------------------------------------------------------ */
.dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.dock a {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  background: var(--slab);
  border: 1px solid var(--edge);
  color: var(--t-hi);
  transition: all .2s var(--ease);
}
.dock a:hover { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.dock a.dock--wa:hover { background: #25D366; border-color: #25D366; color: #062326; }

/* ------------------------------------------------------------------ *
   21. REVEAL ON SCROLL (opt-in, motion-safe)
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .rv.is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ *
   22. UTILITIES
 * ------------------------------------------------------------------ */
.stack   { display: flex; flex-direction: column; }
.gap-8   { gap: 8px; }  .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-24   { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-16   { margin-bottom: 16px; } .mb-32 { margin-bottom: 32px; }
.row     { display: flex; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.center  { text-align: center; }
.hairline { height: 1px; background: var(--edge); border: 0; }
.paper .hairline { background: var(--rule); }
