/* Sean Lindsay. Shared styles for every page. */

@font-face { font-family: "Spectral"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/spectral-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/spectral-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/spectral-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #19212F;
  --bg-deep: #111823;
  --panel: #243049;
  --sand: #EDE4D3;
  --ochre: #E0B864;
  --ochre-hover: #EDCB85;
  --text: #F4EEE3;
  --text-2: #D3D9E2;
  --muted: #B7C0CE;
  --line: #2E3A4E;
  --ink: #19212F;
  --ink-2: #2E3A4E;
  --ink-muted: #4A5569;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 6vw, 96px);
  --max: 1248px;
  --section: clamp(64px, 9vw, 120px);
  --nav-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ochre); text-underline-offset: 3px; }
a:hover { color: var(--ochre-hover); }
p { margin: 0; }
h1, h2, h3, blockquote, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ochre); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 16px 30px;
  background: var(--ochre); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1;
  text-decoration: none; border-radius: 12px;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--ochre-hover); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark:hover { background: #243049; color: var(--text); }
.btn--small { min-height: 44px; padding: 12px 20px; font-size: 16px; border-radius: 10px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cta__note { font-size: 16px; color: var(--muted); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.nav__name { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.nav__name:hover { color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ochre); }
.nav__right { display: flex; align-items: center; gap: 36px; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer; padding: 0; }
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav[data-open="true"] .nav__toggle .icon-open { display: none; }
.nav[data-open="true"] .nav__toggle .icon-close { display: block; }

/* Hero (home) */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(56px, 8.6vw, 124px); line-height: 0.94; letter-spacing: -0.025em; }
.hero h1 span { color: var(--ochre); display: block; }
.hero__lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 600px; }

.keyline { position: relative; margin: 0 20px 20px 0; }
.keyline::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--ochre); border-radius: 4px; }
.keyline img { position: relative; width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }

/* Company strip */
.companies { padding-bottom: clamp(56px, 7vw, 88px); }
.companies__list { list-style: none; margin: 20px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.companies__list { align-items: center; flex-wrap: nowrap; }
.companies__list li { display: flex; align-items: center; min-width: 0; }
/* --h is each logo's height in px at full width; logos shrink with the window down to 72% */
.companies__list img { height: clamp(calc(var(--h) * 0.72px), calc(var(--h) * 0.0694vw), calc(var(--h) * 1px)); width: auto; max-width: 100%; opacity: 0.88; }

/* Stats */
.stats { background: var(--bg-deep); padding: clamp(56px, 6vw, 80px) 0; }
.stats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stats__num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 5.8vw, 84px); line-height: 0.95; letter-spacing: -0.02em; color: var(--ochre); }
.stats__label { display: block; margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--muted); }

/* Pull quote */
.pull { background: var(--sand); color: var(--ink); padding: clamp(64px, 7.5vw, 104px) 0; }
.pull blockquote { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.02em; max-width: 1100px; text-wrap: balance; }
.pull figcaption { margin-top: 24px; font-size: 17px; color: var(--ink-muted); }
.pull figcaption strong { color: var(--ink); }

/* Two column text sections */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 4vw, 64px); }
.split h2 { font-size: clamp(40px, 5.3vw, 76px); line-height: 0.98; }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--text-2); }
.prose .em { color: var(--text); font-weight: 500; }

