/* ==========================================================================
   Xpress Publishers: house style
   Art direction: "Bindery". Midnight book-cloth and silver foil, taken from
   the chrome logo, with the brand orange (#ff6200 / #ff9946) used like a
   foil-stamped accent. Real client covers carry the imagery; services are
   shown as book spines on a shelf. No build step: served as written.
   ========================================================================== */

/* ---- Fonts (self-hosted, SIL Open Font License; see /fonts) ---- */
@font-face { font-family: "Literata"; src: url("../fonts/literata-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/literata-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---- Tokens ---- */
:root {
  /* Brand */
  --orange: #ff6200;
  --orange-2: #ff9946;
  --orange-ink: #b84400;   /* same hue, darkened so small text passes WCAG AA on paper */

  /* Cloth (dark) */
  --night: #070a14;
  --navy: #0b1022;
  --navy-2: #141c3a;
  --navy-3: #222c52;

  /* Foil (silver, from the logo) */
  --silver: #e9ecf2;
  --silver-2: #b9c0ce;
  --silver-3: #9aa2b4;

  /* Paper (light) */
  --paper: #f7f4ee;
  --paper-2: #eee9df;
  --white: #fffdf9;
  --ink: #0b1022;
  --ink-2: #434a5e;
  --ink-3: #545b6e;
  --rule: #d9d2c4;

  --error: #c0262d;

  --serif: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(4.5rem, 3rem + 5vw, 8.5rem);
  --radius: 3px;

  --cloth-weave:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 4px);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
/* Root at 17px (106.25%) so every rem-based size grows ~6%, for readers of all ages. */
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  font-kerning: normal; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p, ul, ol, dl, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--orange-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--orange); color: var(--navy); }
code { font-family: var(--mono); font-size: 0.875em; background: var(--paper-2); padding: 0.1em 0.35em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--orange); color: var(--navy); padding: 0.75rem 1rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--navy); }

/* Placeholder for an unconfirmed fact (never rendered in production). */
.ph {
  display: inline; background: #ffe98a; color: #1a1a1a;
  font-family: var(--mono); font-size: 0.8rem; font-style: normal; font-weight: 400; line-height: 1.5;
  padding: 0.1em 0.4em; border: 1px dashed #1a1a1a; border-radius: 2px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  -webkit-text-fill-color: #1a1a1a;
}

/* ---- Dark book-cloth surface ---- */
.cloth, .page-head, .masthead, .endpaper, .colophon {
  --fg: var(--silver); --fg-2: var(--silver-2); --accent: var(--orange-2);
  color: var(--fg);
  background-color: var(--navy);
  background-image: var(--cloth-weave);
}
.cloth a:hover, .page-head a:hover, .masthead a:hover, .endpaper a:hover, .colophon a:hover { color: var(--orange-2); }
.cloth :focus-visible, .page-head :focus-visible, .masthead :focus-visible, .endpaper :focus-visible, .colophon :focus-visible { outline-color: var(--orange-2); }

/* Silver foil text, matching the chrome logo. Solid fallback first. */
.foil, .page-head .display { color: var(--silver); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .foil, .page-head .display {
    background: linear-gradient(100deg, #ffffff 0%, #e6e9ef 35%, #cdd2dc 50%, #f6f7fa 68%, #dfe3ea 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  /* Safari does not paint a parent's clipped gradient into the line wrappers
     that the heading animation (SplitText) adds, so each line gets its own. */
  .foil .split-line, .page-head .display .split-line {
    background: linear-gradient(100deg, #ffffff 0%, #e6e9ef 35%, #cdd2dc 50%, #f6f7fa 68%, #dfe3ea 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  .foil em, .page-head .display em {
    background: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 45%, var(--orange) 100%);
    -webkit-background-clip: text; background-clip: text;
  }
}

/* ---- Type ---- */
.display {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 420;
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 380; }
.display--page { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem); max-width: 22ch; }
.h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.85rem, 1.35rem + 1.9vw, 3rem); line-height: 1.08; letter-spacing: -0.018em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40rem; }
.cloth .lede, .page-head .lede, .lede--dark { color: var(--silver-2); }

