/* Shared content pages — About, Services, Contact, and the case study.

   These are identical across both concepts by design: the concept choice is
   about how the WORK is presented, which lives on Home and Projects. Built
   once, linked from both. See docs/02-information-architecture.md.

   Gold #DAA22C is fill-only — it measures 2.13:1 on light and fails AA. */

:root {
  --ink: #1A1A1A; --paper: #F6F7F7; --paper-2: #ECEEEE;
  --mute: #55595A; --line: #D8DBDB;
  --gold: #DAA22C;
  /* #B5821E measured 3.17:1 on --paper and fails AA at text sizes.
     #8A6212 is 4.9:1 on #F6F7F7 and 4.5:1 on #ECEEEE. */
  --gold-deep: #8A6212; --navy: #101010;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.65 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* ── site header ───────────────────────────────────────────────────── */
/* Matches the concept header exactly — 94px, 24/40 padding, 46px mark.
   A shared page that changes height or drops the logo reads as a different
   website, which is the opposite of what shared pages are for. */
.site {
  position: sticky; top: 0; z-index: 60; background: rgba(246,247,247,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site__in { display: flex; align-items: center; gap: 20px;
  min-height: 94px; padding: 24px 0; }
.site__brand { display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; }
.site__brand img { display: block; width: 46px; height: 46px; }
.site__brand span { font-family: 'Archivo', sans-serif; font-weight: 800;
  letter-spacing: -.01em; font-size: 18px; line-height: 1.1; }
.site__brand small { display: block; font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: .18em; color: var(--gold-deep); font-weight: 400;
  margin-top: 3px; }
.site__nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site__nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--mute); text-decoration: none; font-size: 15px; border-radius: 5px;
}
.site__nav a:hover { color: var(--ink); background: var(--paper-2); }
.site__nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }
.site__nav a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 6px;
  background: var(--gold); color: #1A1A1A;      /* 7.6:1 — the compliant pairing */
  font-weight: 600; text-decoration: none; border: 0; font-size: 15px; cursor: pointer;
}
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* ── page head ─────────────────────────────────────────────────────── */
.phead { padding: clamp(34px, 6vw, 72px) 0 clamp(20px, 3vw, 34px); }
.phead .eyebrow, .eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px;
}
h1 { font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(32px, 5.6vw, 58px); line-height: 1.04; margin: 0; }
.phead .lede { font-size: clamp(17px, 2vw, 20px); color: var(--mute); max-width: 60ch; margin: 18px 0 0; }
h2 { font-family: 'Archivo', sans-serif; font-weight: 700; letter-spacing: -.015em;
  font-size: clamp(22px, 3vw, 30px); margin: 0 0 4px; }
h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 6px; }
section.band { padding: clamp(30px, 4.5vw, 58px) 0; border-top: 1px solid var(--line); }
section.band > .wrap > .lede { color: var(--mute); max-width: 62ch; margin: 0 0 26px; }
.band--dark { background: var(--navy); color: var(--paper); border-top: 0; }
.band--dark h2, .band--dark h3 { color: var(--paper); }
.band--dark .lede, .band--dark p { color: rgba(246,247,247,.72); }
.band--dark .eyebrow { color: var(--gold); }

