/* ===========================================================
   Hill Method Coaching — shared stylesheet
   Edit this file once, every page picks up the change.
   =========================================================== */

:root {
  --navy:       #283649;
  --navy-deep:  #1d2a3a;
  --navy-soft:  #34475c;
  --cream:      #ebe5d5;
  --cream-dim:  rgba(235, 229, 213, 0.72);
  --cream-mute: rgba(235, 229, 213, 0.50);
  --accent:     #d4c594;
  --rule:       rgba(235, 229, 213, 0.15);
  --rule-soft:  rgba(235, 229, 213, 0.08);
  --max:        1240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--navy); color: var(--cream); }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--accent); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

/* ---------- Nav ---------- */
header.nav {
  border-bottom: 1px solid var(--rule);
  background: rgba(40, 54, 73, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap;
  padding: 16px 36px;
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { height: 36px; width: auto; display: block; }
.brand .wordmark-fallback {
  display: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--cream);
}
.brand .wordmark-fallback small {
  font-weight: 600;
  letter-spacing: 4px;
  font-size: 10px;
  display: block;
  color: var(--cream-mute);
  margin-top: -1px;
}
nav.links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
nav.links a {
  position: relative;
  color: var(--cream-dim);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 0;
  white-space: nowrap;
}
nav.links a:hover, nav.links a.active { color: var(--cream); }
nav.links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--navy-deep); }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost { color: var(--cream); border-color: var(--cream-dim); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Common eyebrows & labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- HERO (full-bleed background video) ---------- */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29,42,58,0.55) 0%, rgba(29,42,58,0.30) 35%, rgba(29,42,58,0.85) 100%),
    linear-gradient(90deg, rgba(29,42,58,0.55) 0%, rgba(29,42,58,0.10) 60%);
  z-index: 1;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 36px;
  padding-bottom: 44px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -2px;
  margin: 0 0 20px;
  color: var(--cream);
  max-width: 880px;
}
.hero h1 .line { display: block; }
.hero h1 .stop { color: var(--accent); }
.hero .lead {
  font-size: 21px;
  color: var(--cream);
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 560px;
}
.hero .sub-lead {
  font-size: 15px;
  color: var(--cream-dim);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.spots {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(29, 42, 58, 0.7);
  border: 1px solid var(--rule);
  backdrop-filter: blur(4px);
  font-size: 13px;
  color: var(--cream-dim);
}
.spots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.spots strong { color: var(--cream); font-weight: 600; }
.hero-bubble {
  display: inline-block;
  background: rgba(40, 54, 73, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px 22px;
  margin-bottom: 22px;
  max-width: none;
}
.hero-bubble .lead { margin: 0 0 8px; max-width: none; white-space: nowrap; }
.hero-bubble .sub-lead { margin: 0; max-width: none; }
@media (max-width: 720px) {
  .hero-bubble .lead { white-space: normal; }
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  border-bottom: 1px solid var(--rule);
  padding: 100px 0 80px;
}
.page-head h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  color: var(--cream);
}
.page-head .dek {
  font-size: 20px;
  color: var(--cream-dim);
  line-height: 1.55;
  max-width: 880px;
  margin: 0;
}

/* ---------- Consultants (About page) ---------- */
.consultant-grid {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.consultant {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.consultant-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(212,197,148,0.08) 0%, rgba(40,54,73,0.4) 100%),
    var(--navy-deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.consultant-photo span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-mute);
}
.consultant-info h3 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--cream);
  margin: 0 0 6px;
}
.consultant-info .role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
}
.consultant-info p {
  font-size: 17px;
  color: var(--cream-dim);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 72px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -1.5px;
  margin: 0;
  color: var(--cream);
}
.section-head .head-text p {
  font-size: 19px;
  color: var(--cream-dim);
  line-height: 1.55;
  margin: 0;
}
.section-head-stack {
  display: block;
  margin-bottom: 56px;
}
.section-head-stack .section-label { margin-bottom: 18px; }
.section-head-stack h2 { margin-bottom: 26px; max-width: 880px; font-size: clamp(26px, 3.4vw, 42px); }
.section-head-stack .head-text { max-width: none; }

/* ---------- Method loop diagram ---------- */
.method-loop-header {
  text-align: center;
  padding-top: 0;
  margin-bottom: 3rem;
}
section#method {
  padding-top: 3rem;
}
.method-loop-header h2 {
  font-size: clamp(48px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}
.method-loop-wrap {
  max-width: 660px;
  margin: 0 auto 0;
}
.method-loop-svg {
  width: 100%;
  height: auto;
  display: block;
}
.method-loop-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0 3.5rem;
}