.kicker, .label, .folio, .meta { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.kicker { color: var(--orange-2); margin-bottom: 1.6rem; display: flex; align-items: center; gap: 0.8rem; }
.kicker::before { content: ""; width: 2.25rem; height: 2px; background: var(--orange); }
.label { color: var(--ink-3); display: flex; gap: 0.8rem; align-items: baseline; margin-bottom: 1.25rem; }
.label span { color: var(--orange-ink); font-weight: 500; }
.cloth .label, .label--dark { color: var(--silver-3); }
.cloth .label span, .label--dark span { color: var(--orange-2); }
.folio { display: flex; align-items: baseline; gap: 0.9rem; color: var(--ink-3); padding-bottom: 0.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.folio__n { color: var(--orange-ink); font-weight: 500; }
.page-head .folio, .cloth .folio { color: var(--silver-3); border-bottom-color: rgba(233,236,242,0.18); }
.page-head .folio__n, .cloth .folio__n { color: var(--orange-2); }
.meta { color: var(--silver-3); margin-top: 1.25rem; }

.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin-top: 3rem; scroll-margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--orange-ink); }
.link-arrow { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform 0.15s; }
.link-arrow:hover { color: inherit; }
.link-arrow:hover::after { transform: translateX(4px); }
.more { margin-top: 3rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.1rem; padding: 0.85rem 1.5rem;
  font: 700 1rem/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn--accent { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(255,98,0,0.75); }
.btn--accent:hover { background: var(--orange-2); color: var(--navy); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(255,98,0,0.8); }
.btn--accent::after { content: "→"; font-weight: 400; }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.cloth .btn--ghost { color: var(--silver); border-color: rgba(233,236,242,0.45); }
.cloth .btn--ghost:hover { background: var(--silver); color: var(--navy); border-color: var(--silver); }
.btn--sm { min-height: 2.6rem; padding: 0.55rem 1.05rem; font-size: 0.9375rem; box-shadow: none; }
.btn--sm::after { content: none; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.5rem; }

/* ---- Masthead ---- */
.masthead { border-bottom: 1px solid rgba(233,236,242,0.12); position: relative; z-index: 5; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; flex-wrap: wrap; }
.masthead__brand { display: block; padding-block: 0.8rem; }
.logo { width: auto; height: 46px; }
.colophon .logo { height: 54px; }

.site-nav__list { display: flex; align-items: center; gap: 0.35rem 2rem; list-style: none; padding: 0; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: var(--silver); font-weight: 500; font-size: 0.98rem; text-decoration: none; padding-block: 0.45rem; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--orange); color: var(--silver); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--orange); color: #fff; }
.site-nav__cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; cursor: pointer;
  background: none; color: var(--silver); border: 1.5px solid rgba(233,236,242,0.45); border-radius: var(--radius);
  padding: 0.55rem 0.85rem; font: 600 0.9375rem var(--sans);
}
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before { content: ""; position: absolute; top: 5px; }
.nav-toggle__bars { transform: translateY(-2.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 56rem) {
  .logo { height: 38px; }
  .js .nav-toggle:not([hidden]) { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-nav.is-open { display: block; padding-bottom: 1.25rem; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list a:not(.btn) { display: block; padding: 0.95rem 0; border-bottom: 1px solid rgba(233,236,242,0.14); }
  .js .site-nav__list a[aria-current="page"]:not(.btn) { color: var(--orange-2); border-bottom-color: rgba(233,236,242,0.14); }
  .js .site-nav__cta { margin: 1.1rem 0 0; }
  .js .site-nav__cta .btn { width: 100%; min-height: 3rem; }
}

/* ---- Sections ---- */
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space); }
.paper { background: var(--paper); }
.paper--deep, .section--band { background: var(--paper-2); }
.section--rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head__note { margin-top: 1.1rem; color: var(--ink-2); max-width: 36rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.split { display: grid; gap: 1.75rem 4rem; align-items: start; }
.split--top { align-items: start; }
.split__note { color: var(--ink-2); max-width: 30rem; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* ==========================================================================
   Home & shared showcase components
   ========================================================================== */

/* Elements GSAP animates in start hidden only when motion is active. */
.has-motion [data-reveal], .has-motion [data-card] { visibility: hidden; }
.split-line { padding-bottom: 0.06em; }

.btn--lg { min-height: 3.6rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(11,16,34,0.8); }
.btn--navy:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn--navy::after { content: "→"; font-weight: 400; }

.stars { color: var(--orange); letter-spacing: 0.12em; font-size: 1.35rem; line-height: 1; }
.stars--sm { font-size: 0.95rem; letter-spacing: 0.06em; }

/* ---- Hero ---- */
.hx {
  --fg: var(--silver);
  position: relative; overflow: hidden; color: var(--silver);
  background-color: var(--night);
  background-image: var(--cloth-weave);
  padding-top: clamp(3.5rem, 2rem + 6vw, 7rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
.hx__glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(42rem 26rem at 50% 8%, rgba(255,98,0,0.30), transparent 65%),
    radial-gradient(30rem 22rem at 12% 60%, rgba(90,110,210,0.22), transparent 70%),
    radial-gradient(30rem 22rem at 88% 70%, rgba(255,153,70,0.14), transparent 70%);
}
.hx__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.hx :focus-visible { outline-color: var(--orange-2); }
.tp-pill {
  display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; justify-content: center;
  padding: 0.55rem 1.1rem; margin-bottom: 2rem; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(233,236,242,0.18);
  color: var(--silver-2); font-size: 0.9rem; text-decoration: none; backdrop-filter: blur(6px);
}
.tp-pill strong { color: #fff; }
.tp-pill:hover { border-color: var(--orange-2); color: #fff; }
.hx__title {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 400;
  font-size: clamp(2.9rem, 1.4rem + 6.4vw, 7.4rem); line-height: 0.98; letter-spacing: -0.035em;
  max-width: 13ch; text-wrap: balance;
}
.hx__title em { font-style: italic; font-weight: 360; }
.hx__lede { margin-top: 1.9rem; max-width: 40rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--silver-2); }
.hx__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.4rem; }
.hx .btn--ghost { color: var(--silver); border-color: rgba(233,236,242,0.4); }
.hx .btn--ghost:hover { background: var(--silver); color: var(--navy); border-color: var(--silver); }

/* Two rows of real covers drifting in opposite directions */
.marquee {
  position: relative; margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  transform: perspective(1400px) rotateX(14deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; gap: clamp(1rem, 0.8rem + 1vw, 1.75rem); padding-right: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
.marquee__item { width: clamp(7.5rem, 5.5rem + 6vw, 11.5rem); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Book (a cover drawn as a physical book) ---- */
.book { margin: 0; }
.book__cover {
  position: relative; border-radius: 2px 5px 5px 2px; overflow: hidden; background: var(--navy-2);
  box-shadow: 0 1px 1px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15), 0 22px 44px -16px rgba(0,0,0,0.6);
}
.book__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.book__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.38) 0, rgba(255,255,255,0.28) 1.4%, rgba(0,0,0,0.1) 3.2%, transparent 8%),
    linear-gradient(165deg, rgba(255,255,255,0.14), transparent 35%);
}
.book__caption { display: grid; gap: 0.15rem; margin-top: 1rem; }
.book__title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; font-weight: 550; }
.book__author { font-size: 0.875rem; color: var(--ink-2); }
.book__services { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-ink); margin-top: 0.25rem; }
.book__caption .ph { justify-self: start; margin-top: 0.35rem; }

/* ---- Promises strip ---- */
.promises { background: var(--orange); color: var(--navy); }
.promises__list { list-style: none; display: grid; gap: 0; padding-block: 0; }
.promises__list li { display: flex; gap: 0.75rem; align-items: baseline; padding: 1.15rem 0; font-weight: 650; font-size: 0.98rem; border-bottom: 1px solid rgba(11,16,34,0.18); }
.promises__k { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; opacity: 0.75; }
@media (min-width: 48rem) { .promises__list { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 72rem) {
  .promises__list { grid-template-columns: repeat(4, 1fr); }
  .promises__list li { border-bottom: 0; padding: 1.5rem 0; }
  .promises__list li + li { border-left: 1px solid rgba(11,16,34,0.2); padding-left: 1.5rem; }
}

/* ---- Bento services ---- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; perspective: 1200px; }
.bcard {
  position: relative; display: grid; grid-template-rows: 1fr auto; gap: 1.5rem; overflow: hidden;
  min-height: 21rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-radius: 18px; background: var(--white); border: 1px solid var(--rule);
  transition: box-shadow 0.3s, border-color 0.3s; transform-style: preserve-3d; will-change: transform;
}
.bcard:hover { box-shadow: 0 30px 60px -30px rgba(11,16,34,0.45); border-color: rgba(255,98,0,0.55); }
.bcard__visual { display: grid; place-items: center; min-height: 8rem; }
.bcard__n { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: var(--orange-ink); margin-bottom: 0.5rem; }
.bcard__name { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2.1rem); line-height: 1.1; letter-spacing: -0.015em; }
.bcard__link { text-decoration: none; color: inherit; }
.bcard__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.bcard__link:hover { color: inherit; }
.bcard__link:focus-visible { outline: none; }
.bcard:has(.bcard__link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.bcard__text { margin-top: 0.6rem; color: var(--ink-2); font-size: 0.975rem; max-width: 34rem; }
.bcard__more { display: inline-block; margin-top: 1.1rem; font-weight: 700; font-size: 0.95rem; color: var(--orange-ink); transition: transform 0.2s; }
.bcard:hover .bcard__more { transform: translateX(6px); }

/* Card themes */
.bcard--editing-proofreading { background: var(--navy); background-image: radial-gradient(26rem 16rem at 85% 0%, rgba(255,98,0,0.22), transparent 70%), var(--cloth-weave); border-color: transparent; color: var(--silver); }
.bcard--editing-proofreading .bcard__text { color: var(--silver-2); }
.bcard--editing-proofreading .bcard__n, .bcard--editing-proofreading .bcard__more { color: var(--orange-2); }
.bcard--book-marketing { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%); border-color: transparent; color: var(--navy); }
.bcard--book-marketing .bcard__text, .bcard--book-marketing .bcard__n, .bcard--book-marketing .bcard__more { color: var(--navy); }
.bcard--cta { background: var(--paper-2); border-style: dashed; border-color: #bdb5a5; }
.bcard--cta .bcard__n { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--orange); }

@media (min-width: 48rem) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bcard--editing-proofreading, .bcard--book-marketing { grid-column: span 2; }
}
@media (min-width: 68rem) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(20rem, auto); }
  .bcard--editing-proofreading { grid-column: span 2; }
  .bcard--book-formatting { grid-row: span 2; }
  .bcard--book-marketing { grid-column: span 2; }
  .bcard--editing-proofreading, .bcard--book-marketing { grid-template-columns: 1.1fr 1fr; grid-template-rows: none; align-items: end; }
  .bcard--editing-proofreading .bcard__visual, .bcard--book-marketing .bcard__visual { order: 2; }
}

