/* ============================================================
   Sellers Hub — Concept C "The Dossier"
   Dark ink-indigo desk; paper engagement artifacts. Bespoke Serif
   carries document authority, Supreme does the working text.
   Mint marks the guarantee, cyan the figures, coral only the booking.
   ============================================================ */

@font-face { font-family: 'Bespoke Serif'; src: url('/fonts/bespoke-serif-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bespoke Serif'; src: url('/fonts/bespoke-serif-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('/fonts/supreme-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('/fonts/supreme-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('/fonts/supreme-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --desk: #131430;
  --desk-lift: #1C1D40;
  --paper: #FAFAF8;
  --paper-line: rgba(25, 26, 46, 0.14);
  --ink: #191A2E;
  --ink-soft: #565870;
  --white: #FFFFFF;
  --on-desk: #E8E9F5;
  --on-desk-body: #C6C8E4;
  --on-desk-soft: #9A9DC6;
  --line-d: rgba(232, 233, 245, 0.15);
  --cyan: #33CCCC;
  --mint: #29CB8B;
  --coral: #EA2C59;
  --coral-down: #C81E47;
  --indigo: #333366;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --fs-hero: clamp(2.3rem, 4.4vw, 3.2rem);
  --fs-h2: clamp(1.9rem, 3.8vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Supreme', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.7;
  color: var(--on-desk-body); background: var(--desk);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: 'Bespoke Serif', ui-serif, Georgia, serif;
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.08;
  color: var(--on-desk); text-wrap: balance;
}
p { text-wrap: pretty; max-width: 68ch; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: 0.8em 1.2em; z-index: 60; font-weight: 500; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--ink); }

.sec-h { font-size: var(--fs-h2); color: var(--white); }
.sec-lede { margin-top: 0.9em; font-size: 1.1rem; max-width: 52ch; }

/* ---------------- brand / nav ---------------- */
.brand {
  font-family: 'Bespoke Serif', serif; font-weight: 700;
  font-size: 1.3rem; color: var(--white); text-decoration: none;
}
.nav { position: sticky; top: 0; z-index: 40; background: var(--desk); }
.nav.scrolled { box-shadow: 0 1px 0 var(--line-d); }
.nav-row { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 18px; }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.nav-links a { color: var(--on-desk-body); text-decoration: none; font-weight: 500; font-size: 0.99rem; }
.nav-links a:hover { color: var(--white); }

.nav-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--on-desk); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.m-nav { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gut) 26px; background: var(--desk); border-bottom: 1px solid var(--line-d); }
.m-nav a { color: var(--on-desk); text-decoration: none; font-weight: 500; font-size: 1.3rem; padding-block: 10px; }
.m-nav .btn { margin-top: 14px; justify-content: center; }
.m-nav.open { display: flex; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--coral); color: var(--white);
  font-family: 'Supreme'; font-weight: 700; font-size: 1.1875rem; line-height: 1;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 0.9em 1.4em; border-radius: 3px;
  transition: background 0.25s var(--ease);
}
.btn::after { content: '→'; transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--coral-down); }
.btn:hover::after { transform: translateX(4px); }
.btn-nav { padding: 0.62em 1.05em; }
.btn-nav::after { content: none; }
.btn-lg { font-size: 1.25rem; padding: 0.95em 1.5em; }

/* ---------------- paper artifacts ---------------- */
.paper {
  background: var(--paper); color: var(--ink);
  border-radius: 4px;
  padding: clamp(26px, 3.6vw, 46px);
  box-shadow: 0 28px 80px rgba(5, 6, 20, 0.5);
}
.paper h2, .paper h3 { color: var(--ink); }
.paper p { color: var(--ink); }
.paper-kicker { font-size: 0.92rem; color: var(--ink-soft); }
.paper-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-top: 0.2em; }
.paper-foot {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--paper-line);
  font-size: 0.94rem; color: var(--ink-soft);
}

