/* ==========================================================================
   Harding — Leadership, Learning, Coaching
   Design tokens
   ========================================================================== */

:root {
  --navy-deep:   #10192E;
  --navy:        #1B2A4A;
  --navy-soft:   #33456B;
  --cream:       #FBF9F4;
  --cream-dim:   #F3EFE6;
  --gold:        #E8A317;
  --gold-deep:   #B9800F;
  --ink:         #22242A;
  --stone:       #7C7669;
  --stone-light: #A6A093;
  --line:        rgba(27, 42, 74, 0.12);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --gutter: clamp(24px, 5vw, 72px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Focus states ---- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  background: linear-gradient(to bottom, rgba(251,249,244,0.92), rgba(251,249,244,0));
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 249, 244, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 150px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  color: var(--navy);
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active { color: var(--gold-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 96px 32px 40px;
    transform: translateY(-100%);
    transition: transform 0.35s var(--ease);
    gap: 28px;
    box-shadow: 0 8px 24px rgba(16,25,46,0.08);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: block; z-index: 101; }
}

/* ==========================================================================
   Rays motif — echoes the logo's sunrise
   ========================================================================== */

.rays {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.rays svg { display: block; }

/* ==========================================================================
   Greeting splash
   ========================================================================== */

.splash {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  background: var(--cream);
}

.splash-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.2;
  color: var(--navy);
}

.splash-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
}

.splash-line-1 {
  animation: splash-in 0.9s var(--ease) 0.2s forwards;
}

.splash-line-2 {
  color: var(--gold-deep);
  animation: splash-in 0.9s var(--ease) 1.3s forwards;
}

@keyframes splash-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .splash-line { opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   Hero / sentence-build (homepage)
   ========================================================================== */

.sentence-section {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
  overflow: hidden;
}

.sentence-section::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: var(--gold);
  opacity: 0.3;
  z-index: 0;
}

.sentence-section.is-first::before { top: 50%; }
.sentence-section.is-last::before { bottom: 50%; }

.sentence-section:first-of-type {
  padding-top: 210px;
}

.sentence-phrase {
  position: relative;
  z-index: 1;
  background: var(--cream);
  max-width: 880px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 5.4vw, 58px);
  color: var(--stone-light);
  line-height: 1.25;
  opacity: 0.35;
  transform: translateY(18px);
  padding: 10px 24px;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.7s var(--ease);
}

.sentence-phrase.is-active {
  opacity: 1;
  color: var(--navy);
  transform: translateY(0);
}

.sentence-phrase .accent {
  color: var(--gold-deep);
  font-style: italic;
}

.sentence-progress {
  position: fixed;
  left: var(--gutter);
  bottom: 32px;
  z-index: 50;
  display: flex;
  gap: 8px;
}
.sentence-progress span {
  width: 22px;
  height: 2px;
  background: var(--line);
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.sentence-progress span.is-active {
  background: var(--gold);
  width: 34px;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue-pulse 1.8s var(--ease) infinite;
}
@keyframes cue-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Final assembled sentence + CTA */
.sentence-final {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter);
  background: var(--navy);
  color: var(--cream);
  gap: 40px;
}

.sentence-final h2 {
  color: var(--cream);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 52px);
  max-width: 900px;
  line-height: 1.3;
}
.sentence-final .accent { color: var(--gold); font-style: italic; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-gold {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn-outline {
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { background: rgba(232,163,23,0.12); border-color: var(--gold); }

/* ==========================================================================
   Section scaffolding (used on Solutions / About)
   ========================================================================== */

.page-hero {
  padding: 160px var(--gutter) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  max-width: 820px;
}

.page-hero .lede {
  margin-top: 24px;
  max-width: 620px;
  font-size: 18px;
  color: var(--stone);
}

.section {
  padding: 90px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-divider hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ==========================================================================
   Vignettes (Solutions page)
   ========================================================================== */

.vignette-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vignette {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.vignette.is-visible { opacity: 1; transform: translateY(0); }

.vignette:last-child { border-bottom: none; }

.vignette-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-deep);
  padding-top: 4px;
}

.vignette-problem .label,
.vignette-solution .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.vignette-problem h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.vignette-problem p,
.vignette-solution p {
  color: var(--ink);
  font-size: 15.5px;
}

.vignette-solution {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}

@media (max-width: 860px) {
  .vignette {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .vignette-solution {
    border-left: none;
    padding-left: 0;
    padding-top: 4px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.about-photo {
  position: relative;
}
.about-photo .frame {
  aspect-ratio: 4 / 5;
  background: var(--cream-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-light);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
}
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .frame-rule {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  margin-bottom: 24px;
}

.about-copy p {
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 560px;
}

.about-copy p.placeholder,
.vignette-problem p.placeholder,
.vignette-solution p.placeholder,
.testimonial.placeholder p {
  color: var(--stone-light);
  font-style: italic;
}

.credentials {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.credentials span {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--stone);
  padding-left: 16px;
  position: relative;
}
.credentials span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ---- Testimonials ---- */

.testimonials {
  background: var(--cream-dim);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
}

.testimonial .who {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 100px var(--gutter);
  text-align: center;
}
.cta-band h2 {
  color: var(--cream);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 44px);
  max-width: 720px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 56px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner img { height: 24px; opacity: 0.85; }
.footer-links { display: flex; gap: 28px; font-size: 13px; color: var(--stone); }
.footer-links a:hover { color: var(--navy); }
.footer-meta { font-size: 12px; color: var(--stone-light); }
