/* GravenReach inner pages: one stylesheet for every page that is not the landing.
   Built from the landing's tokens (work/landing/build-02/site-r3/assets/site.css; line numbers in SYSTEM.md).
   Load order on a page: /assets/fonts.css, then this file.

   Two scopes, so the same file is safe on the old static pages:
   - .g-head, .g-foot and their children are fully class-scoped. They can sit on top of any old page body
     (old pages define --ink, reset * margins, kill link underlines and size every svg) without restyling it.
   - Everything page-level (ground, body type, templates) applies only under body.g-page.
   All custom properties are prefixed --g- because the old pages already use --ink. */

:root {
  --g-ground: #140907;                /* page ground (site.css L10; index.html theme-color) */
  --g-deep: #1c0c07;                  /* deep ground (site.css L4) */
  --g-stage: #0c0b0d;                 /* the work stage (site.css L2 --bg) */
  --g-ink: #f1ede6;                   /* text (site.css L2) */
  --g-dim: #a39d93;                   /* secondary text (site.css L2) */
  --g-line: rgba(241, 237, 230, .12); /* hairline (site.css L2) */
  --g-edge: rgba(241, 237, 230, .24); /* resting border of anything clickable */
  --g-tint: rgba(241, 237, 230, .06); /* resting fill of anything clickable */
  --g-hover: rgba(241, 237, 230, .12);
  --g-press: rgba(255, 90, 31, .18);
  --g-magma: #ff5a1f;                 /* the one loud hue (site.css L3; magma colour system anchor) */
  --g-magma-press: #e0480f;
  --g-sans: "Archivo", system-ui, sans-serif;
  --g-serif: "Bodoni Moda", Georgia, serif;
  --g-mono: "Space Mono", ui-monospace, monospace;      /* site.css L5 */
  --g-pad: 40px;                      /* page gutter (site.css L42, L52, L88) */
  --g-band: 140px;                    /* band padding (site.css L88) */
  --g-wide: 1240px;                   /* content width (site.css L151) */
  --g-read: 68ch;                     /* reading column */
  --g-ease: cubic-bezier(.2, .8, .2, 1); /* site.css L79 */
}
@media (max-width: 820px) { :root { --g-pad: 20px; --g-band: 96px; } }   /* site.css L165, L174 */

/* ================================================================ shared pieces (safe on any page) */

.g-head, .g-head *, .g-foot, .g-foot *, .g-page * { box-sizing: border-box; }
.g-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; font: 600 16px/1.5 var(--g-sans); }
.g-skip:focus { left: 8px; }
.g-head :focus-visible, .g-foot :focus-visible, .g-page :focus-visible { outline: 2px solid var(--g-magma); outline-offset: 3px; }  /* site.css L32 */

/* the button (site.css L27-30), plus pressed and disabled */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--g-ink); background: var(--g-ink); color: #111;
  font: 600 16px/1.2 var(--g-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .12s; }
.g-btn:hover { background: var(--g-magma); border-color: var(--g-magma); color: #111; }
.g-btn:active { background: var(--g-magma-press); border-color: var(--g-magma-press); transform: translateY(1px); }
.g-btn.g-ghost { background: var(--g-tint); color: var(--g-ink); border-color: rgba(241, 237, 230, .35); }
.g-btn.g-ghost:hover { background: var(--g-hover); border-color: var(--g-ink); color: var(--g-ink); }
.g-btn.g-ghost:active { background: var(--g-press); border-color: var(--g-magma); transform: translateY(1px); }
.g-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.g-btn svg { display: block; width: 18px; height: 18px; flex: none; max-width: none; }

/* ================================================================ header: wordmark + Work, Services, Contact */

.g-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; margin: 0;
  padding: 14px var(--g-pad); background: rgba(20, 10, 8, .92); border-bottom: 1px solid var(--g-line);   /* site.css L43 */
  font: 400 16px/1.5 var(--g-sans); color: var(--g-ink); -webkit-font-smoothing: antialiased; }
