/* ============================================================
   Alex Goldsmith — Portfolio V2 · "Crafted to Work"
   The single global stylesheet for the portfolio shell.
   Demo websites under /demos/ carry their own scoped CSS.

   Contents
   01 Tokens            08 Home: hero & proof
   02 Base & type       09 Home: feature demo & devices
   03 Layout            10 Work tiles & direction boards
   04 Buttons & links   11 Mimir diagram, proposition, turntable
   05 Header & menu     12 Showroom, projects, case studies
   06 Footer            13 Artwork & lightbox
   07 Shared blocks     14 Services, about, contact, forms
                        15 Motion & reveal
   ============================================================ */

/* ==========================================================
   01 TOKENS
   ========================================================== */
/* Self-hosted variable fonts (latin subset, SIL OFL 1.1, see /assets/fonts/OFL.txt).
   Served from this site, so no visitor data goes to a font CDN. */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

:root {
  /* Colour — V2 spec §2 */
  --ink:            #15171B;
  --ink-raised:     #21242A;
  --ink-deep:       #0F1114;
  --bone:           #F3F0E9;
  --bone-deep:      #E8E3D8;
  --stone:          #B8B7B1;
  --graphite:       #232428;
  --graphite-soft:  #4E4D49;
  --copper:         #D87A4B;
  --deep-copper:    #9A4426;
  --deep-copper-hover: #A54929;
  --brass:          #E7B66C;
  --dark-copper:    #79402F;
  --hairline:       rgba(243, 240, 233, .16);
  --hairline-strong: rgba(243, 240, 233, .28);
  --hairline-light: rgba(35, 36, 40, .16);

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --step--1: clamp(.8125rem, .79rem + .1vw, .875rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1:  clamp(1.175rem, 1.08rem + .45vw, 1.4rem);
  --step-2:  clamp(1.4rem, 1.2rem + 1vw, 1.95rem);
  --step-3:  clamp(1.75rem, 1.35rem + 2vw, 2.85rem);
  --step-4:  clamp(2.2rem, 1.5rem + 3.4vw, 4.25rem);
  --step-5:  clamp(2.6rem, 1.45rem + 5.6vw, 6.5rem);

  /* Space */
  --space-1: .25rem;  --space-2: .5rem;   --space-3: .75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;    --space-9: 6rem;
  --space-10: 8rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --gutter: clamp(1rem, .5rem + 3vw, 2.5rem);

  /* Shape & layout */
  --max-w: 1320px;
  --max-w-narrow: 860px;
  --header-h: 68px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .65), 0 12px 30px -18px rgba(0, 0, 0, .5);

  /* Motion — micro 140–220ms, sections 300–550ms, hero ≤ 900ms */
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms;
  --dur-2: 220ms;
  --dur-3: 450ms;
  --dur-4: 800ms;

  color-scheme: dark;
}
@media (min-width: 960px) { :root { --header-h: 76px; } }

/* ==========================================================
   02 BASE & TYPE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
p, li, dd { max-width: 68ch; }
strong { font-weight: 600; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.015em; line-height: 1.2; }
h4 { font-size: var(--step-0); letter-spacing: -.01em; }
p { text-wrap: pretty; }

[hidden] { display: none !important; }
a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color var(--dur-1) ease; }
a:hover { color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}
.surface-light :focus-visible { outline-color: var(--dark-copper); }

::selection { background: var(--copper); color: var(--ink); }

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

/* ==========================================================
   03 LAYOUT
   ========================================================== */
.container {
  width: 100%;
  max-width: calc(var(--max-w) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--max-w-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--raised { background: var(--ink-raised); }
.section--deep { background: var(--ink-deep); }
.section--rule { border-top: 1px solid var(--hairline); }

/* Warm editorial light panels */
.surface-light {
  --surface-text: var(--graphite);
  --surface-muted: var(--graphite-soft);
  --surface-accent: var(--dark-copper);
  --surface-rule: var(--hairline-light);
  background: var(--bone);
  color: var(--graphite);
  color-scheme: light;
}
.surface-light a:not(.btn) { color: var(--dark-copper); }
.surface-light a:not(.btn):hover { color: var(--graphite); }
.surface-light ::selection { background: var(--dark-copper); color: var(--bone); }

.section-head {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    column-gap: var(--space-8);
  }
}
.section-head h2 { max-width: 18ch; }
.section-head p:not(.eyebrow) { color: var(--stone); font-size: var(--step-1); line-height: 1.55; }
.surface-light .section-head p:not(.eyebrow) { color: var(--graphite-soft); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 1px;
  background: currentColor;
  opacity: .7;
}
.surface-light .eyebrow { color: var(--dark-copper); }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--stone);
  max-width: 46ch;
}
.surface-light .lede { color: var(--graphite-soft); }
.muted { color: var(--stone); }
.surface-light .muted { color: var(--graphite-soft); }
.mono { font-family: var(--font-mono); font-size: .875em; letter-spacing: .01em; }

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

/* ==========================================================
   04 BUTTONS & LINKS
   ========================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  --btn-border: var(--hairline-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-2) ease, border-color var(--dur-2) ease,
              color var(--dur-2) ease, transform var(--dur-2) var(--ease-out);
}
.btn:hover { color: var(--btn-fg); border-color: var(--bone); }
.btn:active { transform: translateY(1px); }
.btn .btn__icon { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--deep-copper);
  --btn-fg: #fff;
  --btn-border: var(--deep-copper);
}
.btn--primary:hover { --btn-bg: var(--deep-copper-hover); border-color: var(--deep-copper-hover); }
.btn--small { min-height: 40px; padding: .55rem 1.05rem; font-size: .875rem; }

.surface-light .btn:not(.btn--primary) {
  --btn-fg: var(--graphite);
  --btn-border: rgba(35, 36, 40, .3);
}
.surface-light .btn:not(.btn--primary):hover { border-color: var(--graphite); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bone);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: .2rem;
  transition: border-color var(--dur-2) ease, color var(--dur-2) ease;
}
.link-arrow:hover { color: var(--brass); border-color: var(--brass); }
.link-arrow span[aria-hidden] { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover span[aria-hidden] { transform: translateX(3px); }
.surface-light .link-arrow { color: var(--graphite); border-color: rgba(35, 36, 40, .3); }
.surface-light .link-arrow:hover { color: var(--dark-copper); border-color: var(--dark-copper); }

.ext::after { content: " ↗"; }

/* ==========================================================
   05 HEADER & MOBILE MENU (rendered by js/components.js)
   ========================================================== */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-3) ease, border-color var(--dur-3) ease,
              backdrop-filter var(--dur-3) ease;
}
.site-header.is-scrolled,
html:not(.nav-ready) .site-header,
.menu-open .site-header {
  background: rgba(21, 23, 27, .82);
  border-bottom-color: var(--hairline);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.menu-open .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--bone);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--bone); }
