/* =========================================================
   Self Coaching Masters — shared stylesheet
   Font stack everywhere, alternating section rhythm,
   pill buttons, responsive mobile-first.
   ========================================================= */

:root {
  --ink: #1c1c1c;
  --paper: #ffffff;
  --light: #fafafa;
  --pill-bg: #dcdcdc;
  --pill-bg-hover: #c7c7c7;
  --max: 1100px;
  --pad: 24px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }

p { margin: 0 0 1.1em; }

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

/* ---------- Buttons / Pills ---------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  background: var(--pill-bg);
  color: #000;
  border: 2px solid #000;
  padding: 14px 28px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  line-height: 1.2;
}
.btn:hover {
  background: var(--pill-bg-hover);
  transform: translateY(-2px);
}

/* In-body CTA buttons: uppercase, letter-spacing, shadow */
.btn-cta {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.btn-cta:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.26);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 58px;
  max-width: 1500px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand img { height: 124px; width: auto; display: block; }
.brand span { display: none; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 29px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 400;
  font-size: 14.3px;
  letter-spacing: -0.285px;
  color: var(--ink);
  transition: opacity .15s ease;
}
.nav-links a:hover { opacity: .6; }
/* Header CTA pill — match the original exactly (flat light-gray, black border) */
.header-cta {
  flex: none;
  background: #dcdcdc;
  border: 2px solid #000;
  color: #000;
  border-radius: 300px;
  padding: 20px 28px;
  font-weight: 400;
  font-size: 14.3px;
  letter-spacing: -0.285px;
  line-height: 1.2;
  white-space: nowrap;
}
.header-cta:hover { opacity: 1; background: #d0d0d0; transform: none; box-shadow: none; }
/* Header zones: [logo + menu] hug left, CTA pushed to the far right */
.nav-links { justify-content: flex-start; margin-left: 40px; margin-right: auto; }

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

/* Transparent centered nav variant (home hero) */
.site-header.transparent {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
}
.site-header.transparent .nav-inner { justify-content: space-between; align-items: center; }
.site-header.transparent .brand { color: #fff; }
.site-header.transparent .nav-links a { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.site-header.transparent .nav-links a.btn { color: #000; text-shadow: none; }
.site-header.transparent .nav-toggle span { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  color: var(--light);
  background-size: cover;
  background-position: center;
  padding: 150px var(--pad) 70px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.34) 100%);
  z-index: 0;
}
.hero .hero-content {
  position: relative;
  z-index: 1;
  width: 62%;
  max-width: 880px;
  margin-right: 4%;
  margin-left: auto;
}
.hero h1, .hero .subhead { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.hero-tagline {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  color: var(--light);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin: 1.4em 0 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero h1 {
  color: var(--light);
  font-size: clamp(38px, 7vw, 66px);
  margin-bottom: 0.3em;
}
.hero .subhead {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  margin-bottom: 1.4em;
  color: #f0f0f0;
}
.hero-video {
  max-width: 560px;
  margin: 0 auto 1.8em;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.hero-video video { display: block; width: 100%; height: auto; }

/* Inner page banner (image + title) */
.banner {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  background-size: cover;
  background-position: center;
  padding: 80px var(--pad);
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.55));
}
.banner h1 { position: relative; color: var(--light); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }

.section.dark {
  background: var(--ink);
  color: var(--light);
}
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--light); }

/* Dark centered statement section (home) */
.statement-section .narrow { max-width: 880px; }
.statement-section .statement {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 auto 1.1em;
}
.statement-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 1.3em;
}
.statement-section .center-btn { text-align: center; margin-top: 1.8em; }

.lead {
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  margin-bottom: 1.2em;
}