/* ---------------- hero ---------------- */
.hero { padding-block: clamp(44px, 8vh, 96px) clamp(56px, 9vh, 110px); overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 84px); align-items: center;
}
.hero-h { font-size: var(--fs-hero); color: var(--white); }
.hero-sub { margin-top: clamp(18px, 3vh, 28px); font-size: clamp(1.08rem, 1.4vw, 1.24rem); max-width: 33em; }
.hero-cta { margin-top: clamp(24px, 4vh, 38px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-proof { color: var(--on-desk-soft); font-size: 1rem; }

.scorecard { max-width: 480px; justify-self: end; width: 100%; }
.score-rows { list-style: none; margin-top: 18px; }
.score-rows li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding-block: 13px;
  border-top: 1px solid var(--paper-line);
}
.score-rows b {
  font-family: 'Bespoke Serif', serif; font-weight: 700;
  font-size: 1.5rem; color: var(--indigo);
}
.score-rows span { font-weight: 500; font-size: 0.99rem; color: var(--ink); }
.score-rows i { display: inline-flex; gap: 5px; }
.score-rows u {
  width: 14px; height: 14px; text-decoration: none;
  border: 1.5px solid #A6AAC4; border-radius: 2px; display: inline-block;
}
.score-rows u.on { background: var(--mint); border-color: var(--mint); }

/* ---------------- exhibits ---------------- */
.exhibits { background: var(--desk-lift); padding-block: clamp(36px, 6vh, 60px); }
.exhibits-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.exhibits-row p { font-size: 0.97rem; color: var(--on-desk-soft); line-height: 1.5; }
.exhibits-row em {
  display: block; font-style: normal;
  font-family: 'Bespoke Serif', serif; font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1;
  color: var(--cyan); margin-bottom: 6px;
}

/* ---------------- parties ---------------- */
.parties { padding-block: clamp(64px, 10vh, 130px); }
.party {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4.5vw, 70px);
  border-top: 1px solid var(--line-d);
  padding-block: clamp(32px, 5vh, 52px);
  margin-top: 0;
}
.parties .party:first-of-type { margin-top: clamp(36px, 6vh, 60px); }
.party h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--white); }
.party p { color: var(--on-desk-body); }
.party p + p { margin-top: 0.8em; }
.party-roles { font-size: 0.98rem; color: var(--on-desk-soft); }
.party-fee { font-weight: 700; color: var(--white); font-size: 1rem; }

/* ---------------- engagement ---------------- */
.engagement { background: var(--desk-lift); padding-block: clamp(64px, 10vh, 130px); }
.engagement-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 84px); align-items: start;
}
.eng-head { position: sticky; top: 100px; }
.eng-photo { margin-top: clamp(24px, 4vh, 40px); border-radius: 4px; }

.clauses ol { list-style: none; }
.clauses li + li { border-top: 1px solid var(--paper-line); margin-top: 22px; padding-top: 22px; }
.clauses h3 { font-size: 1.3rem; display: flex; gap: 0.5em; }
.clauses h3 span { color: var(--ink-soft); font-weight: 500; }
.clauses li p { margin-top: 0.45em; font-size: 1rem; color: #33344E; }

/* ---------------- evidence (light relief band) ---------------- */
.evidence { background: var(--paper); padding-block: clamp(64px, 10vh, 130px); }
.evidence .sec-h { color: var(--ink); }
.evidence-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4.5vw, 70px); align-items: start;
  margin-top: clamp(32px, 5vh, 56px);
}
.evidence .quote { background: none; box-shadow: none; border-radius: 0; padding: 0; }
.quote p {
  font-family: 'Bespoke Serif', serif; font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.55;
  color: var(--ink);
}
.quote footer { margin-top: 1.4em; color: var(--ink-soft); font-size: 0.97rem; }
.quote footer strong { display: block; color: var(--ink); font-family: 'Supreme'; font-weight: 700; }

