/* ============================================================
   Menswear Verdict — shared stylesheet
   Palette: charcoal #191919 · cream #f6f1e8 · gold #b08d4f
   Type: Cormorant Garamond (display) · Inter (body)
   ============================================================ */

:root {
  --charcoal: #191919;
  --charcoal-soft: #242424;
  --cream: #f6f1e8;
  --cream-deep: #efe7d6;
  --gold: #b08d4f;
  --gold-soft: #c9ab72;
  --ink: #2b2b2b;
  --ink-mute: #6b6257;
  --line: #ddd2bd;
  --line-dark: #3a3a3a;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1.1rem; }

a { color: var(--charcoal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; margin: 0 auto; }

section { padding: 5.5rem 0; }
section.tight { padding: 3.5rem 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.lede { font-size: 1.18rem; line-height: 1.8; color: var(--ink-mute); max-width: 640px; }
.lede strong { color: var(--ink); font-weight: 600; }

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.rule {
  width: 56px; height: 2px; background: var(--gold);
  margin: 1.4rem 0;
}
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  color: var(--charcoal); text-decoration: none; letter-spacing: 0.02em;
}
.wordmark:hover { color: var(--charcoal); }
.wordmark span { color: var(--gold); font-weight: 500; }

.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--gold); }
.nav a.active { border-bottom-color: var(--gold); color: var(--charcoal); }
.nav .nav-cta {
  border: 1px solid var(--charcoal); padding: 0.55rem 1.2rem;
  border-radius: var(--radius); transition: all 0.2s;
}
.nav .nav-cta:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.98rem; font-weight: 600;
  letter-spacing: 0.03em; padding: 0.95rem 2.2rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid var(--charcoal);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: var(--charcoal-soft); color: var(--cream); border-color: var(--charcoal-soft); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(246,241,232,0.7); }
.btn-outline:hover { background: rgba(246,241,232,0.12); color: var(--cream); border-color: var(--cream); }
.btn-outline-dark { background: transparent; color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--cream); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  color: var(--cream); overflow: hidden; padding: 6rem 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,13,10,0.82) 0%, rgba(15,13,10,0.55) 45%, rgba(15,13,10,0.25) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.hero h1 { color: var(--cream); max-width: 640px; margin-bottom: 1.2rem; font-weight: 500; }
.hero .lede { color: rgba(246,241,232,0.82); }
.hero .eyebrow { color: var(--gold-soft); }

.hero-slim { min-height: 46vh; padding: 4.5rem 0; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.card {
  background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2rem; display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25,25,25,0.08); }
.card .price {
  font-family: var(--serif); font-size: 2.4rem; color: var(--charcoal);
  margin: 0.4rem 0 1rem;
}
.card .price small { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-mute); font-weight: 400; }
.card h3 { font-size: 1.6rem; }
.card p { color: var(--ink-mute); font-size: 0.98rem; flex: 1; }
.card .btn { margin-top: 1.4rem; text-align: center; }
.card.featured { border-color: var(--gold); position: relative; }
.card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.9rem;
  border-radius: 20px; white-space: nowrap;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.step .num {
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold);
  display: block; margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--ink-mute); font-size: 0.98rem; }

