/* ==========================================================================
   真人股份有限公司 — shared stylesheet
   Light theme only. One breakpoint (768px) + fluid type via clamp().
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* colour */
  --paper: #F5F2EC;      /* page background */
  --paper-2: #EDE9E1;    /* light-grey blocks (diagram cards, tag fills) */
  --card: #FFFFFF;
  --ink: #15171C;        /* text, dark bands */
  --ink-2: #4A4E57;      /* secondary text (AA on paper / card) */
  --ink-3: #7A7F88;      /* tertiary: large text, separators, decoration only */
  --line: #DDD7CC;       /* hairlines, borders */
  --line-2: #E8E3DA;     /* softer dividers */
  --line-strong: #8C877E; /* form-field outlines (3:1 on card and paper) */
  --seal: #D23F2A;       /* CTA + seal — the only saturated colour used broadly */
  --seal-ink: #A92F1E;   /* hover / seal-coloured small text on paper */
  --moss: #2F5D50;       /* rare secondary accent */
  --amber: #C98A1B;      /* data illustrations */
  --on-ink: #F5F2EC;     /* text on ink */
  --on-ink-2: #ADA89F;   /* secondary text on ink */
  --on-ink-line: rgba(245, 242, 236, .14);
  --seal-on-ink: #E8604A; /* seal tint for small text on ink (5.3:1) */

  /* signal colours for data illustrations */
  --sig-high: var(--seal);
  --sig-mid: var(--amber);
  --sig-low: #9A9EA5;

  /* per-page accent hook (case pages may override) */
  --accent: var(--seal);
  --accent-2: var(--amber);

  /* type */
  --f-sans: "Noto Sans TC", "PingFang TC", "Heiti TC", "Microsoft JhengHei", system-ui, sans-serif;
  --f-latin: "Inter Tight", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(2.625rem, 1.35rem + 5.4vw, 5.5rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.375rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.6vw, 2.625rem);
  --fs-h3: clamp(1.25rem, 1.08rem + .7vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-meta: .8125rem;

  --lh-body: 2;          /* Chinese paragraphs */
  --lh-tight: 1.3;

  /* layout */
  --container: 1160px;
  --measure: 820px;      /* reading width, ≤ 900px */
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;
  --space-section: clamp(80px, 10vw, 144px);
  --space-block: clamp(40px, 5vw, 72px);

  /* shape & motion */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --t: .3s cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 12px 32px -18px rgba(21, 23, 28, .28);
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: var(--lh-tight); letter-spacing: .01em; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

::selection { background: var(--seal); color: #fff; }

:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

.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;
}

.nowrap { white-space: nowrap; }
.latin { font-family: var(--f-latin); letter-spacing: 0; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--rule { border-top: 1px solid var(--line); }
.section--tight { padding-block: var(--space-block); }

.measure { max-width: var(--measure); }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.25em; }
.prose p, .prose li { line-height: var(--lh-body); color: var(--ink); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before {
  content: ""; position: absolute; left: 2px; top: calc(1em - 3px);
  width: 6px; height: 6px; border-radius: 1px; background: var(--ink);
}
.prose li + li { margin-top: .5em; }
.prose strong { font-weight: 700; }
.prose a { color: var(--seal-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.9;
  color: var(--ink-2);
  max-width: var(--measure);
}

/* ---------- 4. Type helpers --------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .08em;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px;
  background: var(--seal); flex: none;
}
.eyebrow__num {
  font-family: var(--f-latin); font-weight: 600; letter-spacing: .02em; color: var(--ink);
}
.eyebrow--plain::before { display: none; }

.display {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.005em;
}
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.25; }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }

.text-seal { color: var(--seal); }
.text-muted { color: var(--ink-2); }

/* ---------- 5. Seal (wordmark) ------------------------------------------ */
.seal {
  --s: 40px;
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  flex: none;
  width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * .2);
  background: var(--seal);
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: calc(var(--s) * .36);
  line-height: 1.04;
  letter-spacing: 0;
  user-select: none;
}
.seal > span { display: block; }
.seal--sm { --s: 32px; }
.seal--lg { --s: 64px; }
.seal--stamp {
  --s: clamp(120px, 14vw, 176px);
  transform: rotate(-4deg);
  box-shadow: 0 18px 40px -24px rgba(169, 47, 30, .55);
}
.seal--stamp::after {
  content: ""; position: absolute; inset: calc(var(--s) * .065);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: calc(var(--s) * .13);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name { font-size: .9375rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.brand__en {
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  color: var(--ink-2); letter-spacing: .06em; margin-top: 3px;
}

/* ---------- 6. Header & navigation ------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
/* translucent backdrop lives on a pseudo-element so the header itself does not
   become the containing block of the fixed mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 242, 236, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.menu-open .site-header::before { background: var(--paper); }
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav-list { list-style: none; display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.nav-link {
  position: relative;
  font-size: .9375rem; font-weight: 500; letter-spacing: .08em;
  color: var(--ink);
  padding-block: 6px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--seal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  height: 44px; padding: 0 4px 0 12px;
  border: 0; background: none; cursor: pointer;
  font-size: .875rem; font-weight: 500; letter-spacing: .1em;
}
.menu-toggle__icon {
  position: relative; width: 22px; height: 12px;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform var(--t), top var(--t);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 5px; transform: rotate(-45deg); }

/* ---------- 7. Buttons, links, tags ------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 500; letter-spacing: .08em; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn .arrow { display: inline-block; transition: transform var(--t); font-family: var(--f-latin); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--seal { background: var(--seal); color: #fff; }
.btn--seal:hover { background: var(--seal-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1rem; }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: .875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; letter-spacing: .08em;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--t), gap var(--t);
}
.link-arrow .arrow { font-family: var(--f-latin); transition: transform var(--t); }
.link-arrow:hover { color: var(--seal-ink); }
.link-arrow:hover .arrow { transform: translateX(3px); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2); letter-spacing: .06em;
  line-height: 1.6;
  background: transparent;
}

/* ---------- 8. Hero ----------------------------------------------------- */
.hero { position: relative; padding-top: clamp(56px, 9vw, 128px); padding-bottom: 0; }
/* the status strip's bottom rule is the divider: no second rule + extra gap below the fold */
.hero + .section--rule { border-top: 0; padding-top: clamp(56px, 6vw, 88px); }
.hero__inner { position: relative; }
.hero__title { max-width: 14em; margin-top: 24px; }
.hero__title .mark { color: var(--seal); font-style: normal; }
.hero__tagline {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
  font-weight: 500; letter-spacing: .06em;
}
.hero__lead { margin-top: 12px; max-width: 34em; }
.hero .btn-row { margin-top: clamp(28px, 4vw, 44px); }
.hero__stamp { position: absolute; right: var(--gutter); top: 8px; }
.hero__stamp-caption {
  margin-top: 18px; text-align: center;
  font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .08em;
}

/* status strip */
.status-strip {
  list-style: none;
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.status-strip li {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  padding: 16px 20px 16px 0;
  font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .02em;
}
.status-strip li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.status-strip__k { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.status-strip__v { color: var(--ink-2); font-family: var(--f-sans); letter-spacing: .04em; }
/* a solid dot: these are static, dated statements, not a live feed */
.dot {
  position: relative; display: inline-block; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--seal);
  transform: translateY(-1px);
}

/* small spacing helpers (keep markup free of inline styles) */
.eyebrow + .h2, .eyebrow + .mission, .eyebrow + .h1 { margin-top: 20px; }
.mission + .prose { margin-top: 28px; }
.body-muted { margin-top: 20px; color: var(--ink-2); line-height: 1.95; }
.contact-aside .body-muted { margin-top: 12px; }
.more-link { margin-top: 28px; }
.section-end { padding-bottom: var(--space-section); }
.btn--on-seal { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--on-seal:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- 9. Section heads ------------------------------------------- */
.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 32px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head__main > * + * { margin-top: 16px; }
.section-head > .link-arrow { justify-self: end; }
.section-head .lead { margin-top: 16px; }

/* page head (inner pages) */
.page-head { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head > * + * { margin-top: 20px; }
.page-head .h1 { max-width: 18em; }

/* ---------- 10. Featured work rows (homepage) -------------------------- */
.features { display: grid; gap: clamp(64px, 9vw, 120px); }
.feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center; gap: clamp(28px, 5vw, 72px);
}
.feature--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--flip .feature__media { order: 2; }
.feature__media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  aspect-ratio: 5 / 3;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.feature__index {
  font-family: var(--f-latin); font-weight: 600; font-size: .875rem; color: var(--ink-2);
  letter-spacing: .04em;
}
.feature__index b { color: var(--seal-ink); font-weight: 600; }
.feature__title { margin-top: 12px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.feature__body .tags { margin-top: 16px; }
.feature__text { margin-top: 20px; color: var(--ink-2); line-height: 1.95; }
.feature__body .link-arrow { margin-top: 28px; }

/* shared title pattern 「客戶｜專案名」 */
.t-client { font-weight: 400; color: var(--ink-2); }
.t-sep { color: var(--seal); font-weight: 400; margin-inline: .15em; }
.t-name { font-weight: 700; }
.t-tail { white-space: nowrap; }   /* the 「｜」 stays with the project name */

/* hover reveal chip used by features & work cards */
.hover-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--seal); color: #fff;
  font-size: .875rem; font-weight: 500; letter-spacing: .08em;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}
.media-tag {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--line);
  font-size: .75rem; font-weight: 500; color: var(--ink-2); letter-spacing: .1em; line-height: 1.7;
  pointer-events: none;
}
.media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21, 23, 28, .32), rgba(21, 23, 28, 0) 55%);
  opacity: 0; transition: opacity var(--t);
  pointer-events: none;
}
@media (hover: hover) {
  .feature:hover .feature__media img,
  .work-card:hover .work-card__media img { transform: scale(1.035); }
  .feature:hover .hover-chip, .feature:focus-within .hover-chip,
  .work-card:hover .hover-chip, .work-card:focus-within .hover-chip { opacity: 1; transform: none; }
  .feature:hover .media-veil, .work-card:hover .media-veil,
  .feature:focus-within .media-veil, .work-card:focus-within .media-veil { opacity: 1; }
  .feature:hover .feature__title a { color: var(--seal-ink); }
}
.feature__title a { transition: color var(--t); }

/* stretched link: the title link covers the whole card / feature row */
.feature, .work-card { position: relative; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r); }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--seal); outline-offset: 6px; }