/* Visual: marked-up sentence */
.v-edit { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); line-height: 1.9; color: var(--silver); max-width: 26rem; }
.v-edit del { text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; color: var(--silver-3); }
.v-edit ins { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; color: var(--orange-2); font-style: italic; }
.v-edit ins::before { content: "‸"; font-style: normal; }

/* Visual: page spread */
.v-spread { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 19rem); aspect-ratio: 1.45; background: #fff; border-radius: 3px; box-shadow: 0 24px 40px -24px rgba(11,16,34,0.55), inset 0 0 0 1px var(--rule); transform: rotate(-3deg); }
.v-page { position: relative; padding: 14% 12% 10%; display: grid; align-content: start; gap: 6.5%; }
.v-page + .v-page { box-shadow: inset 10px 0 14px -12px rgba(0,0,0,0.35); }
.v-page:first-child { box-shadow: inset -10px 0 14px -12px rgba(0,0,0,0.35); }
.v-page i { display: block; height: 3px; border-radius: 2px; background: #c9c3b7; }
.v-page i.s { width: 55%; }
.v-chap { font-family: var(--serif); font-style: italic; font-size: 0.8rem; color: var(--ink); margin-bottom: 8%; }
.v-folio { position: absolute; bottom: 7%; right: 12%; font-family: var(--serif); font-size: 0.8rem; color: var(--ink-3); }
@media (min-width: 68rem) { .bcard--book-formatting .bcard__visual { align-self: center; } .bcard--book-formatting .v-spread { width: 100%; } }

/* Visual: fanned covers */
.v-covers { position: relative; width: 12rem; height: 10rem; }
.v-covers img, .v-blank { position: absolute; bottom: 0; left: 50%; width: 5.6rem; aspect-ratio: 2/3; height: auto; border-radius: 2px 4px 4px 2px; box-shadow: 0 16px 28px -14px rgba(0,0,0,0.6); transform-origin: 50% 120%; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.v-blank { background: linear-gradient(160deg, var(--navy-3), var(--navy)); }
.v-covers > :nth-child(1) { transform: translateX(-50%) rotate(-16deg); }
.v-covers > :nth-child(2) { transform: translateX(-50%) rotate(0deg) translateY(-6px); z-index: 2; }
.v-covers > :nth-child(3) { transform: translateX(-50%) rotate(16deg); }
.bcard:hover .v-covers > :nth-child(1) { transform: translateX(-50%) rotate(-24deg); }
.bcard:hover .v-covers > :nth-child(3) { transform: translateX(-50%) rotate(24deg); }

/* Visual: checklist */
.v-check { list-style: none; padding: 0; display: grid; gap: 0.55rem; width: min(100%, 17rem); }
.v-check li { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.85rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; font-size: 0.9rem; font-weight: 600; }
.v-check li::before { content: "✓"; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--orange); color: var(--navy); font-size: 0.8rem; font-weight: 800; flex: none; }

/* Visual: launch timeline */
.v-timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; position: relative; }
.v-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 2px; background: rgba(11,16,34,0.35); }
.v-timeline li { position: relative; padding-top: 1.75rem; font-size: 0.85rem; font-weight: 600; }
.v-timeline li::before { content: ""; position: absolute; top: 0.1rem; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(255,255,255,0.35); }
.v-timeline b { display: block; font-family: var(--mono); font-size: 0.8rem; font-weight: 500; }

/* ---- Process (pinned horizontal on desktop) ---- */
.process { overflow: hidden; padding-block: var(--space); }
.process__head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.process__head .h2 { max-width: 20ch; }
.process__viewport { padding-inline: var(--gutter); }
.process__track { list-style: none; padding: 0; display: grid; gap: 1rem; }
.pstep {
  position: relative; padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(233,236,242,0.12); color: var(--silver-2);
}
.pstep__n {
  display: block; font-family: var(--serif); font-weight: 300; line-height: 0.8;
  font-size: clamp(5rem, 3.5rem + 6vw, 10rem); letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,153,70,0.85); margin-bottom: 1.5rem;
}
.pstep__t { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 2rem); line-height: 1.15; color: var(--silver); margin-bottom: 0.75rem; }
.pstep p { max-width: 30rem; }
@media (min-width: 48rem) { .process__track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .process.is-pinned { padding-block: 0; }
  .process.is-pinned .process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 4rem; }
  .process.is-pinned .process__viewport { padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .process.is-pinned .process__track { display: flex; gap: 1.5rem; width: max-content; }
  .process.is-pinned .pstep { width: clamp(22rem, 30vw, 30rem); min-height: 26rem; }
}

/* ---- Portfolio showcase wall ---- */
.showcase { overflow: hidden; }
.showcase__grid { display: grid; gap: 3rem; align-items: center; }
.showcase__wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem); }
.showcase__item:nth-child(even) { margin-top: 2.5rem; }
@media (max-width: 40rem) { .showcase__wall { grid-template-columns: repeat(3, 1fr); } .showcase__item:nth-child(n+7) { display: none; } }
@media (min-width: 64rem) { .showcase__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; } }