/* ---------- Bio ---------- */
.bio { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.bio img { border-radius: var(--radius); }
.bio blockquote {
  font-family: var(--serif); font-size: 1.5rem; font-style: italic;
  line-height: 1.5; color: var(--charcoal); margin: 1.2rem 0;
  border-left: 2px solid var(--gold); padding-left: 1.4rem;
}
.bio .name { font-weight: 600; letter-spacing: 0.06em; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0.2rem; text-align: left;
  font-family: var(--serif); font-size: 1.25rem; color: var(--charcoal);
}
.faq-q .plus { font-family: var(--sans); font-size: 1.4rem; color: var(--gold); font-weight: 300; transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 0.2rem 1.4rem; color: var(--ink-mute); font-size: 0.99rem; }

/* ---------- CTA band ---------- */
.band { background: var(--charcoal); color: var(--cream); text-align: center; }
.band h2 { color: var(--cream); }
.band .lede { color: rgba(246,241,232,0.72); margin-left: auto; margin-right: auto; }
.band .eyebrow { color: var(--gold-soft); }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: rgba(246,241,232,0.72); padding: 4rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
footer .wordmark { color: var(--cream); font-size: 1.4rem; }
footer p { margin-bottom: 0.6rem; }
footer h4 { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
footer a { color: rgba(246,241,232,0.72); text-decoration: none; display: block; margin-bottom: 0.5rem; }
footer a:hover { color: var(--gold-soft); }
.footer-base { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(246,241,232,0.45); }

/* ---------- Track selector (authenticate) ---------- */
.track-select { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.track-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fbf8f1;
  padding: 2.2rem; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left; width: 100%; font-family: var(--sans);
}
.track-card:hover { border-color: var(--gold); }
.track-card.selected { border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(176,141,79,0.12); padding: calc(2.2rem - 1px); }
.track-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.track-card p { color: var(--ink-mute); font-size: 0.97rem; margin-bottom: 0; }
.track-card .pick { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.8rem; }
.track-detail { display: none; margin-top: 2.5rem; }
.track-detail.active { display: block; animation: fadein 0.35s; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.checklist { list-style: none; margin: 1.2rem 0; }
.checklist li { padding: 0.55rem 0 0.55rem 2rem; position: relative; color: var(--ink); font-size: 1rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.95rem;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Upload flow ---------- */
.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.upload-slot {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fbf8f1;
  padding: 1.4rem; display: flex; flex-direction: column;
}
.upload-slot .slot-num {
  font-family: var(--serif); color: var(--gold); font-size: 1.3rem; margin-bottom: 0.3rem;
}
.upload-slot h4 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.upload-slot .why { font-size: 0.86rem; color: var(--ink-mute); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.slot-drop {
  display: block; border: 1.5px dashed var(--line); border-radius: var(--radius);
  min-height: 130px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; overflow: hidden; background: var(--cream);
  transition: border-color 0.2s;
}
.slot-drop:hover { border-color: var(--gold); }
.slot-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slot-drop .slot-hint { font-size: 0.85rem; color: var(--ink-mute); text-align: center; padding: 1rem; }
.slot-drop img.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-drop.filled { border-style: solid; border-color: var(--gold); }
.slot-drop .slot-check {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 0.85rem; display: none;
  align-items: center; justify-content: center; z-index: 2;
}
.slot-drop.filled .slot-check { display: flex; }
.slot-drop .slot-replace {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(25,25,25,0.72);
  color: var(--cream); font-size: 0.78rem; text-align: center; padding: 0.35rem;
  display: none; z-index: 2;
}
.slot-drop.filled .slot-replace { display: block; }

.progress-wrap { margin-top: 2.5rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 0.6rem; }
.progress-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--gold); transition: width 0.35s; border-radius: 3px; }
.checkout-note { font-size: 0.88rem; color: var(--ink-mute); margin-top: 1rem; }

/* ---------- Sample report ---------- */
.report {
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 680px; margin: 2.5rem auto 0; overflow: hidden;
  box-shadow: 0 14px 44px rgba(25,25,25,0.07);
}
.report-head {
  background: var(--charcoal); color: var(--cream); padding: 1.4rem 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.report-head .r-title { font-family: var(--serif); font-size: 1.25rem; }
.report-head .r-cert { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.82rem; color: var(--gold-soft); letter-spacing: 0.06em; }
.report-body { padding: 2rem; }
.report-body .verdict {
  font-family: var(--serif); font-size: 1.9rem; color: #2e6b34; margin-bottom: 0.2rem;
}
.report-body .confidence { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.report-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.report-table th, .report-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.report-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); font-weight: 600; }
.report-table td:last-child, .report-table th:last-child { text-align: right; }
.report-note { font-size: 0.9rem; color: var(--ink-mute); border-left: 2px solid var(--gold); padding-left: 1rem; margin-top: 1rem; }
.sample-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold);
  padding: 0.25rem 0.7rem; border-radius: 20px; margin-bottom: 1rem;
}

/* ---------- Trust columns ---------- */
.trust-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.trust-col h3 { font-size: 1.25rem; }
.trust-col p { font-size: 0.95rem; color: var(--ink-mute); }

/* ---------- Guide page ---------- */
.toc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.toc-item { border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.toc-item h3 { font-size: 1.3rem; }
.toc-item p { font-size: 0.94rem; color: var(--ink-mute); }
.brand-list { columns: 3; column-gap: 2.5rem; margin-top: 2rem; list-style: none; }
.brand-list li {
  font-family: var(--serif); font-size: 1.2rem; padding: 0.45rem 0;
  border-bottom: 1px solid var(--line); break-inside: avoid;
}
.excerpt {
  background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.5rem; margin-top: 2.5rem; max-width: 780px;
}
.excerpt ol { margin: 1.2rem 0 1.2rem 1.4rem; }
.excerpt ol li { margin-bottom: 0.7rem; font-size: 1.02rem; }
.excerpt ol li strong { font-family: var(--serif); font-size: 1.12rem; }
.bump-note {
  background: var(--cream-deep); border: 1px dashed var(--gold); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; margin-top: 1.5rem; font-size: 0.95rem; max-width: 640px;
}
.bump-note strong { color: var(--charcoal); }

/* ---------- Benchmarks table ---------- */
.data-table-wrap { overflow-x: auto; margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.96rem; background: #fbf8f1; min-width: 640px; }
table.data th, table.data td { padding: 0.9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data th {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
  color: var(--cream); background: var(--charcoal);
}
table.data tr:last-child td { border-bottom: none; }
table.data td.num { font-variant-numeric: tabular-nums; }
.trend-up { color: #2e6b34; font-weight: 600; }
.trend-flat { color: var(--ink-mute); }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.job h3 { font-size: 1.35rem; }
.job .job-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 0.4rem; }
.job p { font-size: 0.95rem; color: var(--ink-mute); }

/* ---------- Cross-sell (quiet) ---------- */
.cross-sell {
  border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 2.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cross-sell p { margin: 0; font-size: 1.02rem; max-width: 520px; }
.cross-sell p strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split img { border-radius: var(--radius); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .steps, .trust-cols, .jobs { grid-template-columns: 1fr; }
  .bio, .split { grid-template-columns: 1fr; gap: 2rem; }
  .brand-list { columns: 2; }
  section { padding: 3.8rem 0; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav a.active { border-bottom: 1px solid var(--line); color: var(--gold); }
  .nav .nav-cta { margin-top: 0.8rem; text-align: center; }
  .nav-toggle { display: block; }
  .track-select { grid-template-columns: 1fr; }
  .brand-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 68vh; }
  .btn-row .btn { width: 100%; text-align: center; }
}