.g-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 auto 0 0; padding: 0 6px 0 0; border-radius: 10px;
  color: var(--g-ink); text-decoration: none; font: 700 18px/1 var(--g-sans); letter-spacing: -.01em; transition: transform .12s; }  /* site.css L44-45 */
.g-brand svg { display: block; width: 30px; height: 30px; flex: none; max-width: none; }
.g-brand:hover .g-word { text-decoration: underline; text-decoration-color: var(--g-magma); text-underline-offset: 5px; }
.g-brand:active { transform: translateY(1px); }
.g-nav { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.g-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--g-edge); background: var(--g-tint); color: var(--g-ink); text-decoration: none;
  font: 500 15px/1 var(--g-sans); white-space: nowrap; transition: background .2s, border-color .2s, transform .12s; }
.g-link:hover { background: var(--g-hover); border-color: rgba(241, 237, 230, .5); color: var(--g-ink); }
.g-link:active { background: var(--g-press); border-color: var(--g-magma); transform: translateY(1px); }
.g-link[aria-current="page"] { border-color: var(--g-ink); background: rgba(241, 237, 230, .14); }
.g-head .g-btn { padding: 0 18px; font-size: 15px; }                         /* site.css L49 */
.g-head .g-btn[aria-current="page"] { background: var(--g-magma); border-color: var(--g-magma); }
@media (max-width: 480px) {
  .g-head { gap: 6px; }
  /* icon only under 480 px (SET-AND-MAP §3); the name is hidden whole, never cropped (rule 30) */
  .g-brand .g-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .g-nav { gap: 6px; }
  .g-link { padding: 0 13px; }
  .g-head .g-btn { padding: 0 15px; }
}

/* ================================================================ footer */

.g-foot { position: relative; z-index: 2; margin: 0; padding: 56px var(--g-pad) 32px; background: var(--g-ground); border-top: 1px solid var(--g-line);
  color: var(--g-dim); font: 400 16px/1.5 var(--g-sans); text-align: left; -webkit-font-smoothing: antialiased; }
.g-foot-in { max-width: var(--g-wide); margin: 0 auto; display: grid; gap: 28px; }
.g-foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.g-foot-name { margin: 0; color: var(--g-ink); font: 700 18px/1.5 var(--g-sans); }
.g-foot-routes { display: flex; flex-wrap: wrap; gap: 10px; }
.g-foot-routes .g-btn { white-space: normal; overflow-wrap: anywhere; }
.g-foot nav { margin: 0; padding: 0; }
.g-foot-row { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0; padding: 0; list-style: none; }
.g-foot-row li { margin: 0; padding: 0; }
.g-foot-row.g-guides { padding-top: 18px; border-top: 1px solid var(--g-line); }
.g-foot-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin: 0 6px 0 -10px; border-radius: 8px;
  color: var(--g-ink); font: 400 16px/1.5 var(--g-sans);
  text-decoration: underline; text-decoration-color: rgba(241, 237, 230, .35); text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: background .2s, text-decoration-color .2s, transform .12s; }
.g-foot-row.g-guides a { color: var(--g-dim); font-size: 15px; }
.g-foot-row a:hover { background: var(--g-hover); color: var(--g-ink); text-decoration-color: var(--g-magma); }
.g-foot-row a:active { background: var(--g-press); transform: translateY(1px); }
.g-foot-row a[aria-current="page"] { text-decoration-color: var(--g-ink); }
.g-foot-small { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font: 400 14px/1.5 var(--g-sans); color: var(--g-dim); }

/* ================================================================ page ground (new pages only) */