/* ---- Reviews ---- */
.reviews { overflow: hidden; }
.reviews__grid { display: grid; gap: 3rem; align-items: start; }
.reviews__score .h2 { margin-bottom: 2rem; }
.score { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.score__num { font-family: var(--serif); font-weight: 400; font-size: clamp(4.5rem, 3.5rem + 4vw, 7rem); line-height: 0.85; color: #fff; letter-spacing: -0.04em; }
.score__meta { margin-top: 0.5rem; color: var(--silver-2); font-size: 0.95rem; }
.score__meta span { color: var(--silver-3); font-size: 0.85rem; }
.tp-box { margin-top: 2rem; }
.reviews__list { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.rcard {
  position: relative; display: grid; gap: 0.9rem; align-content: start; padding: 1.5rem;
  border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(233,236,242,0.12); color: var(--silver-2);
  transition: border-color 0.25s, transform 0.25s;
}
.rcard:hover { border-color: rgba(255,153,70,0.6); transform: translateY(-4px); }
.rcard__stars { color: var(--orange); font-size: 1.15rem; letter-spacing: 0.1em; }
.rcard__stars span { color: rgba(233,236,242,0.25); }
.rcard__title { font-family: var(--serif); font-size: 1.15rem; color: var(--silver); line-height: 1.3; }
.rcard__who { display: flex; align-items: center; gap: 0.8rem; }
.rcard__who strong { display: block; color: var(--silver); font-weight: 650; }
.rcard__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: var(--navy); font-weight: 800; }
.rcard__meta { font-size: 0.8rem; color: var(--silver-3); }
.rcard__link { font-size: 0.875rem; font-weight: 650; color: var(--orange-2); text-decoration: none; }
.rcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rcard__link:hover { color: #fff; }
@media (min-width: 64rem) { .reviews__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; } .reviews__score { position: sticky; top: 2rem; } }

/* ---- Big FAQ ---- */
.faq--big summary { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); padding-block: 1.4rem; }
.faq--big summary::after { top: 1.45rem; }

/* ---- Notes (about page) ---- */
.notes__list { list-style: none; padding: 0; counter-reset: note; display: grid; gap: 1.75rem; }
.notes__list li { counter-increment: note; position: relative; padding-left: 2.75rem; color: var(--ink-2); }
.notes__list li::before { content: counter(note, decimal-leading-zero); position: absolute; left: 0; top: 0.2rem; font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--orange-ink); }
.notes__list strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 550; margin-bottom: 0.2rem; }

/* ---- Closing CTA ---- */
.cta { padding-block: 0 var(--space); background: var(--paper); }
.page-home .cta, .cta:first-child { padding-top: 0; }
.cta__panel {
  position: relative; overflow: hidden; display: grid; gap: 2.5rem; align-items: end;
  padding: clamp(2.25rem, 1.5rem + 4vw, 5rem); border-radius: 28px;
  background: linear-gradient(120deg, var(--orange) 0%, #ff7a1f 45%, var(--orange-2) 100%);
  color: var(--navy);
}
.cta__panel::before { content: ""; position: absolute; right: -8rem; top: -8rem; width: 28rem; height: 28rem; border-radius: 50%; border: 1px solid rgba(11,16,34,0.18); box-shadow: 0 0 0 3rem rgba(255,255,255,0.06), 0 0 0 6rem rgba(255,255,255,0.04); pointer-events: none; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 1.4rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; }
.cta__text { margin: 1.4rem 0 2rem; max-width: 32rem; font-size: 1.08rem; font-weight: 500; }
.cta__contact { position: relative; display: grid; gap: 1.1rem; }
.cta__contact dt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.cta__contact dd { margin: 0.15rem 0 0; font-weight: 700; font-size: 1.05rem; }
.cta__contact a { text-decoration: none; border-bottom: 2px solid rgba(11,16,34,0.35); }
.cta__contact a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.cta :focus-visible { outline-color: var(--navy); }
@media (min-width: 60rem) { .cta__panel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.page-head + .cta, .section.cloth + .cta { padding-top: var(--space); }


/* ---- Colophon (footer) ---- */
.colophon { background-color: var(--night); padding-block: 4.5rem 2.5rem; font-size: 0.9375rem; border-top: 4px solid var(--orange); }
.colophon a { color: var(--silver); }
.colophon__logo { display: inline-block; }
.colophon__grid { display: grid; gap: 2.75rem; }
.colophon__lede { margin-top: 1.25rem; max-width: 22rem; color: var(--silver-2); }
.colophon__contact { font-style: normal; display: grid; gap: 0.6rem; margin-top: 1.75rem; justify-items: start; color: var(--silver-2); }
.colophon__h { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 1rem; font-weight: 400; }
.colophon__h:not(:first-child) { margin-top: 1.75rem; }
.colophon__nav ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.colophon__nav a { text-decoration: none; }
.colophon__nav a:hover { text-decoration: underline; }
.colophon__base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(233,236,242,0.12); display: grid; gap: 0.5rem; font-size: 0.8125rem; color: var(--silver-3); }
@media (min-width: 52rem) { .colophon__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 3rem; } }

/* ---- Page heads (dark) ---- */
.page-head { position: relative; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 3.5vw, 5.5rem); background-image: radial-gradient(50rem 26rem at 90% -10%, rgba(255,98,0,0.16), transparent 62%), var(--cloth-weave); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-2) 35%, transparent 80%); }
.page-head .lede, .page-head__intro { margin-top: 1.75rem; }
.page-head__intro { display: grid; gap: 1rem; max-width: 42rem; }
.page-head__intro p:not(.lede) { color: var(--silver-2); }
.page-head .prose { margin-top: 1.75rem; }
.page-head .prose p { color: var(--silver-2); }
.page-head .link-arrow { color: var(--silver); }
.page-head__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .page-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }

.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: 0.875rem; color: var(--silver-3); margin-bottom: 2rem; }
.crumbs a { color: var(--silver-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--silver-3); }

/* ---- Proof sheet (Editing page) ---- */
.proof { --crop: var(--silver-3); --o: 14px; }
.proof__sheet {
  position: relative; padding: var(--o);
  background:
    linear-gradient(var(--crop), var(--crop)) 0 var(--o) / 9px 1px no-repeat,
    linear-gradient(var(--crop), var(--crop)) var(--o) 0 / 1px 9px no-repeat,
    linear-gradient(var(--crop), var(--crop)) 100% var(--o) / 9px 1px no-repeat,
    linear-gradient(var(--crop), var(--crop)) calc(100% - var(--o)) 0 / 1px 9px no-repeat,
    linear-gradient(var(--crop), var(--crop)) 0 calc(100% - var(--o)) / 9px 1px no-repeat,
    linear-gradient(var(--crop), var(--crop)) var(--o) 100% / 1px 9px no-repeat,
    linear-gradient(var(--crop), var(--crop)) 100% calc(100% - var(--o)) / 9px 1px no-repeat,
    linear-gradient(var(--crop), var(--crop)) calc(100% - var(--o)) 100% / 1px 9px no-repeat;
}
.proof__runhead, .proof__page { background: var(--white); color: var(--ink); }
.proof__runhead { display: flex; justify-content: space-between; padding: 1.4rem 1.6rem 0; font-family: var(--serif); font-style: italic; font-size: 0.875rem; color: var(--ink-3); }
.proof__page { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; gap: 1.1rem; padding: 0.9rem 1.2rem 2rem 1.6rem; box-shadow: 0 30px 50px -24px rgba(0,0,0,0.7); }
.proof__body { font-family: var(--serif); font-size: 1.02rem; line-height: 2.1; hyphens: auto; -webkit-hyphens: auto; }
.proof__body::first-line { font-variant-caps: small-caps; letter-spacing: 0.03em; }
.proof del { text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; color: var(--ink-3); }
.proof ins { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; color: var(--orange-ink); font-style: italic; }
.proof ins::before { content: "‸"; font-style: normal; margin-right: 0.05em; }
.proof .q { font-family: var(--mono); font-size: 0.8rem; color: var(--orange-ink); font-weight: 500; margin-left: 0.1em; }
.proof__margin { list-style: none; padding: 0.35rem 0 0 0.9rem; counter-reset: q; border-left: 1.5px solid var(--orange); font-family: var(--mono); font-size: 0.8rem; line-height: 1.35; color: var(--orange-ink); }
.proof__margin li { counter-increment: q; margin-bottom: 1.1rem; }
.proof__margin li::before { content: counter(q) " "; font-weight: 500; }
.proof__caption { margin-top: 0.9rem; padding-inline: var(--o); font-size: 0.875rem; color: var(--silver-2); max-width: 34rem; }
.proof__caption .mono { color: var(--orange-2); margin-right: 0.35rem; text-transform: uppercase; }
@media (max-width: 30rem) {
  .proof__page { grid-template-columns: minmax(0, 1fr); padding-inline: 1.2rem; }
  .proof__margin { border-left: 0; border-top: 1.5px solid var(--orange); padding: 0.75rem 0 0; columns: 2; }
}