/* ---------- 11. Work cards (grid) -------------------------------------- */
.work-grid {
  display: grid; gap: clamp(40px, 5vw, 56px) clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.work-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-card__link { display: block; }
.work-card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 3;
  border-radius: var(--r);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work-card__title { margin-top: 18px; font-size: 1.125rem; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.work-card__desc { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.85; }
.work-card .tags { margin-top: 12px; }

/* ---------- 12. Capabilities ------------------------------------------- */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.cap {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.cap:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.cap__num { font-family: var(--f-latin); font-weight: 600; font-size: .875rem; color: var(--ink-2); letter-spacing: .04em; }
.cap__title { margin-top: 18px; font-size: var(--fs-h3); }
.cap__text { margin-top: 14px; color: var(--ink-2); line-height: 1.95; }
.cap__list { list-style: none; margin-top: 22px; border-top: 1px solid var(--line-2); }
.cap__list li {
  display: flex; align-items: center; gap: 10px;
  padding-block: 10px; border-bottom: 1px solid var(--line-2);
  font-size: .9375rem;
}
.cap__list li::before { content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 1px; flex: none; }
.cap__foot { margin-top: auto; padding-top: 28px; }
.cap__proof { font-size: .8125rem; color: var(--ink-2); letter-spacing: .06em; margin-bottom: 6px; }

/* ---------- 13. Ink band (in-house R&D) -------------------------------- */
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .eyebrow { color: var(--on-ink-2); }
.band-ink .eyebrow__num { color: var(--on-ink); }
.band-ink .lead, .band-ink .text-muted { color: var(--on-ink-2); }
.band-ink .tag { color: var(--on-ink-2); border-color: var(--on-ink-line); }
.band-ink .link-arrow { color: var(--on-ink); }
.band-ink .link-arrow:hover { color: #fff; }
.band-ink :focus-visible { outline-color: var(--on-ink); }

.lab { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.lab-steps { list-style: none; counter-reset: step; border-top: 1px solid var(--on-ink-line); }
.lab-steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px;
  padding-block: 18px; border-bottom: 1px solid var(--on-ink-line);
}
.lab-steps__num { grid-row: span 2; font-family: var(--f-latin); font-weight: 600; font-size: .875rem; color: var(--seal-on-ink); padding-top: 3px; }
.lab-steps__title { font-weight: 700; font-size: 1.0625rem; letter-spacing: .04em; }
.lab-steps__text { color: var(--on-ink-2); font-size: .9375rem; line-height: 1.85; }
.lab-steps li.is-human .lab-steps__title::after {
  content: "真人"; margin-left: 10px;
  display: inline-block; padding: 0 6px; border-radius: 3px;
  background: var(--seal); color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; line-height: 1.7;
  vertical-align: 2px;
}
/* mosaic: one large card + two stacked */
.lab-cards { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.lab-card { position: relative; border-radius: var(--r-sm); overflow: hidden; background: #000; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .8); }
.lab-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lab-card:first-child { grid-row: span 2; }
.lab-card:first-child img { height: 100%; aspect-ratio: auto; }
.lab-note {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .8125rem; color: var(--on-ink-2); line-height: 1.8;
}
.lab-note::before { content: "※"; color: var(--on-ink-2); }

/* ---------- 14. Process (合作方式) -------------------------------------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.process li { position: relative; padding-top: 28px; border-top: 1px solid var(--ink); }
.process li::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 2px; background: var(--seal);
}
.process__num { font-family: var(--f-latin); font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.process__title { margin-top: 10px; font-size: 1.125rem; font-weight: 700; letter-spacing: .04em; }
.process__text { margin-top: 10px; font-size: .9375rem; color: var(--ink-2); line-height: 1.9; }

/* ---------- 15. Values / about teaser ---------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.mission {
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem);
  font-weight: 700; line-height: 1.45; letter-spacing: .02em;
}
.mission em { font-style: normal; color: var(--seal); }
.values { list-style: none; border-top: 1px solid var(--ink); }
.values li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px;
  padding-block: clamp(20px, 2.6vw, 28px); border-bottom: 1px solid var(--line);
}
.values__num { grid-row: span 2; font-family: var(--f-latin); font-weight: 600; font-size: .875rem; color: var(--ink-2); padding-top: 6px; }
.values__title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: .06em; }
.values__title .text-seal { margin-right: .05em; }
.values__text { color: var(--ink-2); line-height: 1.95; }

/* ---------- 16. CTA band ----------------------------------------------- */
.cta-band { background: var(--seal); color: #fff; }
.cta-band__inner { padding-block: clamp(72px, 9vw, 128px); display: grid; gap: 28px; justify-items: start; }
.cta-band__title { font-size: var(--fs-h1); font-weight: 900; line-height: 1.3; max-width: 16em; }
.cta-band__text { font-size: var(--fs-lead); line-height: 1.9; color: #fff; max-width: 36em; }
.cta-band .btn--paper { color: var(--seal-ink); font-weight: 700; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- 17. Footer ------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-ink); }
.site-footer :focus-visible { outline-color: var(--on-ink); }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px;
  padding-block: clamp(56px, 7vw, 88px) 40px;
}
.footer-tagline { margin-top: 20px; color: var(--on-ink-2); letter-spacing: .06em; }
.site-footer .brand__en { color: var(--on-ink-2); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-h {
  font-family: var(--f-mono); font-size: .75rem; font-weight: 500;
  color: var(--on-ink-2); letter-spacing: .14em; margin-bottom: 14px;
}
.footer-nav ul { list-style: none; display: grid; gap: 10px; }
.footer-nav a { font-size: .9375rem; color: var(--on-ink); transition: color var(--t); }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--on-ink-line);
  font-size: .8125rem; color: var(--on-ink-2);
}
.footer-base .mono { font-size: .75rem; }

/* ---------- 18. Mobile contact bar ------------------------------------- */
.mobile-cta { display: none; }
.mobile-cta:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

/* ---------- 19. Inner pages: work index, about, contact, 404 ----------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 28px; }
.facts > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .1em; }
.facts dd { margin-top: 8px; font-size: 1.0625rem; font-weight: 500; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.duo__col {
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
}
.duo__col--human { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.duo__col--human .duo__list li { border-color: var(--on-ink-line); }
.duo__col--human .duo__label { color: var(--on-ink-2); }
.duo__label { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .12em; }
.duo__title { margin-top: 12px; font-size: var(--fs-h3); display: flex; align-items: center; gap: 12px; }
.duo__list { list-style: none; margin-top: 20px; }
.duo__list li { padding-block: 12px; border-top: 1px solid var(--line-2); line-height: 1.8; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-mail {
  display: inline-block; margin-top: 12px;
  font-family: var(--f-latin); font-weight: 600; font-size: clamp(1.125rem, .95rem + .8vw, 1.5rem);
  letter-spacing: 0; word-break: break-all;
  border-bottom: 2px solid var(--seal);
  transition: color var(--t);
}
.contact-mail:hover { color: var(--seal-ink); }
.contact-aside > * + * { margin-top: clamp(32px, 4vw, 48px); }
.contact-aside h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: .06em; }
.checklist { list-style: none; margin-top: 14px; border-top: 1px solid var(--line); }
.checklist li {
  display: flex; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line);
  font-size: .9375rem; line-height: 1.8; color: var(--ink-2);
}
.checklist li::before { content: ""; width: 6px; height: 6px; margin-top: .75em; border-radius: 1px; background: var(--seal); flex: none; }

.form-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { display: flex; align-items: baseline; gap: 6px; font-size: .875rem; font-weight: 500; letter-spacing: .06em; line-height: 1.6; }
.field .req { color: var(--seal-ink); font-size: .75rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 1rem; line-height: 1.6;
  transition: border-color var(--t), background-color var(--t);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 168px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field ::placeholder { color: #6B6F77; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px rgba(210, 63, 42, .18); }
.field [aria-invalid="true"] { border-color: var(--seal); }
.field__hint { font-size: .8125rem; color: var(--ink-2); line-height: 1.7; }
.field__error { font-size: .8125rem; color: var(--seal-ink); }
.field__error:empty { display: none; }
.form-foot { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.form-note { font-size: .8125rem; color: var(--ink-2); line-height: 1.8; }
.form-status { font-size: .875rem; line-height: 1.8; color: var(--ink); }
.form-status:empty { display: none; }
.form-status a { color: var(--seal-ink); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.notfound { padding-block: clamp(80px, 12vw, 160px); }
.notfound__code { font-family: var(--f-latin); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 1; letter-spacing: -.03em; }
.notfound__code .text-seal { font-weight: 800; }
.notfound .h1 { margin-top: 24px; }
.notfound .lead { margin-top: 16px; }
.notfound .btn-row { margin-top: 36px; }

/* ==========================================================================
   20. CASE PAGE TEMPLATE
   ========================================================================== */
.case-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .8125rem; color: var(--ink-2); letter-spacing: .08em; }
.breadcrumb a { color: var(--ink-2); border-bottom: 1px solid transparent; transition: border-color var(--t), color var(--t); }
.breadcrumb a:hover { color: var(--ink); border-bottom-color: currentColor; }
.breadcrumb [aria-hidden="true"] { color: var(--ink-3); }
.case-title { margin-top: 20px; font-size: var(--fs-h1); font-weight: 700; line-height: 1.3; }
.case-sub {
  margin-top: 12px;
  font-size: clamp(1.125rem, .95rem + .8vw, 1.5rem); font-weight: 500; line-height: 1.6;
  color: var(--ink-2); letter-spacing: .06em;
}
.case-intro {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 300px); gap: clamp(32px, 6vw, 96px); align-items: start;
}
.case-lead p { font-size: 1.0625rem; line-height: var(--lh-body); }
.case-lead p + p { margin-top: 1em; }
.case-info { border-top: 1px solid var(--ink); }
.case-info dl { display: grid; }
.case-info__row, .case-info__pair { padding-block: 14px; border-bottom: 1px solid var(--line); }
.case-info__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-info dt { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .1em; }
.case-info dd { margin-top: 4px; font-size: .9375rem; font-weight: 500; line-height: 1.7; }
.case-info a { color: var(--seal-ink); border-bottom: 1px solid currentColor; transition: color var(--t); word-break: break-all; }
.case-info a:hover { color: var(--ink); }

.case-visual { margin-bottom: clamp(16px, 2vw, 24px); }
.case-visual img {
  width: 100%; border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line);
  background: var(--card);
}
.case-visual figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); }