body.g-page { margin: 0; background: var(--g-ground); color: var(--g-ink); font: 400 17px/1.55 var(--g-sans);   /* site.css L10 */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.g-page img, body.g-page video { display: block; max-width: 100%; }
:where(body.g-page a) { color: inherit; }   /* zero specificity, so .g-btn and other link classes keep their own colour */
/* a quiet static ground from the landing's palette (site.css L13-19): the deep ground, a low magma glow from below,
   a fainter one from the top left, and the landing's grain. No WebGL, no animation. */
.g-ground { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(130% 70% at 50% 115%, color-mix(in srgb, var(--g-magma) 16%, var(--g-deep)) 0%, transparent 62%),
    radial-gradient(90% 60% at 0% 0%, color-mix(in srgb, var(--g-magma) 8%, var(--g-deep)) 0%, transparent 70%),
    var(--g-deep); }
.g-ground::after { content: ""; position: absolute; inset: 0; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.g-main { position: relative; z-index: 1; }
.g-wrap { max-width: var(--g-wide); margin: 0 auto; padding: 0 var(--g-pad); }

/* type: 14 / 15 / 16 / 17 / 18 / 21 / 24, plus four display sizes */
.g-eyebrow { display: block; margin: 0; font: 700 14px/1.5 var(--g-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--g-magma); } /* site.css L25, 13 -> 14 px (X8) */
.g-h1 { margin: 14px 0 16px; font: 700 clamp(40px, 5.2vw, 76px)/1.02 var(--g-serif); letter-spacing: -.02em; overflow-wrap: anywhere; } /* site.css L89 */
.g-lede { margin: 0; max-width: 46ch; color: var(--g-dim); font-size: 18px; line-height: 1.5; }   /* site.css L26 */
.g-meta { margin: 0; font: 400 15px/1.5 var(--g-mono); color: var(--g-dim); }
.g-pagehead { padding: 96px 0 56px; }
@media (max-width: 820px) { .g-pagehead { padding: 48px 0 36px; } }

/* ================================================================ contact strip (every page but /contact) */

.g-strip { position: relative; z-index: 1; padding: var(--g-band) 0; border-top: 1px solid var(--g-line); }
.g-strip .g-wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.g-strip h2 { margin: 10px 0 12px; font: 700 clamp(32px, 4vw, 56px)/1.05 var(--g-serif); letter-spacing: -.02em; }
.g-strip .g-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ================================================================ work index: the landing's row (site.css L93-104) */

.g-rows { list-style: none; margin: 0 0 24px; padding: 0; }
.g-rows li { border-top: 1px solid var(--g-line); }
.g-rows li:last-child { border-bottom: 1px solid var(--g-line); }
.g-group { margin: 64px 0 16px; }
.g-row { position: relative; display: grid; grid-template-columns: 3.2em minmax(0, 1.1fr) minmax(0, 1fr) auto 200px; align-items: center; gap: 20px;
  padding: 16px 12px 16px 16px; color: var(--g-ink); text-decoration: none; transition: background .25s, padding .3s var(--g-ease); }
/* the brand colour lives in a left edge bar, never in the type (Dämmrich hover-index edge bar, REFERENCE-BOARD §0;
   several brand hues fail 3:1 on this ground as text) */
.g-row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--c, var(--g-magma));
  transform: scaleY(.3); opacity: .7; transition: transform .3s var(--g-ease), opacity .3s; }
.g-row .g-i { font: 400 15px/1.5 var(--g-mono); color: var(--g-dim); }
.g-row .g-nm { font: 900 clamp(36px, 4.6vw, 68px)/1 var(--g-serif); letter-spacing: -.02em; overflow-wrap: anywhere; }  /* site.css L99 */
.g-row .g-wh { display: grid; gap: 2px; color: var(--g-dim); font-size: 17px; line-height: 1.5; }
.g-row .g-sh { color: var(--g-ink); font-size: 16px; }
.g-open { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--g-edge);
  background: var(--g-tint); color: var(--g-ink); font: 500 15px/1 var(--g-sans); white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.g-open svg { display: block; width: 16px; height: 16px; max-width: none; }
/* the cover always shows (rule 21: work at first glance). Round 3 (BRIEF-10-FIX-2 item 2): one cover per row, every
   cover in the same 16:9 frame and filling it (no letterbox, no small image inside the frame, never stretched; a crop
   anchored at the row's coverPos, set inline from work-data.mjs). The landing's hover cover (.float) is the same frame. */
