/* ============================================================
   Inner Resource Coaching Method — styles.css
   Plain CSS, mobile-first. Matches the original Wix design:
   alternating DARK (#222120) and BRONZE (#9E662C) full-width
   bands, 2-column content rows, Playfair Display headings.
   ============================================================ */

/* ---------- Design tokens (exact colors sampled from original) ---------- */
:root {
  --bronze:        #9E662C;  /* bronze section background */
  --bronze-text:   #D0CFCD;  /* light text on bronze (cool grey, matches Wix) */
  --dark:          #222120;  /* dark section background */
  --dark-text:     #D0CFCD;  /* light text on dark */
  --dark-panel:    #1B1A19;  /* darker inset panel */
  --cream:         #EBE5DF;  /* light/cream section background */
  --cream-text:    #2B2A28;  /* dark text on cream */
  --accent:        #BC9979;  /* warm taupe accent (buttons, headings) */
  --heading-cream: #EDE4D8;  /* heading color on dark/bronze */
  --white:         #ffffff;

  --heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
  --body-font: Helvetica, Arial, "Helvetica Neue", sans-serif;

  --maxw: 1140px;
  --gutter: 24px;
  --header-h: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--cream-text);
  background: var(--dark);
  /* keep light-on-dark text from rendering heavy/bold */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
p  { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lead {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.15rem;
}

/* ---------- Full-width color bands ---------- */
.band-dark   { background: var(--dark);   color: var(--dark-text); }
.band-bronze { background: var(--bronze); color: var(--bronze-text); }
.band-cream  { background: var(--cream);  color: var(--cream-text); }

.band-dark h1, .band-dark h2, .band-dark h3,
.band-bronze h1, .band-bronze h2, .band-bronze h3 { color: var(--heading-cream); }
.band-cream h2, .band-cream h3 { color: var(--bronze); }

/* vertical rhythm: sections get generous padding */
.band-dark, .band-bronze { padding: 80px 0; }
.band-cream { padding-bottom: 70px; }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--dark); color: var(--white); padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 14px 34px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus { background: transparent; color: var(--white); border-color: var(--white); }

/* ============================================================
   HEADER / NAV  (dark, static — does not follow scroll)
   ============================================================ */
.site-header {
  position: static;
  background: var(--dark);
  color: var(--dark-text);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h); padding-block: 18px;
  /* span wider than the body container, with comfortable side padding */
  max-width: none;
  padding-inline: clamp(24px, 5vw, 72px);
}
.brand { text-decoration: none; color: var(--dark-text); display: block; }
.brand-name {
  display: block; font-family: var(--heading-font); font-weight: 400;
  font-size: 1.5rem; color: #E4E2DC; line-height: 1.25;
}
.brand-sub {
  display: block; font-family: var(--heading-font); font-weight: 400;
  letter-spacing: 0.04em; font-size: 1.1rem; color: #DAD7D0; line-height: 1.3;
}
.brand-tagline {
  display: block; font-size: 0.72rem; letter-spacing: 0.04em;
  color: #97948c; margin-top: 5px; line-height: 1.5;
}
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav ul {
  list-style: none; display: flex; gap: 26px; margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.primary-nav li { white-space: nowrap; }
.primary-nav a {
  color: #CFCCC5; text-decoration: none; font-weight: 400;
  font-size: 0.85rem; letter-spacing: 0.02em; transition: color 0.2s ease;
}
.primary-nav a:hover, .primary-nav a:focus { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--dark-text); }

/* ============================================================
   HERO  (dark, 2-col: text left + image right)
   ============================================================ */