.case-section { padding-top: clamp(56px, 7vw, 104px); }
.case-section > .prose,
.case-section > .highlights,
.case-section > .lead { margin-top: clamp(20px, 2.6vw, 32px); }
.case-section > * + .figure,
.case-section > * + .figure-grid,
.case-section > * + .diagram-card,
.case-section > * + .stats { margin-top: clamp(32px, 4vw, 56px); }

.insight-heading {
  max-width: 26em;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  font-weight: 400; line-height: 1.55; letter-spacing: .03em;
}
.insight-label { font-weight: 700; }
.insight-sep { color: var(--accent); margin-inline: .2em; font-weight: 400; }
.insight-text { font-weight: 400; }

.highlights { list-style: none; max-width: var(--measure); border-top: 1px solid var(--line); }
.highlights li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--line);
  line-height: 1.95;
}
.highlights li::before {
  content: ""; position: absolute; left: 0; top: 1.45em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
.highlights strong { font-weight: 700; }

.diagram-card {
  padding: clamp(28px, 4vw, 56px);
  background: var(--paper-2);
  border-radius: var(--r-lg);
}
.diagram-card__label { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .14em; }
.diagram-card__title { margin-top: 10px; font-size: var(--fs-h3); font-weight: 700; }
.diagram-card__text { margin-top: 12px; color: var(--ink-2); max-width: var(--measure); line-height: 1.9; }
.diagram-card > * + .flow,
.diagram-card > * + .chain,
.diagram-card > * + .tiers { margin-top: clamp(24px, 3vw, 36px); }

/* flow: numbered steps in a row (wraps) */
.flow { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: flow; }
.flow li {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--card); border-radius: var(--r);
  border: 1px solid var(--line);
  line-height: 1.7;
}
.flow__num { display: block; font-family: var(--f-latin); font-weight: 600; font-size: .8125rem; color: var(--seal-ink); }
.flow__title { display: block; margin-top: 8px; font-weight: 700; }
.flow__text { display: block; margin-top: 6px; font-size: .875rem; color: var(--ink-2); line-height: 1.75; }