/* ---------- Method teaser (homepage) ---------- */
.method-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.method-teaser .cell {
  padding: 48px 36px;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.method-teaser .cell:first-child { border-left: 0; }
.method-teaser .cell .num {
  font-size: 48px;
  font-weight: 200;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -1.5px;
}
.method-teaser .cell h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.method-teaser .cell p {
  font-size: 15px;
  color: var(--cream-dim);
  line-height: 1.6;
  margin: 0;
}
.method-callout {
  margin-top: 40px;
  text-align: left;
}
.remote-label {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.remote-label strong {
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-right: 6px;
}

/* ---------- CoachIQ (full-bleed background video) ---------- */
.coachiq {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 140px 0;
}
.coachiq-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
.coachiq::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29,42,58,0.55) 0%, rgba(29,42,58,0.35) 40%, rgba(29,42,58,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.coachiq .wrap {
  position: relative; z-index: 2;
}
.coachiq .chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  background: rgba(40, 54, 73, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.coachiq .chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.coachiq h2 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0 0 32px;
  max-width: 880px;
}
.coachiq h2 .em { color: var(--accent); }
.coachiq p.lead {
  font-size: 20px;
  color: var(--cream);
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 720px;
}

/* ---------- Testimonials — compact card grid ---------- */
.t-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  row-gap: 48px;
  margin-bottom: 5rem;
  padding: 20px 0;
}
.t-card {
  display: flex;
  flex-direction: row;
  background: var(--navy-deep);
  overflow: hidden;
  min-height: 220px;
}
.t-card:nth-child(odd)  { transform: translateY(-16px); }
.t-card:nth-child(even) { transform: translateY(16px); }
.t-card-photo {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}
.t-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.t-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.t-card-body .quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--accent);
  margin: 0;
  font-style: italic;
}
.t-card-body .who {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.t-card-body .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.2px;
}
.t-card-body .team {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ---------- Testimonials (alternating editorial spreads) ---------- */
.testimonial-spread {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.testimonial-spread:first-of-type {
  padding-top: 16px;
}
.testimonial-spread.reverse {
  grid-template-columns: 1fr 1.15fr;
}
.testimonial-spread.reverse .spread-photo { order: 2; }
.spread-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(135deg, rgba(212,197,148,0.06) 0%, rgba(40,54,73,0.4) 100%),
    var(--navy-deep);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spread-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spread-photo span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-mute);
}
.spread-content .quote {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 36px;
  padding-left: 40px;
  position: relative;
}
.spread-content .quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -18px;
  color: var(--accent);
  font-size: 76px;
  line-height: 1;
}
.spread-content .who {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spread-content .who .name {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.2px;
}
.spread-content .who .team {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 880px) {
  .testimonial-spread,
  .testimonial-spread.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .testimonial-spread.reverse .spread-photo { order: 0; }
  .spread-content .quote { font-size: 21px; padding-left: 28px; margin-bottom: 28px; }
  .spread-content .quote::before { font-size: 56px; top: -12px; }
  .spread-content .who { padding-left: 28px; }
}

/* Legacy featured card (kept for backwards compatibility) */
.testimonial-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 8px 0 64px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.testimonial-photo {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(212,197,148,0.06) 0%, rgba(40,54,73,0.4) 100%),
    var(--navy-deep);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-photo span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-mute);
}
.testimonial-featured .quote {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--cream);
  margin: 0 0 28px;
  position: relative;
  padding-left: 28px;
}
.testimonial-featured .quote::before {
  content: '\201C';
  color: var(--accent);
  position: absolute;
  left: 0;
  top: -12px;
  font-size: 56px;
  line-height: 1;
}
.testimonial-featured .who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 28px;
}
.testimonial-featured .who .name {
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.2px;
}
.testimonial-featured .who .team {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 880px) {
  .testimonial-featured {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 48px;
  }
  .testimonial-featured .quote { font-size: 21px; padding-left: 20px; }
  .testimonial-featured .quote::before { font-size: 44px; }
  .testimonial-featured .who { padding-left: 20px; }
}

.testimonial-row {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.testimonial-row:first-child { border-top: 1px solid var(--rule); }
.testimonial-row .who { display: flex; flex-direction: column; gap: 4px; }
.testimonial-row .who .name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.2px;
}
.testimonial-row .who .team {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-mute);
}
.testimonial-row .quote {
  font-size: 22px;
  line-height: 1.5;
  color: var(--cream);
  margin: 0;
  position: relative;
}
.testimonial-row .quote::before {
  content: '\201C';
  color: var(--accent);
  position: absolute;
  left: -24px;
  top: -10px;
  font-size: 40px;
  line-height: 1;
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  border-top: 1px solid var(--rule);
  padding: 110px 0;
  background: var(--navy-deep);
}
.contact h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  color: var(--cream);
}
.contact-logo {
  height: 96px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}
.contact p {
  font-size: 19px;
  color: var(--cream-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--accent);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s;
}
.email-link:hover { background: transparent; color: var(--accent); }
.contact .note {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-mute);
}

/* ---------- Dedicated Contact page ---------- */
.contact-page {
  padding: 120px 0 160px;
}
.contact-page h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0 0 28px;
  color: var(--cream);
}
.contact-page .contact-dek {
  font-size: 20px;
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 80px;
}
.contact-action {
  padding-top: 56px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.contact-action-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-action .contact-mark {
  height: 56px;
  width: auto;
  display: block;
  margin: 0;
  flex-shrink: 0;
}
.contact-action .email-link { margin: 0; }
.contact-action .contact-season {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 880px) {
  .contact-page { padding: 80px 0 100px; }
  .contact-page .contact-dek { margin-bottom: 56px; }
  .contact-action { padding-top: 40px; gap: 28px; }
  .contact-action-row { gap: 24px; }
  .contact-action .contact-mark { height: 48px; }
}

/* ---------- Footer ---------- */
footer.foot {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  background: var(--navy-deep);
}
footer.foot .wrap {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-mute);
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  .nav-row { padding: 14px 22px; }
  nav.links { gap: 16px; }
  nav.links a { font-size: 12px; }
  .hero { min-height: 580px; }
  .hero .wrap { padding-top: 60px; padding-bottom: 60px; }
  .page-head { padding: 70px 0 50px; }
  section { padding: 70px 0; }
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  .method-teaser {
    grid-template-columns: 1fr;
  }
  .method-teaser .cell {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .method-teaser .cell:first-child { border-top: 0; }
  .coachiq { padding: 90px 0; }
  .testimonial-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }
  .testimonial-row .quote::before {
    left: 0; position: static; display: inline; margin-right: 6px;
  }
  .consultant-grid { gap: 64px; }
  .consultant { grid-template-columns: 1fr; gap: 28px; }
  .contact-logo { height: 72px; }
  .contact { padding: 80px 0; }
}
