/* 12 Chairs Consulting
   Palette and type follow the brand identity board:
   charcoal, bone, taupe and gold; an editorial serif with a modern grotesque. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 300 700; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); }

:root {
  --ink: #232224;        /* charcoal field */
  --ink-deep: #19181a;   /* footer, deepest field */
  --bone: #ece5d9;       /* light field */
  --paper: #f6f1e8;      /* lighter panels on bone */
  --taupe: #7b736a;      /* quiet text, rules */
  --gold: #b8985c;       /* the one accent */
  --gold-ink: #7d6230;   /* gold dark enough for text on bone */
  --rule-dark: rgba(236, 229, 217, 0.16);
  --rule-light: rgba(35, 34, 36, 0.16);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1.1em; max-width: 38em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
.lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.38; max-width: 30em; }
.quiet { color: var(--taupe); }
.small { font-size: 0.9rem; line-height: 1.55; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Fields */
.field-ink { background: var(--ink); color: var(--bone); }
.field-ink .quiet { color: #a79f94; }
.field-bone { background: var(--bone); }
.field-paper { background: var(--paper); }
.band { padding: var(--space) 0; }
.band > .wrap > h2 { margin-bottom: 1.5rem; max-width: 18em; }

/* Header */
.site-head { background: var(--ink); color: var(--bone); border-bottom: 1px solid var(--rule-dark); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand svg { width: 3.4rem; height: auto; color: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.2em; font-weight: 500; line-height: 1; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.42em; color: var(--gold); margin-top: 0.4rem; font-weight: 500; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); flex-wrap: wrap; font-size: 0.95rem; }
.nav a { text-decoration: none; padding: 0.35rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav a.btn { border-bottom: 0; padding: 0.7rem 1.2rem; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 0.85rem 1.5rem; border: 1px solid var(--gold); border-radius: 2px; background: var(--gold); color: var(--ink); cursor: pointer; line-height: 1.2; transition: background-color 0.15s, color 0.15s; }
.btn:hover { background: #c9ab72; }
.btn-line { background: transparent; color: inherit; }
.btn-line:hover { background: var(--gold); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); }
.hero h1 { max-width: 10em; }
.hero-copy { max-width: 38rem; }
.hero .lede { margin-top: 1.75rem; color: #d9d1c4; max-width: 24em; }
.hero-mark { position: absolute; left: calc(50% + 4rem); right: -16rem; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.hero-mark svg { width: 100%; height: auto; }
.hero-copy { position: relative; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold); margin: 0 0 1.5rem; }
@media (max-width: 68rem) { .hero-mark { left: 35%; right: -55%; opacity: 0.28; } }
@media (max-width: 40rem) { .hero-mark { left: -10%; right: -70%; top: 22%; opacity: 0.16; } }

/* The mark: twelve rays drawn in once, then the lens */
.mark .ray { stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; fill: none; }
.hero-mark .ray { stroke-width: 0.32; }
.mark .lens { fill: currentColor; }
.mark.draw .ray { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ray-in 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.mark.draw .lens { opacity: 0; transform-origin: center; animation: lens-in 0.9s ease-out 1.5s forwards; }
@keyframes ray-in { to { stroke-dashoffset: 0; } }
@keyframes lens-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .mark.draw .ray { animation: none; stroke-dashoffset: 0; }
  .mark.draw .lens { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Page title band on inner pages */
.title-band .wrap { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.title-band h1 { max-width: 13em; }
.title-band .lede { margin-top: 1.5rem; color: #d9d1c4; }

/* Two-column editorial split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split > :first-child { position: sticky; top: 2rem; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } }

/* Twelve chairs: who a notepad hears */
.chairs { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.3rem, 1.2vw, 0.9rem); margin: 2.5rem 0 1rem; max-width: 34rem; }
.chairs i { display: block; height: clamp(3rem, 8vw, 5rem); border-radius: 1px; background: currentColor; opacity: 0.18; }
.chairs i.heard { background: var(--gold); opacity: 1; }
.chairs-key { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.9rem; }
.chairs-key span::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.5rem; background: currentColor; opacity: 0.25; vertical-align: -0.05rem; }
.chairs-key span.heard::before { background: var(--gold); opacity: 1; }

/* Plain lists with hairline rules */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-light); }
.field-ink .rows { border-top-color: var(--rule-dark); }
.rows > li { padding: 1.4rem 0; border-bottom: 1px solid var(--rule-light); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0.5rem 2rem; }
.field-ink .rows > li { border-bottom-color: var(--rule-dark); }
.rows h3 { font-size: 1.45rem; }
.rows p { margin: 0; }
@media (max-width: 40rem) { .rows > li { grid-template-columns: 1fr; } }

/* A real sequence: how a session runs */
.steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--rule-dark); }
.steps > li::before { content: counter(step); font-family: var(--serif); font-size: 3rem; line-height: 0.9; color: var(--gold); }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: #d0c8bb; }
.field-bone .steps > li, .field-paper .steps > li { border-top-color: var(--rule-light); }
.field-bone .steps p, .field-paper .steps p { color: inherit; }
.field-bone .steps > li::before, .field-paper .steps > li::before { color: var(--gold-ink); }

/* Reaction chart illustration */
.figure { margin: 2.5rem 0 0; }
.figure svg { width: 100%; height: auto; }
.figure figcaption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--taupe); max-width: 44em; }
.field-ink .figure figcaption { color: #a79f94; }
.chart-frame { border: 1px solid var(--rule-dark); padding: clamp(1rem, 3vw, 2rem); background: var(--ink-deep); }

/* Cost comparison */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); margin-top: 2.5rem; }
.pair > div { padding: 2rem 2rem 2rem 0; }
.pair > div + div { border-left: 1px solid var(--rule-light); padding-left: 2rem; padding-right: 0; }
.pair .figure-line { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; margin: 0 0 0.8rem; }
.pair p { margin-bottom: 0.6em; }
@media (max-width: 44rem) { .pair { grid-template-columns: 1fr; } .pair > div { padding: 1.75rem 0; } .pair > div + div { border-left: 0; border-top: 1px solid var(--rule-light); padding-left: 0; } }