/* ── generic blocks ────────────────────────────────────────────────── */
.cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--paper-2); border-radius: 10px; padding: 22px;
}
.band--dark .card { background: rgba(246,247,247,.06); }
.card p { margin: 0; color: var(--mute); font-size: 15px; }
.band--dark .card p { color: rgba(246,247,247,.68); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.list li::before { content: ''; position: absolute; left: 0; top: 18px; width: 10px; height: 2px; background: var(--gold); }
.band--dark .list li { border-color: rgba(246,247,247,.14); }

/* numbered because the process genuinely is a sequence */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s;
  display: grid; gap: 2px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr;
  gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero);
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--gold-deep); padding-top: 2px; }
.steps p { margin: 4px 0 0; color: var(--mute); font-size: 15px; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt, .facts .k { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.facts .v { font-weight: 600; text-align: right; }

/* pending items are marked, never silently published */
.pending {
  display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; background: #7A5A12; color: #fff;
  padding: 2px 7px; border-radius: 3px; margin-left: 8px; vertical-align: 2px;
}
.note {
  background: var(--paper-2); border-left: 3px solid var(--gold);
  padding: 16px 18px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 15px;
}
.note p { margin: 0; }
.note p + p { margin-top: 8px; }

/* ── contact form (disabled in the pitch) ──────────────────────────── */
.form { display: grid; gap: 14px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 12px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:disabled, .field select:disabled, .field textarea:disabled {
  background: var(--paper-2); color: var(--mute); cursor: not-allowed;
}
.form__msg { font-size: 14px; color: var(--mute); margin: 0; }

/* ── case study ────────────────────────────────────────────────────── */
.case__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.case__grid .photo { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; position: relative;
  background: linear-gradient(158deg,#2C3A44,#101A21); }
.case__grid .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__gap {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(246,247,247,.6); padding: 16px;
}

/* ── footer + sticky whatsapp ──────────────────────────────────────── */
.foot { background: var(--navy); color: rgba(246,247,247,.62); padding: 40px 0; font-size: 14px; }
.foot a { color: var(--paper); display: inline-flex; align-items: center;
  min-height: 44px; }   /* were 18px — under the 44px tap floor */
.foot__row { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: var(--gold); color: #1A1A1A; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.22);
}

@media (max-width: 640px) {
  .site__in { flex-wrap: wrap; min-height: 0; padding: 10px 0; }
  .site__nav { margin-left: 0; width: 100%; }
  .site__nav a { padding: 0 10px; font-size: 14px; }
  .facts li { grid-template-columns: 1fr; }
  .facts .v { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ── shared Projects page ──────────────────────────────────────────── */
/* Every card is server-rendered; the filter hides with CSS and never
   fetches, per CLAUDE.md — JS-gated sectors would cost the queries ING
   needs to rank for. */
.proj__filter { margin: 0 0 6px; }
.proj__filter a { background: #E7EAEA; color: #1A1A1A; }
.proj__filter a.is-on { background: #1A1A1A; color: #F6F7F7; }
.proj__loc { font-size: 13.5px; color: var(--mute); margin: 3px 0 0; }
.proj[hidden] { display: none; }

/* Social channels — see concept-hero.css for provenance. */
.foot__social { margin: 14px 0 0; display: flex; gap: 16px; flex-wrap: wrap; }
.foot__social a { display: inline-flex; align-items: center; min-height: 44px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  text-decoration: none; }
.foot__social a:hover { text-decoration: underline; }

/* Anchor targets must clear the sticky header, or #maintenance lands with its
   heading tucked underneath it. */
[id] { scroll-margin-top: 104px; }

/* ── mobile menu ───────────────────────────────────────────────────────
   Matches the concepts. Without this the six nav links wrapped to two rows
   and the sticky header stood 179px tall at 375px — 27% of the viewport,
   permanently. docs/02 also requires a real slide-down menu. */
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 11px 10px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease; }
.burger:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mob { display: none; }
.mob[hidden] { display: none; }
.mob ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mob a {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-size: 17px; font-weight: 500;
}
.mob a[aria-current="page"] { color: var(--gold-deep); font-weight: 600; }
.mob .btn { width: 100%; margin-bottom: 4px; }

@media (max-width: 860px) {
  .site__nav { display: none; }
  .burger { display: flex; }
  .mob:not([hidden]) {
    display: block; padding: 6px 0 20px;
    background: var(--paper); border-top: 1px solid var(--line);
  }
}
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

/* ── service page imagery ──────────────────────────────────────────────
   The two service pages were all lists and text cards. The six curated
   photographs are reused here on purpose — they are the only publishable
   ones — and each sits where it fits what is being described. Gaps are
   labelled rather than hidden, consistent with the photo audit. */
.svc-hero { padding: 0 0 clamp(24px, 3.5vw, 44px); }
.svc-shot { margin: 0; }
.svc-shot__frame {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; position: relative;
  background: linear-gradient(158deg, #2C3A44, #101A21);
}
.svc-hero .svc-shot__frame { aspect-ratio: 16 / 9; }
.svc-shot__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-shot figcaption {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mute); margin-top: 12px;
}
.svc-shot__gap {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 20px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(246, 247, 247, .55); line-height: 1.7;
}
.svc-gallery {
  display: grid; gap: clamp(14px, 2vw, 22px); margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
