/* ============================================================
   QUAZI SUPPLY — site.css
   Industrial spec-sheet editorial.
   Ink + paper + safety yellow. Hairlines, index numbers, mono labels.
   ============================================================ */

:root {
  --ink: #191612;
  --ink-2: #262119;
  --ink-3: #332d23;
  --paper: #f3efe6;
  --paper-2: #eae4d6;
  --paper-3: #e0d9c7;
  --yellow: #f2b705;
  --yellow-deep: #d9a404;
  --line: rgba(25, 22, 18, 0.16);
  --line-strong: rgba(25, 22, 18, 0.55);
  --muted: rgba(25, 22, 18, 0.62);
  --on-dark: #f3efe6;
  --on-dark-muted: rgba(243, 239, 230, 0.6);
  --line-dark: rgba(243, 239, 230, 0.16);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 38rem;
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

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

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--ink);
  font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase;
  padding: 0.75rem 1.25rem; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- type utilities ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dia { color: var(--yellow-deep); }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.on-dark .eyebrow .dia { color: var(--yellow); }

.mono-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.on-dark .yl { color: var(--yellow); }
.yl { color: var(--yellow-deep); }

/* ---------- caution stripe ---------- */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 14px,
    var(--ink) 14px 28px
  );
}
.stripe--thin { height: 5px; }

/* ---------- layout ---------- */
.wrap { max-width: 88rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark ::selection { background: var(--yellow); color: var(--ink); }

/* section header row: index number + rule + title */
.sec-head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec-head .idx {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: var(--yellow-deep); letter-spacing: 0.08em;
}
.on-dark .sec-head .idx { color: var(--yellow); }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); align-self: center; }
.on-dark .sec-head .rule { background: var(--line-dark); }

.sec-title { font-size: clamp(2.6rem, 6.5vw, 5.5rem); max-width: 20ch; }
.sec-title em { font-style: normal; color: var(--yellow-deep); }
.on-dark .sec-title em { color: var(--yellow); }
.sec-kicker { max-width: var(--measure); color: var(--muted); margin-top: 1.25rem; font-size: 1.1rem; }
.on-dark .sec-kicker { color: var(--on-dark-muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .bar {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.25rem;
}
.brand-lockup { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.brand-lockup img { width: 2.1rem; height: 2.1rem; }
.brand-lockup .word {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.35rem; letter-spacing: 0.06em; line-height: 1;
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: var(--on-dark-muted);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 160ms;
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav a[aria-current="page"] { color: var(--on-dark); border-bottom-color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  padding: 0.85rem 1.5rem;
  transition: transform 160ms var(--ease-out), background 160ms, color 160ms, border-color 160ms;
}
.btn:active { transform: scale(0.97); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.on-dark .btn--ghost, .btn--ghost-dark { border-color: var(--line-dark); color: var(--on-dark); }
.on-dark .btn--ghost:hover, .btn--ghost-dark:hover { border-color: var(--on-dark); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.72rem; }

/* open/closed status chip */
.status-chip { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.status-chip .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 0 rgba(76,175,80,0.5); animation: pulse 2.4s infinite; }
.status-chip[data-open="false"] .dot { background: #c0392b; animation: none; box-shadow: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

/* mobile nav */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--ink);
    flex-direction: column; gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav a { padding-block: 0.9rem; border-bottom: 1px solid var(--line-dark); font-size: 0.9rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--yellow); }
  .site-header.nav-open .site-nav { display: flex; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--line-dark);
  }
  .nav-toggle .lines, .nav-toggle .lines::before, .nav-toggle .lines::after {
    content: ""; display: block; width: 1.15rem; height: 2px; background: var(--on-dark);
    position: relative; transition: transform 200ms var(--ease-out), opacity 150ms;
  }
  .nav-toggle .lines::before { position: absolute; top: -6px; }
  .nav-toggle .lines::after { position: absolute; top: 6px; }
  .nav-open .nav-toggle .lines { background: transparent; }
  .nav-open .nav-toggle .lines::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle .lines::after { transform: translateY(-6px) rotate(-45deg); }
  .site-header .btn { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: clip; }
.hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.55) contrast(1.05) brightness(0.42) sepia(0.18);
}
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(25,22,18,0.94) 20%, rgba(25,22,18,0.55) 60%, rgba(25,22,18,0.35));
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 9vw, 7rem); }
.hero h1 {
  font-size: clamp(3.4rem, 10.5vw, 9rem);
  max-width: 11ch;
  color: var(--on-dark);
}
.hero h1 .yl { color: var(--yellow); }
.hero .sub { margin-top: 2rem; max-width: 34rem; color: var(--on-dark-muted); font-size: 1.15rem; }
.hero .addr { margin-top: 2.25rem; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); display: grid; gap: 0.5rem; }
.hero .cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .big-num {
  position: absolute; right: -0.03em; bottom: -0.12em; z-index: 0;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(9rem, 30vw, 26rem);
  line-height: 0.8; color: transparent;
  -webkit-text-stroke: 2px rgba(242, 183, 5, 0.5);
  pointer-events: none; user-select: none;
}