.brand__mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  transition: transform var(--dur-3) var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  line-height: 1;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
}
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .45rem .8rem;
  border-radius: var(--radius-pill);
  color: var(--stone);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-1) ease, background-color var(--dur-1) ease;
}
.site-nav__link:hover { color: var(--bone); background: rgba(243, 240, 233, .06); }
.site-nav__link[aria-current="page"] { color: var(--bone); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--copper);
}
.site-nav__cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem .5rem .5rem 1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--bone);
  font-size: .875rem;
  font-weight: 600;
}
.nav-toggle__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bone); }
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease-out), top var(--dur-2) var(--ease-out);
}
.nav-toggle__icon::before { top: 11px; }
.nav-toggle__icon::after { top: 16px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 13.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 13.5px; transform: rotate(-45deg); }

.mobile-menu { display: none; }

/* Below desktop: collapse into the menu — only once JS has rendered it */
@media (max-width: 959.98px) {
  .nav-ready .site-nav { display: none; }
  .nav-ready .nav-toggle { display: inline-flex; }
  .nav-ready .mobile-menu {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink);
    padding: var(--space-6) var(--gutter) var(--space-7);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
  }
  .nav-ready .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity var(--dur-3) var(--ease-out), visibility 0s;
  }
  html:not(.nav-ready) .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.nav-ready) .site-nav__list { gap: 0; }
  html:not(.nav-ready) .site-nav__link { padding-inline: .55rem; font-size: .875rem; }
}
.mobile-menu__list { list-style: none; padding: 0; border-top: 1px solid var(--hairline); }
.mobile-menu__list li { border-bottom: 1px solid var(--hairline); max-width: none; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu__link:hover { color: var(--brass); }
.mobile-menu__link[aria-current="page"] { color: var(--copper); }
.mobile-menu__num { font-family: var(--font-mono); font-size: .8rem; color: var(--stone); letter-spacing: .05em; }
.mobile-menu__foot { margin-top: var(--space-7); display: grid; gap: var(--space-5); }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__contact { color: var(--stone); font-size: .9375rem; overflow-wrap: anywhere; }
.mobile-menu__contact a { color: var(--bone); }

@media (prefers-reduced-motion: no-preference) {
  .nav-ready .mobile-menu .mobile-menu__list li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  }
  .nav-ready .mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
  .nav-ready .mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: 40ms; }
  .nav-ready .mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: 80ms; }
  .nav-ready .mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: 120ms; }
  .nav-ready .mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: 160ms; }
  .nav-ready .mobile-menu.is-open .mobile-menu__list li:nth-child(6) { transition-delay: 200ms; }
}
html.menu-open,
html.scroll-lock { overflow: hidden; }

/* ==========================================================
   06 FOOTER (rendered by js/components.js)
   ========================================================== */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(4rem, 3rem + 5vw, 7rem);
  padding-bottom: var(--space-6);
}
.site-footer__cta {
  display: grid;
  gap: var(--space-6);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .site-footer__cta { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.site-footer__title {
  font-size: var(--step-4);
  max-width: 14ch;
}
.site-footer__title em { font-style: normal; color: var(--copper); }
.site-footer__contact { display: grid; gap: var(--space-4); justify-items: start; }
.site-footer__email {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-strong);
  overflow-wrap: anywhere;
}
.site-footer__email:hover { color: var(--brass); border-color: var(--brass); }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
  padding-block: var(--space-7);
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 2fr repeat(3, 1fr); }
}
.site-footer__about { grid-column: 1 / -1; color: var(--stone); font-size: .9375rem; max-width: 36ch; }
@media (min-width: 900px) { .site-footer__about { grid-column: auto; } }
.site-footer__about .brand { margin-bottom: var(--space-4); }
.site-footer__heading {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-4);
}
.site-footer__links { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer__links a { color: var(--bone); text-decoration: none; font-size: .9375rem; }
.site-footer__links a:hover { color: var(--brass); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
  color: var(--stone);
  font-size: .8125rem;
}
.site-footer__legal p { max-width: 70ch; }
.site-footer--fallback { padding-block: var(--space-7); }
.site-footer--fallback p { color: var(--stone); }

/* ==========================================================
   07 SHARED BLOCKS
   ========================================================== */
/* Status chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--bone);
  line-height: 1.3;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) { .chip { white-space: normal; } }
.chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.chip--concept { color: var(--brass); border-color: rgba(231, 182, 108, .45); }
.chip--live { color: #8FD3A6; border-color: rgba(143, 211, 166, .4); }
.chip--progress { color: var(--stone); }
.chip--draft { color: var(--copper); border-color: rgba(216, 122, 75, .5); }
.surface-light .chip { color: var(--graphite); border-color: rgba(35, 36, 40, .25); }
.surface-light .chip--concept { color: var(--dark-copper); border-color: rgba(121, 64, 47, .4); }
.surface-light .chip--live { color: #23613A; border-color: rgba(35, 97, 58, .4); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Tag list (technology) */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.tags li {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--stone);
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  background: rgba(243, 240, 233, .06);
  border: 1px solid var(--hairline);
}
.surface-light .tags li { color: var(--graphite-soft); background: rgba(35, 36, 40, .05); border-color: var(--hairline-light); }

/* Definition-list facts */
.facts { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 38%) 1fr;
  gap: var(--space-4);
  padding: .85rem 0;
  border-bottom: 1px solid var(--hairline);
}
.facts dt { font-family: var(--font-mono); font-size: .8125rem; color: var(--stone); letter-spacing: .02em; padding-top: .1em; }
.facts dd { color: var(--bone); font-size: .9375rem; }
.facts .price { font-size: var(--step-1); }
.surface-light .facts, .surface-light .facts > div { border-color: var(--hairline-light); }
.surface-light .facts dt { color: var(--graphite-soft); }
.surface-light .facts dd { color: var(--graphite); }

/* Notice / callout */
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  border: 1px solid rgba(231, 182, 108, .35);
  border-radius: var(--radius-md);
  background: rgba(231, 182, 108, .06);
  color: var(--bone);
  font-size: .9375rem;
}
.callout__icon { width: 22px; height: 22px; color: var(--brass); margin-top: .15rem; }
.callout p { max-width: 75ch; }
.callout strong { color: var(--brass); }
.surface-light .callout { border-color: rgba(121, 64, 47, .3); background: rgba(121, 64, 47, .06); color: var(--graphite); }
.surface-light .callout strong, .surface-light .callout__icon { color: var(--dark-copper); }

/* Page hero for inner pages */
.page-hero {
  position: relative;
  padding-top: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(216, 122, 75, .14), transparent 70%);
  pointer-events: none;
}
.page-hero__title { font-size: var(--step-5); max-width: 16ch; letter-spacing: -.035em; line-height: .98; }
.page-hero__title em { font-style: normal; color: var(--copper); }
.page-hero__lede { margin-top: var(--space-6); font-size: var(--step-1); color: var(--stone); max-width: 52ch; line-height: 1.55; }
.page-hero__aside { margin-top: var(--space-6); }

