/* Super Ears Family — style.css
   Warm, professional, polished. Teal + amber + cream. */

:root {
  --teal: #0f6a64;
  --teal-dark: #0a4f4b;
  --teal-deep: #073936;
  --coral: #e8833a;
  --amber: #f5b942;
  --cream: #fff9f0;
  --cream-dark: #f7efdd;
  --ink: #243331;
  --muted: #5d706e;
  --line: #e9ddc6;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(7, 57, 54, 0.28);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--amber); color: var(--teal-deep); }

.container { width: min(1140px, 92%); margin: 0 auto; }

section { padding: 4.5rem 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.lede { font-size: 1.18rem; color: var(--muted); max-width: 44rem; }

a { color: var(--teal); }
a:hover { color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -10px rgba(15, 106, 100, 0.6); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-accent { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px -10px rgba(232, 131, 58, 0.65); }
.btn-accent:hover { background: #d5712a; color: var(--white); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  color: var(--teal-deep); line-height: 1.1;
}
.brand-text em { font-style: normal; color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn).active { color: var(--coral); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--teal-deep); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 4.5rem; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .highlight {
  background: linear-gradient(transparent 62%, var(--amber) 62%, var(--amber) 96%, transparent 96%);
}
.hero-art { position: relative; }
.hero-art img {
  border-radius: 220px 220px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; bottom: 1.4rem; left: -1.2rem;
  background: var(--white); border-radius: var(--radius);
  padding: 0.9rem 1.2rem; box-shadow: var(--shadow);
  font-size: 0.9rem; font-weight: 600; color: var(--teal-deep);
  display: flex; align-items: center; gap: 0.6rem;
  max-width: 240px;
}
.hero-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); flex: none; }

/* ---------- Mission strip ---------- */
.mission-strip { background: var(--teal-deep); color: var(--cream); padding: 2.6rem 0; text-align: center; }
.mission-strip p {
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  color: var(--cream); margin: 0; line-height: 1.5; max-width: 56rem; margin: 0 auto;
}
.mission-strip .sep { color: var(--amber); margin: 0 0.8rem; }

/* ---------- Book feature ---------- */
.book-feature { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: center; }
.book-cover {
  border-radius: 6px 14px 14px 6px; box-shadow: var(--shadow);
  transform: rotate(-2deg); transition: transform 0.25s ease;
}
.book-cover:hover { transform: rotate(0deg) scale(1.015); }
.book-meta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.pill {
  font-size: 0.82rem; font-weight: 600; background: var(--cream-dark);
  color: var(--teal-dark); padding: 0.35rem 0.9rem; border-radius: 999px;
}
.price { font-family: var(--font-head); font-size: 1.6rem; color: var(--teal-deep); font-weight: 700; }
.availability {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fef3e2; border: 1px solid #f3d9a8; color: #8a5a13;
  font-size: 0.92rem; font-weight: 600; border-radius: 12px; padding: 0.7rem 1rem; margin: 1rem 0;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.2rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.card-icon { font-size: 1.9rem; margin-bottom: 0.9rem; }
.card h3 { margin-bottom: 0.6rem; }
.card h3 a { text-decoration: none; color: inherit; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1rem; }
.card .card-link { margin-top: auto; font-weight: 600; color: var(--coral); font-size: 0.95rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head p { margin: 0; }

/* ---------- Story teaser ---------- */
.story-teaser { background: var(--cream-dark); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.story-grid img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.story-grid img.photo-full { aspect-ratio: auto; object-fit: contain; }
.photo-portrait { max-width: 420px; margin: 0 auto 3rem; text-align: center; }
.photo-portrait img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; display: block; }
.photo-portrait figcaption { margin-top: 0.8rem; color: var(--muted); font-size: 0.95rem; font-style: italic; }
.story-grid.story-single { grid-template-columns: 1fr; }
.story-grid.story-single .reveal { max-width: 720px; margin: 0 auto; text-align: center; }
.story-grid.story-single .pull-quote { border-left: none; padding-left: 0; }
.pull-quote {
  font-family: var(--font-head); font-size: 1.35rem; font-style: italic;
  color: var(--teal-dark); border-left: 4px solid var(--amber);
  padding-left: 1.2rem; margin: 1.4rem 0;
}

/* ---------- Newsletter ---------- */
.newsletter-band {
  background: linear-gradient(135deg, var(--coral), #d5712a);
  color: var(--white); border-radius: 28px; padding: 3.2rem;
  text-align: center; box-shadow: var(--shadow);
}
.newsletter-band h2 { color: var(--white); }
.newsletter-band p { color: rgba(255,255,255,0.92); max-width: 38rem; margin: 0 auto 1.6rem; }
.newsletter-form { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  padding: 0.85rem 1.3rem; border-radius: 999px; border: none; font-size: 1rem;
  min-width: min(320px, 100%); font-family: inherit;
}
.newsletter-form .btn { border: 2px solid var(--white); }
.freebie { font-size: 0.85rem; opacity: 0.9; margin-top: 1rem !important; }

/* ---------- Shop teaser ---------- */
.shop-teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #cfe0dd; padding: 3.5rem 0 0; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer a { color: #cfe0dd; text-decoration: none; font-size: 0.96rem; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-brand .brand-text { color: var(--white); }
.footer-tag { font-size: 0.95rem; margin-top: 0.8rem; max-width: 22rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding: 1.3rem 0;
  font-size: 0.88rem; text-align: center; color: #a9bdb9;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero .lede { margin: 0 auto; }

/* ---------- Articles ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; padding-bottom: 4rem; }
.article h2 { margin-top: 2.6rem; padding-top: 0.4rem; }
.article h3 { margin-top: 1.8rem; }
.article ul, .article ol { margin: 0 0 1.2rem 1.4rem; }
.article li { margin-bottom: 0.55rem; }
.article li::marker { color: var(--coral); font-weight: 700; }
.disclaimer {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: 12px; padding: 1.1rem 1.3rem; font-size: 0.92rem; color: var(--muted);
  margin-top: 2.5rem;
}
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.glossary-term { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.glossary-term h3 { color: var(--teal); margin: 0 0 0.3rem; font-size: 1.12rem; }
.glossary-term p { margin: 0; font-size: 0.98rem; }
.checklist { list-style: none; margin-left: 0 !important; }
.checklist li { padding-left: 2rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 2.5rem; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.45rem; font-size: 0.96rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,106,100,0.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .story-grid, .book-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-art { max-width: 520px; }
  .hero-badge { left: 0.6rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw); z-index: 1000;
    background: var(--teal-deep); flex-direction: column; align-items: flex-start;
    padding: 5rem 2rem 2rem; gap: 1.4rem; margin: 0;
    transform: translateX(105%); transition: transform 0.25s ease;
  }
  .site-nav.open { transform: none; }
  .site-nav a:not(.btn) { color: var(--cream); font-size: 1.15rem; }
  .nav-toggle { display: block; position: relative; z-index: 1001; }
  .nav-toggle.active span { background: var(--cream); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .cards, .shop-teaser-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .newsletter-band { padding: 2.2rem 1.4rem; }
  .form-card { padding: 1.6rem; }
}