.g-thumb { display: block; width: 200px; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--g-stage); overflow: hidden; }
.g-thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s var(--g-ease); }
.g-row:hover, .g-row:focus-visible { background: var(--g-tint); }
.g-row:hover::before, .g-row:focus-visible::before { transform: none; opacity: 1; }
.g-row:hover .g-open, .g-row:focus-visible .g-open { background: var(--g-ink); border-color: var(--g-ink); color: #111; }
.g-row:hover .g-thumb img { transform: scale(1.03); }
.g-row:active { background: rgba(255, 90, 31, .10); }
.g-row:active .g-open { background: var(--g-magma); border-color: var(--g-magma); color: #111; }
@media (hover: hover) and (min-width: 821px) { .g-row:hover { padding-left: 28px; } }
@media (max-width: 820px) {
  .g-row { grid-template-columns: 2.4em minmax(0, 1fr) auto; gap: 6px 12px; padding: 18px 8px 20px 14px; align-items: start; }
  .g-row .g-i { grid-column: 1; grid-row: 1; padding-top: 6px; }
  .g-row .g-nm { grid-column: 2 / 4; grid-row: 1; }
  .g-row .g-wh { grid-column: 2 / 4; grid-row: 2; }
  .g-thumb { grid-column: 2 / 4; grid-row: 3; justify-self: start; width: min(100%, 360px); margin-top: 10px; }
  .g-open { grid-column: 2 / 4; grid-row: 4; justify-self: start; margin-top: 4px; }
}

/* ================================================================ work page */

/* the stage: dark, fit-never-crop (AGI Woolmark, REFERENCE-BOARD §0). width:auto shows a file at its own pixel
   size at most: never stretched (so never past 1.3x), never re-cropped. */
.g-stage { display: grid; place-items: center; margin: 0; padding: clamp(12px, 3vw, 40px); border-radius: 12px; background: var(--g-stage);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.g-stage img, .g-stage video { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 180px); object-fit: contain; border-radius: 4px; }
.g-cover { padding-top: 24px; }
.g-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 60px; align-items: end; padding: 40px 0 0; }
.g-intro .g-h1 { margin: 10px 0 0; }
.g-made { display: grid; gap: 10px; }
.g-made .g-meta b { color: var(--g-ink); font-weight: 700; }
.g-pieces { display: grid; gap: clamp(40px, 6vw, 96px); margin: 0; padding: var(--g-band) 0 0; list-style: none; }
.g-piece { margin: 0; }
.g-piece figcaption { margin-top: 14px; max-width: var(--g-read); color: var(--g-dim); font-size: 16px; line-height: 1.5; }
.g-piece figcaption b { color: var(--g-ink); font-weight: 600; }
/* site pages: one laptop and one phone frame around real captures (no generated room, rule 26) */
.g-devices { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: end; }
.g-laptop { margin: 0; border-radius: 12px; border: 1px solid var(--g-edge); background: var(--g-stage); overflow: hidden; }
.g-laptop::before { content: ""; display: block; height: 28px; border-bottom: 1px solid var(--g-line);
  background: radial-gradient(circle at 16px 50%, #5a524a 4px, transparent 5px), radial-gradient(circle at 32px 50%, #5a524a 4px, transparent 5px), radial-gradient(circle at 48px 50%, #5a524a 4px, transparent 5px); }
.g-laptop img { width: auto; height: auto; max-width: 100%; margin: 0 auto; }
.g-phone { margin: 0; padding: 10px; border-radius: 30px; border: 1px solid var(--g-edge); background: var(--g-stage); }
.g-phone img { width: auto; height: auto; max-width: 100%; margin: 0 auto; border-radius: 20px; }
.g-ask { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* previous and next (site.css L158-161), as two cards that read as clickable at rest */
.g-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: var(--g-band) 0 0; }
.g-pn a { display: grid; gap: 6px; align-content: start; padding: 28px; border-radius: 14px; border: 1px solid var(--g-edge);
  background: var(--g-tint); color: var(--g-ink); text-decoration: none; transition: background .2s, border-color .2s, transform .12s; }
.g-pn a.g-next { text-align: right; }
.g-pn .g-nm { font: 900 clamp(34px, 5vw, 76px)/1 var(--g-serif); letter-spacing: -.02em; overflow-wrap: anywhere; transition: color .2s; }
.g-pn .g-wh { color: var(--g-dim); font-size: 16px; line-height: 1.5; }
.g-pn a:hover { background: var(--g-hover); border-color: var(--g-ink); }
.g-pn a:hover .g-nm { color: var(--g-magma); }
.g-pn a:active { background: var(--g-press); border-color: var(--g-magma); transform: translateY(1px); }
@media (max-width: 820px) {
  .g-intro { grid-template-columns: 1fr; padding-top: 28px; }
  .g-devices { grid-template-columns: 1fr; }
  .g-devices .g-phone { max-width: 240px; }
  .g-pn { grid-template-columns: 1fr; }
  .g-pn a { padding: 22px; }
  .g-pn a.g-next { text-align: left; }
}

/* ================================================================ contact */

.g-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; padding-bottom: var(--g-band); }
.g-form { display: grid; gap: 20px; margin: 0; padding: clamp(18px, 3vw, 36px); border-radius: 14px; border: 1px solid var(--g-line); background: rgba(241, 237, 230, .04); }  /* site.css L127 */
.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.g-field { display: grid; gap: 8px; margin: 0; color: var(--g-ink); font: 600 16px/1.5 var(--g-sans); }
.g-field small { color: var(--g-dim); font-weight: 400; font-size: 16px; }
.g-input { width: 100%; min-height: 50px; margin: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(241, 237, 230, .3);
  background: rgba(12, 11, 13, .6); color: var(--g-ink); font: 400 17px/1.5 var(--g-sans); transition: border-color .2s, background .2s; }
.g-input::placeholder { color: #8d877e; opacity: 1; }
.g-input:hover { border-color: rgba(241, 237, 230, .55); }
.g-input:focus { border-color: var(--g-magma); background: rgba(12, 11, 13, .85); outline: 2px solid var(--g-magma); outline-offset: 1px; }
textarea.g-input { min-height: 132px; resize: vertical; }
select.g-input { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23f1ede6' stroke-width='1.8'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; }
select.g-input option { background: #1c0c07; color: var(--g-ink); }
.g-pick { border-radius: 12px; }
.g-pick summary { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 12px; cursor: pointer; list-style: none;
  font: 600 16px/1.5 var(--g-sans); background: var(--g-tint); border: 1px solid var(--g-edge); transition: background .2s, border-color .2s; }
.g-pick summary::-webkit-details-marker { display: none; }
.g-pick summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--g-ink); border-bottom: 2px solid var(--g-ink); transform: rotate(45deg); transition: transform .2s; }
.g-pick[open] summary::after { transform: rotate(-135deg); }
.g-pick summary:hover { background: var(--g-hover); border-color: rgba(241, 237, 230, .5); }
.g-pick summary:active { background: var(--g-press); }
.g-pick summary small { color: var(--g-dim); font-weight: 400; font-size: 16px; }
.g-pick fieldset { min-width: 0; margin: 0; padding: 16px 0 0; border: 0; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px; padding: 10px 16px; border-radius: 22px; border: 1px solid var(--g-edge);
  background: var(--g-tint); color: var(--g-ink); font: 500 16px/1.3 var(--g-sans); text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .12s; }
.g-chip::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; flex: none; }
.g-chip:hover { background: var(--g-hover); border-color: rgba(241, 237, 230, .5); }
.g-chip:active { transform: translateY(1px); }
.g-chip[aria-pressed="true"] { background: var(--g-press); border-color: var(--g-magma); }
.g-chip[aria-pressed="true"]::before { background: var(--g-magma); border-color: var(--g-magma); box-shadow: inset 0 0 0 2px #1c0c07; }
.g-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.g-ts { min-height: 65px; }   /* Turnstile slot: reserves the widget's height so the button does not jump */
.g-note { margin: 0; color: var(--g-dim); font-size: 16px; line-height: 1.5; }
.g-formact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.g-textlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-left: -8px; border-radius: 8px; color: var(--g-ink);
  text-decoration: underline; text-decoration-color: rgba(241, 237, 230, .4); text-underline-offset: 4px; overflow-wrap: anywhere;
  transition: background .2s, text-decoration-color .2s; }
.g-textlink:hover { background: var(--g-hover); text-decoration-color: var(--g-magma); }
.g-textlink:active { background: var(--g-press); }
.g-status { margin: 0; min-height: 1.5em; font-size: 16px; line-height: 1.5; color: var(--g-ink); }
.g-status.g-error { color: #ff8a5c; }
.g-routes { display: grid; gap: 14px; justify-items: start; }
.g-routes .g-btn { white-space: normal; overflow-wrap: anywhere; text-align: left; }
.g-place { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--g-dim); }
@media (max-width: 820px) {
  .g-contact { grid-template-columns: 1fr; }
  .g-two { grid-template-columns: 1fr; }
}

/* ================================================================ article: guides, playbooks, service and legal pages */

.g-article { padding-bottom: var(--g-band); }
.g-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0; padding: 24px 0 0; list-style: none; font-size: 15px; line-height: 1.5; color: var(--g-dim); }
.g-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(241, 237, 230, .3); }
.g-crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; margin-left: -6px; border-radius: 6px; color: var(--g-ink);
  text-decoration: underline; text-decoration-color: rgba(241, 237, 230, .35); text-underline-offset: 4px; transition: background .2s; }