.breadcrumb { margin-bottom: var(--space-6); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; font-family: var(--font-mono); font-size: .8125rem; color: var(--stone); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumb a { color: var(--stone); text-decoration: none; }
.breadcrumb a:hover { color: var(--bone); text-decoration: underline; }

/* CTA band */
.cta-band {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(216, 122, 75, .16), transparent 55%),
    var(--ink-raised);
}
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2, .cta-band h3 { font-size: var(--step-2); max-width: 22ch; }
.cta-band p { color: var(--stone); margin-top: var(--space-2); }

/* Media frames */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: var(--ink-raised);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Grain overlay for dark feature sections */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("/assets/texture/grain.png");
  background-size: 128px;
  opacity: .05;
  mix-blend-mode: overlay;
}

/* ==========================================================
   08 HOME: HERO & PROOF
   ========================================================== */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 1rem + 5vw, 5rem);
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; min-height: min(78vh, 860px); }
  .hero__copy { grid-column: 1 / span 8; grid-row: 1; position: relative; z-index: 2; }
  .hero__art { grid-column: 8 / -1; grid-row: 1; }
}
.hero__intro {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .04em;
  color: var(--stone);
}
.hero__intro strong { color: var(--bone); font-weight: 500; }
.hero__intro .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.hero__title {
  font-size: var(--step-5);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .95;
  max-width: none;
}
.hero__title .line { display: block; }
/* From tablet up, each sentence holds one line: size follows the copy column
   (longest line ≈ 9.4 × font-size in Space Grotesk 600). */
.hero__copy { container-type: inline-size; }
@media (min-width: 600px) {
  .hero__title { font-size: clamp(2.6rem, 9.6cqi, 6.25rem); }
  .hero__title .line { white-space: nowrap; }
}
.hero__title .line--accent { color: var(--copper); }
.hero__lede {
  margin-top: var(--space-6);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--stone);
  max-width: 40ch;
}
.hero__actions { margin-top: var(--space-6); }
.hero__meta {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  color: var(--stone);
  font-size: .875rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--copper); }

.hero__art { position: relative; margin: 0; }
.hero__art-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
  /* Feather the render into the page so it never reads as a box. */
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 47%, #000 56%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 47%, #000 56%, transparent 100%);
}
.hero__art-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (min-width: 600px) and (max-width: 959.98px) {
  .hero__art-frame { aspect-ratio: 16 / 11; margin-inline: 0; border-radius: var(--radius-lg); }
}
@media (min-width: 960px) {
  .hero__art-frame { aspect-ratio: 4 / 5; margin-inline: 0 calc(var(--gutter) * -1); }
  .hero__art-frame img { object-position: 50% 50%; }
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 10% 0 0 10%;
  background: radial-gradient(closest-side, rgba(216, 122, 75, .18), transparent 75%);
  z-index: -1;
  pointer-events: none;
}
.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--stone);
  letter-spacing: .04em;
}
@media (min-width: 960px) {
  .hero__caption { position: absolute; left: 0; right: 0; bottom: 4%; padding-inline: 8%; margin: 0; }
}

/* Proof strip */
.proof { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.proof__list {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px) { .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof__item {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-6) 0;
  border-bottom: 1px solid var(--hairline);
  max-width: none;
}
.proof__item:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .proof__item { padding-inline: var(--space-5); border-right: 1px solid var(--hairline); }
  .proof__item:nth-child(2n) { border-right: 0; }
  .proof__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .proof__item { border-bottom: 0; padding-block: var(--space-7); }
  .proof__item:first-child { padding-left: 0; }
  .proof__item:nth-child(2n) { border-right: 1px solid var(--hairline); }
  .proof__item:last-child { border-right: 0; }
}
.proof__num { font-family: var(--font-mono); font-size: .75rem; color: var(--copper); letter-spacing: .08em; }
.proof__title { margin-top: var(--space-4); font-size: var(--step-2); font-weight: 500; letter-spacing: -.03em; }
.proof__text { margin-top: var(--space-3); color: var(--stone); font-size: .9375rem; line-height: 1.6; }

/* ==========================================================
   09 HOME: FEATURE DEMO & DEVICE FRAMES
   ========================================================== */
.feature-demo { overflow: hidden; }
.feature-demo__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) {
  .feature-demo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); }
}
.feature-demo__title { font-size: var(--step-4); letter-spacing: -.035em; }
.feature-demo__sub { margin-top: var(--space-3); font-size: var(--step-1); color: var(--graphite-soft); }
.feature-demo__copy > p:not(.eyebrow) { margin-top: var(--space-5); }
.feature-demo .facts { margin-top: var(--space-6); }
.feature-demo .btn-row { margin-top: var(--space-6); }

.device-stage {
  position: relative;
  display: block;
  text-decoration: none;
  padding-bottom: 12%;
  padding-right: 8%;
}
.browser-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1b1d22;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, .25);
  transition: transform var(--dur-4) var(--ease-out);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 34px;
  padding-inline: .85rem;
  background: #24262c;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.browser-frame__dots { display: flex; gap: 6px; }
.browser-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: #4a4c53; }
.browser-frame__url {
  flex: 1;
  min-width: 0;
  max-width: 340px;
  margin-inline: auto;
  padding: .2rem .8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  color: #b6b5b0;
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-frame__screen { aspect-ratio: 16 / 10; background: #e9e3d6; }
.browser-frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.phone-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  min-width: 96px;
  padding: 5px;
  border-radius: 22px;
  background: #101114;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform var(--dur-4) var(--ease-out);
}
.phone-frame__screen { border-radius: 17px; overflow: hidden; aspect-ratio: 390 / 844; background: #e9e3d6; }
.phone-frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (prefers-reduced-motion: no-preference) {
  .device-stage:hover .browser-frame { transform: translateY(-6px); }
  .device-stage:hover .phone-frame { transform: translateY(-14px) rotate(-1.5deg); }
}

/* ==========================================================
   10 WORK TILES & DESIGN-DIRECTION BOARDS
   ========================================================== */
.work-mosaic { display: grid; gap: var(--space-5); }
@media (min-width: 900px) {
  .work-mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; }
  .work-tile--hero { grid-column: 1 / span 7; grid-row: span 2; }
  .work-tile--side { grid-column: 8 / -1; }
}
.work-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--ink-raised);
  overflow: hidden;
  color: var(--bone);
  text-decoration: none;
  transition: border-color var(--dur-2) ease, transform var(--dur-3) var(--ease-out);
}
a.work-tile:hover { color: var(--bone); border-color: rgba(231, 182, 108, .5); }
.work-tile__media { position: relative; overflow: hidden; background: var(--ink-deep); }
.work-tile--hero .work-tile__media { aspect-ratio: 16 / 11; }
.work-tile--side .work-tile__media { aspect-ratio: 16 / 8; }
.work-tile__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform var(--dur-4) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  a.work-tile:hover .work-tile__media img,
  a.work-tile:focus-visible .work-tile__media img { transform: scale(1.03); }
}
.work-tile__body { display: grid; gap: var(--space-3); padding: var(--space-5) var(--space-5) var(--space-6); flex: 1; align-content: start; }
.work-tile__title { font-size: var(--step-2); font-weight: 500; letter-spacing: -.03em; }
.work-tile__text { color: var(--stone); font-size: .9375rem; }
.work-tile__more { margin-top: auto; padding-top: var(--space-3); font-weight: 600; color: var(--brass); font-size: .9375rem; }