/* ---- Contents list (services index) ---- */
.contents { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.contents__item { border-bottom: 1px solid var(--rule); }
.contents__link { display: grid; grid-template-columns: 3.5rem minmax(0, auto) minmax(2rem, 1fr) auto; align-items: baseline; column-gap: 0.85rem; padding: 1.4rem 0; text-decoration: none; }
.contents__n { font-family: var(--mono); font-size: 0.875rem; color: var(--orange-ink); font-weight: 500; }
.contents__name { font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.3rem); line-height: 1.15; letter-spacing: -0.012em; }
.contents__leader { border-bottom: 2px dotted var(--rule); transform: translateY(-0.3em); transition: border-color 0.15s; }
.contents__note { font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; }
.contents__note::after { content: "→"; display: inline-block; margin-left: 0.6rem; color: var(--orange-ink); transition: transform 0.15s; }
.contents__link:hover { color: var(--ink); }
.contents__link:hover .contents__name { color: var(--orange-ink); }
.contents__link:hover .contents__leader { border-bottom-color: var(--orange); }
.contents__link:hover .contents__note::after { transform: translateX(4px); }
.contents__summary { margin: -0.6rem 0 1.4rem 4.35rem; max-width: 44rem; color: var(--ink-2); font-size: 0.9875rem; }
@media (max-width: 44rem) {
  .contents__link { grid-template-columns: 2.5rem minmax(0, 1fr); row-gap: 0.25rem; }
  .contents__leader { display: none; }
  .contents__note { grid-column: 2; white-space: normal; }
  .contents__summary { margin-left: 3.35rem; }
}

/* ---- Service page: specification sheet ---- */
.spec-layout { display: grid; gap: 3rem; padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--space); }
@media (min-width: 62rem) {
  .spec-layout { grid-template-columns: 19.5rem minmax(0, 1fr); gap: 5rem; align-items: start; }
  .spec { position: sticky; top: 1.5rem; }
}
.spec__card, .contact-card { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--orange); border-radius: var(--radius); box-shadow: 0 24px 40px -30px rgba(11,16,34,0.45); }
.spec__title { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding: 1rem 1.1rem 0.25rem; }
.spec__list { padding: 0.25rem 1.1rem 1rem; }
.spec__list > div { padding: 0.7rem 0; border-bottom: 1px dotted var(--rule); }
.spec__list dt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.spec__list dd { margin: 0.15rem 0 0; font-weight: 600; }
.spec__card .btn { margin: 0.25rem 1.1rem 1.1rem; width: calc(100% - 2.2rem); }

.spec-body { display: grid; gap: clamp(3rem, 2.5rem + 2vw, 4.5rem); max-width: 46rem; }
.spec-body .h3 { margin-bottom: 1.25rem; padding-bottom: 0.65rem; border-bottom: 2px solid var(--ink); }

.ticks, .receive { list-style: none; padding: 0; display: grid; gap: 0.8rem; }
.ticks li, .receive li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 1rem; height: 2px; background: var(--orange); }
.receive li::before { content: ""; position: absolute; left: 0.1rem; top: 0.35em; width: 0.8rem; height: 1.05rem; border-radius: 1px 2px 2px 1px; background: linear-gradient(90deg, var(--navy) 22%, var(--orange) 22%); }

.includes__row { display: grid; gap: 0.25rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.includes__row:first-child { padding-top: 0; }
.includes dt { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.includes dd { margin: 0; color: var(--ink-2); }
@media (min-width: 40rem) { .includes__row { grid-template-columns: 12rem minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); color: var(--ink-2); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--orange-ink); padding-top: 0.2rem; }
.steps strong { color: var(--ink); font-weight: 650; }

.limits { background: var(--navy); background-image: var(--cloth-weave); color: var(--silver-2); padding: 2rem 2rem 2rem 1.75rem; border-left: 4px solid var(--orange); border-radius: var(--radius); }
.limits .h3 { color: var(--silver); border-bottom-color: rgba(233,236,242,0.2) !important; }
.limits ul { padding-left: 1.1rem; display: grid; gap: 0.75rem; }
.limits li::marker { color: var(--orange-2); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.15rem 2.75rem 1.15rem 0; font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.95rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--navy); color: var(--orange-2); }
.faq summary:hover { color: var(--orange-ink); }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 40rem; }

.related { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.related a { display: inline-flex; gap: 0.6rem; align-items: baseline; padding: 0.75rem 1.1rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: border-color 0.15s, transform 0.15s; }
.related a:hover { border-color: var(--orange); color: var(--ink); transform: translateY(-2px); }
.related .mono { color: var(--orange-ink); }

/* ---- Services index guide ---- */
.guide { display: grid; border-top: 2px solid var(--ink); }
.guide dt { font-family: var(--serif); font-style: italic; font-size: 1.1rem; padding-top: 1rem; }
.guide dd { margin: 0.2rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); font-weight: 600; }

/* ---- Process ---- */
.signatures { list-style: none; padding: 0; }
.signature { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid var(--rule); max-width: 58rem; }
.signature:first-child { border-top: 2px solid var(--ink); }
.signature__n { font-family: var(--serif); font-size: clamp(3.2rem, 2.5rem + 2vw, 4.75rem); line-height: 0.85; color: var(--orange); font-weight: 350; }
.signature .h3 { margin-bottom: 0.6rem; }
.signature p:not(.signature__n) { color: var(--ink-2); max-width: 40rem; }
@media (min-width: 48rem) { .signature { grid-template-columns: 8rem minmax(0, 1fr); } }
.principles { display: grid; border-top: 2px solid var(--ink); }
.principles dt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; padding-top: 1.1rem; }
.principles dd { margin: 0.3rem 0 0; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); }