.g-crumbs a:hover { background: var(--g-hover); text-decoration-color: var(--g-magma); }
.g-crumbs a:active { background: var(--g-press); }
.g-article .g-pagehead { padding-top: 32px; }
.g-prose { max-width: var(--g-read); font-size: 17px; line-height: 1.6; }
/* :where() keeps the reset at the same weight as the spacing rule below it, so the spacing wins */
.g-prose :where(p, ul, ol, dl, blockquote, figure, table, section) { margin: 0; }
.g-prose > * + *, .g-prose section > * + * { margin-top: 1em; }
.g-prose h2 { margin: 2.2em 0 .4em; font: 600 24px/1.3 var(--g-sans); }
.g-prose h3 { margin: 1.8em 0 .3em; font: 600 21px/1.35 var(--g-sans); }
.g-prose :where(p, li, dd) { color: #d9d3ca; }
.g-prose b, .g-prose strong { color: var(--g-ink); font-weight: 600; }
.g-prose ul, .g-prose ol { padding-left: 1.3em; }
.g-prose li + li { margin-top: .5em; }
.g-prose a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-magma); text-underline-offset: 4px; text-decoration-thickness: 1px; border-radius: 4px; }
.g-prose a:hover { background: var(--g-hover); }
.g-prose a:active { background: var(--g-press); }
.g-prose blockquote { padding-left: 20px; border-left: 3px solid var(--g-magma); }
.g-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.g-prose th, .g-prose td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--g-line); text-align: left; vertical-align: top; }
.g-prose code { font: 400 15px/1.5 var(--g-mono); overflow-wrap: anywhere; }
.g-prose img { height: auto; border-radius: 8px; }
.g-sec { scroll-margin-top: 90px; }