/* Concept design direction: a CSS-built moodboard */
.direction {
  --d-bg: #F4E9D8; --d-ink: #2E2418; --d-accent: #9C3F18; --d-alt: #6F7E4F; --d-soft: #E2C9A6;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 10px;
  padding: 14px;
  height: 100%;
  min-height: 200px;
  background: var(--d-bg);
  color: var(--d-ink);
  overflow: hidden;
}
.direction--trades { --d-bg: #EEF1F3; --d-ink: #1C2630; --d-accent: #1F5FA8; --d-alt: #2D3742; --d-soft: #D5DCE3; }
.direction__specimen {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(.9rem, .6rem + 1.2vw, 1.4rem);
  border-radius: 10px;
  background: var(--d-soft);
}
.direction__aa { font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem); line-height: .9; letter-spacing: -.04em; color: var(--d-accent); }
.direction__name { font-size: clamp(1rem, .9rem + .5vw, 1.35rem); line-height: 1.1; color: var(--d-ink); }
.direction--trades .direction__aa, .direction--trades .direction__name { font-family: var(--font-body); font-weight: 700; letter-spacing: -.03em; }
.direction__wire { display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 10px; background: color-mix(in srgb, var(--d-ink) 6%, transparent); }
.direction__wire i { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--d-ink) 22%, transparent); }
.direction__wire i:nth-child(1) { width: 70%; height: 11px; background: var(--d-ink); opacity: .85; }
.direction__wire i:nth-child(2) { width: 90%; }
.direction__wire i:nth-child(3) { width: 55%; }
.direction__wire b { display: block; width: 46%; height: 16px; margin-top: 4px; border-radius: 9px; background: var(--d-accent); }
.direction__swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.direction__swatches i { aspect-ratio: 1; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--d-ink) 15%, transparent); }
.direction__swatches i:nth-child(1) { background: var(--d-accent); }
.direction__swatches i:nth-child(2) { background: var(--d-alt); }
.direction__swatches i:nth-child(3) { background: var(--d-soft); }
.direction__swatches i:nth-child(4) { background: var(--d-ink); }

/* ==========================================================
   11 MIMIR DIAGRAM · PROPOSITION · TURNTABLE
   ========================================================== */
.mimir-feature__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) {
  .mimir-feature__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .mimir-feature__grid--flip .mimir-feature__visual { order: 2; }
}
.mimir-feature__title { font-size: var(--step-4); letter-spacing: -.035em; }
.mimir-feature__copy > p:not(.eyebrow) { margin-top: var(--space-5); color: var(--stone); }
.mimir-points { margin-top: var(--space-6); display: grid; gap: var(--space-5); list-style: none; padding: 0; }
.mimir-points > li { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--hairline); max-width: none; }
.mimir-points > li > b { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); padding-top: .25rem; }
.mimir-points > li > span { color: var(--stone); font-size: .9375rem; }

/* Commercial proposition (light panel) */
.benefits { display: grid; gap: 0; list-style: none; padding: 0; counter-reset: benefit; border-top: 1px solid var(--hairline-light); }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; } }
.benefits li:last-child { border-bottom: 0; }
.benefits li {
  counter-increment: benefit;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--hairline-light);
  max-width: none;
}
@media (min-width: 900px) {
  .benefits li { padding: var(--space-6) var(--space-6) var(--space-2); border-bottom: 0; border-left: 1px solid var(--hairline-light); }
  .benefits li:first-child { padding-left: 0; border-left: 0; }
}
.benefits li::before {
  content: "0" counter(benefit);
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--dark-copper);
  margin-bottom: var(--space-5);
}
.benefits h3 { font-size: var(--step-2); font-weight: 500; letter-spacing: -.03em; max-width: 20ch; }
.benefits p { margin-top: var(--space-4); color: var(--graphite-soft); font-size: .9875rem; }
.proposition__foot { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; justify-content: space-between; padding-top: var(--space-6); border-top: 1px solid var(--hairline-light); }
.proposition__foot p { color: var(--graphite-soft); max-width: 52ch; }

/* Turntable */
.turntable { display: grid; gap: var(--space-4); }
@media (max-width: 959.98px) { .turntable { width: 100%; max-width: 560px; justify-self: center; } }
.turntable__stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--hairline);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.turntable__stage.is-interactive { cursor: grab; }
.turntable__stage.is-dragging { cursor: grabbing; }
.turntable__poster, .turntable__sprite { position: absolute; inset: 0; width: 100%; height: 100%; }
.turntable__poster { object-fit: cover; }
.turntable__sprite { background-repeat: no-repeat; background-size: 600% 600%; opacity: 0; transition: opacity var(--dur-3) ease; }
.turntable.is-ready .turntable__sprite { opacity: 1; }
.turntable__hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: .35rem .8rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 17, 20, .7);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
  pointer-events: none;
  white-space: nowrap;
}
.turntable__controls { display: none; align-items: center; gap: var(--space-4); }
.js .turntable.is-ready .turntable__controls { display: flex; }
.turntable__btn {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--bone);
}
.turntable__btn:hover { border-color: var(--bone); }
.turntable__btn svg { width: 16px; height: 16px; }
.turntable__range { flex: 1; accent-color: var(--copper); min-width: 0; height: 44px; }
.turntable__readout { font-family: var(--font-mono); font-size: .75rem; color: var(--stone); min-width: 3.5rem; text-align: right; }
.art-feature__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .art-feature__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.art-feature__title { font-size: var(--step-4); letter-spacing: -.035em; }
.art-feature__copy > p:not(.eyebrow) { margin-top: var(--space-5); color: var(--stone); }