/* ---- About: ledger ---- */
.ledger { border-top: 2px solid var(--ink); }
.ledger > div { display: grid; gap: 0.2rem 2rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.ledger dt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.2rem; }
.ledger dd { margin: 0; font-weight: 600; }
.ledger__note { margin-top: 1.25rem; color: var(--ink-2); max-width: 40rem; }
@media (min-width: 40rem) { .ledger > div { grid-template-columns: 10rem minmax(0, 1fr); } }
.inline-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.4rem 0; }
.inline-list li { margin: 0 !important; }
.inline-list li:not(:last-child)::after { content: "·"; margin: 0 0.6rem; color: var(--orange); font-weight: 700; }

/* ---- Portfolio ---- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.75rem; }
.filter { font: 600 0.9375rem var(--sans); padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; gap: 0.5rem; align-items: center; }
.filter span { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--silver); }
.filter[aria-pressed="true"] span { color: var(--orange-2); }
.library { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 3rem clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.library__book .book__cover { transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s; transform-origin: left center; }
@media (hover: hover) {
  .library__book:hover .book__cover { transform: perspective(900px) rotateY(-10deg); box-shadow: 0 1px 1px rgba(0,0,0,0.25), 16px 30px 44px -18px rgba(0,0,0,0.6); }
}
.library__note { margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); color: var(--ink-2); }
.library__note a { font-weight: 650; }

/* ---- Contact / quote form ---- */
.form-layout { display: grid; gap: 3rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--space); }
@media (min-width: 62rem) {
  .form-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 5rem; align-items: start; }
  .contact-card { position: sticky; top: 1.5rem; }
}
.form-panel { max-width: 44rem; }
.form { display: grid; gap: 2.5rem; }
.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 1.4rem; min-width: 0; }
.form__group legend { font-family: var(--serif); font-size: 1.55rem; padding: 0 0 0.65rem; margin-bottom: 1.2rem; width: 100%; border-bottom: 2px solid var(--ink); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; }
.req, .opt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; margin-left: 0.4rem; }
.req { color: var(--orange-ink); }
.opt { color: var(--ink-3); }
.field__hint { font-size: 0.9rem; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #a9a397; border-radius: var(--radius); padding: 0.8rem 0.9rem; min-height: 3.1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 10rem; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--orange); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); border-width: 2px; background: #fff6f6; }
.field__error { color: var(--error); font-weight: 650; font-size: 0.9375rem; display: flex; gap: 0.4rem; }
.field__error::before { content: "✕"; font-size: 0.8em; padding-top: 0.15em; }
.field--check { grid-template-columns: 1.5rem minmax(0, 1fr); align-items: start; column-gap: 0.75rem; }
.field--check input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--orange); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.form__submit { display: grid; gap: 1rem; justify-items: start; }
.form__small { font-size: 0.875rem; color: var(--ink-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1.3rem 1.5rem; margin-bottom: 2rem; border-left: 4px solid var(--error); background: #fdecec; border-radius: var(--radius); }
.alert:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.alert__title { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.alert ul { padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.alert a { color: var(--ink); font-weight: 600; }
.contact-card .spec__list dd { word-break: break-word; }
.contact-card__note { padding: 0 1.1rem 1.1rem; font-size: 0.875rem; color: var(--ink-2); }

/* ---- Legal pages ---- */
.legal { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--space); }
.legal__toc ol { list-style: none; padding: 1rem 0 0; border-top: 2px solid var(--ink); counter-reset: toc; display: grid; gap: 0.45rem; font-size: 0.9375rem; }
.legal__toc li { counter-increment: toc; }
.legal__toc li::before { content: counter(toc) "."; font-family: var(--mono); font-size: 0.8rem; color: var(--orange-ink); display: inline-block; width: 1.75rem; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__body h2:first-child { margin-top: 0; }
@media (min-width: 62rem) {
  .legal { grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; align-items: start; }
  .legal__toc { position: sticky; top: 1.5rem; }
}
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-block: 1rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--rule); }
.table th { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
@media (max-width: 36rem) {
  .table thead { display: none; }
  .table tr { display: grid; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
  .table td { border: 0; padding: 0.15rem 0; }
}

/* ---- Motion & print ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead nav, .nav-toggle, .endpaper, .colophon__nav, .skip-link { display: none !important; }
  body, .cloth, .page-head, .masthead, .colophon { background: #fff !important; color: #000 !important; }
  .foil, .page-head .display { -webkit-text-fill-color: #000; color: #000; background: none; }
}

/* ---- Portfolio cards: what we did ---- */
.library { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)) !important; gap: 3.5rem 2rem !important; }
.book__genre { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); }
.library .book__title { font-size: 1.2rem; }
.library .book__author { font-size: 0.95rem; }
.book__did { display: grid; gap: 0.45rem; margin-top: 0.85rem; padding-top: 0.8rem; border-top: 1px solid var(--rule); }
.book__did-label { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.book__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--navy); color: var(--silver); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.chip:hover { background: var(--orange); color: var(--navy); }
.book__work { font-size: 0.95rem; color: var(--ink-2); }
.book__did .ph { justify-self: start; }

/* ---- Service guide article ---- */
.guide-article .prose { max-width: 44rem; }
.guide-article .prose h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; margin-top: 2rem; }
.guide-article .prose h3:first-child { margin-top: 0; }
.guide-article .prose p { color: var(--ink-2); }

/* ---- Portfolio: cover and details side by side ---- */
.library { grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)) !important; gap: 1.5rem !important; }
.library .book {
  display: grid; grid-template-columns: minmax(7.5rem, 40%) minmax(0, 1fr); gap: clamp(1rem, 0.8rem + 1vw, 1.75rem); align-items: start;
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); background: var(--white);
  border: 1px solid var(--rule); border-radius: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.library .book:hover { border-color: rgba(255,98,0,0.55); box-shadow: 0 26px 50px -30px rgba(11,16,34,0.45); }
.library .book__caption { margin-top: 0; align-self: stretch; align-content: start; }
.library .book__title { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem); }
.library .book__did { margin-top: 1rem; }
.library .book:hover .book__cover { transform: none; }
@media (max-width: 30rem) { .library .book { grid-template-columns: 7rem minmax(0, 1fr); } }