/* ================================================================ motion preference */
@media (prefers-reduced-motion: reduce) {
  .g-head *, .g-foot *, .g-page * { transition: none !important; }
  .g-row:hover .g-thumb img { transform: none; }
}

/* ================================================================ added at integration (4 Nov 2026, BRIEF-06) */

/* the intro paragraph under the one-line "what" on a work page */
.g-text { margin: 0; max-width: var(--g-read); color: #d9d3ca; font-size: 17px; line-height: 1.6; }
.g-made .g-lede + .g-text { margin-top: 6px; }
/* ValTech's clip: upright, so its stage holds it at a phone's width */
.g-film { padding-top: var(--g-band); }
.g-film .g-eyebrow { margin-bottom: 14px; }
.g-film .g-stage video { max-height: min(80svh, 900px); }
/* /work/frames: one frame per screen */
.g-frames .g-piece { scroll-margin-top: 90px; }
.g-frames .g-stage img { max-height: calc(100svh - 220px); }
.g-frames figcaption { color: var(--g-ink); }
/* /work/marks: each mark large, with its write-up beside it */
.g-marks { display: grid; gap: clamp(48px, 7vw, 112px); margin: 0; padding: 0 0 var(--g-band); list-style: none; }
.g-mark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: center; scroll-margin-top: 90px; }
.g-markstage img { width: 100%; max-width: 560px; max-height: none; border-radius: 6px; }
.g-markcopy h2 { margin: 10px 0 12px; font: 700 clamp(36px, 4.6vw, 64px)/1.02 var(--g-serif); letter-spacing: -.01em; }
.g-markcopy p { margin: 0; max-width: 46ch; color: #d9d3ca; font-size: 17px; line-height: 1.6; }
@media (max-width: 820px) { .g-mark { grid-template-columns: 1fr; } }
/* the not-found page's two ways on */
.g-nf { margin: 0; padding-bottom: var(--g-band); }
.g-routes h2.g-eyebrow { margin: 0; }

/* ---- on the old static pages (header and footer swap only; the old body is left alone) ---- */
/* the visible breadcrumb drawn from the page's BreadcrumbList, under the header, where the page draws none itself */
.g-crumbbar { position: relative; z-index: 2; margin: 0; padding: 0 var(--g-pad); background: var(--g-ground); border-bottom: 1px solid var(--g-line);
  font: 400 15px/1.5 var(--g-sans); color: var(--g-dim); -webkit-font-smoothing: antialiased; }
.g-crumbbar .g-crumbs { max-width: var(--g-wide); margin: 0 auto; padding: 0; }
.g-crumbbar .g-crumbs li { margin: 0; padding: 0; list-style: none; }
.g-crumbbar .g-crumbs li::marker { content: none; }
/* the Pause motion switch (shown by /work/_shared/grm-foot.js only where the page loops an animation) */
.g-pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 0 auto; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--g-edge); background: var(--g-tint); color: var(--g-ink); font: 500 15px/1 var(--g-sans); cursor: pointer;
  transition: background .2s, border-color .2s, transform .12s; }