/* hero trust chip */
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.5rem;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-muted); text-decoration: none;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 0.35rem;
  transition: color 160ms, border-color 160ms;
}
.trust-chip .stars { color: var(--yellow); letter-spacing: 0.2em; }
.trust-chip:hover { color: var(--on-dark); border-color: var(--on-dark-muted); }

/* ---------- stat band ---------- */
.stat-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.stat-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line);
  border-inline: 1px solid var(--line);
}
.stat-row span {
  background: var(--paper);
  padding: 1.4rem 1.25rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.stat-row b {
  font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1;
  color: var(--ink); letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row span:last-child { grid-column: 1 / -1; }
}

/* ---------- map embed ---------- */
.map-embed { border: 1px solid var(--line-dark); position: relative; }
.map-embed iframe {
  display: block; width: 100%; height: clamp(18rem, 40vw, 26rem); border: 0;
  filter: grayscale(1) sepia(0.14) contrast(1.04);
}
.map-embed:hover iframe { filter: none; }

/* ---------- mobile sticky action bar ---------- */
.action-bar { display: none; }
@media (max-width: 768px) {
  .action-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
  }
  .action-bar a {
    display: grid; place-items: center;
    padding: 1rem 0.5rem;
    font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  }
  .action-bar a:first-child { background: var(--yellow); color: var(--ink); }
  .action-bar a:last-child { background: var(--ink); color: var(--on-dark); }
  body { padding-bottom: 3.4rem; }
}

/* form reassurance note */
.form-note {
  margin-top: 1rem; max-width: 34rem;
  font-size: 0.9rem; color: var(--muted);
}
.form-note a { color: var(--ink); }

