/* Great Goods Agent — editorial buyer-desk. v2026-06-11 */

:root {
  --paper: #f3ead7;
  --paper-deep: #ecdfc4;
  --cream: #fffaf0;
  --card: #fffdf6;
  --ink: #22372e;
  --ink-soft: #3c5247;
  --muted: #6f7c6f;
  --tomato: #e8502e;
  --tomato-deep: #c93f22;
  --sage: #6c8a70;
  --sage-deep: #41604c;
  --gold: #c2912e;
  --gold-soft: #f4c95d;
  --tape: rgba(232, 203, 130, 0.6);
  --line: rgba(34, 55, 46, 0.16);
  --line-soft: rgba(34, 55, 46, 0.09);
  --shadow-soft: 0 18px 50px rgba(58, 44, 18, 0.14);
  --shadow-lift: 0 30px 70px rgba(58, 44, 18, 0.22);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Spline Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --header-h: 92px;
  --pad-x: clamp(22px, 5vw, 96px);
}

* { box-sizing: border-box; }

/* no CSS smooth-scroll: it animates scroll restoration and corrupts
   ScrollTrigger pin measurements; anchors are smoothed in script.js */
html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
em { font-style: italic; }

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

/* ============ buttons ============ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.button:active { transform: scale(0.97); }

.button-primary {
  background: var(--tomato);
  color: #fff6ec;
  box-shadow: 0 3px 0 var(--tomato-deep), 0 14px 30px rgba(232, 80, 46, 0.3);
}
.button-primary:hover {
  transform: translateY(-3px) rotate(-1deg);
  background: var(--tomato-deep);
  box-shadow: 0 6px 0 #a93418, 0 20px 38px rgba(232, 80, 46, 0.36);
}

.button-ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.button-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }

.button-light {
  background: var(--cream);
  color: var(--tomato-deep);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18), 0 16px 34px rgba(20, 12, 4, 0.25);
}
.button-light:hover { transform: translateY(-3px) rotate(1deg); }

/* ============ header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: var(--header-h);
  padding: 0 var(--pad-x);
  border-bottom: 1px dashed transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(243, 234, 215, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(58, 44, 18, 0.08);
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 2px 0 rgba(34, 55, 46, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--tomato);
  transition: right 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.header-action { padding: 12px 22px; font-size: 0.84rem; }

/* ============ hero ============ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vh, 84px)) 0 0;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(244, 201, 93, 0.32), transparent 64%),
    radial-gradient(900px 600px at -12% 30%, rgba(108, 138, 112, 0.16), transparent 60%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  padding: 0 var(--pad-x) clamp(48px, 7vh, 92px);
  max-width: 1560px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.7);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 4px rgba(232, 80, 46, 0.18);
}

.hero-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7.6vw, 6.9rem);
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-title .line { display: block; padding: 0.06em 0.14em; margin: -0.06em -0.14em; }
/* mask only while the JS intro plays, so the scribble is never clipped at rest */
.hero-title.is-masking .line { overflow: hidden; }
.hero-title .line-inner { display: inline-block; will-change: transform; }
.title-period { color: var(--tomato); }

.circled { position: relative; font-style: italic; font-weight: 700; color: var(--tomato-deep); white-space: nowrap; }
.scribble {
  position: absolute;
  inset: -18% -7% -22% -6%;
  width: 113%;
  height: 140%;
  color: var(--gold);
  pointer-events: none;
  overflow: visible;
}
.scribble path { stroke-dasharray: 1300; stroke-dashoffset: 0; }

.hero-text {
  max-width: 32rem;
  margin: 0 0 30px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-width: 30rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.meta-stamp {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  transform: rotate(-6deg);
}

/* hero media */
.hero-media { position: relative; min-width: 0; }

.collage-frame {
  position: relative;
  margin: 0;
  padding: 14px;
  background: var(--cream);
  border-radius: 22px;
  box-shadow: var(--shadow-lift);
  transform: rotate(1.6deg);
}
.collage-frame img { border-radius: 12px; }

.tape {
  position: absolute;
  width: 104px;
  height: 30px;
  background: var(--tape);
  box-shadow: 0 1px 3px rgba(58, 44, 18, 0.12), inset 0 0 8px rgba(255, 255, 255, 0.35);
  z-index: 2;
}
.tape-tl { top: -13px; left: 34px; transform: rotate(-7deg); }
.tape-br { bottom: -12px; right: 40px; transform: rotate(5deg); }
.tape-top { top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); }