/* ---- Contact page: compact two-column form ---- */
.page-head--contact { padding-bottom: clamp(6rem, 5rem + 4vw, 9rem); }
.contact { position: relative; display: grid; gap: 1.5rem; margin-top: clamp(-6rem, -4rem - 3vw, -4rem); padding-bottom: var(--space); }
@media (min-width: 64rem) { .contact { grid-template-columns: minmax(0, 1fr) 22rem; gap: 2rem; align-items: start; } .contact__side { position: sticky; top: 1.5rem; } }
.contact__form {
  background: var(--white); border-radius: 24px; border: 1px solid var(--rule);
  border-top: 5px solid var(--orange);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  box-shadow: 0 40px 80px -48px rgba(11,16,34,0.55);
}
.contact__title { font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); line-height: 1.1; letter-spacing: -0.015em; }
.contact__intro { margin: 0.5rem 0 1.75rem; color: var(--ink-2); font-size: 0.95rem; }
.contact__intro .req { margin-left: 0; }
.qform__grid { display: grid; gap: 1.25rem 1.25rem; }
@media (min-width: 40rem) { .qform__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.qform .field label { font-size: 0.98rem; }
.qform .field input[type="text"], .qform .field input[type="email"], .qform .field input[type="tel"], .qform .field select, .qform .field textarea {
  background: var(--paper); border-color: #cfc8ba; border-radius: 10px;
}
.qform .field input:hover, .qform .field select:hover, .qform .field textarea:hover { border-color: var(--ink-3); }
.qform .field input:focus-visible, .qform .field select:focus-visible, .qform .field textarea:focus-visible { background: #fff; }
.qform .field textarea { min-height: 8.5rem; }
.qform__foot { display: grid; gap: 1.25rem; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
@media (min-width: 48rem) { .qform__foot { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; } }
.qform__foot .field--check label { font-size: 0.95rem; color: var(--ink-2); }

.contact__side { border-radius: 24px; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); background-image: radial-gradient(24rem 16rem at 100% 0%, rgba(255,98,0,0.22), transparent 70%), var(--cloth-weave); }
.contact__side-title { font-family: var(--serif); font-size: 1.7rem; color: #fff; margin-bottom: 1.25rem; }
.contact__lines { list-style: none; padding: 0; display: grid; gap: 1rem; }
.contact__lines li { display: grid; gap: 0.15rem; }
.contact__lines a { color: #fff; font-weight: 650; text-decoration: none; word-break: break-word; }
.contact__lines a:hover { color: var(--orange-2); }
.contact__lines span:not(.contact__k) { color: var(--silver-2); font-size: 0.95rem; }
.contact__k { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-2); }
.contact__side-sub { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin: 2rem 0 0.9rem; padding-top: 1.5rem; border-top: 1px solid rgba(233,236,242,0.15); }
.contact__steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 0.75rem; }
.contact__steps li { counter-increment: s; display: grid; grid-template-columns: 1.9rem 1fr; gap: 0.5rem; color: var(--silver-2); font-size: 0.95rem; }
.contact__steps li::before { content: counter(s); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 0.85rem; }
.contact__tp { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.75rem; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(233,236,242,0.15); color: var(--silver-2); text-decoration: none; font-size: 0.9rem; }
.contact__tp strong { color: #fff; }
.contact__tp:hover { border-color: var(--orange-2); color: #fff; }
.contact__legal { margin-top: 1.25rem; font-size: 0.85rem; color: var(--silver-3); }

/* ==========================================================================
   Timeline (home "How it works" + process page)
   ========================================================================== */
.timeline { position: relative; --dot: 3.25rem; }
.timeline__list { list-style: none; padding: 0; display: grid; gap: 2rem; position: relative; }
.timeline__line { position: absolute; left: calc(var(--dot) / 2 - 1px); top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); width: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.cloth .timeline__line { background: rgba(233,236,242,0.16); }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--orange), var(--orange-2)); transform-origin: 0 0; }
.has-motion .timeline__fill { transform: scaleY(0); }
.tstep { position: relative; display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 1.25rem; }
.tstep__dot {
  grid-row: span 2; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--paper); border: 2px solid var(--orange); color: var(--orange-ink);
  font-family: var(--mono); font-weight: 500; font-size: 0.95rem; position: relative; z-index: 1;
}
.section--band .tstep__dot { background: var(--paper-2); }
.cloth .tstep__dot { background: var(--navy); color: var(--orange-2); box-shadow: 0 0 0 6px rgba(255,98,0,0.12); }
.tstep__t { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); line-height: 1.2; padding-top: 0.6rem; margin-bottom: 0.45rem; }
.tstep__p { color: var(--ink-2); max-width: 32rem; }
.cloth .tstep__t { color: #fff; }
.cloth .tstep__p { color: var(--silver-2); }

@media (min-width: 60rem) {
  .timeline__list { gap: 2rem; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .timeline__line { left: calc(var(--dot) / 2); right: calc(var(--dot) / 2); top: calc(var(--dot) / 2 - 1px); bottom: auto; width: auto; height: 2px; }
  .timeline__fill { transform-origin: 0 50%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
  .has-motion .timeline__fill { transform: scaleX(0); }
  .tstep { grid-template-columns: none; row-gap: 0; }
  .tstep__dot { grid-row: auto; margin-bottom: 1.4rem; }
  .tstep__t { padding-top: 0; }
}
.howto__link { color: var(--silver); }
.howto .section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* Process page principle cards */
.pgrid { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.pcard { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--orange); border-radius: 16px; padding: 1.6rem; }
.pcard h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.5rem; }
.pcard p { color: var(--ink-2); }

/* ==========================================================================
   Reviews: score, video testimonials, written review chips
   ========================================================================== */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.reviews__head .h2 { max-width: 16ch; }
.reviews .score { display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 1rem 1.4rem; border-radius: 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(233,236,242,0.14); text-decoration: none; color: var(--silver-2); transition: border-color 0.2s; }
.reviews .score:hover { border-color: var(--orange-2); color: var(--silver-2); }
.reviews .score__num { font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); }
.score__side { display: grid; gap: 0.35rem; }
.reviews .score__meta { margin: 0; font-size: 0.9rem; display: grid; }

.videos { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.vcard { margin: 0; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(233,236,242,0.12); }
.vcard__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__play { position: absolute; inset: 0; display: block; cursor: pointer; text-decoration: none; background: radial-gradient(120% 90% at 50% 40%, #1b2444 0%, #0b1022 70%); }
.vcard__hint { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; color: var(--silver-2); font-size: 0.9rem; letter-spacing: 0.02em; }
.vcard__btn { position: absolute; left: 50%; top: 50%; width: 4.25rem; height: 3rem; margin: -1.5rem 0 0 -2.125rem; border-radius: 14px; background: #ff6200; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); transition: transform 0.2s, background 0.2s; }
.vcard__btn::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -0.6rem 0 0 -0.4rem; border-style: solid; border-width: 0.6rem 0 0.6rem 1rem; border-color: transparent transparent transparent #fff; }
.vcard__play:hover .vcard__btn, .vcard__play:focus-visible .vcard__btn { transform: scale(1.08); background: #ff9946; }
.vcard__cap { display: grid; gap: 0.2rem; padding: 1rem 1.2rem 1.2rem; }
.vcard__cap strong { color: #fff; font-size: 1.05rem; }
.vcard__cap span { color: var(--silver-2); font-size: 0.92rem; }

.written { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(233,236,242,0.14); }
.written__title { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 1.25rem; }
.written__list { list-style: none; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.rchip { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(233,236,242,0.12); color: var(--silver-2); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.rchip:hover { border-color: var(--orange-2); transform: translateY(-2px); color: var(--silver-2); }
.rchip__avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: var(--navy); font-weight: 800; }
.rchip__body { display: grid; min-width: 0; flex: 1; }
.rchip__body strong { color: #fff; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rchip__stars { color: var(--orange); font-size: 0.85rem; letter-spacing: 0.08em; line-height: 1.2; }
.rchip__stars span { color: rgba(233,236,242,0.25); }
.rchip__meta { font-size: 0.8rem; color: var(--silver-3); }
.rchip__go { color: var(--orange-2); font-weight: 700; }
.written__more { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; }
.written__more .link-arrow { color: var(--silver); }

/* ==========================================================================
   Compact footer
   ========================================================================== */
.colophon { padding-block: 3.25rem 1.75rem; }
.colophon__top { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.colophon__id { grid-column: 1 / -1; }
.colophon .logo { height: 46px; }
.colophon__lede { margin-top: 0.9rem; max-width: 20rem; font-size: 0.95rem; }
.colophon__nav ul { gap: 0.4rem; }
.colophon__h { margin-bottom: 0.75rem; }
.colophon__contact { margin-top: 0; gap: 0.4rem; font-size: 0.95rem; }
.colophon__contact a { text-decoration: none; font-weight: 600; }
.colophon__social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.9rem; font-size: 0.9rem; }
.colophon__social a { color: var(--silver-2); text-decoration: none; }
.colophon__social a:hover { color: var(--orange-2); }
.colophon__base { margin-top: 2.25rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; }
.colophon__legal-links { list-style: none; padding: 0; display: flex; gap: 1.5rem; }
.colophon__legal-links a { color: var(--silver-2); text-decoration: none; }
.colophon__legal-links a:hover { color: var(--orange-2); text-decoration: underline; }
@media (min-width: 60rem) {
  .colophon__top { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); }
  .colophon__id { grid-column: auto; }
}
.colophon__nav .colophon__social { display: flex; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-head__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .about-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }
.about-covers { position: relative; height: clamp(18rem, 14rem + 12vw, 25rem); }
.about-covers__item { position: absolute; width: clamp(8.5rem, 6rem + 7vw, 12rem); transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.about-covers__item--1 { left: 0; top: 12%; transform: rotate(-8deg); z-index: 1; }
.about-covers__item--2 { left: 50%; top: 0; transform: translateX(-50%) rotate(1deg); z-index: 3; }
.about-covers__item--3 { right: 0; top: 16%; transform: rotate(8deg); z-index: 2; }
@media (hover: hover) {
  .about-covers:hover .about-covers__item--1 { transform: rotate(-12deg) translateX(-8px); }
  .about-covers:hover .about-covers__item--3 { transform: rotate(12deg) translateX(8px); }
}
@media (max-width: 40rem) { .about-covers { height: 16rem; max-width: 22rem; margin-inline: auto; width: 100%; } }

.about-prose p { color: var(--ink-2); font-size: 1.06rem; }
.about-prose p:first-child { color: var(--ink); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem); line-height: 1.55; }

/* Service cards */
.svc-grid { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.svc { position: relative; display: grid; gap: 0.4rem; align-content: start; min-height: 11.5rem; padding: 1.5rem; border-radius: 16px; background: var(--white); border: 1px solid var(--rule); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.svc:hover { border-color: rgba(255,98,0,0.6); transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(11,16,34,0.45); }
.svc__n { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--orange-ink); }
.svc__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.svc__link { text-decoration: none; color: inherit; }
.svc__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc__link:hover { color: inherit; }
.svc__link:focus-visible { outline: none; }
.svc:has(.svc__link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.svc__note { color: var(--ink-2); font-size: 0.95rem; }
.svc__go { position: absolute; right: 1.25rem; bottom: 1.1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 800; transition: transform 0.2s; }
.svc:hover .svc__go { transform: translateX(3px); }

.pgrid--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* Business details identity card */
.about-details__note { margin-top: 1.25rem; color: var(--silver-2); max-width: 28rem; }
.about-tp { display: inline-flex; margin-top: 1.75rem; }
.idcard { background: rgba(255,255,255,0.05); border: 1px solid rgba(233,236,242,0.14); border-top: 4px solid var(--orange); border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.idcard__list > div { display: grid; gap: 0.2rem 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(233,236,242,0.12); }
.idcard__list > div:first-child { padding-top: 0; }
.idcard__list dt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-2); padding-top: 0.15rem; }
.idcard__list dd { margin: 0; color: #fff; font-weight: 600; }
.idcard__list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,153,70,0.5); }
.idcard__list a:hover { color: var(--orange-2); }
.idcard__note { margin-top: 1.25rem; color: var(--silver-2); font-size: 0.95rem; }
@media (min-width: 40rem) { .idcard__list > div { grid-template-columns: 9rem minmax(0, 1fr); } }
.svc { padding-bottom: 3.75rem; }

/* ==========================================================================
   Sign-up pop-up (native <dialog>)
   ========================================================================== */
.popup {
  width: min(56rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0;
  border-radius: 24px; overflow: hidden; background: var(--white); color: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.6);
}
.popup::backdrop { background: rgba(7,10,20,0.72); backdrop-filter: blur(3px); }
.popup[open] { animation: popup-in 0.35s cubic-bezier(.2,.7,.2,1); }
@keyframes popup-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.popup__inner { display: grid; max-height: calc(100vh - 2rem); overflow: auto; }
.popup__media { display: none; position: relative; background: var(--navy); }
.popup__media img { width: 100%; height: 100%; object-fit: cover; }
.popup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,16,34,0.55)); }
.popup__body { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-top: 5px solid var(--orange); }
.popup__close-form { position: absolute; top: 0.75rem; right: 0.75rem; margin: 0; }
.popup__close {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper-2); color: var(--ink); font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.popup__close:hover { background: var(--orange); color: var(--navy); }
.popup__title { font-family: var(--serif); font-weight: 450; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.1; letter-spacing: -0.015em; padding-right: 2.5rem; }
.popup__title em { font-style: italic; color: var(--orange-ink); }
.popup__text { margin: 0.75rem 0 1.25rem; color: var(--ink-2); }
.popup__form { display: grid; gap: 0.65rem; }
.popup__form input[type="text"], .popup__form input[type="email"], .popup__form input[type="tel"], .popup__form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid #cfc8ba; border-radius: 10px; padding: 0.75rem 0.9rem; min-height: 3rem;
}
.popup__form textarea { min-height: 5rem; resize: vertical; }
.popup__form input:focus-visible, .popup__form textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--orange); background: #fff; }
.popup__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); margin: 0.2rem 0 0.4rem; }
.popup__consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--orange); flex: none; }
.popup__errors { margin: 0 0 1rem; }
@media (min-width: 48rem) {
  .popup__inner { grid-template-columns: 5fr 6fr; }
  .popup__media { display: block; }
  .popup__body { border-top: 0; border-left: 5px solid var(--orange); }
}
@media (prefers-reduced-motion: reduce) { .popup[open] { animation: none; } }
