:root {
  --ec18-cream: #f7f1e8;
  --ec18-cream-2: #fbf8f3;
  --ec18-paper: #fffdf9;
  --ec18-paper-warm: #f1e7da;
  --ec18-navy: #15324f;
  --ec18-navy-dark: #0d2943;
  --ec18-ink: #28322e;
  --ec18-muted: #69665f;
  --ec18-gold: #ad8956;
  --ec18-gold-soft: #d6bf99;
  --ec18-sage: #82917e;
  --ec18-clay: #b66e4b;
  --ec18-line: #ddd2c4;
  --ec18-shadow: 0 24px 70px rgba(48, 38, 27, 0.11);
  --ec18-soft-shadow: 0 12px 32px rgba(48, 38, 27, 0.07);
  --ec18-max: 1360px;
  --ec18-header: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ec18-ink);
  background: var(--ec18-cream-2);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ec18-modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.ec18-container {
  width: min(calc(100% - 64px), var(--ec18-max));
  margin-inline: auto;
}
.ec18-eyebrow {
  display: inline-block;
  margin: 0 0 15px;
  color: var(--ec18-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.ec18-display,
.ec18-heading,
.ec18-subheading,
.ec18-card-title {
  margin: 0;
  color: var(--ec18-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.027em;
}
.ec18-display { font-size: clamp(52px, 4.35vw, 72px); line-height: 0.98; }
.ec18-heading { font-size: clamp(43px, 3.7vw, 60px); line-height: 1.01; }
.ec18-subheading { font-size: clamp(31px, 2.5vw, 42px); line-height: 1.04; }
.ec18-body-large { font-size: 19px; line-height: 1.68; color: var(--ec18-muted); }
.ec18-body { color: var(--ec18-muted); font-size: 16px; line-height: 1.72; }
.ec18-small { color: var(--ec18-muted); font-size: 14px; line-height: 1.6; }
.ec18-rule { width: 54px; height: 1px; background: var(--ec18-gold); }

.ec18-button,
.ec18-button-outline,
.ec18-link-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 0 23px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.ec18-button {
  border: 1px solid var(--ec18-navy);
  background: var(--ec18-navy);
  color: #fff;
}
.ec18-button:hover { background: var(--ec18-navy-dark); transform: translateY(-1px); }
.ec18-button--clay { border-color: var(--ec18-clay); background: var(--ec18-clay); }
.ec18-button--clay:hover { background: #9f5f40; }
.ec18-button-outline {
  border: 1px solid #cbbdac;
  background: rgba(255,255,255,.7);
  color: var(--ec18-navy);
}
.ec18-button-outline:hover { border-color: var(--ec18-gold); background: #fff; transform: translateY(-1px); }
.ec18-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ec18-navy);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(21,50,79,.28);
  padding: 6px 0 4px;
}
.ec18-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Header */
.ec18-header {
  min-height: var(--ec18-header);
  display: grid;
  grid-template-columns: 210px minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 4vw, 68px);
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251,248,243,.96);
  border-bottom: 1px solid rgba(21,50,79,.08);
  backdrop-filter: blur(14px);
}
.ec18-logo img { width: 172px; height: auto; }
.ec18-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px,2.4vw,38px); }
.ec18-nav a {
  color: #303632;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}
.ec18-nav a:hover, .ec18-nav a[aria-current="page"] { color: var(--ec18-clay); }
.ec18-header-actions { display: flex; align-items: center; gap: 11px; }
.ec18-cart {
  width: 42px;
  height: 42px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--ec18-navy);
}
.ec18-cart svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ec18-cart .cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ec18-clay);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  opacity: 0;
  transform: scale(.75);
  transition: .18s ease;
}
.ec18-cart .cart-count.has-item { opacity: 1; transform: scale(1); }
.ec18-menu { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.ec18-menu span { display: block; width: 24px; height: 1.5px; background: var(--ec18-navy); margin: 5px auto; }
.ec18-mobile-nav { display: none; }

/* Hero */
.ec18-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(500px, 44%) minmax(0, 56%);
  background: var(--ec18-cream);
  overflow: hidden;
}
.ec18-hero-copy {
  padding: 70px clamp(42px, 5.2vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.ec18-hero-copy .ec18-display { max-width: 690px; }
.ec18-hero-copy .ec18-body-large { max-width: 620px; margin: 24px 0 27px; }
.ec18-hero-promise {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #6f695f;
  font-size: 14px;
  line-height: 1.55;
}
.ec18-hero-promise svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ec18-gold); stroke-width: 1.7; }
.ec18-hero-media {
  min-width: 0;
  min-height: 690px;
  position: relative;
  overflow: hidden;
  background: #e4d7c7;
}
.ec18-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ec18-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,241,232,.2), transparent 26%, rgba(20,34,30,.07));
  pointer-events: none;
}
.ec18-hero-book {
  position: absolute;
  z-index: 3;
  left: 5.5%;
  bottom: 4.5%;
  width: min(31%, 300px);
  filter: drop-shadow(0 22px 22px rgba(36,28,20,.24));
  transform: rotate(-2deg);
  opacity: 0;
  transition: opacity .25s ease;
}
.ec18-hero-media.stock-loaded .ec18-hero-book { opacity: 1; }
.ec18-hero-label {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 22px;
  max-width: 310px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 8px;
  background: rgba(252,249,244,.9);
  box-shadow: var(--ec18-soft-shadow);
  backdrop-filter: blur(9px);
  color: var(--ec18-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.08;
}
.ec18-hero-label span { display: block; margin-top: 5px; color: var(--ec18-muted); font-family: "Manrope", sans-serif; font-size: 11px; line-height: 1.45; }

/* Common section design */
.ec18-section { padding: 92px 0; }
.ec18-section--warm { background: var(--ec18-cream); }
.ec18-section--paper { background: var(--ec18-cream-2); }
.ec18-section--navy { background: var(--ec18-navy); color: #fff; }
.ec18-section-head { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.ec18-section-head .ec18-body { max-width: 700px; margin: 16px auto 0; }
.ec18-section-head--left { margin-left: 0; text-align: left; }

/* Two products */
.ec18-two-products { padding: 0; background: var(--ec18-cream-2); }
.ec18-product-story {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(430px,.94fr);
  align-items: stretch;
}
.ec18-product-story:nth-child(even) { grid-template-columns: minmax(430px,.94fr) minmax(0,1.06fr); background: var(--ec18-cream); }
.ec18-product-story:nth-child(even) .ec18-product-image { order: 2; }
.ec18-product-image { min-width: 0; background: #e7dbcc; overflow: hidden; }
.ec18-product-image img { width: 100%; height: 100%; object-fit: cover; }
.ec18-product-copy { padding: 76px clamp(44px,5vw,84px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ec18-product-copy .ec18-heading { max-width: 570px; }
.ec18-product-copy .ec18-body { max-width: 590px; margin: 19px 0 22px; }
.ec18-feature-list { list-style: none; padding: 0; margin: 0 0 27px; display: grid; gap: 10px; }
.ec18-feature-list li { position: relative; padding-left: 27px; color: #595d58; font-size: 15px; }
.ec18-feature-list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 12px; height: 1px; background: var(--ec18-gold); }
.ec18-product-price { margin: 0 0 19px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 27px; }
.ec18-product-price small { display: block; color: var(--ec18-muted); font-family: "Manrope", sans-serif; font-size: 12px; }

/* Process */
.ec18-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.ec18-process-step { position: relative; padding: 29px 27px 27px; border-top: 1px solid var(--ec18-line); }
.ec18-step-number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: #e8ddcd; color: #85683f; font-size: 11px; font-weight: 700; }
.ec18-process-step h3 { margin: 0 0 9px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1.05; }
.ec18-process-step p { margin: 0; color: var(--ec18-muted); font-size: 15px; line-height: 1.65; }
.ec18-prompt-demo {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(340px,.8fr) minmax(0,1.2fr);
  border-radius: 19px;
  overflow: hidden;
  background: var(--ec18-navy);
  box-shadow: var(--ec18-shadow);
}
.ec18-prompt-question { padding: 40px; color: #fff; }
.ec18-prompt-question .ec18-eyebrow { color: #d8bd91; }
.ec18-prompt-question h3 { margin: 0; color: #fff; font-family: "EB Garamond", Georgia, serif; font-size: 37px; font-weight: 400; line-height: 1.03; }
.ec18-prompt-question p { margin: 12px 0 20px; color: rgba(255,255,255,.73); font-size: 15px; }
.ec18-prompt-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ec18-prompt-choices button { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: transparent; color: #fff; padding: 10px 15px; font-size: 13px; }
.ec18-prompt-choices button.active { border-color: #d8bd91; background: #d8bd91; color: var(--ec18-navy); }
.ec18-prompt-result { padding: 40px; display: flex; flex-direction: column; justify-content: center; background: #e9dfd2; }
.ec18-prompt-result small { color: #8b6941; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.ec18-prompt-result strong { display: block; margin: 10px 0 12px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1.08; }
.ec18-prompt-result p { margin: 0; color: #6b665e; font-size: 14px; line-height: 1.6; }

/* Book viewer */
.ec18-viewer-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; }
.ec18-viewer-tabs button { min-height: 43px; border: 1px solid var(--ec18-line); border-radius: 999px; background: #fff; color: var(--ec18-navy); padding: 0 18px; font-size: 13px; font-weight: 700; }
.ec18-viewer-tabs button.active { border-color: var(--ec18-navy); background: var(--ec18-navy); color: #fff; }
.ec18-viewer-mode[hidden] { display: none; }
.ec18-book-viewer { max-width: 1160px; margin: 0 auto; outline: none; }
.ec18-book-frame {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  background: #dfd1bf;
  box-shadow: var(--ec18-shadow);
}
.ec18-book-frame::before { content: ""; position: absolute; left: 50%; top: 29px; bottom: 29px; width: 28px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(82,62,42,.14), transparent); z-index: 4; pointer-events: none; }
.ec18-spread { display: none; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 520px; overflow: hidden; border-radius: 8px; background: var(--ec18-paper); }
.ec18-spread.active { display: grid; }
.ec18-page { min-width: 0; padding: 42px; position: relative; overflow: hidden; background: linear-gradient(90deg,#fffdfa,#fbf6ed); border: 1px solid rgba(141,116,81,.18); }
.ec18-page:nth-child(2) { background: linear-gradient(90deg,#fbf6ed,#fffdfa); }
.ec18-page-label { color: var(--ec18-gold); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ec18-page h3 { margin: 9px 0 16px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: clamp(31px,3vw,45px); font-weight: 400; line-height: .99; }
.ec18-page p { color: #645f57; font-size: 14px; line-height: 1.62; }
.ec18-page .ec18-live-photo, .ec18-page-photo { width: 100%; height: 270px; object-fit: cover; border-radius: 4px; background: #e4d9cc; }
.ec18-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ec18-photo-grid img { width: 100%; height: 145px; object-fit: cover; border-radius: 3px; }
.ec18-detail-list { display: grid; gap: 10px; margin-top: 18px; }
.ec18-detail-row { display: grid; grid-template-columns: 135px 1fr; gap: 14px; padding-bottom: 9px; border-bottom: 1px solid #e4dacd; }
.ec18-detail-row span { color: #8b8175; font-size: 11px; }
.ec18-detail-row strong { color: #46504b; font-family: "EB Garamond", Georgia, serif; font-size: 18px; font-weight: 500; }
.ec18-quote { margin: 25px 0 0; padding: 18px 21px; border-left: 2px solid var(--ec18-gold); background: rgba(225,210,188,.26); color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 23px; line-height: 1.2; }
.ec18-letter-copy { max-width: 440px; margin-top: 23px; color: #5b5b54; font-family: "EB Garamond", Georgia, serif; font-size: 19px; line-height: 1.58; }
.ec18-activity-image { width: 100%; height: 100%; min-height: 430px; object-fit: contain; background: #fffaf2; }
.ec18-viewer-footer { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; gap: 15px; align-items: center; margin-top: 23px; }
.ec18-viewer-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ec18-line); border-radius: 50%; background: #fff; color: var(--ec18-navy); font-size: 22px; }
.ec18-viewer-meta { text-align: center; }
.ec18-viewer-meta strong { display: block; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 25px; font-weight: 400; }
.ec18-viewer-meta span { color: var(--ec18-muted); font-size: 12px; }
.ec18-viewer-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.ec18-viewer-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cabdab; }
.ec18-viewer-dots button.active { background: var(--ec18-navy); }

/* Age */
.ec18-age-shell { max-width: 1170px; margin: 0 auto; padding: 38px; border: 1px solid var(--ec18-line); border-radius: 20px; background: var(--ec18-paper); box-shadow: var(--ec18-soft-shadow); }
.ec18-age-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 34px; }
.ec18-age-tabs button { min-height: 41px; border: 1px solid var(--ec18-line); border-radius: 999px; background: #fff; color: var(--ec18-navy); padding: 0 15px; font-size: 13px; font-weight: 700; }
.ec18-age-tabs button.active { border-color: var(--ec18-gold); background: var(--ec18-gold); color: #fff; }
.ec18-age-content { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: 38px; align-items: center; }
.ec18-age-content h3 { margin: 0 0 12px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 40px; font-weight: 400; line-height: 1; }
.ec18-age-content > div > p { color: var(--ec18-muted); font-size: 15px; }
.ec18-age-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ec18-age-product { padding: 22px; border-radius: 14px; background: #f6efe5; }
.ec18-age-product span { color: #8a6a42; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.ec18-age-product strong { display: block; margin: 6px 0 7px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1.05; }
.ec18-age-product p { margin: 0; color: #6d685f; font-size: 13px; line-height: 1.55; }
.ec18-age-prompts { grid-column: 1/-1; margin: 4px 0 0; padding: 21px 23px; border: 1px solid #e0d4c5; border-radius: 13px; background: #fff; }
.ec18-age-prompts strong { display: block; margin-bottom: 8px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 21px; font-weight: 500; }
.ec18-age-prompts ul { margin: 0; padding-left: 20px; color: #6d685f; font-size: 13px; }

/* Why / collection */
.ec18-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.ec18-benefit { padding: 30px 25px; border-top: 1px solid var(--ec18-line); }
.ec18-benefit svg { width: 37px; height: 37px; margin-bottom: 18px; fill: none; stroke: var(--ec18-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ec18-benefit h3 { margin: 0 0 9px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 27px; font-weight: 400; }
.ec18-benefit p { margin: 0; color: var(--ec18-muted); font-size: 15px; }
.ec18-lifestyle-band { margin-top: 46px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); min-height: 480px; overflow: hidden; border-radius: 18px; background: var(--ec18-navy); }
.ec18-lifestyle-photo { min-height: 480px; width: 100%; height: 100%; object-fit: cover; }
.ec18-lifestyle-copy { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.ec18-lifestyle-copy .ec18-eyebrow { color: #d9bd90; }
.ec18-lifestyle-copy h3 { margin: 0; color: #fff; font-family: "EB Garamond", Georgia, serif; font-size: 43px; font-weight: 400; line-height: 1; }
.ec18-lifestyle-copy p { color: rgba(255,255,255,.75); font-size: 15px; }
.ec18-collection-section { padding: 80px 0 0; background: var(--ec18-cream); text-align: center; }
.ec18-collection-section .ec18-heading { max-width: 900px; margin: 0 auto 17px; }
.ec18-collection-section .ec18-body { max-width: 690px; margin: 0 auto 35px; }
.ec18-collection-section img { width: 100%; height: auto; }

/* Product-page heroes */
.ec18-product-hero { padding: 62px 0 70px; background: var(--ec18-cream); }
.ec18-product-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(470px,.92fr); gap: 58px; align-items: center; }
.ec18-product-hero-copy .ec18-display { max-width: 660px; }
.ec18-product-hero-copy .ec18-body-large { margin: 21px 0 23px; max-width: 620px; }
.ec18-product-hero-image { position: relative; padding: 23px; border-radius: 19px; background: #eadfce; box-shadow: var(--ec18-shadow); }
.ec18-product-hero-image img { width: 100%; height: auto; border-radius: 11px; }
.ec18-price { margin: 4px 0 21px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 35px; }
.ec18-price small { display: block; color: var(--ec18-muted); font-family: "Manrope", sans-serif; font-size: 12px; }
.ec18-inline-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.ec18-inline-facts span { padding: 8px 12px; border: 1px solid #d6cbbc; border-radius: 999px; background: rgba(255,255,255,.55); color: #645f57; font-size: 12px; }
.ec18-not-workbook { margin-top: 21px; padding: 17px 19px; border-left: 2px solid var(--ec18-gold); background: rgba(255,255,255,.55); color: #655f57; font-size: 14px; }
.ec18-spec-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ec18-spec { padding: 24px; border: 1px solid var(--ec18-line); border-radius: 13px; background: var(--ec18-paper); }
.ec18-spec span { color: #987044; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.ec18-spec strong { display: block; margin: 8px 0 5px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 24px; font-weight: 400; }
.ec18-spec p { margin: 0; color: var(--ec18-muted); font-size: 13px; }
.ec18-cover-lineup { margin-top: 34px; padding: 20px; border: 1px solid var(--ec18-line); border-radius: 15px; background: #e9ded0; }
.ec18-cover-lineup img { width: 100%; height: auto; }
.ec18-cover-note { max-width: 800px; margin: 18px auto 0; color: var(--ec18-muted); font-size: 14px; text-align: center; }

/* Little Chapters transformation */
.ec18-transformation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.ec18-transform-card { position: relative; padding: 17px; border: 1px solid var(--ec18-line); border-radius: 15px; background: var(--ec18-paper); box-shadow: var(--ec18-soft-shadow); }
.ec18-transform-card:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -21px; z-index: 4; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ec18-navy); color: #fff; transform: translateY(-50%); font-size: 14px; }
.ec18-transform-card img { width: 100%; height: 310px; object-fit: contain; border-radius: 9px; background: #f2e9dc; }
.ec18-transform-card:first-child img { object-fit: cover; }
.ec18-transform-card span { display: block; margin: 15px 0 4px; color: #987044; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.ec18-transform-card h3 { margin: 0; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 27px; font-weight: 400; }
.ec18-transform-card p { margin: 7px 0 0; color: var(--ec18-muted); font-size: 13px; }
.ec18-original-note { max-width: 850px; margin: 27px auto 0; padding: 19px 23px; border-radius: 12px; background: #eee3d5; color: #615e58; font-size: 14px; text-align: center; }

/* Final CTA + footer */
.ec18-final { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.85fr); align-items: center; background: var(--ec18-navy); color: #fff; }
.ec18-final-copy { padding: 68px clamp(35px,5vw,82px); }
.ec18-final-copy .ec18-eyebrow { color: #d9bd90; }
.ec18-final-copy .ec18-heading { color: #fff; max-width: 700px; }
.ec18-final-copy .ec18-heading em { color: #d9bd90; font-weight: 400; }
.ec18-final-copy p { max-width: 570px; color: rgba(255,255,255,.75); font-size: 16px; }
.ec18-final .ec18-button { border-color: #f5eee4; background: #f5eee4; color: var(--ec18-navy); }
.ec18-final-image { min-width: 0; height: 100%; background: #d8c7b4; }
.ec18-final-image img { width: 100%; height: 100%; object-fit: cover; }
.ec18-footer { background: var(--ec18-cream-2); border-top: 1px solid var(--ec18-line); }
.ec18-footer-main { width: min(calc(100% - 64px), var(--ec18-max)); margin: auto; padding: 47px 0 38px; display: grid; grid-template-columns: minmax(240px,1.1fr) minmax(300px,1fr) minmax(240px,.8fr); gap: 50px; }
.ec18-footer-brand img { width: 165px; }
.ec18-footer-brand p { max-width: 310px; margin: 14px 0 0; color: var(--ec18-muted); font-size: 13px; }
.ec18-footer-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; }
.ec18-footer-nav div { display: flex; flex-direction: column; gap: 8px; }
.ec18-footer-nav strong { color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 20px; font-weight: 500; }
.ec18-footer-nav a { color: var(--ec18-muted); font-size: 13px; }
.ec18-footer-callout .ec18-eyebrow { margin-bottom: 8px; }
.ec18-footer-callout p { margin: 0 0 15px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 24px; line-height: 1.15; }
.ec18-footer-bottom { width: min(calc(100% - 64px), var(--ec18-max)); margin: auto; padding: 17px 0 22px; border-top: 1px solid rgba(121,98,69,.14); display: flex; justify-content: space-between; gap: 20px; color: #837b72; font-size: 11px; }

/* Quiz */
.ec18-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(24,34,31,.64); backdrop-filter: blur(6px); }
.ec18-modal.open { display: flex; }
.ec18-quiz { width: min(850px,100%); max-height: 92vh; overflow: auto; position: relative; padding: 35px; border-radius: 19px; background: var(--ec18-cream-2); box-shadow: 0 32px 100px rgba(0,0,0,.26); }
.ec18-quiz-close { position: absolute; right: 17px; top: 11px; width: 40px; height: 40px; border: 0; background: transparent; color: #555b57; font-size: 31px; line-height: 1; }
.ec18-quiz-top { padding-right: 42px; display: flex; justify-content: space-between; gap: 20px; color: #7a7369; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.ec18-quiz-progress { height: 6px; margin: 13px 0 29px; overflow: hidden; border-radius: 999px; background: #e8ddd0; }
.ec18-quiz-progress span { display: block; width: 20%; height: 100%; background: var(--ec18-gold); transition: width .25s ease; }
.ec18-quiz-step { display: none; }
.ec18-quiz-step.active { display: block; }
.ec18-quiz-step .ec18-subheading { max-width: 680px; }
.ec18-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 23px; }
.ec18-choice { position: relative; display: flex; flex-direction: column; min-height: 165px; padding: 21px; border: 1px solid var(--ec18-line); border-radius: 13px; background: #fff; cursor: pointer; }
.ec18-choice input { position: absolute; opacity: 0; }
.ec18-choice:has(input:checked) { border-color: var(--ec18-gold); box-shadow: 0 0 0 3px rgba(173,137,86,.15); }
.ec18-choice-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 9px; background: #eee3d4; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 25px; }
.ec18-choice strong { margin: 16px 0 5px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 25px; font-weight: 500; }
.ec18-choice small { color: var(--ec18-muted); font-size: 13px; line-height: 1.5; }
.ec18-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0; }
.ec18-chip { position: relative; }
.ec18-chip input { position: absolute; opacity: 0; }
.ec18-chip span { display: block; padding: 11px 16px; border: 1px solid var(--ec18-line); border-radius: 999px; background: #fff; color: #59605c; font-size: 14px; cursor: pointer; }
.ec18-chip:has(input:checked) span { border-color: var(--ec18-gold); background: #e7dac7; color: var(--ec18-navy); }
.ec18-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.ec18-field { display: grid; gap: 7px; color: #565d59; font-size: 13px; font-weight: 700; }
.ec18-field--full { grid-column: 1/-1; }
.ec18-field input, .ec18-field select, .ec18-field textarea { width: 100%; border: 1px solid #d7cbbc; border-radius: 9px; background: #fff; color: #313632; padding: 13px 14px; font-size: 14px; }
.ec18-field textarea { min-height: 100px; resize: vertical; }
.ec18-product-questions[hidden] { display: none; }
.ec18-summary { margin-top: 21px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ec18-summary div { padding: 16px; border: 1px solid var(--ec18-line); border-radius: 10px; background: #fff; }
.ec18-summary small { display: block; color: #8a8176; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.ec18-summary strong { display: block; margin-top: 5px; color: var(--ec18-navy); font-family: "EB Garamond", Georgia, serif; font-size: 21px; font-weight: 500; }
.ec18-quiz-controls { margin-top: 27px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ec18-back { border: 0; background: transparent; color: #6f756f; padding: 12px 4px; }
.ec18-next, .ec18-submit { margin-left: auto; min-height: 46px; border: 0; border-radius: 5px; background: var(--ec18-navy); color: #fff; padding: 0 21px; font-size: 13px; font-weight: 700; }
.ec18-submit { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .ec18-header { grid-template-columns: 190px minmax(0,1fr) auto; padding-inline: 24px; gap: 18px; }
  .ec18-nav { gap: 18px; }
  .ec18-nav a { font-size: 15px; }
  .ec18-header-actions .ec18-button { padding-inline: 15px; }
  .ec18-hero { grid-template-columns: minmax(420px,45%) minmax(0,55%); }
  .ec18-hero-copy { padding-inline: 39px; }
  .ec18-hero-book { width: min(34%,270px); }
  .ec18-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ec18-footer-main { grid-template-columns: 1fr 1fr; }
  .ec18-footer-callout { grid-column: 1/-1; padding-top: 25px; border-top: 1px solid var(--ec18-line); }
}
@media (max-width: 930px) {
  :root { --ec18-header: 74px; }
  body { font-size: 16px; }
  .ec18-container { width: min(calc(100% - 40px), var(--ec18-max)); }
  .ec18-header { grid-template-columns: 1fr auto; min-height: var(--ec18-header); }
  .ec18-logo img { width: 155px; }
  .ec18-nav, .ec18-header-actions > .ec18-button { display: none; }
  .ec18-menu { display: block; }
  .ec18-mobile-nav { grid-column: 1/-1; width: calc(100% + 48px); margin-left: -24px; padding: 3px 24px 22px; border-top: 1px solid var(--ec18-line); background: var(--ec18-cream-2); }
  .ec18-mobile-nav.open { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
  .ec18-mobile-nav a { width: 100%; padding: 12px 3px; border-bottom: 1px solid var(--ec18-line); font-family: "EB Garamond", Georgia, serif; font-size: 19px; }
  .ec18-mobile-nav .ec18-button { width: 100%; margin-top: 13px; }
  .ec18-hero { grid-template-columns: 1fr; min-height: auto; }
  .ec18-hero-copy { padding: 58px 24px 45px; }
  .ec18-hero-media { min-height: 590px; }
  .ec18-hero-book { width: min(31%,240px); }
  .ec18-product-story, .ec18-product-story:nth-child(even) { grid-template-columns: 1fr; min-height: auto; }
  .ec18-product-story:nth-child(even) .ec18-product-image { order: 0; }
  .ec18-product-image { min-height: 480px; }
  .ec18-product-copy { padding: 60px 27px; }
  .ec18-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ec18-prompt-demo { grid-template-columns: 1fr; }
  .ec18-age-content { grid-template-columns: 1fr; }
  .ec18-lifestyle-band { grid-template-columns: 1fr; }
  .ec18-lifestyle-photo { min-height: 430px; }
  .ec18-product-hero-grid { grid-template-columns: 1fr; }
  .ec18-product-hero-copy { order: 1; }
  .ec18-product-hero-image { order: 0; max-width: 700px; margin: auto; }
  .ec18-spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ec18-transformation { grid-template-columns: 1fr; max-width: 700px; margin: auto; }
  .ec18-transform-card:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -22px; transform: translateX(50%); }
  .ec18-final { grid-template-columns: 1fr; }
  .ec18-final-image { order: -1; max-height: 500px; }
}
@media (max-width: 650px) {
  .ec18-container { width: min(calc(100% - 28px), var(--ec18-max)); }
  .ec18-display { font-size: 47px; }
  .ec18-heading { font-size: 40px; }
  .ec18-body-large { font-size: 17px; }
  .ec18-section { padding: 68px 0; }
  .ec18-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .ec18-actions .ec18-button, .ec18-actions .ec18-button-outline { width: 100%; }
  .ec18-hero-copy { padding: 49px 20px 39px; }
  .ec18-hero-media { min-height: 450px; }
  .ec18-hero-book { left: 4%; bottom: 3%; width: 31%; }
  .ec18-hero-media.stock-loaded .ec18-hero-book { opacity: 1; }
.ec18-hero-label { right: 13px; bottom: 12px; font-size: 16px; }
  .ec18-product-image { min-height: 350px; }
  .ec18-product-copy { padding: 48px 21px; }
  .ec18-process-grid { grid-template-columns: 1fr; }
  .ec18-process-step { padding-inline: 4px; }
  .ec18-prompt-question, .ec18-prompt-result { padding: 29px 22px; }
  .ec18-prompt-question h3 { font-size: 31px; }
  .ec18-book-frame { padding: 10px; }
  .ec18-book-frame::before { display: none; }
  .ec18-spread { grid-template-columns: 1fr; min-height: 0; }
  .ec18-page { padding: 27px 22px; min-height: 430px; }
  .ec18-page .ec18-live-photo, .ec18-page-photo { height: 235px; }
  .ec18-photo-grid img { height: 125px; }
  .ec18-detail-row { grid-template-columns: 112px 1fr; }
  .ec18-activity-image { min-height: 0; height: auto; }
  .ec18-viewer-footer { grid-template-columns: 43px minmax(0,1fr) 43px; }
  .ec18-viewer-arrow { width: 43px; height: 43px; }
  .ec18-age-shell { padding: 25px 18px; }
  .ec18-age-products { grid-template-columns: 1fr; }
  .ec18-benefits { grid-template-columns: 1fr; }
  .ec18-benefit { padding-inline: 4px; }
  .ec18-lifestyle-band { border-radius: 12px; }
  .ec18-lifestyle-photo { min-height: 360px; }
  .ec18-lifestyle-copy { padding: 39px 23px; }
  .ec18-lifestyle-copy h3 { font-size: 37px; }
  .ec18-product-hero { padding-top: 35px; }
  .ec18-product-hero-grid { gap: 34px; }
  .ec18-product-hero-image { padding: 12px; }
  .ec18-spec-grid { grid-template-columns: 1fr; }
  .ec18-transform-card img { height: auto; }
  .ec18-final-copy { padding: 52px 22px; }
  .ec18-footer-main { width: min(calc(100% - 36px), var(--ec18-max)); padding: 38px 0 30px; grid-template-columns: 1fr; gap: 31px; }
  .ec18-footer-nav { gap: 28px; }
  .ec18-footer-callout { grid-column: auto; }
  .ec18-footer-bottom { width: min(calc(100% - 36px), var(--ec18-max)); flex-direction: column; gap: 4px; }
  .ec18-quiz { padding: 29px 18px; }
  .ec18-choice-grid, .ec18-fields, .ec18-summary { grid-template-columns: 1fr; }
  .ec18-field--full { grid-column: auto; }
}


/* V18.2 — approved product photography */
.ec18-hero-media--approved::after {
  background: linear-gradient(90deg, rgba(247,241,232,.10), transparent 22%, rgba(20,34,30,.04));
}
.ec18-hero-media--approved .ec18-hero-photo {
  object-position: 51% center;
}
.ec18-collection-section {
  padding-bottom: 0;
  overflow: hidden;
}
.ec18-collection-section > img {
  display: block;
  width: min(100%, 1672px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.ec18-cover-lineup {
  padding: 0;
  overflow: hidden;
  background: #f7f1e8;
}
.ec18-cover-lineup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ec18-final-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f1e8;
}
.ec18-final-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 930px) {
  .ec18-hero-media--approved {
    min-height: 0;
  }
  .ec18-hero-media--approved .ec18-hero-photo {
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .ec18-final-image {
    max-height: none;
  }
}


/* V18.3 — approved What's Inside visuals */
.ec18-inside-showcase .ec18-section-head {
  max-width: 930px;
}
.ec18-product-image--overview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 28px);
  background: #efe4d6;
}
.ec18-product-image--overview img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(67, 49, 31, .08);
}
.ec18-book-viewer--showcase {
  max-width: 1180px;
}
.ec18-book-frame--showcase {
  padding: clamp(8px, 1.2vw, 16px);
  background: #dbc9b4;
  border-radius: 16px;
}
.ec18-book-frame--showcase::before {
  display: none;
}
.ec18-spread.ec18-spread--showcase {
  display: none;
  min-height: 0;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f1e8;
}
.ec18-spread.ec18-spread--showcase.active {
  display: block;
}
.ec18-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7f1e8;
}
.ec18-showcase-note {
  max-width: 800px;
  margin: 28px auto 0;
  color: #665f57;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}
.ec18-showcase-note strong {
  color: var(--ec18-navy);
}
.ec18-transformation--approved .ec18-transform-card img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7f1e8;
}
.ec18-transformation--approved .ec18-transform-card:first-child img {
  object-fit: contain;
}
@media (max-width: 700px) {
  .ec18-product-image--overview {
    padding: 10px;
  }
  .ec18-book-frame--showcase {
    padding: 6px;
  }
  .ec18-showcase-image {
    aspect-ratio: auto;
  }
  .ec18-showcase-note {
    font-size: 14px;
  }
}


/* V18.4 — overview pages + five detailed spreads per product */
.ec18-overview-feature {
  max-width: 1260px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(18px, 2.3vw, 32px);
  border: 1px solid rgba(83, 65, 46, .13);
  border-radius: 18px;
  background: rgba(251, 248, 242, .88);
  box-shadow: 0 16px 42px rgba(65, 47, 30, .055);
}
.ec18-overview-feature--compact {
  margin-top: 32px;
}
.ec18-overview-copy h3 {
  margin: 0 0 13px;
  color: var(--ec18-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 400;
  line-height: 1;
}
.ec18-overview-copy p {
  margin: 0 0 20px;
  color: #6b645c;
  font-size: 15px;
  line-height: 1.68;
}
.ec18-overview-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #dfcfbc;
}
.ec18-overview-image img {
  display: block;
  width: 100%;
  height: auto;
}
.ec18-overview-image span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(251, 248, 242, .94);
  color: var(--ec18-navy);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(42, 31, 21, .09);
}
.ec18-detail-viewer-heading {
  max-width: 790px;
  margin: 0 auto 25px;
  text-align: center;
}
.ec18-detail-viewer-heading h3 {
  margin: 0;
  color: var(--ec18-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1;
}
.ec18-detail-viewer-heading p {
  max-width: 650px;
  margin: 13px auto 0;
  color: #70685f;
  font-size: 14px;
  line-height: 1.65;
}
.ec18-book-viewer--expanded {
  max-width: 1280px;
}
.ec18-book-viewer--expanded .ec18-book-frame--showcase {
  padding: clamp(8px, 1vw, 14px);
}
.ec18-book-viewer--expanded .ec18-showcase-image {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.ec18-viewer-footer--expanded {
  align-items: center;
}
.ec18-viewer-footer--expanded .ec18-viewer-meta {
  max-width: 730px;
}
.ec18-viewer-footer--expanded [data-book-description] {
  margin: 8px auto 6px;
  color: #6d665e;
  font-size: 13px;
  line-height: 1.55;
}
.ec18-viewer-footer--expanded [data-book-full] {
  display: inline-block;
  margin: 2px 0 8px;
  color: var(--ec18-navy);
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ec18-overview-page {
  min-height: 75vh;
  padding: 54px 0 84px;
  background: #f5eee4;
}
.ec18-overview-page-inner {
  max-width: 1540px;
}
.ec18-overview-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--ec18-navy);
  font-size: 13px;
  font-weight: 700;
}
.ec18-overview-page-head {
  max-width: 890px;
  margin: 0 auto 34px;
  text-align: center;
}
.ec18-overview-page-head .ec18-display {
  font-size: clamp(46px, 5vw, 76px);
}
.ec18-overview-page-head .ec18-body-large {
  max-width: 820px;
  margin: 18px auto 0;
}
.ec18-overview-page-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: clamp(8px, 1.2vw, 16px);
  border-radius: 18px;
  background: #dbc9b4;
  box-shadow: 0 18px 50px rgba(58, 42, 27, .08);
}
.ec18-overview-page-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.ec18-overview-page-image span {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(251, 248, 242, .95);
  color: var(--ec18-navy);
  font-size: 11px;
  font-weight: 700;
}
.ec18-overview-page-actions {
  display: flex;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .ec18-overview-feature {
    grid-template-columns: 1fr;
  }
  .ec18-overview-copy {
    text-align: center;
  }
  .ec18-overview-copy .ec18-button-outline {
    display: inline-flex;
  }
}
@media (max-width: 700px) {
  .ec18-overview-feature {
    margin-bottom: 38px;
    padding: 12px;
  }
  .ec18-overview-copy {
    padding: 13px 9px 5px;
  }
  .ec18-overview-copy p,
  .ec18-detail-viewer-heading p {
    font-size: 14px;
  }
  .ec18-overview-image span,
  .ec18-overview-page-image span {
    position: static;
    display: block;
    border-radius: 0;
    text-align: center;
  }
  .ec18-viewer-footer--expanded [data-book-description] {
    font-size: 12px;
  }
  .ec18-overview-page {
    padding-top: 36px;
  }
}

/* V18.5 — review-video usability and clarity pass */
.ec18-overview-feature {
  grid-template-columns: minmax(320px, .48fr) minmax(0, .92fr);
  max-width: 1120px;
  margin-bottom: 42px;
}
.ec18-overview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.ec18-overview-list li {
  padding: 7px 10px;
  border: 1px solid #ded2c3;
  border-radius: 999px;
  background: #fff;
  color: #635e57;
  font-size: 11px;
  line-height: 1.2;
}
.ec18-overview-image--static {
  cursor: default;
}
.ec18-overview-image--static img {
  max-height: 470px;
  object-fit: contain;
  background: #f7f1e8;
}
.ec18-overview-image--static span {
  right: 12px;
  bottom: 12px;
  font-size: 10px;
}

/* Keep the whole flip-through interaction in one comfortable desktop view. */
.ec18-book-viewer--expanded,
.ec18-book-viewer--showcase {
  max-width: 960px;
}
.ec18-book-viewer--expanded .ec18-book-frame--showcase {
  padding: 10px;
  border-radius: 15px;
}
.ec18-book-viewer--expanded .ec18-spread.ec18-spread--showcase {
  min-height: 0;
  align-items: center;
  justify-content: center;
}
.ec18-book-viewer--expanded .ec18-showcase-image {
  display: block;
  width: 100%;
  height: min(54vh, 520px);
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  background: #f8f3eb;
}
.ec18-viewer-footer--expanded {
  max-width: 960px;
  margin: 13px auto 0;
  grid-template-columns: 118px minmax(0,1fr) 118px;
  gap: 18px;
  align-items: center;
}
.ec18-viewer-footer--expanded .ec18-viewer-arrow {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
.ec18-viewer-footer--expanded .ec18-viewer-arrow span {
  font-size: 11px;
}
.ec18-viewer-footer--expanded .ec18-viewer-meta {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.ec18-viewer-footer--expanded .ec18-viewer-meta strong,
.ec18-viewer-footer--expanded .ec18-viewer-meta span,
.ec18-viewer-footer--expanded [data-book-description] {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ec18-viewer-footer--expanded .ec18-viewer-meta strong {
  font-size: 24px;
}
.ec18-viewer-footer--expanded [data-book-description] {
  max-width: 590px;
  margin-top: 5px;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.48;
}
.ec18-viewer-zoom,
.ec18-viewer-footer--expanded [data-book-full] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 3px auto 6px;
  padding: 7px 12px;
  border: 1px solid #d8ccbc;
  border-radius: 999px;
  background: #fff;
  color: var(--ec18-navy);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ec18-viewer-dots {
  margin-top: 7px;
}

/* In-page enlarged spread; no external tab or raw image page. */
.ec18-book-lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(24,34,31,.72);
  backdrop-filter: blur(6px);
}
.ec18-book-lightbox.open {
  display: flex;
}
.ec18-book-lightbox-dialog {
  position: relative;
  width: min(1180px, 96vw);
  max-height: 92vh;
  padding: 16px 16px 14px;
  overflow: auto;
  border-radius: 16px;
  background: #f8f3eb;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.ec18-book-lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 9px;
  background: #f8f3eb;
}
.ec18-book-lightbox-title {
  margin: 11px 45px 0;
  color: var(--ec18-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}
.ec18-book-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid #d7cbbc;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--ec18-navy);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

/* Five sharp, separate cover renders instead of one blurred composite. */
.ec18-cover-grid {
  max-width: 1260px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}
.ec18-cover-card {
  margin: 0;
  padding: 12px 12px 13px;
  border: 1px solid #ded2c3;
  border-radius: 13px;
  background: #fbf8f2;
  box-shadow: 0 10px 24px rgba(56,42,28,.05);
  text-align: center;
}
.ec18-cover-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5eee4;
}
.ec18-cover-card figcaption {
  margin-top: 8px;
  color: var(--ec18-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.05;
}
.ec18-final-style-panel {
  min-width: 0;
  padding: 35px 26px;
  background: #f6efe5;
  color: var(--ec18-navy);
}
.ec18-final-style-panel > .ec18-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: #987044;
  text-align: center;
}
.ec18-final-style-panel .ec18-cover-grid {
  margin-top: 0;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 8px;
}
.ec18-final-style-panel .ec18-cover-card {
  padding: 7px;
  box-shadow: none;
}
.ec18-final-style-panel .ec18-cover-card img {
  height: 180px;
}
.ec18-final-style-panel .ec18-cover-card figcaption {
  font-size: 13px;
}

/* The approved realistic 18-volume image is displayed at a readable size. */
.ec18-collection-section > img {
  width: min(100%, 1800px);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .ec18-overview-feature {
    grid-template-columns: 1fr;
  }
  .ec18-overview-list {
    justify-content: center;
  }
  .ec18-book-viewer--expanded .ec18-showcase-image {
    height: auto;
    max-height: 520px;
  }
  .ec18-viewer-footer--expanded {
    grid-template-columns: 52px minmax(0,1fr) 52px;
    gap: 9px;
  }
  .ec18-viewer-footer--expanded .ec18-viewer-arrow {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
  }
  .ec18-viewer-footer--expanded .ec18-viewer-arrow span {
    display: none;
  }
  .ec18-cover-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .ec18-final-style-panel .ec18-cover-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .ec18-book-viewer--expanded .ec18-showcase-image {
    max-height: 430px;
  }
  .ec18-viewer-footer--expanded .ec18-viewer-meta strong {
    font-size: 21px;
  }
  .ec18-viewer-footer--expanded [data-book-description] {
    font-size: 11px;
  }
  .ec18-cover-grid,
  .ec18-final-style-panel .ec18-cover-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ec18-cover-card img,
  .ec18-final-style-panel .ec18-cover-card img {
    height: 210px;
  }
}

/* V19.1.1: spacious Annual Chapter introduction and upcoming activity book. */
.ec18-chapter-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin:36px 0 54px;padding:32px 0;border-top:1px solid #d9cdbd;border-bottom:1px solid #d9cdbd}
.ec18-chapter-notes article{min-width:0}.ec18-chapter-notes article>span{font-size:11px;letter-spacing:.14em;color:#806344}.ec18-chapter-notes h3{font-family:Georgia,serif;font-size:25px;line-height:1.25;font-weight:400;color:#17334d;margin:15px 0}.ec18-chapter-notes p{font-size:15px;line-height:1.7;color:#746d63;margin:0}
button[disabled][aria-label="Little Chapters — coming soon"]{opacity:1;cursor:default;background:#e8dfd1;color:#514b43;border-color:#d5c8b5;box-shadow:none;transform:none}
.ec18-choice:has(input[disabled]){opacity:.65;cursor:default}
@media(max-width:700px){.ec18-chapter-notes{grid-template-columns:1fr;gap:26px;margin:24px 0 32px;padding:26px 0}.ec18-chapter-notes h3{font-size:24px;margin:10px 0}.ec18-chapter-notes p{max-width:45ch}}

/* V19.1.2: original imagery in a spacious, browsable gallery. */
.ec18-annual-gallery{max-width:1160px;margin:36px auto 0}
.ec18-annual-gallery .ec18-book-frame--showcase{padding:clamp(8px,2vw,24px);background:#eee6da;border:0;box-shadow:none}
.ec18-annual-gallery .ec18-showcase-image{width:100%;height:auto;aspect-ratio:4/3;max-height:none;object-fit:contain;background:#f8f3eb}
.ec18-annual-gallery .ec18-viewer-footer{max-width:none;margin-top:24px;gap:22px}
.ec18-annual-gallery [data-book-description]{font-size:14px;line-height:1.6;margin:10px auto}
.ec18-annual-gallery .ec18-viewer-dots{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}
.ec18-annual-gallery .ec18-viewer-dots button{width:auto;height:auto;min-height:40px;border-radius:6px;padding:10px 13px;border:1px solid #d5c8b5;background:transparent;color:#15324f;font:inherit;font-size:12px;opacity:1}
.ec18-annual-gallery .ec18-viewer-dots button.active{background:#15324f;color:#fff;border-color:#15324f}
.ec18-annual-gallery button:focus-visible,.ec18-cover-colors a:focus-visible{outline:3px solid #b18d58;outline-offset:4px}
.ec18-cover-colors{margin:24px 0 0;width:100%}.ec18-cover-colors img{display:block;width:100%;height:auto;object-fit:contain;border-radius:10px}.ec18-cover-colors figcaption{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 22px;margin:18px 0;font-size:12px;color:#706960}.ec18-final-style-panel .ec18-cover-colors{max-width:none}
@media(max-width:700px){.ec18-annual-gallery .ec18-viewer-footer{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.ec18-annual-gallery .ec18-viewer-arrow{width:44px;height:44px}.ec18-annual-gallery .ec18-viewer-meta{min-width:0}.ec18-annual-gallery .ec18-viewer-dots button{font-size:11px;padding:8px}.ec18-annual-gallery [data-book-description]{font-size:13px}.ec18-cover-colors figcaption{font-size:11px;gap:10px}}

/* V19.3: center button labels, including inherited line-height overrides. */
.ec18-next,.ec18-submit {align-items:center;justify-content:center;text-align:center;line-height:1.2;padding:14px 21px;box-sizing:border-box;}
.ec-preview-consent {display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;margin:20px 0;}
.ec-preview-consent input {margin-top:5px;flex-shrink:0;}
.ec18-quiz-step[hidden] {display:none;}

.ec-hero-upload{display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;padding:24px;border:1px dashed #b49a74;border-radius:12px;background:#f3ede3;min-height:150px;cursor:pointer}.ec-hero-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.ec-hero-upload:focus-within{outline:2px solid #17334d;outline-offset:4px}.ec-upload-copy strong{display:block;font-size:16px;margin-bottom:12px}.ec-upload-copy>span{font-size:12px;line-height:1.6;color:#756e65}.ec-hero-upload img{width:115px;height:115px;object-fit:contain;border-radius:5px;background:#f9f6ef}.ec-hero-upload img[hidden]{display:none}[data-photo-status]{font-size:13px;line-height:1.6;color:#756e65;margin-top:14px}