.chip {
  position: absolute;
  z-index: 3;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.chip-margin {
  top: 7%;
  left: -5%;
  display: grid;
  gap: 2px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  transform: rotate(-4deg);
}
.chip-margin .chip-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.chip-margin .chip-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

.chip-note {
  bottom: 9%;
  left: -8%;
  max-width: 230px;
  padding: 12px 16px;
  background: #fff3b8;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
  transform: rotate(3deg);
  border-radius: 4px 18px 14px 6px;
}

.stamp {
  display: inline-block;
  padding: 8px 16px;
  border: 3px solid currentColor;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tomato);
  mix-blend-mode: multiply;
  opacity: 0.92;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 .4 .7 1 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='60' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 .4 .7 1 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='60' filter='url(%23r)'/%3E%3C/svg%3E");
}
.stamp-hero {
  position: absolute;
  top: -4%;
  right: 4%;
  z-index: 3;
  transform: rotate(8deg);
  font-size: 1rem;
}

/* ticker */
.ticker {
  overflow: hidden;
  border-top: 1.5px dashed var(--line);
  border-bottom: 1.5px dashed var(--line);
  background: var(--cream);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  animation: ticker-scroll 26s linear infinite;
}
.ticker-track span { flex: 0 0 auto; }
.ticker-track i { font-style: normal; color: var(--gold); font-size: 0.7rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ sections ============ */
.section { padding: clamp(76px, 11vh, 130px) var(--pad-x); max-width: 1560px; margin: 0 auto; }

.section-head { max-width: 56rem; margin-bottom: clamp(36px, 5vh, 60px); }

.kicker {
  display: inline-block;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}
.kicker::before { content: "— "; color: var(--gold); }
.kicker-light { color: var(--gold-soft); }

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-title em { color: var(--sage-deep); }

.section-copy { max-width: 36rem; margin: 0; color: var(--ink-soft); }

/* ============ services ============ */
.services-section { padding-top: clamp(70px, 10vh, 110px); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  padding: 34px 30px 28px;
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-radius: 4px 22px 22px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
.service-card:nth-child(1) { transform: rotate(-0.7deg); }
.service-card:nth-child(2) { transform: rotate(0.5deg) translateY(10px); }
.service-card:nth-child(3) { transform: rotate(-0.4deg); }
.service-card:hover { transform: rotate(0deg) translateY(-8px); box-shadow: var(--shadow-lift); }

.folder-tab {
  position: absolute;
  top: -26px;
  left: -1.5px;
  padding: 7px 18px 5px;
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-card p { margin: 0; color: var(--ink-soft); }
.card-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============ method / evidence stage ============ */
.method-section {
  position: relative;
  background:
    radial-gradient(900px 480px at 110% 8%, rgba(244, 201, 93, 0.18), transparent 60%),
    var(--ink);
  color: var(--cream);
}
.method-pin {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(28px, 4.5vh, 64px) var(--pad-x);
}
.method-grid { width: 100%; }

/* keep pinned content within one viewport */
.method-section .section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.method-section .section-copy { font-size: 0.98rem; }

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  max-width: 1560px;
  margin: 0 auto;
}

.method-section .kicker { color: var(--gold-soft); }
.method-section .section-title { color: var(--cream); }
.method-section .section-title em { color: var(--gold-soft); }
.method-section .section-copy { color: rgba(255, 250, 240, 0.72); margin-bottom: 34px; }

.method-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.method-steps li {
  display: flex;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  opacity: 0.45;
  transition: opacity 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.method-steps li.is-active {
  opacity: 1;
  border-color: rgba(244, 201, 93, 0.4);
  background: rgba(255, 250, 240, 0.06);
}
.step-no {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-soft);
  transform: rotate(-4deg);
}
.method-steps h3 { margin: 2px 0 3px; font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; }
.method-steps p { margin: 0; font-size: 0.88rem; color: rgba(255, 250, 240, 0.66); }

/* stage */
.evidence-stage {
  position: relative;
  min-height: clamp(420px, 64svh, 580px);
}

.evidence-card,
.memo-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(330px, 78%);
  padding: 22px 24px;
  background: var(--card);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

/* static scatter (JS animates from these via transforms) */
.ev-demand { transform: translate(-88%, -96%) rotate(-7deg); }
.ev-margin { transform: translate(-14%, -62%) rotate(5deg); }
.ev-supplier { transform: translate(-58%, -16%) rotate(-3deg); }

.ev-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  background: rgba(108, 138, 112, 0.16);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.ev-quote { margin: 0 0 14px; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.ev-foot { display: block; margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }

.spark { display: flex; align-items: flex-end; gap: 6px; height: 58px; }
.spark i { flex: 1; height: var(--h); background: var(--sage); border-radius: 4px 4px 2px 2px; }
.spark i:nth-child(7), .spark i:nth-child(8) { background: var(--tomato); }

.ledger { margin: 0; display: grid; gap: 8px; }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ledger dt { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.ledger dd { margin: 0; font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600; }
.ledger-strong dt { color: var(--ink); }
.ledger-strong dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--tomato-deep); }

.mini-suppliers { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mini-suppliers li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; }
.mini-suppliers .ok, .mini-suppliers .no { font-family: var(--font-mono); font-size: 0.78rem; }
.mini-suppliers .ok { color: var(--sage-deep); }
.mini-suppliers .no { color: var(--tomato-deep); }

.memo-card {
  width: min(380px, 86%);
  padding: 26px 28px 20px;
  border-radius: 6px 22px 22px 22px;
  background: #fff8e4;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  z-index: 5;
}
.memo-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.memo-no { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.stamp-approved { font-size: 0.78rem; padding: 6px 12px; transform: rotate(6deg); color: var(--sage-deep); }
.memo-card h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.42rem; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.memo-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 7px; font-size: 0.92rem; color: var(--ink-soft); }
.memo-list li::marker { content: "✓  "; color: var(--sage-deep); }
.memo-sign { margin: 14px 0 0; text-align: right; font-family: var(--font-hand); font-size: 1.4rem; color: var(--tomato-deep); }

/* ============ shortlist ============ */
.shortlist-section { padding-bottom: clamp(60px, 9vh, 110px); }

.shortlist-wrap { max-width: 1100px; }

.sheet {
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.sheet-head, .sheet-row {
  display: grid;
  grid-template-columns: 2.1fr 1.3fr 0.7fr 0.9fr 0.8fr 1.1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 26px;
}
.sheet-head {
  border-bottom: 2px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet-row { position: relative; border-bottom: 1.5px dashed var(--line); transition: background 0.2s ease; }
.sheet-row:last-child { border-bottom: none; }
.sheet-row:hover { background: rgba(244, 201, 93, 0.1); }
.sheet-row b { font-weight: 600; font-family: var(--font-body); }

.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-go { background: rgba(108, 138, 112, 0.2); color: var(--sage-deep); }
.pill-wait { background: rgba(194, 145, 46, 0.18); color: #92691a; }
.pill-no { background: rgba(232, 80, 46, 0.14); color: var(--tomato-deep); }

.row-circle {
  position: absolute;
  inset: 2px 8px;
  width: calc(100% - 16px);
  height: calc(100% - 4px);
  pointer-events: none;
  color: var(--tomato);
  overflow: visible;
}
.row-circle path { stroke: currentColor; }
.row-note {
  position: absolute;
  right: 18px;
  top: -16px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tomato-deep);
  transform: rotate(4deg);
  pointer-events: none;
}

.sheet-foot { margin: 16px 4px 0; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

/* ============ about ============ */
.about-section {
  background: var(--paper-deep);
  border-top: 1.5px dashed var(--line);
  border-bottom: 1.5px dashed var(--line);
  max-width: none;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: center;
  max-width: 1368px;
  margin: 0 auto;
}

.quote-card {
  position: relative;
  margin: 0;
  padding: 34px 30px 30px;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  transform: rotate(-2deg);
}
.quote-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(232, 80, 46, 0.12);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}
.quote-card blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.stars { color: var(--gold); letter-spacing: 0.22em; font-size: 1.02rem; }
.quote-margin {
  position: absolute;
  bottom: -16px;
  right: 20px;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--sage-deep);
  transform: rotate(-5deg);
}

.about-copy .button { margin-top: 26px; }

/* ============ industries ============ */
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; }
.chip-row li {
  padding: 13px 26px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--cream);
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease;
  cursor: default;
}
.chip-row li:hover { transform: translateY(-4px) rotate(-1.5deg); background: var(--ink); color: var(--gold-soft); }

/* ============ cta ============ */
.cta-section { padding: clamp(80px, 12vh, 140px) var(--pad-x); background: var(--tomato); color: #fff6ec; }
.cta-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.cta-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cta-title em { color: #ffd98e; }
.cta-copy { max-width: 34rem; margin: 0 auto 34px; color: rgba(255, 246, 236, 0.85); }
.stamp-cta {
  position: absolute;
  top: -34px;
  right: clamp(-20px, 2vw, 30px);
  color: #ffd98e;
  font-size: 0.74rem;
  transform: rotate(7deg);
}

/* ============ footer ============ */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px var(--pad-x);
  background: var(--ink);
  color: rgba(255, 250, 240, 0.66);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { text-decoration: underline; }

/* ============ static evidence stack (mobile / reduced motion / no JS pin) ============ */
.evidence-stage.is-static { min-height: 0; display: grid; gap: 22px; }
.evidence-stage.is-static .evidence-card,
.evidence-stage.is-static .memo-card {
  position: static;
  width: 100%;
  box-shadow: var(--shadow-soft);
}
.evidence-stage.is-static .ev-demand { transform: rotate(-1.2deg); }
.evidence-stage.is-static .ev-margin { transform: rotate(0.8deg); }
.evidence-stage.is-static .ev-supplier { transform: rotate(-0.6deg); }
.evidence-stage.is-static .memo-card { transform: rotate(-1deg); }
.method-grid.is-static .method-steps li { opacity: 1; }

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; margin: 24px auto 0; }
  .chip-margin { left: -2%; }
  .chip-note { left: -2%; }
  .method-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 480px; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .service-grid { grid-template-columns: 1fr; max-width: 540px; }
  .service-card:nth-child(2) { transform: rotate(0.5deg); }

  .sheet { font-size: 0.86rem; }
  .sheet-head { display: none; }
  .sheet-row { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 18px 20px; }
  .sheet-row span[role="cell"] { display: grid; gap: 2px; justify-items: start; }
  .sheet-row span[role="cell"]::before {
    content: attr(data-th);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .row-circle { display: none; }
  .row-note { top: -14px; right: 14px; }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .header-action { padding: 10px 16px; font-size: 0.76rem; }
  .brand-name { font-size: 0.95rem; }
  .hero-title { font-size: clamp(2.55rem, 12vw, 3.4rem); }
  .hero-actions .button { width: 100%; justify-content: center; }
  .stamp-hero { right: 0; top: -3%; font-size: 0.84rem; }
  .chip-margin { top: 4%; }
  .chip-note { max-width: 190px; font-size: 1.05rem; }
  .sheet-row { grid-template-columns: 1fr; }
  .cta-title br { display: none; }
  .stamp-cta { position: static; display: block; width: fit-content; margin: 30px auto 0; transform: rotate(-2deg); }
  .site-footer { flex-direction: column; }
}

@media (max-width: 480px) {
  /* mark-only brand: the wordmark has no room next to the header CTA */
  .brand-name { display: none; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.11em; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .button, .service-card, .chip-row li, .brand-mark, .nav-links a::after { transition: none; }
}