/* ---------- ticker ---------- */
.ticker { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.ticker .track {
  display: flex; width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .track { animation-play-state: paused; }
.ticker .set { display: flex; align-items: center; padding-block: 0.8rem; }
.ticker .set span {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: 0.05em; white-space: nowrap;
}
.ticker .set i { font-style: normal; margin-inline: 1.4rem; font-size: 0.8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- photo cards ---------- */
.photo-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.photo-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 700ms var(--ease-out), opacity 400ms; opacity: 0.92; }
.photo-card:hover img { transform: scale(1.04); opacity: 1; }
.photo-card figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(transparent, rgba(25,22,18,0.9));
  color: var(--on-dark);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- spec table (brand index, notes index) ---------- */
.spec-table { border-top: 1px solid var(--line); }
.spec-row {
  display: grid; grid-template-columns: 3.5rem 1fr auto auto;
  align-items: baseline; gap: 1.25rem;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 150ms, padding-left 200ms var(--ease-out);
}
.spec-row:hover { background: var(--paper-2); padding-left: 0.9rem; }
.spec-row .no { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.spec-row .name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1; }
.spec-row .meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.spec-row .arr { font-family: var(--mono); color: var(--yellow-deep); transition: transform 200ms var(--ease-out); }
.spec-row:hover .arr { transform: translateX(4px); }
.spec-row .desc { grid-column: 2 / -1; color: var(--muted); font-size: 0.95rem; max-width: 46rem; }
@media (max-width: 700px) {
  .spec-row { grid-template-columns: 2.5rem 1fr auto; }
  .spec-row .meta { display: none; }
}
.on-dark .spec-table { border-color: var(--line-dark); }
.on-dark .spec-row { border-color: var(--line-dark); }
.on-dark .spec-row:hover { background: var(--ink-2); }
.on-dark .spec-row .no, .on-dark .spec-row .meta, .on-dark .spec-row .desc { color: var(--on-dark-muted); }
.on-dark .spec-row .arr { color: var(--yellow); }

/* ---------- offer cards (crews) ---------- */
.offer-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .offer-grid { grid-template-columns: 1fr; } }
.offer { background: var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; transition: background 200ms; }
.offer:hover { background: var(--ink-2); }
.offer .no { font-family: var(--mono); font-size: 0.72rem; color: var(--yellow); letter-spacing: 0.18em; }
.offer h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 0.95; }
.offer p { color: var(--on-dark-muted); font-size: 0.98rem; }

/* light variant */
.offer-grid--light { background: var(--line); border-color: var(--line); }
.offer-grid--light .offer { background: var(--paper); }
.offer-grid--light .offer:hover { background: var(--paper-2); }
.offer-grid--light .offer .no { color: var(--yellow-deep); }
.offer-grid--light .offer p { color: var(--muted); }

/* ---------- split section ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .media { position: relative; }
.split .media img { border: 1px solid var(--line); width: 100%; object-fit: cover; }
.split .media .tag {
  position: absolute; top: 1rem; left: -0.5rem;
  background: var(--yellow); color: var(--ink);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.45rem 0.9rem;
}

/* ---------- reviews ---------- */
.review-marquee { overflow: hidden; }
.review-track { display: flex; gap: 1.5rem; width: max-content; animation: ticker 80s linear infinite; padding-block: 0.5rem; }
.review-marquee:hover .review-track { animation-play-state: paused; }
.review-card {
  width: clamp(18rem, 24vw, 24rem); flex-shrink: 0;
  border: 1px solid var(--line); background: var(--paper);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem;
}
.review-card .stars { color: var(--yellow-deep); font-size: 0.85rem; letter-spacing: 0.2em; }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; flex: 1; }
.review-card cite { font-family: var(--mono); font-style: normal; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.review-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }

/* ---------- story timeline ---------- */
.timeline { position: relative; max-width: 44rem; padding-left: 2.25rem; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.timeline::before {
  content: ""; position: absolute; left: 0.42rem; top: 0.6rem; bottom: 0.6rem;
  width: 1px; background: var(--line-strong);
}
.tl-item { position: relative; }
.tl-marker {
  position: absolute; left: -2.25rem; top: 0.15rem;
  width: 1rem; text-align: center;
  color: var(--yellow-deep); font-size: 0.8rem; line-height: 1;
  background: var(--paper); padding-block: 0.3rem;
}
.tl-label { color: var(--muted); }
.tl-item h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 0.95;
  margin-block: 0.4rem 0.6rem;
}
.tl-item p { max-width: var(--measure); color: var(--muted); font-size: 1rem; }

/* pull quote */
.pull-quote { text-align: center; padding-block: clamp(4rem, 8vw, 7rem); }
.pull-quote blockquote { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 0.95; margin: 0; max-width: 18ch; margin-inline: auto; }
.pull-quote blockquote .yl { color: var(--yellow); }
.pull-quote figcaption { margin-top: 1.75rem; }