/* About teaser */
.about-teaser__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .about-teaser__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-9); } }
.monogram-plate {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 30% 20%, rgba(231, 182, 108, .22), transparent 60%),
    radial-gradient(80% 80% at 80% 100%, rgba(154, 68, 38, .45), transparent 60%),
    var(--ink-raised);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
}
.monogram-plate svg { width: 46%; height: auto; color: var(--bone); opacity: .92; }
.portrait-plate { background: var(--ink-raised); }
.portrait-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.monogram-plate__note {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--stone);
  letter-spacing: .04em;
  text-align: center;
}
.about-teaser__title { font-size: var(--step-4); letter-spacing: -.035em; max-width: 16ch; }
.about-teaser__copy > p:not(.eyebrow) { margin-top: var(--space-5); color: var(--stone); font-size: var(--step-1); line-height: 1.6; max-width: 48ch; }
.about-teaser .btn-row { margin-top: var(--space-6); }

/* ==========================================================
   12 SHOWROOM · PROJECTS · CASE STUDIES
   ========================================================== */
.legend-row { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); color: var(--stone); font-size: .9375rem; }
.legend-row > div { display: flex; gap: .75rem; align-items: center; max-width: 44ch; }

.showcase {
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-top: 1px solid var(--hairline);
}
.showcase:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .showcase { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
  .showcase--flip .showcase__media { order: 2; }
}
.showcase__index { font-family: var(--font-mono); font-size: .8125rem; color: var(--copper); letter-spacing: .06em; }
.showcase__title { margin-top: var(--space-3); font-size: var(--step-3); letter-spacing: -.03em; }
.showcase__industry { margin-top: var(--space-2); color: var(--stone); font-size: var(--step-1); }
.showcase__body > p:not(.eyebrow) { margin-top: var(--space-5); color: var(--stone); }
.showcase__body .chip-row { margin-top: var(--space-5); }
.showcase__body .facts { margin-top: var(--space-6); }
.showcase__body .btn-row { margin-top: var(--space-6); }
.showcase__interactions { margin-top: var(--space-5); list-style: none; padding: 0; display: grid; gap: .45rem; }
.showcase__interactions li { position: relative; padding-left: 1.4rem; color: var(--bone); font-size: .9375rem; }
.showcase__interactions li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 1px; background: var(--copper); }
.showcase > *, .feature-demo__grid > *, .mimir-feature__grid > *, .hero__grid > *,
.art-feature__grid > *, .about-teaser__grid > *, .two-col > *, .contact-grid > *, .case-body > * { min-width: 0; }
.showcase__media { position: relative; }
.showcase__media .direction { min-height: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
@media (max-width: 1023.98px) { .showcase__media .direction { max-width: 560px; } }
.showcase__unavailable {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: var(--space-6);
  padding: .9rem 1.1rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius-md);
  color: var(--stone);
  font-size: .9375rem;
}
.showcase__unavailable svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--stone); }
.showcase__cta { margin-top: var(--space-6); font-size: .9375rem; color: var(--stone); }
.showcase__cta a { font-weight: 600; }

.thumb-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.thumb-strip figure { margin: 0; }
.thumb-strip .media-frame { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); }
.thumb-strip .media-frame img { object-position: top center; }
.thumb-strip figcaption { margin-top: .45rem; font-family: var(--font-mono); font-size: .6875rem; color: var(--stone); letter-spacing: .03em; }

.shipped-grid { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .shipped-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .shipped-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shipped-card { display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-raised); }
.shipped-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-deep); border-bottom: 1px solid var(--hairline); }
.shipped-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shipped-card__body { display: grid; gap: var(--space-3); padding: var(--space-5); align-content: start; flex: 1; }
.shipped-card__title { font-size: var(--step-1); }
.shipped-card__body p { color: var(--stone); font-size: .9375rem; }
.shipped-card__links { margin-top: auto; padding-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); font-size: .9375rem; }
.shipped-card__links a { font-weight: 600; }
.shipped-card__links a.secondary { color: var(--stone); font-weight: 500; }
.shipped-card__links a.secondary:hover { color: var(--bone); }

/* Project rows */
.project-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.project-row {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .project-row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--space-7); align-items: start; }
}
.project-row__title { font-size: var(--step-2); letter-spacing: -.03em; }
.project-row__kind { margin-top: var(--space-2); color: var(--stone); font-size: .9375rem; }
.project-row__body p { color: var(--stone); }
.project-row__body p + p { margin-top: var(--space-3); }
.project-row__meta { display: grid; gap: var(--space-4); justify-items: start; }

/* Case study */
.case-hero__grid { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .case-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-9); align-items: end; } }
.case-hero__grid .facts { align-self: end; }
.case-body { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) {
  .case-body { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--space-9); }
  .case-toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.case-toc h2 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: var(--space-4); }
.case-toc ol { list-style: none; padding: 0; display: grid; gap: .35rem; counter-reset: toc; }
.case-toc li { counter-increment: toc; }
.case-toc a { display: flex; gap: .7rem; color: var(--stone); text-decoration: none; font-size: .9375rem; padding: .3rem 0; }
.case-toc a::before { content: "0" counter(toc); font-family: var(--font-mono); font-size: .75rem; color: var(--copper); padding-top: .2rem; }
.case-toc a:hover { color: var(--bone); }
@media (max-width: 1023.98px) { .case-toc { padding: var(--space-5); border: 1px solid var(--hairline); border-radius: var(--radius-md); } }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { font-size: var(--step-3); margin-top: var(--space-9); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-7); }
.prose p, .prose li { color: var(--stone); }
.prose strong { color: var(--bone); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .55rem; }
.prose ul li::marker { color: var(--copper); }
.prose .lede { color: var(--bone); }
.prose figure { margin-block: var(--space-7); }

.feature-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.feature-list li { display: grid; gap: .3rem; padding: var(--space-4) 0; border-bottom: 1px solid var(--hairline); max-width: none; }
@media (min-width: 640px) { .feature-list li { grid-template-columns: 13rem 1fr; gap: var(--space-5); } }
.feature-list b { color: var(--bone); font-weight: 600; }
.feature-list span { color: var(--stone); }
.feature-list .chip { margin-left: .4rem; vertical-align: .1em; }

.figure__caption { margin-top: var(--space-3); font-family: var(--font-mono); font-size: .75rem; color: var(--stone); letter-spacing: .02em; }
.placeholder-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: var(--space-6);
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(135deg, rgba(243, 240, 233, .025) 0 12px, transparent 12px 24px),
    var(--ink-deep);
  text-align: center;
}
.placeholder-frame p { color: var(--stone); font-size: .9375rem; max-width: 36ch; }
.placeholder-frame b { display: block; color: var(--bone); font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; margin-bottom: .4rem; }

.arch-diagram { display: grid; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--ink-deep); }
.arch-diagram__row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .arch-diagram__row { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); } }
.arch-box { padding: var(--space-4); border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm); background: var(--ink-raised); }
.arch-box b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--bone); }
.arch-box span { display: block; margin-top: .25rem; color: var(--stone); font-size: .875rem; }
.arch-box--accent { border-color: rgba(216, 122, 75, .55); }
.arch-diagram__link { text-align: center; font-family: var(--font-mono); font-size: .75rem; color: var(--copper); letter-spacing: .04em; }