/* chain: compact pill sequence (e.g. 8-step evidence chain) */
.chain { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.chain li {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-weight: 500; font-size: .9375rem;
}
.chain li b { font-family: var(--f-latin); font-weight: 600; font-size: .75rem; color: var(--seal-ink); }
.chain li + li::before {
  content: "→"; position: absolute; right: calc(100% + 7px); top: 50%; transform: translateY(-50%);
  color: var(--ink-3); font-family: var(--f-latin);
}

/* tiers: 2–4 side-by-side blocks (e.g. response levels) */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tier { padding: 22px; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); border-top: 4px solid var(--sig-low); }
.tier--high { border-top-color: var(--sig-high); }
.tier--mid { border-top-color: var(--sig-mid); }
.tier__label { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .1em; }
.tier__title { margin-top: 6px; font-size: 1.125rem; font-weight: 700; }
.tier__text { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.8; }

/* figures */
.figure img { width: 100%; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); background: var(--card); }
.figure figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; max-width: var(--measure); }
.figure--side { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.figure--side figcaption { margin-top: 0; font-size: .9375rem; line-height: 1.9; }
.figure--phone { max-width: 320px; }
.figure--phone img { border-radius: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.figure-grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.figure-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* stats: one number per idea */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.stat { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--f-latin); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.01em; }
.stat__unit { font-family: var(--f-sans); font-weight: 700; font-size: .4em; margin-left: .2em; letter-spacing: .04em; }
.stat__pre { font-family: var(--f-sans); font-weight: 700; font-size: .4em; margin-right: .3em; letter-spacing: .04em; }
.stat__label { margin-top: 10px; color: var(--ink-2); line-height: 1.8; }
.stat__note { margin-top: 6px; font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); }