/* Status words */
.status { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.55rem; border: 1px solid currentColor; border-radius: 2px; vertical-align: 0.15em; margin-left: 0.5rem; white-space: nowrap; font-family: var(--sans); letter-spacing: 0; }
.status.pilot { color: var(--gold-ink); }
.field-ink .status.pilot { color: var(--gold); }
.status.planned { color: var(--taupe); }
.field-ink .status.planned { color: #a79f94; }

/* Tables */
.table-scroll { overflow-x: auto; margin-top: 2rem; }
table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: 1rem; }
th, td { text-align: left; padding: 0.85rem 1.25rem 0.85rem 0; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.field-ink th, .field-ink td { border-bottom-color: var(--rule-dark); }
thead th { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }

/* Closing call */
.closing h2 { max-width: 16em; }
.closing p { margin-top: 1.25rem; }

/* Form */
.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 36rem) { .form .two { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.form .hint { font-weight: 400; color: var(--taupe); }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: #fffdf8; border: 1px solid #b9b0a2; border-radius: 2px; padding: 0.75rem 0.85rem; min-height: 3rem; }
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 1px; }
.form-note { border-left: 2px solid var(--gold); padding: 0.2rem 0 0.2rem 1rem; }
.form-result { padding: 1.25rem 1.5rem; background: var(--paper); border: 1px solid var(--rule-light); }
.form-result[hidden] { display: none; }

/* Footer */
.site-foot { background: var(--ink-deep); color: #c9c1b4; padding: 3.5rem 0 2.5rem; font-size: 0.92rem; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2.5rem; }
@media (max-width: 48rem) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot .brand { color: var(--bone); margin-bottom: 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-foot p { max-width: 34em; }
.site-foot .fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); color: #968e83; font-size: 0.85rem; }
.site-foot .fine p { max-width: 60em; margin-bottom: 0.6em; }