.related { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a {
  display: grid;
  gap: .35rem;
  padding: var(--space-5);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--ink-raised);
  color: var(--bone);
  text-decoration: none;
  transition: border-color var(--dur-2) ease;
}
.related a:hover { border-color: rgba(231, 182, 108, .5); color: var(--bone); }
.related small { font-family: var(--font-mono); font-size: .75rem; color: var(--copper); letter-spacing: .05em; }
.related b { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; }
.related span { color: var(--stone); font-size: .9375rem; }

/* Real application captures (Mimir) */
.app-shot { margin: 0; }
.app-shot__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong);
  background: var(--ink-deep);
  box-shadow: var(--shadow-lg);
}
.app-shot__link img { width: 100%; height: auto; transition: transform var(--dur-4) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .app-shot__link:hover img, .app-shot__link:focus-visible img { transform: scale(1.012); }
}
.prose .app-shot { margin-block: var(--space-7); }
.app-shot--hero .app-shot__link { border-radius: var(--radius-lg); }

.stat-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hairline); }
@media (min-width: 900px) { .stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-strip > div { display: flex; flex-direction: column; padding: var(--space-5) var(--space-4) var(--space-5) 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 900px) { .stat-strip > div { border-bottom: 0; border-right: 1px solid var(--hairline); padding-left: var(--space-5); } .stat-strip > div:first-child { padding-left: 0; } .stat-strip > div:last-child { border-right: 0; } }
.stat-strip dt { order: 2; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); margin-top: var(--space-2); }
.stat-strip dd { order: 1; font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--bone); }
.stat-strip .stat-strip__detail { order: 3; margin-top: .25rem; font-family: var(--font-body); font-size: .875rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--stone); }
.stat-strip__note { margin-top: var(--space-4); font-family: var(--font-mono); font-size: .75rem; color: var(--stone); }

.file-tree {
  overflow-x: auto;
  padding: var(--space-5);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--ink-deep);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: .875rem;
  line-height: 1.7;
}
.file-tree span { color: var(--copper); }
.prose code, .prose kbd { font-family: var(--font-mono); font-size: .85em; padding: .1em .4em; border-radius: 4px; background: rgba(243, 240, 233, .08); color: var(--bone); }
.prose kbd { border: 1px solid var(--hairline-strong); }
.file-tree code { padding: 0; background: none; font-size: inherit; }

.status-cols { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 760px) { .status-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.status-cols > div { padding: var(--space-5); border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--ink-raised); }
.status-cols h3 { margin: 0 0 var(--space-4); }
.prose .status-cols ul { padding-left: 1.1rem; gap: .5rem; }
.prose .status-cols li { font-size: .9375rem; }

/* ==========================================================
   13 ARTWORK & LIGHTBOX
   ========================================================== */
.art-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .art-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-5); } }
.art-card { margin: 0; }
@media (min-width: 900px) {
  .art-card { grid-column: span 4; }
  .art-card:nth-child(1) { grid-column: span 5; }
  .art-card:nth-child(2) { grid-column: span 4; margin-top: var(--space-9); }
  .art-card:nth-child(3) { grid-column: span 3; margin-top: var(--space-6); }
  .art-card:nth-child(4) { grid-column: 2 / span 4; }
  .art-card:nth-child(5) { grid-column: span 3; margin-top: var(--space-8); }
  .art-card:nth-child(6) { grid-column: span 4; margin-top: var(--space-4); }
}
.art-card__link { display: block; position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--ink); border: 1px solid var(--hairline); }
.art-card__link img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .art-card__link:hover img, .art-card__link:focus-visible img { transform: scale(1.035); }
}
.art-card__zoom {
  position: absolute;
  right: .75rem; top: .75rem;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(15, 17, 20, .65);
  color: var(--bone);
  opacity: 0;
  transition: opacity var(--dur-2) ease;
}
.art-card__link:hover .art-card__zoom, .art-card__link:focus-visible .art-card__zoom { opacity: 1; }
.art-card__zoom svg { width: 16px; height: 16px; }
.art-card figcaption { margin-top: .7rem; display: grid; gap: .15rem; }
.art-card figcaption b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--bone); }
.art-card figcaption span { font-family: var(--font-mono); font-size: .75rem; color: var(--stone); }

.lightbox {
  width: min(1200px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 11, 13, .94); }
.lightbox__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: var(--space-4) var(--gutter); gap: var(--space-4); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-family: var(--font-mono); font-size: .8125rem; color: var(--stone); }
.lightbox__figure { margin: 0; min-height: 0; display: grid; place-items: center; }
.lightbox__figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.lightbox__caption { color: var(--bone); font-size: .9375rem; }
.lightbox__caption span { display: block; color: var(--stone); font-family: var(--font-mono); font-size: .75rem; margin-top: .15rem; }
.lightbox__nav { display: flex; gap: .5rem; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: rgba(21, 23, 27, .6);
  color: var(--bone);
}
.icon-btn:hover { border-color: var(--bone); }
.icon-btn svg { width: 18px; height: 18px; }

/* ==========================================================
   14 SERVICES · ABOUT · CONTACT · FORMS
   ========================================================== */
