/* =========================================================
   Brad Morris — Coaching & Facilitation
   Shared design system
   ========================================================= */

:root {
  --cream:        #F4EEE2;
  --cream-deep:   #EDE5D6;
  --cream-soft:   #F8F4EC;
  --paper:        #FBF8F1;
  --forest:       #1E382B;
  --forest-700:   #284A39;
  --forest-500:   #3C6450;
  --sage:         #DDE6DC;
  --sage-deep:    #C7D5C4;
  --navy:         #1B2A38;
  --ink:          #2B2820;
  --ink-soft:     #4A463C;
  --taupe:        #837A68;
  --taupe-light:  #A89E89;
  --line:         #D9D0BF;
  --line-soft:    rgba(43,40,32,0.10);
  --gold:         #B8893A;
  --gold-soft:    #C9A765;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1240px;
  --gutter: clamp(22px, 5vw, 64px);
  --section-y: clamp(80px, 11vw, 168px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--forest); color: var(--cream-soft); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 430;
  color: var(--forest);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
.display { font-size: clamp(2.55rem, 6.4vw, 5.1rem); line-height: 1.02; font-weight: 410; }
h2.section-title { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.06; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.42;
  font-weight: 380;
  color: var(--ink-soft);
  letter-spacing: -0.006em;
}
.prose {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 60ch;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose-wide { max-width: 72ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7; }
.serif-italic { font-family: var(--serif); font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.wrap-text { max-width: 720px; }
.section { padding-block: var(--section-y); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.65em;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 560;
  letter-spacing: 0.01em; padding: 1.02em 1.9em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .45s var(--ease), background .45s var(--ease),
              color .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  line-height: 1; white-space: nowrap;
}
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--forest); color: var(--cream-soft); box-shadow: 0 1px 1px rgba(30,56,43,0.2); }
.btn-primary:hover { background: var(--forest-700); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(30,56,43,0.55); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--forest); background: rgba(30,56,43,0.04); transform: translateY(-2px); }
.btn-light { background: var(--cream-soft); color: var(--forest); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.4); }
.btn-outline-light { background: transparent; color: var(--cream-soft); border-color: rgba(244,238,226,0.32); }
.btn-outline-light:hover { border-color: var(--cream-soft); background: rgba(244,238,226,0.07); transform: translateY(-2px); }

.tlink {
  font-family: var(--sans); font-weight: 560; color: var(--forest);
  display: inline-flex; align-items: center; gap: 0.5em; position: relative;
}
.tlink .arrow { transition: transform .4s var(--ease); }
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink:hover .arrow { transform: translateX(4px); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding-block: 22px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled {
  background: rgba(244,238,226,0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 14px;
}
.nav.on-dark:not(.scrolled) { color: var(--cream-soft); }
.nav.on-dark:not(.scrolled) .brand-mark { border-color: rgba(244,238,226,0.5); color: var(--cream-soft); }
.nav.on-dark:not(.scrolled) .nav-link { color: rgba(244,238,226,0.88); }
.nav.on-dark:not(.scrolled) .nav-link:hover { color: #fff; }
.nav.on-dark:not(.scrolled) .nav-cta { background: var(--cream-soft); color: var(--forest); }
.nav.on-dark:not(.scrolled) .burger span { background: var(--cream-soft); }

.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--serif); }
.brand-mark {
  width: 40px; height: 40px; border: 1px solid var(--forest); border-radius: 50%;
  display: grid; place-items: center; font-size: 1rem; font-weight: 500;
  color: var(--forest); letter-spacing: 0.02em;
  transition: color .5s var(--ease), border-color .5s var(--ease); flex: none;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-weight: 460; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-name small {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); margin-top: 2px;
}
.nav.on-dark:not(.scrolled) .brand-name small { color: rgba(244,238,226,0.7); }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.nav-link {
  font-family: var(--sans); font-size: 0.93rem; font-weight: 500;
  color: var(--ink-soft); position: relative; transition: color .35s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 1px; width: 100%; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--forest); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-cta {
  font-family: var(--sans); font-size: 0.88rem; font-weight: 560;
  background: var(--forest); color: var(--cream-soft);
  padding: 0.72em 1.35em; border-radius: 999px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(30,56,43,0.6); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--forest); border-radius: 2px; transition: .35s var(--ease); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--forest); color: var(--cream-soft);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter); gap: 6px;
  transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a.m-link {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem);
  color: var(--cream-soft); padding: 10px 0;
  border-bottom: 1px solid rgba(244,238,226,0.12);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a.m-link span { font-family: var(--sans); font-size: 0.8rem; color: var(--gold-soft); }
.mobile-menu .m-cta { margin-top: 32px; }

/* Page hero (interior pages) */
.page-hero {
  padding-top: clamp(120px, 16vw, 200px);
  padding-bottom: clamp(64px, 9vw, 112px);
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
  filter: saturate(0.6);
}
.page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,56,43,0.3) 0%, rgba(30,56,43,0.7) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; }
.page-hero-eyebrow { color: var(--gold-soft); }
.page-hero-eyebrow::before { background: var(--gold-soft); }
.page-hero h1 {
  color: var(--cream-soft);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin-top: 22px;
  text-shadow: 0 2px 30px rgba(10,18,13,0.4);
}
.page-hero .page-hero-sub {
  color: rgba(244,238,226,0.82);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  max-width: 52ch;
  margin-top: 22px;
  font-weight: 350;
}

/* Section components */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head .section-title { margin-top: 18px; }

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(28px, 3.4vw, 46px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card.lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 50px -30px rgba(43,40,32,0.4);
  border-color: var(--sage-deep);
}

/* Values strip */
.values { background: var(--forest); padding-block: clamp(26px, 3.5vw, 40px); }
.values-row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3vw, 44px); flex-wrap: wrap;
}
.values-row span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: var(--cream-soft); font-weight: 350; white-space: nowrap;
}
.values-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); flex: none; }

/* CTA section */
.cta { background: var(--cream); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 22px 0 20px; max-width: 18ch; }
.cta-sub { max-width: 40ch; }
.cta-btn { margin-top: 38px; }

/* Footer */
.footer {
  background: var(--forest);
  color: rgba(244,238,226,0.82);
  padding-block: clamp(64px, 8vw, 104px) 40px;
}
.footer a { color: rgba(244,238,226,0.82); transition: color .3s; }
.footer a:hover { color: #fff; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: 56px; border-bottom: 1px solid rgba(244,238,226,0.14);
}
.footer h4 {
  color: var(--cream-soft); font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px;
}
.footer-quote {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.28; color: var(--cream-soft); font-weight: 380;
  max-width: 18ch; letter-spacing: -0.01em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.98rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; gap: 18px; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(244,238,226,0.55); font-family: var(--sans);
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* Utility */
.gold-on-dark { color: var(--gold-soft); }
.gold-on-dark::before { background: var(--gold-soft); }
.section-title.light, h2.light { color: var(--cream-soft); }
.prose.light { color: rgba(244,238,226,0.78); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .values-row .dot { display: none; }
  .values-row { gap: 8px 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}