/* ---------- article (notes post, brand page) ---------- */
.article-hero { padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.article-hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); max-width: 16ch; }
.article-hero .lede { margin-top: 1.5rem; font-size: 1.2rem; color: var(--muted); max-width: var(--measure); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--muted); margin-bottom: 2rem; transition: color 150ms; }
.back-link:hover { color: var(--ink); }
.on-dark .back-link:hover { color: var(--on-dark); }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.2em; }
.prose ul { list-style: none; margin-top: 1.2em; }
.prose li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); padding-left: 1.4rem; position: relative; }
.prose li::before { content: "◆"; position: absolute; left: 0; color: var(--yellow-deep); font-size: 0.7rem; top: 0.95rem; }

.article-img { border: 1px solid var(--line); }
figure.framed figcaption { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.75rem; }

/* numbered article sections (brand/service pages) */
.num-sections { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.num-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.25rem, 4vw, 4rem); border-top: 1px solid var(--line); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 700px) { .num-section { grid-template-columns: 1fr; gap: 1rem; } }
.num-section .head .no { font-family: var(--mono); font-size: 0.75rem; color: var(--yellow-deep); letter-spacing: 0.18em; }
.num-section .head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 0.95; margin-top: 0.5rem; }

/* ---------- FAQ ---------- */
.faq-group { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group .group-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.faq-group .group-head .no { font-family: var(--mono); font-size: 0.75rem; color: var(--yellow-deep); letter-spacing: 0.18em; }
.faq-group h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.faq-group .count { margin-left: auto; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.1rem 0.25rem;
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem;
  transition: background 150ms;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { background: var(--paper-2); }
details.qa summary .plus { margin-left: auto; font-family: var(--mono); color: var(--yellow-deep); transition: transform 250ms var(--ease-out); flex-shrink: 0; }
details.qa[open] summary .plus { transform: rotate(45deg); }
details.qa .a { padding: 0 0.25rem 1.5rem; max-width: var(--measure); color: var(--muted); }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 1.75rem; max-width: 46rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.6rem; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; font-family: var(--serif); font-size: 1rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 0;
  padding: 0.85rem 1rem;
  transition: border-color 150ms, box-shadow 150ms;
  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% - 1.3rem) 55%, calc(100% - 1rem) 55%;
  background-size: 0.3rem 0.3rem; background-repeat: no-repeat;
}
.field :focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.6rem; }
.check {
  display: flex; align-items: center; gap: 0.65rem;
  border: 1px solid var(--line); padding: 0.7rem 0.9rem;
  font-family: var(--mono); font-size: 0.78rem; cursor: pointer;
  transition: background 150ms, border-color 150ms;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.check:hover { border-color: var(--line-strong); }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 0.95rem; height: 0.95rem; margin: 0; flex-shrink: 0;
  border: 1px solid var(--line-strong); background: var(--paper);
  display: inline-grid; place-items: center;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: "◆"; color: var(--yellow); font-size: 0.5rem; line-height: 1; }
.check:has(input:checked) { background: var(--yellow); border-color: var(--ink); }
.hp { position: absolute; left: -9999px; }

/* ---------- mockup builder ---------- */
.mock-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) { .mock-grid { grid-template-columns: 1fr; } }
.mock-stage {
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: var(--paper-2);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  position: sticky; top: 5.5rem;
}
@media (max-width: 900px) { .mock-stage { position: static; } }
#mockup-canvas {
  display: block; width: 100%; height: auto; aspect-ratio: 400 / 480;
  touch-action: none; cursor: grab;
}
#mockup-canvas:active { cursor: grabbing; }
.mock-hint { color: var(--muted); padding-top: 0.75rem; }
.mock-editing { color: var(--muted); padding-bottom: 0.75rem; }
.mock-editing b { color: var(--yellow-deep); font-weight: 600; }
.mock-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.mock-panel { display: grid; gap: 1.75rem; }
.mock-field { display: grid; gap: 0.7rem; }
.mock-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}
.mock-label em { font-style: normal; color: var(--muted); letter-spacing: 0.08em; text-transform: none; }
.step-no {
  display: inline-grid; place-items: center;
  width: 1.35rem; height: 1.35rem; margin-right: 0.35rem;
  background: var(--yellow); color: var(--ink);
  font-family: var(--display); font-size: 0.85rem; font-weight: 800;
  vertical-align: middle;
}
.how-steps { display: grid; gap: 0.6rem; margin-top: 1.75rem; max-width: 34rem; }
.how-steps span {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--muted); display: flex; align-items: baseline; gap: 0.6rem;
}
.how-steps b {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 1.35rem; height: 1.35rem;
  background: var(--yellow); color: var(--ink);
  font-family: var(--display); font-size: 0.85rem; font-weight: 800;
}