.process { display: grid; gap: 0; list-style: none; padding: 0; counter-reset: step; border-top: 1px solid var(--hairline); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-7); border-top: 0; } }
@media (min-width: 1200px) { .process { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.process li { counter-increment: step; position: relative; padding: var(--space-5) 0; border-bottom: 1px solid var(--hairline); max-width: none; }
@media (min-width: 900px) {
  .process li { padding: var(--space-6) var(--space-5) 0 0; border-bottom: 0; border-top: 1px solid var(--hairline); }
  .process li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }
}
.process li::before { content: "0" counter(step); font-family: var(--font-mono); font-size: .75rem; color: var(--copper); letter-spacing: .08em; }
.process h3 { margin-top: var(--space-3); font-size: var(--step-1); }
.process p { margin-top: var(--space-2); color: var(--stone); font-size: .9375rem; }
.process li:last-child h3::after { content: " (optional)"; color: var(--stone); font-weight: 400; font-size: .8em; }

.draft-banner { display: none; margin-bottom: var(--space-7); }
.pricing-draft .draft-banner { display: grid; }

.price-cards { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-lg);
  background: #FBF9F4;
}
.price-card--feature { background: var(--graphite); color: var(--bone); border-color: var(--graphite); }
.price-card__name { font-size: var(--step-2); letter-spacing: -.03em; }
.price-card__for { margin-top: var(--space-2); color: var(--graphite-soft); font-size: .9375rem; }
.price-card--feature .price-card__for { color: var(--stone); }
.price-card__price { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--hairline-light); }
.price-card--feature .price-card__price { border-color: var(--hairline); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .5rem; font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price[data-state="fallback"] { font-size: var(--step-1); font-weight: 500; letter-spacing: -.01em; }
.price__prefix, .price__suffix { font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--stone); }
.price__draft { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .45rem; border-radius: var(--radius-sm); background: var(--deep-copper); color: #fff; }
/* Light surfaces (except the dark featured card) */
.surface-light .price-card:not(.price-card--feature) .price__prefix,
.surface-light .price-card:not(.price-card--feature) .price__suffix { color: var(--graphite-soft); }
.surface-light .price-card:not(.price-card--feature) .price__draft { background: rgba(154, 68, 38, .1); color: var(--dark-copper); }
.price-card__list { margin-top: var(--space-6); list-style: none; padding: 0; display: grid; gap: .65rem; }
.price-card__list li { position: relative; padding-left: 1.6rem; font-size: .9375rem; }
.price-card__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .95rem; height: .55rem; border-left: 2px solid var(--dark-copper); border-bottom: 2px solid var(--dark-copper); transform: rotate(-45deg) scale(.8); transform-origin: left top; }
.price-card--feature .price-card__list li::before { border-color: var(--copper); }
.price-card__excludes { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px dashed var(--hairline-light); font-size: .875rem; color: var(--graphite-soft); }
.price-card--feature .price-card__excludes { border-color: var(--hairline); color: var(--stone); }
.price-card__example { margin-top: var(--space-4); font-size: .875rem; }
.price-card--feature a:not(.btn) { color: var(--brass); }
.price-card__actions { margin-top: auto; padding-top: var(--space-6); display: grid; }
.price-card--feature .btn:not(.btn--primary) { --btn-fg: var(--bone); --btn-border: var(--hairline-strong); }
/* Readable on both backgrounds: stone on the dark sections, graphite on light ones. */
.scope-note { margin-top: var(--space-6); display: flex; gap: .75rem; align-items: start; color: var(--stone); font-size: .9375rem; }
.scope-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--copper); margin-top: .15rem; }
.surface-light .scope-note { color: var(--graphite-soft); }
.surface-light .scope-note svg { color: var(--dark-copper); }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
.care-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9375rem; }
.care-table caption { text-align: left; padding: var(--space-5); color: var(--stone); font-size: .875rem; }
.care-table th, .care-table td { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.care-table thead th { border-top: 0; vertical-align: bottom; }
.care-table thead th:not(:first-child) { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--bone); }
.care-table thead .price { font-size: var(--step-2); margin-top: .4rem; display: flex; }
.care-table tbody th { font-weight: 500; color: var(--stone); width: 30%; }
.care-table td { color: var(--bone); }
.care-table .yes { color: var(--copper); font-weight: 600; }
.care-table .no { color: var(--stone); }
@media (max-width: 759.98px) {
  .care-table { min-width: 0; }
  .care-table thead { display: none; }
  .care-table caption { display: block; width: 100%; }
  .care-table, .care-table tbody, .care-table tr, .care-table th, .care-table td { display: block; width: 100%; }
  .care-table tr { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--hairline); }
  .care-table tbody th { padding: var(--space-3) 0 var(--space-2); border: 0; width: 100%; color: var(--bone); font-weight: 600; }
  .care-table td { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-3); padding: .35rem 0; border: 0; }
  .care-table td::before { content: attr(data-plan); font-family: var(--font-mono); font-size: .75rem; color: var(--stone); padding-top: .15rem; }
}
.care-plans-mobile { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
@media (min-width: 760px) { .care-plans-mobile { display: none; } }
.care-plans-mobile div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-4) var(--space-5); border: 1px solid var(--hairline); border-radius: var(--radius-md); }
.care-plans-mobile b { font-family: var(--font-display); font-size: var(--step-1); }
.care-plans-mobile .price { font-size: var(--step-1); }

.addons { list-style: none; padding: 0; border-top: 1px solid var(--hairline); }
.addons li { display: grid; gap: var(--space-2) var(--space-6); padding: var(--space-5) 0; border-bottom: 1px solid var(--hairline); max-width: none; }
@media (min-width: 760px) { .addons li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 3fr); align-items: baseline; } }
.addons h3 { font-size: var(--step-1); }
.addons p { color: var(--stone); font-size: .9375rem; }
.addons .price { font-size: var(--step-1); }
@media (min-width: 760px) { .addons .price { justify-content: flex-end; text-align: right; } }

.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--copper), var(--copper)) center / 100% 2px no-repeat,
    linear-gradient(var(--copper), var(--copper)) center / 2px 100% no-repeat;
  transition: transform var(--dur-2) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brass); }
.faq .faq__answer { padding-bottom: var(--space-6); color: var(--stone); }
.faq .faq__answer p + p { margin-top: var(--space-3); }

.two-col { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .two-col { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-9); } }
.two-col--even { }
@media (min-width: 1024px) { .two-col--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About */
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: .7rem; bottom: .7rem; width: 1px; background: var(--hairline-strong); }
.timeline__item { position: relative; padding: 0 0 var(--space-7) 2.25rem; max-width: none; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: .5rem; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--copper); }
.timeline__item--current::before { background: var(--copper); box-shadow: 0 0 0 5px rgba(216, 122, 75, .18); }
.timeline__when { font-family: var(--font-mono); font-size: .8125rem; color: var(--copper); letter-spacing: .03em; }
.timeline__role { margin-top: .35rem; font-size: var(--step-1); }
.timeline__org { color: var(--bone); font-weight: 500; }
.timeline__item p { margin-top: var(--space-3); color: var(--stone); font-size: .9375rem; }
.timeline__item ul { margin-top: var(--space-3); padding-left: 1.1rem; color: var(--stone); font-size: .9375rem; display: grid; gap: .3rem; }

.skill-groups { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .skill-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.skill-group { padding: var(--space-5); border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--ink-raised); }
.skill-group h3 { font-size: var(--step-1); margin-bottom: var(--space-4); }

/* Contact & forms */
.contact-grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-9); align-items: start; } }
.contact-direct { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .contact-direct { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-email { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; letter-spacing: -.02em; color: var(--bone); overflow-wrap: anywhere; text-decoration: none; border-bottom: 1px solid var(--hairline-strong); }
.contact-email:hover { color: var(--brass); border-color: var(--brass); }
.copy-status { min-height: 1.4em; font-size: .875rem; color: var(--copper); }

.form-panel { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--ink-raised); }
.form-panel > h2 { font-size: var(--step-2); }
.form-panel > p { margin-top: var(--space-3); color: var(--stone); }
.form { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .45rem; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; color: var(--bone); }
.field .hint { color: var(--stone); font-size: .8125rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bone);
  font-size: 1rem;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 52%, calc(100% - .8rem) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(231, 182, 108, .25); }