.hero { padding: 70px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-text { text-align: center; }
.hero-text h1 { color: var(--dark-text); margin-bottom: 0.4em; }
.hero-tagline {
  letter-spacing: 0.1em; font-size: 0.95rem; color: var(--dark-text); margin: 0;
}
.hero-image img {
  width: 100%; max-width: 460px; margin-inline: auto;
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
}

/* ============================================================
   BANNER  (full-width image with optional overlaid title)
   ============================================================ */
.banner { position: relative; }
.banner > img { width: 100%; max-height: 460px; object-fit: cover; }
.banner--short > img { max-height: 320px; }
.banner-title {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.banner-title h2 {
  color: var(--white); margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

/* ---------- Bronze text band (Philosophy body) ---------- */
.band-text {
  max-width: 880px; text-align: center;
  padding-top: 56px; padding-bottom: 64px;
}
.band-text .btn { margin-top: 12px; }

/* ============================================================
   SPLIT  (2-column image-left / text-right) — Methods, About,
   Assessment, Quote
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-media img {
  width: 100%; object-fit: cover;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

/* ---------- Methods ---------- */
.methods-intro {
  text-align: center; max-width: 760px; margin-top: 44px;
}
.methods-cards .split { margin-bottom: 64px; }
.methods-cards .split:last-child { margin-bottom: 0; }
/* method titles: tan, centered, regular weight (matches reference) */
.methods-cards .split-text h3 {
  color: var(--accent);
  text-align: center;
}

/* ============================================================
   TESTIMONIALS  (bronze, 2-col quotes)
   ============================================================ */
.testimonials-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.testimonials-head .lead { color: var(--heading-cream); margin-bottom: 0.6em; }

.testimonial-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 56px;
}
.testimonial { margin: 0; }
.testimonial blockquote {
  position: relative; margin: 0 0 14px; padding-left: 38px;
  font-size: 1.02rem; color: var(--bronze-text);
}
.testimonial blockquote::before {
  content: "\201C"; position: absolute; left: 0; top: -10px;
  font-family: var(--heading-font); font-size: 3rem; line-height: 1;
  color: rgba(255,255,255,0.45);
}
.testimonial figcaption {
  font-family: var(--heading-font); font-size: 1.1rem; color: var(--heading-cream); padding-left: 38px;
}
.testimonial figcaption span {
  display: block; font-family: var(--body-font);
  font-size: 0.82rem; color: rgba(243,233,221,0.7); margin-top: 4px;
}

/* ============================================================
   ABOUT  (dark)
   ============================================================ */
#about .split-media img { max-width: 460px; }

/* ============================================================
   ASSESSMENT  (bronze, image-left + dark text panel)
   ============================================================ */
.panel-dark {
  background: var(--dark);
  color: var(--dark-text);
  padding: 48px 44px;
}
.panel-dark h2 { color: var(--heading-cream); }
.panel-dark .btn { margin-top: 8px; }

/* ============================================================
   QUOTE  (dark)
   ============================================================ */
.pull-quote {
  margin: 0 0 14px;
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3; color: var(--dark-text);
}
.quote-attr {
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0; font-size: 0.85rem;
}

/* ============================================================
   CONTACT  (bronze, info left + form right)
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start;
}
.contact-info h2 { color: var(--heading-cream); }
.contact-info a { color: var(--bronze-text); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.contact-form .form-row { margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--body-font); font-size: 1rem;
  padding: 10px 2px;
  color: var(--bronze-text);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(243,233,221,0.5);
  border-radius: 0;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(243,233,221,0.75); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-bottom-color: var(--white); }
.contact-form textarea { resize: vertical; }
.contact-form .btn {
  margin-top: 8px; background: var(--dark); border-color: var(--dark);
}
.contact-form .btn:hover { background: transparent; border-color: var(--white); }
.form-status { margin-top: 18px; color: var(--white); font-weight: 600; }

/* ============================================================
   FOOTER  (dark)
   ============================================================ */
.site-footer { padding: 30px 0; text-align: center; font-size: 0.8rem; color: #8a877f; }
.site-footer p { margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-image { order: -1; }            /* image above text on mobile hero */
  .methods-cards .split { margin-bottom: 48px; }
  #about .split-media img,
  .hero-image img { max-width: 380px; }
}

@media (max-width: 768px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--dark); padding: 8px var(--gutter) 22px;
    border-top: 1px solid rgba(255,255,255,0.08); display: none;
  }
  .site-header.nav-open .primary-nav { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .primary-nav li { width: 100%; }
  .primary-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

  .band-dark, .band-bronze { padding: 54px 0; }
  .banner > img { max-height: 300px; }
}