/* Coaching panel */
.panel { background: var(--panel); border-radius: 24px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.panel h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 0.98; margin-bottom: 18px; }
.panel p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--text-2); max-width: 760px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.quote { border-top: 4px solid var(--ochre); padding-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { font-size: 19px; line-height: 1.6; color: #E6E9EF; }
.quote figcaption { font-size: 15px; line-height: 1.5; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); font-size: 16px; }
.quotes__more { margin-top: 40px; font-size: 16px; }

/* Career list */
.built { padding-top: 0; }
.split--narrow { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.built h2 { font-size: clamp(34px, 3.4vw, 48px); }
.roles { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.role__name { font-weight: 700; font-size: 18px; line-height: 1.4; }
.role__meta { font-size: 14px; color: var(--muted); line-height: 1.4; }
.role__desc { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.built__more { margin-top: 28px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.built__link { margin-top: 20px; font-size: 16px; }

/* Closing band */
.closing { background: var(--ochre); color: var(--ink); padding: clamp(64px, 8vw, 120px) 0; }
.closing h2 { font-size: clamp(40px, 6.1vw, 88px); line-height: 0.98; max-width: 1080px; }
.closing p { margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 920px; }
.closing .cta { margin-top: 32px; }
.closing .cta__note { color: var(--ink-2); }

/* Footer */
.footer { background: var(--bg-deep); padding: 36px 0; font-size: 15px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ochre); }
.footer__right { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__email { color: var(--ochre) !important; }

/* ---------- Coaching page ---------- */
.chero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.chero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.chero__copy { display: flex; flex-direction: column; gap: 26px; }
.chero h1 { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.02; text-wrap: pretty; }
.chero__sub { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: var(--ochre); }
.chero__lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 640px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ochre); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { font-weight: 700; color: var(--text); text-align: right; }

.filter { background: var(--sand); color: var(--ink); padding: clamp(56px, 7vw, 96px) 0; }
.filter p { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -0.015em; max-width: 1080px; text-wrap: balance; }
.filter p + p { margin-top: 20px; color: var(--ink-muted); }

.stories__intro { margin-top: 18px; font-size: 18px; color: var(--muted); }
.stories { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.story { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.story h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--text); margin-bottom: 12px; }
.story p { font-size: 17px; line-height: 1.6; color: var(--text-2); }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.step { border-top: 2px solid var(--ochre); padding-top: 24px; }

.step h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: 0; line-height: 1.3; margin-bottom: 10px; }
.step p { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.terms { margin-top: 48px; padding: 28px 32px; background: var(--panel); border-radius: 16px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.terms strong { color: var(--text); }

.quote--feature { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
.quote--feature blockquote { font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.25; letter-spacing: -0.01em; color: var(--text); max-width: 1080px; }
.quotes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.faq { max-width: 880px; margin-top: 40px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--sans); font-size: 20px; color: var(--ochre); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 56px 24px 0; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.beyond { margin-top: 40px; max-width: 880px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.beyond strong { color: var(--text); }

.section-head h2, .split--sm h2 { font-size: clamp(36px, 4.4vw, 64px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { gap: 24px; }
  .nav__right { gap: 24px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav__name { font-size: 22px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__right { gap: 8px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { order: -1; }
  .keyline { max-width: 420px; }
  .cta .btn { flex: 1 1 100%; }
  .cta__note { flex: 1 1 100%; text-align: center; }

  .companies__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .companies__list img { height: calc(var(--h) * 0.8px); }

  .split { grid-template-columns: minmax(0, 1fr); }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel .btn { width: 100%; }

  .role { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .role__desc { margin-top: 4px; }

  .chero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .quotes--two { grid-template-columns: minmax(0, 1fr); }
  .faq details p { padding-right: 0; }
  .footer__inner, .footer__right { flex-direction: column; }
}

@media (max-width: 420px) {
  .nav__cta { padding: 12px 16px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Utilities */
.section--flush { padding-top: 0; }
.quotes--spaced { margin-top: 48px; }
main { flex: 1 0 auto; }

/* 404 */
.notfound { padding: clamp(64px, 10vw, 140px) 0; }
.notfound h1 { margin-top: 20px; font-size: clamp(44px, 6vw, 88px); }
.notfound__text { margin-top: 24px; font-size: 20px; color: var(--text-2); }
.notfound .cta { margin-top: 32px; }

/* Fractional, project and advisory offers */
.offers__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(32px, 4vw, 64px); align-items: end; }
.offers__head h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.offers__head p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 560px; }
.offers__list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.offer { border-top: 1px solid var(--ochre); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.offer h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }
.offer p { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.offers__cta { margin-top: 44px; }
.offers--flush { padding-top: 0; }
.btn--ghost { background: transparent; color: var(--ochre); border: 2px solid var(--ochre); padding: 14px 28px; }
.btn--ghost:hover { background: var(--ochre); color: var(--ink); }
@media (max-width: 1024px) { .offers__list { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 860px) { .offers__head { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 560px) {
  .companies__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .companies__list img { height: calc(var(--h) * 0.76px); }
}

/* Testimonials on sand */
.clients { background: var(--sand); color: var(--ink); }
.clients h2 { color: var(--ink); }
.clients .quote { border-top-color: var(--ink); }
.clients .quote blockquote, .clients .quote--feature blockquote { color: var(--ink); }
.clients .quote figcaption { color: var(--ink-muted); }
.clients .quote figcaption strong { color: var(--ink); }
.clients a, .clients a:hover { color: var(--ink); }
.clients .link-arrow { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: #B8923A; }
.clients .link-arrow:hover { text-decoration-color: var(--ink); }
.clients + .built { padding-top: var(--section); }
/* Center the photo once it stacks under the copy. The 10px nudge centers photo and keyline together. */
@media (max-width: 860px) { .keyline { width: calc(100% - 20px); max-width: 420px; margin: 0 auto 20px; left: -10px; } }

/* Client headshots */
.quote figcaption, .pull figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pull .avatar { width: 64px; height: 64px; }
/* Hero label spans the page above photo and headline */
.hero__kicker { padding-bottom: 20px; margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.hero { padding-top: clamp(32px, 4.5vw, 56px); }
.hero__kicker { margin-bottom: clamp(32px, 4vw, 52px); }

/* About photo */
.about__side { display: flex; flex-direction: column; gap: 32px; }
.about__photo { width: 100%; max-width: 460px; border-radius: 4px; }

/* Plain FAQ, answers always visible */
.faq__item { border-top: 1px solid var(--line); padding: 24px 0; }
.faq__item h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; }
.faq__item p { font-size: 18px; line-height: 1.65; color: var(--text-2); }

/* Confidentiality note, fractional terms, closing extras */
.terms--plain { margin-top: 16px; background: transparent; padding: 0; color: var(--text-2); }
.offers__terms { margin-top: 36px; max-width: 760px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.closing .cta__note a { color: var(--ink); font-weight: 700; }
.closing__refer { margin-top: 28px !important; font-size: 16px !important; color: var(--ink-2); }

/* Testimonial names link to LinkedIn */
figcaption strong a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #B8923A; text-underline-offset: 3px; }
figcaption strong a:hover { text-decoration-color: currentColor; color: inherit; }
.pointer { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }

/* Footer icons */
.footer__icon { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.footer__icon .icon { width: 18px; height: 18px; flex-shrink: 0; }
.footer__icon svg.icon { width: 20px; height: 15px; }