.seg { display: flex; border: 1px solid var(--line-strong); width: max-content; max-width: 100%; }
.seg button {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.1rem; border-right: 1px solid var(--line-strong);
  transition: background 140ms, color 140ms;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--paper-2); }
.seg button.on { background: var(--ink); color: var(--paper); }
.seg button.used { position: relative; }
.seg button.used::after {
  content: "◆"; position: absolute; top: 2px; right: 4px;
  font-size: 0.5rem; color: var(--yellow-deep); line-height: 1;
}
.seg--small button { padding: 0.5rem 0.9rem; font-size: 0.68rem; }

.swatch-row, .ink-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.swatch, .ink {
  width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--line-strong);
  transition: transform 140ms var(--ease-out), box-shadow 140ms;
}
.swatch:hover, .ink:hover { transform: scale(1.08); }
.swatch.on, .ink.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.ink { width: 1.7rem; height: 1.7rem; border-radius: 50%; }

.art-controls { display: flex; gap: 0.6rem; align-items: center; }
.art-pick { position: relative; overflow: hidden; cursor: pointer; }
.art-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.art-clear { display: none; }
.has-art .art-clear { display: inline-flex; }

.slider-row { display: grid; gap: 0.5rem; margin-top: 0.25rem; }
input[type="range"] {
  appearance: none; -webkit-appearance: none;
  width: 100%; max-width: 18rem; height: 2px;
  background: var(--line-strong); outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 1.1rem; height: 1.1rem; border-radius: 0;
  background: var(--yellow); border: 1px solid var(--ink);
  cursor: ew-resize; transform: rotate(45deg);
}
input[type="range"]::-moz-range-thumb {
  width: 1rem; height: 1rem; border-radius: 0;
  background: var(--yellow); border: 1px solid var(--ink);
  cursor: ew-resize; transform: rotate(45deg);
}
#mock-text {
  width: 100%; max-width: 18rem;
  font-family: var(--serif); font-size: 1rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); padding: 0.7rem 0.9rem;
}
#mock-text:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.mock-status { color: var(--yellow-deep); min-height: 1.2em; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .big { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 16ch; }
.cta-band .addr-line { margin-top: 1.25rem; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.cta-band .cta-row { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-grid {
  display: grid; gap: 3rem; padding-block: clamp(3.5rem, 7vw, 5.5rem);
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.25rem; }
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color 150ms; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer .wordmark { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.85; color: var(--on-dark); }
.site-footer .wordmark .yl { color: var(--yellow); }
.site-footer .meta { margin-top: 1.5rem; color: var(--on-dark-muted); font-size: 0.95rem; display: grid; gap: 0.3rem; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted);
}

/* ---------- reveal animations ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 90ms; } .rv-d2 { transition-delay: 180ms; } .rv-d3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .ticker .track, .review-track { animation: none; flex-wrap: wrap; width: auto; }
  .status-chip .dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- notes index extras ---------- */
.year-head { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--paper-3); -webkit-text-stroke: 1px var(--line-strong); margin-block: 3.5rem 1rem; }
.year-head:first-of-type { margin-top: 0; }

/* pagination-free note nav */
.post-nav { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3.5rem; }
.post-nav a { max-width: 45%; }

/* misc */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.draft-banner {
  border: 1px dashed var(--yellow-deep); background: color-mix(in srgb, var(--yellow) 12%, var(--paper));
  padding: 1rem 1.25rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 3rem; max-width: 46rem;
}
