/* ═══════════════════════════════════════════════════════════════
   Cormier Executive Optimization (C.E.O.) Coaching & Consulting
   "The Medicine Wheel" — hand-built static site
   Palette: gold #F8AB21 · red #DA4E3A · black · cream
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Tim's brand marks, from the logo + engagement brief */
  --gold: #f8ab21;
  --red: #da4e3a;
  /* Muted print-ware variants used for large fills so the brights stay accents */
  --gold-deep: #e0a32e;
  --red-deep: #b5432f;

  --cream: #f6f0e4;
  --cream-2: #efe6d4;
  --sand: #d9cdb4;
  --ink: #23201c;
  --ink-2: #2a241d;
  --graphite: #4d4437;
  --muted: #6d6252;
  --line: rgba(35, 32, 28, 0.14);
  --line-dark: rgba(246, 240, 228, 0.16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--graphite); font-weight: 300; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin: 0 0 1rem;
}
.hero .eyebrow,
.page-hero .eyebrow,
.section--dark .eyebrow { color: var(--gold); }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark p { color: rgba(246, 240, 228, 0.78); }
.section--sand { background: var(--cream-2); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase;
  padding: 1rem 1.9rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.section--dark .btn--ghost:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(35, 32, 28, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: rgba(246, 240, 228, 0.82); text-decoration: none;
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap; transition: color .18s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { padding: 0.7rem 1.25rem; font-size: 0.76rem; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--cream);
  border-radius: var(--radius); padding: 0.55rem 0.7rem; cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem var(--pad) 1.5rem;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9rem; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 40rem at 82% 18%, rgba(248, 171, 33, 0.14), transparent 62%),
    radial-gradient(46rem 34rem at 12% 88%, rgba(218, 78, 58, 0.16), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.08fr 0.92fr; align-items: end;
}
.hero-copy { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: var(--cream); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { color: rgba(246, 240, 228, 0.8); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.hero-figure { position: relative; align-self: end; margin: 0; }
.hero-figure img { position: relative; z-index: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.hero-figure::after {
  content: ""; position: absolute; left: 50%; bottom: 6%;
  width: min(78%, 360px); aspect-ratio: 1; transform: translateX(-50%);
  border: 1px solid rgba(248, 171, 33, 0.30); border-radius: 50%; z-index: 0;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-figure img { max-width: 340px; }
}

.hero-strip {
  border-top: 1px solid var(--line-dark);
  background: rgba(0, 0, 0, 0.22);
  padding: 1.15rem 0;
}
.hero-strip .wrap {
  display: flex; flex-wrap: wrap; gap: 0.7rem clamp(1.1rem, 2.4vw, 2.1rem);
  font-size: clamp(0.68rem, 1.05vw, 0.76rem); letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(246, 240, 228, 0.62);
}
.hero-strip span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-strip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ── The Wheel ──────────────────────────────────────────────── */
.wheel-layout {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
}
@media (max-width: 900px) { .wheel-layout { grid-template-columns: 1fr; } }

.wheel-figure { display: grid; place-items: center; }
.wheel-figure svg { width: min(100%, 420px); height: auto; }

.directions { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.direction { background: var(--cream); padding: clamp(1.5rem, 3vw, 2.1rem); }
.section--dark .directions { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .direction { background: var(--ink); }
.direction-top {
  display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; white-space: nowrap;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.direction-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.direction h3 { margin-bottom: 0.5rem; }
.direction p { margin: 0; font-size: 0.98rem; }
.d-east .direction-dot { background: var(--gold); }
.d-south .direction-dot { background: var(--red); }
.d-west .direction-dot { background: var(--graphite); }
.d-north .direction-dot { background: var(--cream); border: 1px solid var(--sand); }

@media (min-width: 620px) { .directions { grid-template-columns: 1fr 1fr; } }

.wheel-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-left: 3px solid var(--gold);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  max-width: 52rem;
}
.wheel-note h3 { margin-bottom: 0.8rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.85rem); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

.card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
}
.section--sand .card { background: var(--cream); }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.card h4 { margin-bottom: 0.75rem; }
.card p { font-size: 0.98rem; color: var(--graphite); }
.section--dark .card p { color: rgba(246, 240, 228, 0.74); }
.card .card-link {
  margin-top: auto; padding-top: 0.9rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--red-deep); text-decoration: none;
}
.section--dark .card .card-link { color: var(--gold); }
.card .card-link:hover { text-decoration: underline; }

.card-rule { width: 2.4rem; height: 3px; background: var(--gold); margin-bottom: 1.25rem; }
.card-rule--red { background: var(--red); }

/* ── Numbered steps ─────────────────────────────────────────── */
.step { position: relative; padding-top: 2.75rem; display: flex; flex-direction: column; }
.step-num {
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.16em;
  color: var(--gold-deep);
}
.section--dark .step-num { color: var(--gold); }
.step h4 { margin-bottom: 0.6rem; }
.step p { font-size: 0.98rem; color: var(--graphite); margin: 0; }
.section--dark .step p { color: rgba(246, 240, 228, 0.74); }
.step-meta {
  display: block; margin-top: auto; padding-top: 0.9rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.section--dark .step-meta { color: rgba(246, 240, 228, 0.5); }

/* ── About ──────────────────────────────────────────────────── */
.about-layout {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.85fr 1.15fr; align-items: start;
}
@media (max-width: 880px) { .about-layout { grid-template-columns: 1fr; } }
.about-portrait { border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.pull {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic; line-height: 1.4; color: var(--ink);
  border-left: 3px solid var(--red); padding-left: 1.5rem; margin: 2rem 0;
}
.section--dark .pull { color: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.chips li {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 0.95rem;
  color: var(--graphite);
}
.section--dark .chips li { border-color: var(--line-dark); color: rgba(246, 240, 228, 0.76); }

/* ── Testimonials ───────────────────────────────────────────── */
.quote {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.section--dark .quote { background: var(--ink-2); border-color: var(--line-dark); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; }
.quote-attr { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.initials {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  background: var(--gold); color: var(--ink);
}
.quote-attr cite { font-style: normal; font-weight: 500; display: block; font-size: 0.95rem; }
.quote-attr .role { font-size: 0.84rem; color: var(--muted); }
.section--dark .quote-attr .role { color: rgba(246, 240, 228, 0.58); }

.quote--feature { border-left: 3px solid var(--gold); }
.quote--feature blockquote { font-size: clamp(1.25rem, 2.3vw, 1.65rem); }

.logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.5rem, 4vw, 3.25rem); justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.section--dark .logos { border-color: var(--line-dark); }
.logos img { height: clamp(38px, 5vw, 54px); width: auto; opacity: 0.75; }
.section--dark .logos img { filter: grayscale(1) brightness(1.9); opacity: 0.7; }

/* ── Daily / video ──────────────────────────────────────────── */
.reel { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

/* ── Contact form ───────────────────────────────────────────── */
.contact-layout {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.95fr 1.05fr; align-items: start;
}
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite);
}
.section--dark .field label { color: rgba(246, 240, 228, 0.72); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 1rem; width: 100%;
}
.section--dark .field input, .section--dark .field textarea, .section--dark .field select {
  background: rgba(246, 240, 228, 0.06); border-color: var(--line-dark); color: var(--cream);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.form-note { font-size: 0.84rem; color: var(--muted); margin: 0; }
.section--dark .form-note { color: rgba(246, 240, 228, 0.55); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.92rem; margin: 0; min-height: 1.4em; }
.form-status[data-state="ok"] { color: #2f7d4f; }
.form-status[data-state="err"] { color: var(--red-deep); }
.section--dark .form-status[data-state="ok"] { color: #7fd6a1; }

.contact-facts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-facts li { display: grid; gap: 0.2rem; }
.contact-facts .k {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.section--dark .contact-facts .k { color: rgba(246, 240, 228, 0.5); }
.contact-facts a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ── Marquee ────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-dark);
  background: var(--ink); color: rgba(246, 240, 228, 0.28);
  padding: 1rem 0;
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  font-family: var(--serif); font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  letter-spacing: 0.06em; text-transform: uppercase;
  animation: slide 34s linear infinite;
}
.marquee-track span { white-space: nowrap; }
.marquee-track span::after { content: " ·"; color: var(--gold); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(246, 240, 228, 0.72); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.footer-logo { height: 36px; width: auto; margin-bottom: 1.25rem; }
.site-footer h2, .site-footer .footer-label {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.site-footer .footer-label { margin-top: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: rgba(246, 240, 228, 0.72); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(246, 240, 228, 0.5);
}
.footer-bottom nav { display: flex; gap: 1.25rem; }
.footer-bottom a { font-size: 0.82rem; }

/* ── Page hero (interior pages) ─────────────────────────────── */
.page-hero { background: var(--ink); color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50rem 30rem at 85% 10%, rgba(248,171,33,0.13), transparent 60%);
}
.page-hero .wrap { position: relative; max-width: 58rem; }
.page-hero h1 { color: var(--cream); margin-bottom: 1.1rem; }
.page-hero .lede { color: rgba(246, 240, 228, 0.78); }

.prose { max-width: 44rem; }
.prose h2 { margin: 2.75rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5rem; }
.prose--legal { max-width: 48rem; }
.prose--legal h2 { font-size: 1.5rem; }

.stack { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ── Shorts tiles ───────────────────────────────────────────── */
.short {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--ink-2); text-decoration: none; color: var(--cream);
  aspect-ratio: 9 / 16;
}
.short img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .25s ease; }
.short:hover img, .short:focus-visible img { transform: scale(1.04); opacity: .82; }
.short span {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2.4rem 0.85rem 0.85rem;
  font-family: var(--sans); font-size: 0.83rem; line-height: 1.32; font-weight: 400;
  background: linear-gradient(to top, rgba(12,10,8,0.92) 35%, transparent);
}
.short::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 42%;
  width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(20,17,14,0.66);
  border: 2px solid rgba(246,240,228,0.92);
  box-shadow: 0 2px 14px rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  transition: background-color .25s ease, border-color .25s ease;
}
.short::before {
  content: ""; position: absolute; z-index: 3; left: 50%; top: 42%;
  transform: translate(-40%, -50%);
  border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--cream);
}
.short:hover::after, .short:focus-visible::after { background: var(--red); border-color: var(--red); }