.g-pause[hidden] { display: none; }
.g-pause:hover { background: var(--g-hover); border-color: rgba(241, 237, 230, .5); }
.g-pause:active { background: var(--g-press); transform: translateY(1px); }
.g-pause i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.g-pause[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.g-foot-small { align-items: center; }
html.grm-motion-off *, html.grm-motion-off *::before, html.grm-motion-off *::after { animation-play-state: paused !important; }

/* the old pages carry rules like ".legal a { color: inherit }" that outrank a single class; the shell's own clickables
   restate their colours at a higher weight so the header and footer read the same on every page (4 Nov 2026) */
:is(.g-head, .g-foot, .g-page) a.g-btn:not(.g-ghost) { color: #111; }
:is(.g-head, .g-foot, .g-page) a.g-btn.g-ghost, .g-head a.g-link, .g-head a.g-brand, .g-foot .g-foot-row a { color: var(--g-ink); }
.g-foot .g-foot-row.g-guides a { color: var(--g-dim); }
.g-foot .g-foot-row a:hover, .g-foot .g-foot-row.g-guides a:hover { color: var(--g-ink); }

/* /landing-page styles are in /g/offer.css, loaded only on that page (6 Nov 2026) */

/* /work "More from the studio" list (9 Nov 2026) */
.g-more { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--g-line); }
.g-more li { border-bottom: 1px solid var(--g-line); }
.g-more a { display: grid; gap: 4px; padding: 18px 16px 18px 0; color: var(--g-ink); text-decoration: none; }
.g-more .g-nm { font: 700 20px/1.2 var(--g-sans); }
.g-more .g-wh { color: var(--g-dim); font-size: 15px; line-height: 1.45; }
.g-more a:hover .g-nm, .g-more a:focus-visible .g-nm { color: var(--g-magma); }