.seal { border-top: 4px solid var(--mint); padding-top: 20px; }
.seal h3 { color: #178A5B; font-size: 1.25rem; }
.seal p.seal-fig {
  font-family: 'Bespoke Serif', serif; font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1;
  color: var(--ink); margin-block: 0.12em 0.18em;
}
.seal p { color: #33344E; font-size: 1rem; }

.logos { margin-top: clamp(48px, 8vh, 84px); display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6vw, 40px) clamp(22px, 3.4vw, 48px); align-items: center; }
.client { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1rem; color: var(--ink-soft); }
.client img { width: 36px; height: 36px; border-radius: 2px; }

/* ---------------- bench ---------------- */
.bench { background: var(--desk-lift); padding-block: clamp(64px, 10vh, 120px) clamp(48px, 8vh, 90px); }
.bench-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 60px); align-items: end; margin-bottom: clamp(32px, 5vh, 52px); }
.bench-head p { font-size: 1.08rem; }
.bench-strip {
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding-bottom: 18px;
  scrollbar-color: var(--cyan) transparent;
}
.bench-strip figure { flex: 0 0 clamp(168px, 15.5vw, 210px); scroll-snap-align: start; }
.bench-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.bench-strip figcaption { margin-top: 10px; color: var(--white); font-weight: 700; font-size: 0.97rem; line-height: 1.3; }
.bench-strip figcaption span { display: block; color: var(--on-desk-soft); font-weight: 400; font-size: 0.87rem; }

/* ---------------- FAQ ---------------- */
.faq { padding-block: clamp(64px, 10vh, 130px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-head p { margin-top: 1em; }

.faq-list details { border-top: 1px solid var(--line-d); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-d); }
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 700; font-size: 1.1rem; color: var(--on-desk);
  padding-block: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--cyan); transition: transform 0.3s var(--ease); flex: none; }
.faq-list details[open] summary { color: var(--white); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 24px; max-width: 60ch; }

/* ---------------- CTA + footer ---------------- */
.cta { background: var(--desk-lift); padding-block: clamp(72px, 12vh, 150px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.cta h2 { color: var(--white); font-size: var(--fs-h2); }
.cta-act p { margin-top: 1.1em; color: var(--on-desk-body); }
.cta-act a:not(.btn) { color: var(--white); font-weight: 700; text-decoration-color: var(--cyan); text-underline-offset: 4px; }

.foot { background: #0D0E24; color: var(--on-desk-soft); padding-block: clamp(40px, 7vh, 64px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 60px); }
.foot-brand { font-size: 1.15rem; }
.foot-line { margin-top: 0.8em; font-size: 0.95rem; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; }
.foot-nav a { color: var(--on-desk-body); text-decoration: none; font-size: 0.98rem; }
.foot-nav a:hover { color: var(--white); }
.foot-meta { text-align: right; font-size: 0.95rem; line-height: 1.9; }
.foot-meta a { color: var(--on-desk); text-decoration: none; font-weight: 500; }

/* ---------------- motion ---------------- */
.js .hero-copy > * { opacity: 0; transform: translateY(24px); animation: rise 0.75s var(--ease) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.27s; }
.js .scorecard { opacity: 0; transform: translateY(30px); animation: rise 0.85s var(--ease) 0.3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .rev { opacity: 0; transform: translateY(18px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .rev.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-copy > *, .js .scorecard { animation: none; opacity: 1; transform: none; }
  .js .rev { opacity: 1; transform: none; transition: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: block; }

  .hero-grid, .party, .engagement-grid, .evidence-grid, .faq-grid, .cta-grid, .bench-head, .foot-grid { grid-template-columns: 1fr; }
  .eng-head, .faq-head { position: static; }
  .scorecard { justify-self: stretch; max-width: none; }
  .exhibits-row { grid-template-columns: 1fr 1fr; }
  .foot-meta { text-align: left; }
}

@media (max-width: 560px) {
  :root { --fs-hero: clamp(2.1rem, 9vw, 2.7rem); }
  .exhibits-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .score-rows li { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; }
  .score-rows u { width: 11px; height: 11px; }
}