/* quote cards: text re-set in our own type (no screenshots) */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.quote-card {
  margin: 0; padding: 24px 24px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; gap: 10px;
}
.quote-card__head { font-weight: 700; color: var(--seal-ink); letter-spacing: .06em; }
.quote-card__body { font-size: 1.0625rem; line-height: 1.85; }
.quote-card__meta { margin-top: auto; padding-top: 8px; font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); }

/* honest note */
.note {
  max-width: var(--measure);
  padding: 14px 18px; border-left: 3px solid var(--ink-3);
  background: var(--paper-2); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .875rem; color: var(--ink-2); line-height: 1.85;
}

/* credits */
.credits { padding-top: clamp(56px, 7vw, 104px); }
.credits__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; }
.credits__list { margin-top: 16px; max-width: var(--measure); border-top: 1px solid var(--line); }
.credits__list > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.credits__list dt { font-family: var(--f-sans); font-weight: 500; font-size: .875rem; color: var(--ink-2); letter-spacing: .06em; }
.credits__list dd { font-size: .9375rem; }

/* case CTA: a seal panel, same voice as the CTA band on the other pages */
.case-cta { margin-top: clamp(56px, 7vw, 104px); }
.case-cta__panel {
  display: grid; justify-items: start; gap: 28px;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
  background: var(--seal); color: #fff;
  border-radius: var(--r-lg);
}
.case-cta__text { font-size: var(--fs-h2); font-weight: 700; line-height: 1.45; max-width: 18em; word-break: keep-all; overflow-wrap: anywhere; }
.case-cta .btn--paper { color: var(--seal-ink); font-weight: 700; }
.case-cta :focus-visible { outline-color: #fff; }

/* more work */
.more-work { padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.more-work__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.more-work__title { font-size: var(--fs-h2); font-weight: 700; }

/* theme hooks */
.theme-warroom { --accent: var(--seal); --accent-2: var(--amber); --moss: var(--ink-2); }

/* ---------- 21. Reveal on scroll --------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  /* safety net: if site.js never runs, content still appears */
  animation: reveal-fallback .01s linear 2.5s forwards;
}
.js.reveal-ready .reveal { animation: none; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }

/* ==========================================================================
   22. ≤ 767px (the one breakpoint)
   ========================================================================== */
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }

  .site-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .page-contact .site-footer { padding-bottom: 0; }

  .brand { gap: 10px; }
  .brand .seal { --s: 36px; }
  .brand__name { font-size: .875rem; }
  .brand__en { font-size: .625rem; }

  /* mobile menu (the .js class is dropped again if site.js never runs) */
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--paper);
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t), transform var(--t), visibility 0s linear .3s;
  }
  .js .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t), transform var(--t), visibility 0s; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list li { border-bottom: 1px solid var(--line); }
  .js .nav-link { display: block; padding: 18px 0; font-size: 1.5rem; font-weight: 700; letter-spacing: .1em; }
  .js .nav-link::after { display: none; }
  .js .nav-link[aria-current="page"] { color: var(--seal-ink); }
  .js .nav-list .nav-cta { border-bottom: 0; margin-top: 28px; }
  .js .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1rem; }
  .menu-open { overflow: hidden; }

  /* no-JS fallback: compact inline nav */
  html:not(.js) .site-header { position: static; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-list { flex-wrap: wrap; gap: 12px 20px; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 60px;
    padding: 0 var(--gutter) env(safe-area-inset-bottom);
    background: var(--seal); color: #fff;
    font-weight: 500; letter-spacing: .1em;
    box-shadow: 0 -8px 24px -16px rgba(21, 23, 28, .5);
  }
  .mobile-cta .arrow { font-family: var(--f-latin); }
  .mobile-cta:active { background: var(--seal-ink); }
  .menu-open .mobile-cta, .page-contact .mobile-cta { display: none; }

  /* buttons share the row evenly */
  .btn-row > .btn { flex: 1 1 0; padding-inline: 12px; }
  .btn--lg { min-height: 52px; font-size: .9375rem; }

  /* hero: the stamp shrinks to a small seal beside the short first line */
  .hero__stamp { top: -6px; }
  .hero__stamp .seal--stamp { --s: 64px; }
  .hero__stamp-caption { display: none; }
  .status-strip { grid-template-columns: 1fr; }
  .status-strip li { padding: 14px 0; }
  .status-strip li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .section-head { grid-template-columns: 1fr; }
  .section-head > .link-arrow { justify-self: start; }

  .feature, .feature--flip { grid-template-columns: 1fr; gap: 24px; }
  .feature--flip .feature__media { order: 0; }

  .work-grid, .work-grid--2 { grid-template-columns: 1fr; }

  .caps { grid-template-columns: 1fr; }

  .lab { grid-template-columns: 1fr; }
  .lab > :last-child { order: -1; }
  .lab-cards {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .lab-cards::-webkit-scrollbar { display: none; }
  .lab-card { flex: 0 0 68%; scroll-snap-align: center; }
  .lab-card:first-child img { aspect-ratio: 4 / 5; height: auto; }

  .process { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--ink); margin-left: 4px; }
  .process li { border-top: 0; padding: 0 0 28px 24px; }
  .process li::before { top: 6px; left: -5px; }

  .split { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 40px minmax(0, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
  .footer-nav ul { gap: 0; }
  .footer-nav a { display: inline-block; padding-block: 12px; }
  .footer-h { margin-bottom: 2px; }

  /* larger tap areas without moving the underline */
  .link-arrow, .breadcrumb a, .case-info a { position: relative; }
  .link-arrow::before, .breadcrumb a::before, .case-info a::before { content: ""; position: absolute; inset: -8px -4px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(even) { padding-left: 16px; }

  .duo { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  /* case template */
  .case-title .t-client { display: block; font-size: .5em; letter-spacing: .1em; }
  .case-title .t-sep { display: none; }
  .case-title .t-name { display: block; margin-top: 4px; }
  .case-intro { grid-template-columns: 1fr; }
  .insight-label { display: block; font-size: .9375rem; color: var(--seal-ink); letter-spacing: .08em; }
  .insight-sep { display: none; }
  .insight-text { display: block; margin-top: 6px; }
  .figure-grid, .figure-grid--3 { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .credits__list > div { grid-template-columns: 1fr; gap: 2px; }
  .more-work__head { flex-direction: column; align-items: flex-start; }
  .figure--phone { margin-inline: auto; }
  .figure--side { grid-template-columns: 1fr; }
  .figure--side figcaption { margin-top: 12px; font-size: .8125rem; line-height: 1.7; }
  .case-cta__text { font-size: 1.25rem; word-break: normal; }
}

/* ---------- 23. Reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .feature:hover .feature__media img, .work-card:hover .work-card__media img { transform: none; }
}

/* ---------- 24. Print -------------------------------------------------- */
@media print {
  .site-header, .mobile-cta, .cta-band, .menu-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
