/* ============================================================
   Claire Neylan - coachneylan.com
   Shared Stylesheet - Brand v3 (cool jewel palette)
   ============================================================ */

/* --- Variables --- */
:root {
  --ivory:          #F5F0EA;
  --pearl:          #E7E1D9;
  --indigo:         #2E3A66;
  --indigo-dark:    #1E2744;
  --raspberry:      #B8345A;
  --raspberry-dark: #922848;
  --teal:           #2A8A9E;
  --pink:           #E8B8C4;
  --ink:            #1A1F33;
  --mid:            #5A607A;
  --border:         #CFC9BF;
  --warm-white:     #FDFBF8;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Lato', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:       72px;
  --max-w:       1100px;
  --section-gap: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
}

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

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--raspberry); }
p a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--indigo);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; font-weight: 700; font-family: var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--raspberry); }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  color: var(--mid);
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.6;
}

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-gap) 0; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }

.section-intro {
  max-width: 620px;
  margin-bottom: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 248, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo lockup: Option A botanical mark + wordmark (brand playground v3) */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  color: var(--ink);
}

.nav-logo img { width: auto; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.5rem; letter-spacing: 0.03em; }
.logo-tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 6px;
}

.nav-logo:hover .logo-name { color: var(--raspberry); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--raspberry); }

.nav-cta {
  background: var(--raspberry) !important;
  color: var(--warm-white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--raspberry-dark) !important; color: var(--warm-white) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--raspberry);
  color: var(--warm-white);
  border: 2px solid var(--raspberry);
}

.btn-primary:hover {
  background: var(--raspberry-dark);
  border-color: var(--raspberry-dark);
  color: var(--warm-white);
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
}

.btn-outline:hover {
  background: var(--indigo);
  color: var(--warm-white);
}

.btn-outline-raspberry {
  background: transparent;
  color: var(--raspberry);
  border: 2px solid var(--raspberry);
}

.btn-outline-raspberry:hover {
  background: var(--raspberry);
  color: var(--warm-white);
}

/* --- Hero --- */
.hero {
  background: var(--indigo);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,52,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-bottom: 16px;
}

.hero h1 { margin-bottom: 24px; color: var(--ivory); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--pearl);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-sub a { color: var(--ivory); }
.hero-sub a:hover { color: var(--pink); }

.hero .btn-outline { color: var(--ivory); border-color: var(--ivory); }
.hero .btn-outline:hover { background: var(--ivory); color: var(--indigo); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image { position: relative; }

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--pearl) 0%, var(--border) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Accent rule */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--raspberry);
  margin-bottom: 24px;
}

/* --- Cards --- */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}

.card h3 { margin-bottom: 12px; }

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--raspberry);
}

/* Pillar cards */
.pillar-card {
  background: var(--pearl);
  border-left: 3px solid var(--raspberry);
  padding: 28px 28px 28px 32px;
  border-radius: 0 4px 4px 0;
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--indigo);
}

/* --- Quote / Pullquote --- */
.pullquote {
  background: var(--pearl);
  border-left: 4px solid var(--raspberry);
  padding: 32px 40px;
  margin: 48px 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--indigo);
  line-height: 1.5;
}

.pullquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-style: normal;
  font-family: var(--font-sans);
  color: var(--mid);
  letter-spacing: 0.06em;
}

/* --- CTA Band --- */
.cta-band {
  background: var(--indigo);
  color: var(--warm-white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--warm-white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(253,251,248,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* --- Email capture band --- */
.email-band {
  background: var(--teal);
  color: var(--warm-white);
  padding: 64px 0;
  text-align: center;
}

.email-band h2 {
  color: var(--warm-white);
  margin-bottom: 8px;
}

.email-band p {
  color: rgba(253,251,248,0.85);
  max-width: 480px;
  margin: 0 auto 28px;
}

.email-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.email-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--warm-white);
}

.email-form input[type="email"]:focus {
  outline: 2px solid var(--pink);
}

.email-form button {
  padding: 14px 28px;
  background: var(--raspberry);
  color: var(--warm-white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.email-form button:hover { background: var(--raspberry-dark); }

.email-note {
  font-size: 0.78rem;
  color: rgba(253,251,248,0.6);
  margin-top: 12px;
}

/* Email form on a light section (Book page) */
.email-form-light input[type="email"] { border: 1px solid var(--border); }
.email-form-light + .email-note { color: var(--mid); }

/* Book subtitle under a "Fierce Feminine" heading */
.book-subtitle {
  display: block;
  font-size: 0.5em;
  font-style: italic;
  line-height: 1.3;
  margin-top: 8px;
}

/* --- Alternating section backgrounds --- */
.bg-cream  { background: var(--ivory); }
.bg-white  { background: var(--warm-white); }
.bg-pearl  { background: var(--pearl); }
.bg-dark   { background: var(--indigo); color: var(--warm-white); }
.bg-dark h2, .bg-dark h3 { color: var(--warm-white); }
.bg-dark p { color: rgba(253,251,248,0.8); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--indigo);
  padding: 64px 0 56px;
}

.page-hero h1 { margin-bottom: 12px; color: var(--ivory); }
.page-hero .lead { max-width: 560px; color: var(--pearl); }

/* --- Photos (Pexels, credited under each image) --- */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 4px; }
.photo-credit { font-size: 0.75rem; color: var(--mid); margin-top: 8px; }
.photo-credit a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.photo-credit a:hover { color: var(--raspberry); }
.hero .photo-credit { color: var(--pearl); }
.hero .photo-credit a:hover { color: var(--pink); }
.card .photo { margin: 4px 0 20px; }

/* --- Footer --- */
.site-footer {
  background: var(--pearl);
  color: var(--mid);
  padding: 56px 0 32px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-brand .logo-name { font-size: 1.3rem; }
.footer-brand .nav-logo img { height: 36px; }

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--mid);
}

.footer-col h4 {
  color: var(--indigo);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  color: var(--mid);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--raspberry); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--mid);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-raspberry { color: var(--raspberry); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-gap: 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 60px 0 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .email-form { flex-direction: column; align-items: stretch; }
}