.section-head { max-width: 820px; margin: 0 auto 36px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* Two-column text + image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split .media img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* ---------- Photo-backed section with white card ---------- */
.photo-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}
.photo-section::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,.65), rgba(0,0,0,.35));
}
.card {
  position: relative;
  background: #fff;
  color: var(--ink);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.card h2 { color: #000; }
.card.card-left { margin: 0; margin-right: auto; max-width: 620px; }
.card .card-sub {
  font-size: 17px;
  color: #444;
  margin: 0.2em 0 1.1em;
}
.card .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-bottom: 14px;
}

/* ---------- Big quote ---------- */
.quote-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.quote-block blockquote {
  margin: 0 0 0.6em;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.quote-block cite {
  font-style: normal;
  font-weight: 600;
  opacity: .8;
  font-size: 18px;
}

/* ---------- CTA section (shared) ---------- */
.cta-section {
  background: var(--ink);
  color: var(--light);
  text-align: center;
  padding: 84px 0;
}
.cta-section h2 { color: var(--light); }
.cta-section p { font-size: 19px; max-width: 640px; margin: 0 auto 1.8em; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.feature-card {
  background: #fff;
  border: 1px solid #ececec;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card img { width: 100%; height: 220px; object-fit: cover; }
.feature-card .body { padding: 24px; }
.feature-card h3 { margin-bottom: .5em; }

/* Highlights list */
.highlights { max-width: 820px; margin: 0 auto; }
.highlights li { margin-bottom: 16px; }
.highlights .label { font-weight: 800; }

/* Testimonial cards */
.testimonial-card {
  background: #fff;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.testimonial-card img { width: 100%; height: 240px; object-fit: cover; }
.testimonial-card .body { padding: 26px; }
.testimonial-card h3 { font-size: 21px; margin-bottom: .6em; }
.testimonial-card p { font-size: 16px; margin-bottom: 0; }

/* Blog post cards */
.post-card {
  background: #fff;
  border: 1px solid #ececec;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card img { width: 100%; height: 210px; object-fit: cover; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 13px; color: #777; margin-bottom: 10px; }
.post-card h3 { margin-bottom: .4em; }
.post-card .excerpt { flex: 1; }
.post-card .read-more {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 2px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---------- Article (blog post) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: #777; font-size: 15px; margin-bottom: 1.6em; }
.article p { font-size: 18px; }
.article-hero {
  width: 100%;
  height: clamp(260px, 42vh, 460px);
  object-fit: cover;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ececec;
  margin-top: 48px;
  padding-top: 28px;
  font-weight: 700;
}
.post-nav a { text-decoration: none; }
.post-nav a:hover { opacity: .6; }
.post-nav .spacer { flex: 1; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 620px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.req { color: #c0392b; font-weight: 700; }
.checkbox-field label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.checkbox-field input { width: auto; }
.form-field textarea[rows] { min-height: 0; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 13px 14px;
  border: 2px solid #cfcfcf;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #000;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }

.success-banner {
  background: #e7f6ec;
  border: 1px solid #8fcf9f;
  color: #1e5631;
  padding: 16px 18px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-meta { margin-bottom: 24px; }
.contact-meta a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--light);
  text-align: center;
  padding: 56px var(--pad);
}
.site-footer .footer-line { max-width: 720px; margin: 0 auto 18px; font-size: 16px; }
.site-footer .socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 18px 0 30px;
}
.site-footer .socials a {
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}
.site-footer .socials a:hover { opacity: .7; }
.site-footer h3 { color: var(--light); font-size: 20px; margin-bottom: .4em; }
.site-footer .contact-info { font-size: 16px; }
.site-footer .contact-info a { color: var(--light); text-decoration: none; }
.site-footer .contact-info a:hover { text-decoration: underline; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid #ececec;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px var(--pad);
    border-bottom: 1px solid #f1f1f1;
    color: var(--ink) !important;
    text-shadow: none !important;
  }
  .nav-links .btn { margin: 12px var(--pad); text-align: center; }

  .site-header.transparent { position: absolute; }
  .nav-inner { padding: 14px 20px; }
  .site-header.transparent .nav-inner { justify-content: space-between; align-items: center; }
  .brand img { height: 64px; }

  /* hero: collapse the right-offset to centered on tablet/phone */
  .hero { justify-content: center; min-height: 80vh; padding: 110px var(--pad) 70px; }
  .hero .hero-content { width: auto; max-width: 100%; margin-right: 0; }

  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .card { padding: 32px 24px; }
  .section { padding: 60px 0; }
  .cta-section { padding: 60px 0; }

  .post-nav { flex-direction: column; }
}
