/* Grand Whitman — one-page site (v1 draft)
   Direction A: navy / gold / cream, IBM Plex. Matches the snapshots and playbook.
   Parts: 1 fonts · 2 tokens · 3 base · 4 layout · 5 header · 6 sections · 7 footer · 8 responsive
   Section blocks are self-contained so each can become its own page later. */

/* 1 · Fonts (self-hosted, Latin subset) */
@font-face { font-family: 'GW Sans'; src: url('../fonts/IBMPlexSans.woff') format('woff'); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'GW Serif'; src: url('../fonts/IBMPlexSerif-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'GW Serif'; src: url('../fonts/IBMPlexSerif-Italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'GW Serif'; src: url('../fonts/IBMPlexSerif-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'GW Serif'; src: url('../fonts/IBMPlexSerif-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }

/* 2 · Tokens */
:root {
  --navy: #132238;
  --navy-mid: #1c334d;
  --ink: #1c2430;
  --muted: #5a6573;
  --rule: #d5cfc4;
  --paper: #f6f2ea;
  --cream: #fbf8f2;
  --white: #fffcf7;
  --gold: #b3873b;
  --gold-line: #c9a45c;
  --gold-soft: #f3e6c8;
  --gold-text: #7d5a17;   /* darker gold for small text on cream (AA contrast) */
  --serif: 'GW Serif', 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --sans: 'GW Sans', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1080px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

/* 3 · Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration-color: var(--gold-line); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img, svg { max-width: 100%; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--navy); color: var(--cream); padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 4 · Layout */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--rule); }
.section--paper { background: var(--paper); }
.eyebrow {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-text); margin: 0 0 .9rem;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.35rem); line-height: 1.18; margin-bottom: 1rem; max-width: 22ch; }
.section-title--wide { max-width: 30ch; }
.lead { font-size: 1.15rem; max-width: 60ch; }
.note { color: var(--muted); font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  text-decoration: none; padding: .85rem 1.4rem; border: 1.5px solid var(--gold-line);
  background: var(--navy); color: var(--gold-line); border-radius: 2px;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--gold-line); color: var(--navy); }
.btn--small { padding: .5rem .95rem; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }

/* 5 · Header */
.site-header { background: var(--cream); border-bottom: 2.5px solid var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; display: block; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); letter-spacing: .02em; line-height: 1; display: block; }
.brand-tag { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; display: block; }
.site-nav { display: flex; align-items: center; gap: .4rem 1.4rem; flex-wrap: wrap; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; padding: .25rem 0; border-bottom: 1.5px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--gold-line); }

/* 6 · Sections */

/* HERO — friendlier, sentence-case headline (borrowed from Direction B) */
.hero { padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); line-height: 1.1; letter-spacing: -.005em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .lead { margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-bottom: 1rem; }
.hero-card { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--gold-line); padding: 1.5rem 1.5rem 1.35rem; }
.hero-card .label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin: 0 0 .75rem; }
.hero-card blockquote { margin: 0 0 1rem; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--navy); }
.hero-card p:last-child { margin: 0; font-size: .95rem; color: var(--muted); }

/* GAP */
.gap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contrast { display: grid; gap: .75rem; }
.contrast div { background: var(--white); border: 1px solid var(--rule); padding: 1rem 1.15rem; }
.contrast dt { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.contrast dd { margin: .2rem 0 0; color: var(--muted); font-size: .98rem; }
.contrast { margin: 0; }

/* HOW — four steps (borrowed from YLLW / Kalstore cards) */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--rule); padding: 1.35rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.step-num { width: 2rem; height: 2rem; border: 1.5px solid var(--navy); border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9rem; margin-bottom: 1.1rem; color: var(--navy); }
.step h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .5rem; }
.step-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin: 0 0 .75rem; }
.step p:last-child { margin: 0; font-size: .97rem; }
.step--first { background: var(--navy); border-color: var(--navy); color: #e9e4d8; }
.step--first h3 { color: var(--white); }
.step--first .step-tag { color: var(--gold-line); }
.step--first .step-num { border-color: var(--gold-line); color: var(--gold-line); }
.honesty { margin-top: 1.75rem; padding: 1rem 1.25rem; border-left: 3px solid var(--gold-line); background: var(--gold-soft); max-width: 70ch; }
.honesty p { margin: 0; }

/* WHO */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.5rem 0 0; }
.chips li { border: 1.5px solid var(--navy); padding: .45rem 1rem; font-weight: 600; font-size: .95rem; color: var(--navy); background: var(--white); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }

/* PRACTICE — "we use the same playbook on ourselves" */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .5em; width: .9rem; height: .9rem; border: 1.5px solid var(--gold); background: var(--gold-soft); }
.checks strong { color: var(--navy); }

/* FAQ — left intro + numbered accordion (borrowed from Direction B / metic.) */
.faq-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq-list { counter-reset: faq; border-top: 1px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--rule); counter-increment: faq; }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 2.2rem 1fr 1.5rem; gap: .5rem;
  align-items: baseline; padding: 1.05rem 0; font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--navy); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: counter(faq, decimal-leading-zero); font-family: var(--sans); font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.faq-item summary::after { content: '+'; font-family: var(--sans); font-size: 1.3rem; color: var(--gold-text); text-align: right; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.5rem 1.2rem 2.7rem; max-width: 62ch; }
.faq-answer p { margin: 0; }

/* CONTACT — letterhead feel (borrowed from Shader's paper-and-ink close) */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.contact-panel { background: var(--white); border: 1.5px dashed var(--navy); padding: 1.75rem 1.6rem; }
.contact-panel h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.contact-panel .btn { margin: .4rem 0 1.1rem; }
.contact-list { margin: 0; display: grid; gap: .85rem; }
.contact-list dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.contact-list dd { margin: .1rem 0 0; }
/* Placeholders: obvious on purpose, so nothing ships unconfirmed */
.ph { display: inline-block; padding: .1rem .5rem; border: 1.5px dashed #a33a2a; background: #fbeae6; color: #7a2a1e; font-size: .92rem; border-radius: 2px; }

/* 7 · Footer */
.site-footer { background: var(--navy); color: #d7d0c4; padding: 2.5rem 0 2rem; font-size: .93rem; }
.site-footer a { color: var(--white); text-decoration-color: var(--gold-line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: .5rem; }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: var(--serif); font-size: 1.2rem; color: var(--white); font-weight: 600; }
.site-footer h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-line); font-weight: 600; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer p { margin: 0 0 .5rem; }
.site-footer .ph { background: #2a1a18; color: #f1c9c0; border-color: #d98473; }
.legal { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(201,164,92,.35); color: #b9b2a5; font-size: .85rem; }

/* 8 · Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero-grid, .gap-grid, .who-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: .3rem 1.1rem; }
  .faq-answer { padding-left: 0; padding-right: 0; }
  .faq-item summary { grid-template-columns: 1.9rem 1fr 1.25rem; font-size: 1.05rem; }
  .section-title, .section-title--wide { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .site-nav, .skip-link { display: none; } body { background: #fff; } }