.field [aria-invalid="true"] { border-color: #E5806A; }
.field .error { color: #F0A493; font-size: .8125rem; }
.field .error:empty { display: none; }
.form__actions { display: grid; gap: var(--space-4); padding-top: var(--space-2); }
.form__note { display: flex; gap: .65rem; align-items: start; color: var(--stone); font-size: .875rem; }
.form__note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brass); margin-top: .1rem; }
.form__nojs { color: var(--stone); font-size: .9375rem; }
.js .form__nojs { display: none; }
html:not(.js) .form__jsonly { display: none; }
.context-pill { display: none; }
.context-pill.is-visible { display: flex; }

.next-steps { list-style: none; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; row-gap: .15rem; }
.next-steps li::before { content: "0" counter(step); grid-row: span 2; font-family: var(--font-mono); font-size: .75rem; color: var(--copper); padding-top: .25rem; }
.next-steps strong { color: var(--bone); font-weight: 600; }
.next-steps span { color: var(--stone); font-size: .9375rem; }

/* Enquiry form: grouped choices */
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: .7rem; }
.req { color: var(--copper); }
.opt { font-weight: 400; color: var(--stone); font-size: .875rem; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); gap: .6rem; }
.option, .chip-option, .check-option { position: relative; cursor: pointer; }
.option input, .chip-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span { display: grid; gap: .2rem; height: 100%; padding: .85rem 1rem; border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm); background: var(--ink); transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease; }
.option b { font-weight: 600; color: var(--bone); font-size: .9375rem; }
.option small { color: var(--stone); font-size: .8125rem; line-height: 1.4; }
.option:hover span, .chip-option:hover span { border-color: var(--stone); }
.option input:checked + span { border-color: var(--brass); background: rgba(231, 182, 108, .08); box-shadow: inset 3px 0 0 var(--brass); }
.option input:focus-visible + span, .chip-option input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.option input[aria-invalid="true"] + span { border-color: #E5806A; }
.chip-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-option span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--hairline-strong); border-radius: 999px; font-size: .9rem; color: var(--bone); transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease, color var(--dur-1) ease; }
.chip-option input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--ink); font-weight: 600; }
.check-list { display: grid; gap: .55rem; }
.check-option { display: flex; align-items: center; gap: .65rem; font-size: .9375rem; color: var(--bone); min-height: 32px; }
.field .check-option input { width: 20px; min-height: 0; height: 20px; padding: 0; accent-color: var(--brass); flex-shrink: 0; }
.fieldset .error:empty, .field .error:empty { display: none; }
.fieldset .error { margin-top: .5rem; color: #F0A493; font-size: .8125rem; }
.fieldset .hint { margin-top: .6rem; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: .8125rem; color: var(--stone); }
.form__privacy a { color: var(--bone); }
.btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.enquiry-sent { margin-top: var(--space-6); padding: var(--space-6); border: 1px solid var(--brass); border-radius: var(--radius-sm); }
.enquiry-sent:focus { outline: none; }
.enquiry-sent h3 { font-size: var(--step-1); }
.enquiry-sent p { margin-top: var(--space-3); color: var(--stone); }
.turnstile { min-height: 65px; }


/* Services: scope, good-to-know, after launch, ownership explainer */
.section-head__lede { max-width: 60ch; }
.scope-grid { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
@media (min-width: 860px) { .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scope-box { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border: 1px solid var(--hairline-light); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .45); }
.scope-box h3 { font-size: var(--step-1); margin-bottom: var(--space-4); }
.tick-list, .dash-list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.tick-list li, .dash-list li { position: relative; padding-left: 1.6rem; color: var(--graphite); font-size: .9375rem; }
.tick-list li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .75rem; height: .4rem; border-left: 2px solid #23613A; border-bottom: 2px solid #23613A; transform: rotate(-45deg); }
.dash-list li::before { content: ""; position: absolute; left: .1rem; top: .7em; width: .7rem; height: 2px; background: var(--dark-copper); }
.scope-box--quoted { background: transparent; border-style: dashed; }

.know-grid { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .know-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.know-card { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--ink-raised); }
.know-card h3 { font-size: var(--step-1); margin-bottom: var(--space-4); }
.know-card p { color: var(--stone); font-size: .9375rem; }
.know-card p + p { margin-top: var(--space-3); }

.after-launch { display: grid; gap: var(--space-6); margin-bottom: var(--space-8); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
@media (min-width: 960px) { .after-launch { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); } }
.after-launch h3 { font-size: var(--step-2); }
.after-launch > div p { margin-top: var(--space-4); color: var(--stone); }
.after-launch__options { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .after-launch__options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.after-launch__options li { display: grid; gap: .4rem; align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--copper); }
.after-launch__options b { color: var(--bone); font-weight: 600; }
.after-launch__options span { color: var(--stone); font-size: .9375rem; }

.explain-list { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.explain-list > div { padding-left: var(--space-4); border-left: 2px solid var(--copper); }
.explain-list dt { font-weight: 600; color: var(--bone); }
.explain-list dd { margin: .25rem 0 0; color: var(--stone); font-size: .9375rem; }
.privacy-updated { color: var(--stone); font-size: .875rem; }

/* 404 */
.not-found { min-height: 70vh; display: grid; align-items: center; }
.not-found__code { font-family: var(--font-mono); color: var(--copper); letter-spacing: .1em; }

/* ==========================================================
   15 MOTION & REVEAL
   Content is visible by default. js/main.js adds .reveal-ready to
   <html> only after IntersectionObserver is running and motion is
   allowed, so a JS failure can never leave content hidden.
   ========================================================== */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line,
  .js .hero__intro,
  .js .hero__lede,
  .js .hero__actions {
    animation: rise var(--dur-4) var(--ease-out) both;
  }
  .js .hero__intro { animation-delay: 0ms; }
  .js .hero__title .line:nth-child(1) { animation-delay: 80ms; }
  .js .hero__title .line:nth-child(2) { animation-delay: 170ms; }
  .js .hero__title .line:nth-child(3) { animation-delay: 260ms; }
  .js .hero__lede { animation-delay: 380ms; }
  .js .hero__actions { animation-delay: 460ms; }
  .js .hero__art-frame img { animation: settle 1.4s var(--ease-out) both; }
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes settle {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}

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

@media print {
  .site-header, .site-footer, .skip-link, .nav-toggle, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* No layout shift while components.js loads: when JS is expected (.js) but the
   shared header has not been rendered yet, keep the fallback nav on one
   scrollable row at the final header height instead of wrapping onto two. */
@media (max-width: 959.98px) {
  .js:not(.nav-ready) .site-header__inner { flex-wrap: nowrap; padding-block: 0; }
  .js:not(.nav-ready) .site-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .js:not(.nav-ready) .site-nav::-webkit-scrollbar { display: none; }
  .js:not(.nav-ready) .site-nav__list { flex-wrap: nowrap; white-space: nowrap; }
}
