/* IEP HQ Studio — homepage v1
   Brand: Cream #FAF7F2 · Deep Forest #1E3A2F · Charcoal #232725 · Sage #DFE8E2 · Terracotta #B65840 */

:root {
  --cream: #FAF7F2;
  --forest: #1E3A2F;
  --charcoal: #232725;
  --sage: #DFE8E2;
  --terracotta: #B65840;
  --text-muted: rgba(35, 39, 37, 0.72);
  --border: rgba(30, 58, 47, 0.12);
  --shadow: 0 12px 40px rgba(30, 58, 47, 0.08);
  --radius: 16px;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
}

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

a {
  color: var(--forest);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--terracotta); }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1rem; }

.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;
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest);
}

.brand:hover { color: var(--forest); }

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
}

.nav a:hover { color: var(--terracotta); }

/* ——— Sections ——— */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 40rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
}

.disclaimer strong { color: var(--charcoal); font-weight: 600; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--forest);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: transparent;
  color: var(--forest);
}

.btn:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.text-link {
  font-weight: 500;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

/* ——— Hero ——— */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage);
  border: 1px solid var(--border);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ——— Quote ——— */
.quote-block {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.quote-block blockquote {
  margin: 0;
  max-width: 42rem;
}

.quote-block p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 1.25rem;
  color: var(--cream);
}

.quote-block cite {
  display: block;
  font-style: normal;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 0.75rem;
}

.quote-source {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.65);
}

.quote-source a {
  color: rgba(250, 247, 242, 0.85);
}

.quote-source a:hover { color: var(--cream); }

/* ——— Tip cards ——— */
.tips-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .tips-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .tips-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.tip-card {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
}

.tip-card h3 {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  color: var(--forest);
}

.tip-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ——— Product ——— */
.product-intro {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 880px) {
  .product-intro {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.price-line {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0.5rem 0 0;
}

.gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
  margin: 2rem 0;
}

@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sage);
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(30, 58, 47, 0.06);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem 0.7rem;
  color: var(--text-muted);
}

.videos {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

@media (min-width: 720px) {
  .videos { grid-template-columns: 1fr 1fr; }
}

.videos figure {
  margin: 0;
}

.videos video {
  width: 100%;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid var(--border);
}

.videos figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}

.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.feature-list strong {
  display: block;
  color: var(--forest);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.feature-list span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ——— How it works ——— */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; }
}

.step {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
}

.step-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.step p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* ——— Who ——— */
.who-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
}

.who-card {
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
}

.who-card.for { background: var(--sage); }
.who-card.not { background: #fff; }

.who-card h3 {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.who-card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* ——— Socials ——— */
.social-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 550;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.social-link:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow);
  color: var(--forest);
}

.social-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sage);
  color: var(--forest);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ——— FAQ ——— */
.faq-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.3rem;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--terracotta);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .answer {
  padding: 0 1.3rem 1.2rem;
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ——— Final CTA ——— */
.final-cta {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.final-cta h2 { color: var(--cream); }

.final-cta p {
  color: rgba(250, 247, 242, 0.8);
  max-width: 36rem;
  margin-inline: auto;
}

.final-cta .btn {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
  margin-top: 0.5rem;
}

.final-cta .btn:hover {
  background: transparent;
  color: var(--cream);
}

.final-cta .disclaimer {
  color: rgba(250, 247, 242, 0.65);
  margin-top: 1.5rem;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.footer-socials a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.footer-meta p { margin: 0 0 0.5rem; }

@media (max-width: 560px) {
  .nav { display: none; }
}
