/* ── Rochel Smoller — shared stylesheet ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ── Tokens ── */
:root {
  --cream:   #FAF089;
  --sand:    #E8E0D4;
  --coral:   #CB0000;
  --navy:    #1E2B3A;
  --warm:    #4A3728;
  --muted:   #7A6E65;
  --white:   #FFFFFF;
  --brand-red: #CB0000;
  --brand-red-dark: #970000;

  --display: 'Playfair Display', Georgia, serif;
  --body:    'Source Sans 3', system-ui, sans-serif;

  --max:     1100px;
  --radius:  4px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Visually hidden but available to screen readers & search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── NAV ── */
nav {
  background: var(--brand-red);
  border-bottom: 2px solid var(--brand-red);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
}
.nav-links li a {
  display: block;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--coral);
  background: var(--cream);
  text-decoration: none;
}
.nav-links li a.nav-contact {
  background: var(--white);
  color: var(--brand-red);
  border: 1.5px solid var(--white);
  margin-left: 0.5rem;
}
.nav-links li a.nav-contact:hover {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--white);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero img.hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0) 40%);
}
.hero-overlay h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero-overlay p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  max-width: 640px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-overlay .btn {
  margin-top: 1.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--coral);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn:hover { background: var(--brand-red-dark); text-decoration: none; color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--coral);
  color: var(--coral);
}
.btn-outline:hover { background: var(--coral); color: var(--white); }

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--white);
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark a { color: #E8A090; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; color: var(--warm); }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 0.5rem;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--coral);
  margin: 1rem 0 1.5rem;
}
.divider-center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* ── GRID ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* ── IMAGE TREATMENTS ── */
.img-frame {
  border: 4px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.img-caption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ── VIDEO EMBED ── */
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border: 4px solid var(--sand);
  border-radius: var(--radius);
  background: var(--navy);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── FAQ / ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--sand);
  padding: 1.25rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--sand); }
.faq-q {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--coral);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none;
  padding-top: 0.75rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* ── STORY QUOTE BLOCKS ── */
.story-q {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--warm);
  margin: 1.5rem 0 0.4rem;
  font-weight: 700;
}
.story-a { color: var(--muted); margin-bottom: 1rem; }

/* ── CONTACT ── */
.contact-email-block {
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 2rem;
  display: inline-block;
}
.contact-email-block .label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.email-reveal {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
}
.email-reveal .hint {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--coral);
  display: block;
  font-style: normal;
  font-weight: 400;
  margin-top: 0.25rem;
}

/* ── FOOTER ── */
footer {
  background: var(--brand-red);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-tedx a {
  display: inline-block;
  background: var(--white);
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s;
}
.footer-tedx a:hover { background: var(--cream); text-decoration: none; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,0.65); font-size: 0.78rem; }

/* ── RESOURCE LINKS ── */
.resource-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--sand);
}
.resource-block:last-child { border-bottom: none; }
.resource-block h3 { color: var(--navy); margin-bottom: 0.25rem; }
.resource-block .tag {
  font-size: 0.72rem;
  background: var(--sand);
  color: var(--warm);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.resource-block a.url {
  font-size: 0.9rem;
  word-break: break-all;
}

/* ── STORY NAV ── */
.story-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.story-nav a {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--coral);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  transition: all 0.2s;
}
.story-nav a:hover,
.story-nav a.active {
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
}

/* ── BANNER STRIP ── */
.banner-strip {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.banner-strip a { color: var(--white); text-decoration: underline; }

/* ── LEGAL ── */
.legal-body p { margin-bottom: 1rem; color: var(--muted); }
.legal-body strong { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--sand);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { color: var(--navy); }
  .nav-links li a.nav-contact { margin-left: 0; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }
  .section { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
