/* Chimmy Consulting — site styles */
:root {
  --navy: #16264A;
  --navy-card: #1F3260;
  --navy-line: #45557A;
  --navy-soft-text: #D5DBE8;
  --gold: #C99A2E;
  --gold-text: #8A6412;
  --ivory: #F7F3EA;
  --sand: #EFE8D8;
  --line: #E2DACA;
  --line-strong: #D8CFBC;
  --ink: #141B2D;
  --body: #3E4658;
  --muted: #4A5163;
  --white: #FFFFFF;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5.5vw, 80px);
  --section: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--navy); }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 10px 16px; z-index: 10; }
.eyebrow { font-size: 13px; letter-spacing: 3px; font-weight: 600; color: var(--gold-text); text-transform: uppercase; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--pad); border-bottom: 1px solid var(--line); position: relative; }
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: 3px; color: var(--navy); line-height: 1; }
.brand-sub { font-size: 11px; letter-spacing: 3px; font-weight: 600; color: var(--gold-text); }
.site-nav { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 4px; border: 2px solid transparent; font-size: 16px; font-family: var(--sans); cursor: pointer; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-card); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D4AF37; color: var(--navy); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.menu-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 4px; padding: 8px 14px; font: 600 15px var(--sans); cursor: pointer; }

/* Hero */
.hero { padding: var(--section) var(--pad) 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero h1 { max-width: 1040px; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; }
.hero p { max-width: 760px; font-size: clamp(18px, 1.6vw, 21px); color: var(--body); }

/* Doors */
.doors { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); }
.door { padding: clamp(32px, 4vw, 56px) clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
.door h2 { font-size: clamp(30px, 3vw, 40px); }
.door-public { background: var(--navy); color: var(--white); border-radius: 8px 0 0 0; }
.door-public h2 { color: var(--white); }
.door-public .eyebrow { color: var(--gold); }
.door-public .lede { color: var(--navy-soft-text); }
.door-private { background: var(--white); border: 1px solid var(--line); border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.door-private .lede { color: var(--body); }
.lede { font-size: 18px; }
.problems { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.problem { border-radius: 8px; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.problem q { font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 600; quotes: "\201C" "\201D"; }
.problem span { font-size: 15px; line-height: 1.55; }
.door-public .problem { background: var(--navy-card); border: 1px solid var(--navy-line); }
.door-public .problem q { color: var(--white); }
.door-public .problem span { color: var(--navy-soft-text); }
.door-private .problem { background: var(--ivory); border: 1px solid var(--line); }
.door-private .problem q { color: var(--navy); }
.door-private .problem span { color: var(--body); }
.door-link { font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--gold); align-self: flex-start; padding-bottom: 4px; }
.door-public .door-link { color: var(--white); }
.door-public .door-link:hover { color: var(--gold); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.counter { background: var(--gold); display: flex; align-items: center; justify-content: center; }
.counter span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; letter-spacing: 6px; font-weight: 700; color: var(--navy); }

/* Generalist band */
.band-wrap { padding: 0 var(--pad) var(--section); }
.band { background: var(--gold); border-radius: 0 0 8px 8px; padding: clamp(32px, 4vw, 44px) clamp(24px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; }
.band .eyebrow { color: var(--navy); font-weight: 700; }
.band h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin: 10px 0; }
.band p { max-width: 820px; color: var(--ink); }
.band .btn { flex-shrink: 0; }

/* Who's in the room */
.room { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--section) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; scroll-margin-top: 0; }
.room-copy { display: flex; flex-direction: column; gap: 24px; }
.room h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; }
.room-copy > p { font-size: 19px; color: var(--body); }
.room-detail { background: var(--ivory); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.room-detail h3 { font-family: var(--sans); font-size: 13px; letter-spacing: 2px; font-weight: 700; color: var(--gold-text); text-transform: uppercase; }
.room-map { position: relative; width: 100%; max-width: 640px; aspect-ratio: 640 / 520; justify-self: center; }
.room-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node { position: absolute; transform: translate(-50%, -50%); background: var(--ivory); border: 1px solid var(--line-strong); color: var(--navy); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--sans); white-space: nowrap; cursor: pointer; }
.node:hover { border-color: var(--navy); }
.node[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Range / depth */
.range { padding: var(--section) var(--pad); display: flex; flex-direction: column; gap: 56px; }
.range h2 { font-size: clamp(34px, 3.6vw, 52px); max-width: 900px; line-height: 1.1; }
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.range-grid div { border-top: 3px solid var(--gold); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.range-grid h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; }
.range-grid p { color: var(--body); }

/* Proof */
.proof { padding: 0 var(--pad) var(--section); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; scroll-margin-top: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: clamp(28px, 2.4vw, 34px); }
.card p { color: var(--body); }
.card-sand { background: var(--sand); border: none; }
.past { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--serif); font-size: 22px; color: var(--navy); }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding: var(--section) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); scroll-margin-top: 0; }
.contact h2 { color: var(--white); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; }
.contact-intro { display: flex; flex-direction: column; gap: 20px; }
.contact-intro p { color: var(--navy-soft-text); font-size: 18px; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form label, .form legend { font-weight: 600; font-size: 15px; color: var(--white); }
.field { display: flex; flex-direction: column; gap: 6px; }
.form input[type="text"], .form input[type="email"], .form textarea { font: 16px var(--sans); padding: 13px 14px; border-radius: 4px; border: 1px solid var(--navy-line); background: var(--white); color: var(--ink); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--navy-line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.choices input { accent-color: var(--gold); }
.hidden-field { position: absolute; left: -9999px; }
.form .btn { align-self: flex-start; }

/* Footer */
.site-footer { padding: 36px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Simple pages (thanks / 404) */
.simple { min-height: 60vh; padding: var(--section) var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 820px; }
.simple h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; }
.simple p { font-size: 19px; color: var(--body); }

/* Tablet */
@media (max-width: 1100px) {
  .room { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px var(--pad) 28px; z-index: 5; }
  .site-nav.open { display: flex; }
  .doors { grid-template-columns: 1fr; }
  .door-public { border-radius: 8px 8px 0 0; }
  .door-private { border: 1px solid var(--line); border-top: none; border-bottom: none; border-radius: 0; }
  .counter { padding: 12px; }
  .counter span { writing-mode: horizontal-tb; transform: none; }
  .band { flex-direction: column; align-items: flex-start; }
  .range-grid, .proof { grid-template-columns: 1fr; }
  .room-map { aspect-ratio: auto; display: flex; flex-wrap: wrap; gap: 10px; }
  .room-map svg { display: none; }
  .node { position: static; transform: none; }
}
