/* Happy Cosleeper - styles. Every value here follows DESIGN.md. */
@font-face { font-family: "Breath"; src: url("/assets/fonts/breath-regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Breath"; src: url("/assets/fonts/breath-italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Branding"; src: url("/assets/fonts/branding-light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Branding"; src: url("/assets/fonts/branding-semilight.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Branding"; src: url("/assets/fonts/branding-semilight-italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Branding"; src: url("/assets/fonts/branding-medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Branding"; src: url("/assets/fonts/branding-semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  --blush: #FFEBE0; --beige: #F1E3D2; --white: #FFFFFF; --charcoal: #303030;
  --terracotta: #D48F7A; --mustard: #DDAA5C; --peach: #F2CEB6;
  --hairline: #E6D5C3; --terracotta-deep: #964B36;
  --display: "Breath", "Cormorant Garamond", Georgia, serif;
  --text: "Branding", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1200px; --read: 680px; --radius: 16px; --gap: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--blush); color: var(--charcoal); font-family: var(--text); font-weight: 400; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
strong { font-weight: 600; }
s { opacity: .55; }
:focus-visible { outline: 2px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--charcoal); color: #fff; padding: 8px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; }
.bg-blush { background: var(--blush); } .bg-beige { background: var(--beige); } .bg-white { background: var(--white); } .bg-peach { background: var(--peach); }

/* ---- buttons, links, tags ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; background: var(--charcoal); color: #fff; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: background .2s, transform .2s; text-align: center; }
.btn:hover { background: #4a4a4a; }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.tlink { color: var(--charcoal); font-weight: 500; text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-thickness .2s; white-space: nowrap; }
.tlink:hover { text-decoration-thickness: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 28px 0 0; }
.center .actions { justify-content: center; }
.small { font-size: 15px; opacity: .8; margin-top: 14px; }
.label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 20px; }
.tag, .label--tag { display: inline-block; background: var(--mustard); color: var(--charcoal); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.arcs { width: 120px; }

/* ---- sale bar + header ---- */
.salebar { background: var(--mustard); text-align: center; font-size: 15px; }
.salebar a { display: block; padding: 10px 16px; text-decoration: none; }
.salebar strong { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--blush) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo img { width: 230px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav a, .nav summary, .login { text-decoration: none; cursor: pointer; padding: 10px 0; }
.nav a:hover, .nav summary:hover, .login:hover { color: var(--terracotta-deep); }
.drop { position: relative; }
.drop summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.drop-menu { position: absolute; top: calc(100% + 8px); left: -20px; min-width: 280px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 10px; display: grid; }
.drop-menu a { padding: 10px 14px; border-radius: 10px; }
.drop-menu a:hover { background: var(--blush); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.login { font-size: 16px; font-weight: 500; }
.mobile-menu { display: none; }

/* ---- heroes ---- */
.hero { position: relative; }
.hero .lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; max-width: 34em; }
.hero-copy p:not(.lead):not(.label):not(.price):not(.actions):not(.small) { max-width: 34em; }
.h1-kicker { display: block; font-family: var(--text); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; line-height: 1.4; }
.hero--photo { min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,235,224,0) 0%, rgba(255,235,224,.55) 38%, rgba(255,235,224,.94) 62%, var(--blush) 100%), linear-gradient(90deg, rgba(255,235,224,.75) 0%, rgba(255,235,224,0) 70%); }
.hero-inner { position: relative; padding-top: 220px; padding-bottom: 72px; }
.hero--photo .hero-copy { max-width: 760px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 28px 0 0; margin: 40px 0 0; border-top: 1px solid var(--charcoal); font-size: 15px; font-weight: 500; }
.hero--product, .hero--form { padding: 80px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.price { font-family: var(--display); font-size: 40px; line-height: 1; margin: 28px 0 0; display: flex; align-items: baseline; gap: 16px; }
.price s { font-family: var(--text); font-size: 18px; }
.price strong { font-weight: 400; }
.cover { position: relative; aspect-ratio: 4 / 5; background: var(--peach); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 40px; text-align: center; overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(48,48,48,.25); border-radius: 10px; }
.cover .arcs { width: 46%; }
.cover-title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin: 0; max-width: 11em; }
.hero-side { position: relative; }
.hero--form .hero-side .arcs--bg { position: absolute; width: 70%; right: -8%; top: -70px; opacity: .55; }
.form-card { position: relative; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; min-height: 220px; scroll-margin-top: 110px; }
.form-card + .small { text-align: center; }

/* ---- sections ---- */
.sec { padding: var(--gap) 0; }
.sec .wrap > .sec-head h2 { max-width: 16em; }
.sec .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; align-items: start; }
.sec .wrap.wrap--narrow, .sec--about .wrap { display: block; }
.sec-head { position: sticky; top: 110px; }
.sec-head h2::before { content: ""; display: block; width: 56px; height: 28px; margin-bottom: 22px; background: url("/assets/img/arcs.png") center / contain no-repeat; }
.sec-body > p { max-width: var(--read); }
.sec-body > p:first-child { font-size: 20px; }
.sec ul, .sec ol { margin: 0; padding: 0; list-style: none; }
.sec-body > ul > li, .group > ul > li, .faq-a ul > li { padding: 16px 0; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; }
.sec-body > ul > li:last-child, .group > ul > li:last-child { border-bottom: 1px solid var(--hairline); }
.li-text { flex: 1 1 320px; }
.li-name { display: block; }
.li-val { float: right; margin-left: 16px; opacity: .7; font-size: 16px; }
.li-name + .li-val { margin-top: -1.6em; }
.li-desc { display: block; margin-top: 4px; opacity: .9; }
.sec-body > ul + .actions, .sec-body > ul + p { margin-top: 28px; }
.total { font-size: 20px; margin-top: 28px; }
.total strong { font-family: var(--display); font-weight: 400; font-size: 28px; }
.tagline { margin: 28px 0 8px; }

/* numbered steps */
.sec ol { counter-reset: step; }
.sec ol > li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hairline); }
.sec ol > li::before { content: counter(step); font-family: var(--display); font-size: 36px; line-height: 1; color: var(--terracotta-deep); }
.sec ol > li:last-child { border-bottom: 1px solid var(--hairline); }

/* groups (cards made from a bold line + what follows) */
.groups { display: grid; gap: 24px; margin-top: 32px; }
.groups--2, .groups--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px; position: relative; }
.bg-beige .group, .bg-blush .group { background: var(--white); }
.group h3 { margin-bottom: 16px; }
.group .actions { margin-top: 24px; }
.group > ul > li { padding: 12px 0; }
.tag--deal { margin: 0 0 16px; }

/* full-width layouts for some sections */
.sec--guides-and-courses .wrap, .sec--plans .wrap, .sec--reviews .wrap, .sec--giveaway .wrap, .sec--your-consultants .wrap { grid-template-columns: 1fr; }
.sec--guides-and-courses .sec-head, .sec--plans .sec-head, .sec--reviews .sec-head, .sec--giveaway .sec-head, .sec--your-consultants .sec-head { position: static; }
.sec--guides-and-courses .groups { grid-template-columns: 1fr; gap: 56px; }
.sec--guides-and-courses .group { background: none; border: 0; padding: 0; border-radius: 0; }
.sec--guides-and-courses .group h3 { font-family: var(--text); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.sec--guides-and-courses .group > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sec--guides-and-courses .group > ul > li { background: var(--white); border: 1px solid var(--hairline) !important; border-radius: var(--radius); padding: 28px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.sec--guides-and-courses .li-text { flex: 1 1 auto; }
.sec--guides-and-courses .li-name { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.sec--plans .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.sec--plans .group:last-child { border: 2px solid var(--terracotta); }
.sec--plans .group h3 { font-size: 30px; }
.sec--plans .group .tag--deal { position: absolute; top: -14px; left: 28px; }
.sec--your-consultants .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px; }
.sec-body > .review { max-width: var(--read); margin-top: 28px; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.4; }
.review blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--terracotta); margin-bottom: 6px; }
.review figcaption { margin-top: 18px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sec--reviews .sec-body > .small { margin-top: 24px; }

/* sale timeline + giveaway */
.sec--how-the-sale-works .sec-body > ul > li:first-child { border: 2px solid var(--terracotta); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 4px; background: var(--white); }
.sec--how-the-sale-works .sec-body > ul > li:nth-child(2) { border-top: 0; }
.sec--giveaway .sec-body > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin-top: 24px; }
.sec--giveaway .sec-body > ul > li:last-child { border-bottom: 0; }

/* faq */
.sec--faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 500; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--charcoal); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq-a { padding: 0 44px 24px 0; }

/* closing + about */
.sec--closing { text-align: center; }
.sec--closing .arcs--mark { width: 84px; margin: 0 auto 28px; }
.sec--closing p { max-width: 34em; margin-left: auto; margin-right: auto; }
.about { display: grid !important; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img:not(.arcs) { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-photo .arcs--bg { position: absolute; width: 60%; left: -12%; bottom: -15%; opacity: .6; }
.about-copy p { max-width: 34em; }

/* legal prose */
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose ul > li, .prose ol > li { border: 0 !important; padding: 6px 0 !important; }
.prose ul > li { display: list-item !important; list-style: disc; margin-left: 22px; }
.prose ol > li::before { font-size: 20px !important; }
.prose ol > li { grid-template-columns: 40px 1fr !important; }

/* footer */
.site-footer { background: var(--beige); border-top: 1px solid var(--hairline); padding: 72px 0 40px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px 72px; }
.footer-brand img { width: 120px; margin-bottom: 20px; }
.footer-brand p { max-width: 26em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 4px; }
.disclaimer, .copyright { grid-column: 1 / -1; font-size: 14px; opacity: .8; margin: 0; max-width: 70em; }
.disclaimer { padding-top: 32px; border-top: 1px solid var(--hairline); }

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

/* ---- tablet + phone ---- */
@media (max-width: 1000px) {
  .nav, .login { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); }
  .mobile-nav { position: absolute; right: 0; top: calc(100% + 14px); width: min(86vw, 340px); background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 12px; display: grid; font-weight: 500; }
  .mobile-nav > a, .mobile-nav summary { padding: 14px; text-decoration: none; border-radius: 10px; display: block; }
  .mobile-nav .drop-menu { position: static; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .mobile-nav .drop summary { display: flex; }
  .sec .wrap { grid-template-columns: 1fr; }
  .sec-head { position: static; }
  .hero-grid, .about { grid-template-columns: 1fr; gap: 48px; }
  .hero--product .hero-side { max-width: 420px; }
  .sec--guides-and-courses .group > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gap: 64px; }
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .logo img { width: 168px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .header-actions { gap: 8px; }
  .btn--sm { padding: 10px 16px; font-size: 14px; }
  .salebar { font-size: 14px; }
  .hero--photo { min-height: 0; }
  .hero-inner { padding-top: 46vw; padding-bottom: 48px; }
  .hero-img { height: 70vw; inset: 0 0 auto 0; }
  .hero-scrim { background: linear-gradient(180deg, rgba(255,235,224,0) 0, rgba(255,235,224,0) 30vw, var(--blush) 68vw, var(--blush) 100%); }
  .hero--product, .hero--form { padding: 48px 0 64px; }
  .hero--product .hero-side { display: none; }
  .actions .btn { width: 100%; }
  .facts { gap: 8px; flex-direction: column; margin-top: 32px; padding-top: 20px; }
  .price { font-size: 34px; }
  .groups--2, .groups--4, .sec--plans .groups, .sec--your-consultants .groups, .sec--guides-and-courses .group > ul, .sec--giveaway .sec-body > ul { grid-template-columns: 1fr; }
  .group, .review { padding: 24px; }
  .sec ol > li { grid-template-columns: 48px 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 16px; }
}

/* ---- review fixes, 17 Nov ---- */
.hero { overflow: hidden; }
.btn { white-space: nowrap; }
.page-sleepingbag .hero-grid { grid-template-columns: 1fr; gap: 40px; }
.page-sleepingbag .hero-copy { max-width: 760px; }
.page-sleepingbag .hero-side .arcs--bg { width: 320px; right: 0; top: -150px; }
.page-sleepingbag .form-card { padding: 12px; }
@media (max-width: 640px) {
  .logo img { width: 150px; }
  .hero-inner { padding-top: 58vw; }
  .actions .btn { white-space: normal; }
}

/* =====================================================================
   v2 - richer look (17 Nov): bigger type, italic accents, arch photo
   frames, colour bands, layered covers, arc pattern
   ===================================================================== */
h1 { font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terracotta-deep); }
.hero .lead { font-size: clamp(19px, 1.7vw, 23px); }
.sec-head h2::before { width: 72px; height: 36px; }

/* photo hero: let the photograph show */
.hero--photo { min-height: min(92vh, 900px); }
.hero-scrim { background: linear-gradient(180deg, rgba(255,235,224,0) 0%, rgba(255,235,224,0) 30%, rgba(255,235,224,.82) 66%, var(--blush) 96%), linear-gradient(90deg, rgba(255,235,224,.6) 0%, rgba(255,235,224,0) 60%); }
.hero--photo .hero-copy { max-width: 900px; }
.hero--photo::after { content: ""; position: absolute; right: 4%; top: 12%; width: clamp(140px, 18vw, 260px); aspect-ratio: 2 / 1; background: url("/assets/img/arcs.png") center / contain no-repeat; opacity: .9; mix-blend-mode: screen; pointer-events: none; }
.facts { border-top: 0; gap: 20px 56px; margin-top: 44px; padding-top: 0; }
.facts li { display: grid; gap: 2px; max-width: 14em; font-weight: 400; }
.fact-n { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--terracotta-deep); }

/* arch photo frames */
.sec--split .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px 96px; }
.sec--split .sec-head { position: static; }
.sec--split .sec-head h2 { margin-bottom: 28px; }
.sec--split-r .sec-photo { order: 2; }
.sec-photo { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.sec-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.sec-photo::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--terracotta); border-radius: 999px 999px var(--radius) var(--radius); transform: translate(18px, 18px); }
.sec-photo::after { content: ""; position: absolute; width: 46%; aspect-ratio: 2 / 1; left: -14%; bottom: -6%; background: url("/assets/img/arcs.png") center / contain no-repeat; transform: rotate(-90deg); }
.about-photo img:not(.arcs) { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-position: 42% center; }
.about-photo { max-width: 440px; justify-self: center; }
.about-photo::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--terracotta); border-radius: 999px 999px var(--radius) var(--radius); transform: translate(18px, 18px); }
.about-photo .arcs--bg { width: 46%; left: -18%; bottom: -8%; opacity: 1; z-index: 1; }

/* the sale: one bold coloured band */
.page-home .sec--the-sale { background: var(--terracotta); position: relative; overflow: hidden; }
.page-home .sec--the-sale h2 { font-size: clamp(38px, 5.6vw, 76px); max-width: 12em; }
.page-home .sec--the-sale .sec-head h2::before { display: none; }
.page-home .sec--the-sale .wrap { position: relative; }
.page-home .sec--the-sale::before { content: ""; position: absolute; right: -6%; bottom: -34%; width: 46%; aspect-ratio: 2 / 1; background: url("/assets/img/arcs.png") center / contain no-repeat; transform: rotate(180deg); opacity: .35; filter: brightness(0) invert(1); }
.page-home .sec--the-sale .sec-body > p:first-child { font-size: 22px; }

/* product cards with coloured covers */
.sec--guides-and-courses .group > ul > li { padding: 0 0 28px; overflow: hidden; transition: transform .25s ease, border-color .25s ease; position: relative; }
.sec--guides-and-courses .group > ul > li:hover { transform: translateY(-6px); border-color: var(--terracotta) !important; }
.sec--guides-and-courses .group > ul > li::before { content: ""; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--peach) url("/assets/img/arcs.png") center 62% / 34% no-repeat; }
.sec--guides-and-courses .group > ul > li:nth-child(2)::before { background-color: var(--beige); }
.sec--guides-and-courses .group > ul > li:nth-child(3)::before { background-color: #EBC9A0; }
.sec--guides-and-courses .group:nth-child(2) > ul > li:nth-child(1)::before { background-color: #E7B5A4; }
.sec--guides-and-courses .group:nth-child(2) > ul > li:nth-child(2)::before { background-color: var(--peach); }
.sec--guides-and-courses .group:nth-child(2) > ul > li:nth-child(3)::before { background-color: var(--beige); }
.sec--guides-and-courses .group > ul > li > * { margin-left: 28px; margin-right: 28px; }
.sec--guides-and-courses .group > ul > li > .tag { position: absolute; top: 16px; left: 16px; margin: 0; }
.sec--guides-and-courses .li-name { font-size: 30px; }
.sec--guides-and-courses .group > ul > li .tlink::after { content: ""; position: absolute; inset: 0; }

/* big statement sections */
.page-home .sec--our-approach .wrap { display: block; text-align: center; max-width: 980px; }
.page-home .sec--our-approach .sec-head h2 { max-width: none; font-size: clamp(34px, 5vw, 64px); }
.page-home .sec--our-approach .sec-head h2::before { margin-left: auto; margin-right: auto; }
.page-home .sec--our-approach .sec-body > p { margin: 0 auto; font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; max-width: 26em; }

/* reviews: first one large */
.sec--reviews .reviews { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sec--reviews .review { grid-column: span 2; }
.sec--reviews .review:first-child { grid-column: 1 / -1; background: var(--terracotta); border: 0; padding: clamp(32px, 5vw, 72px); }
.sec--reviews .review:first-child blockquote { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.18; max-width: 22em; }
.sec--reviews .review:first-child blockquote::before { color: var(--charcoal); font-size: 110px; }
.sec--reviews .review:nth-child(n+5) { grid-column: span 3; }
.review { transition: border-color .25s ease; }
.review:hover { border-color: var(--terracotta); }

/* layered product cover */
.cover-stack { position: relative; max-width: 420px; margin: 0 auto; transform: rotate(3deg); }
.cover-stack .sheet { position: absolute; inset: 0; border-radius: var(--radius); background: var(--beige); border: 1px solid var(--hairline); }
.cover-stack .sheet--2 { transform: rotate(-5deg) translate(-10px, 6px); background: var(--white); }
.cover-stack .sheet--3 { transform: rotate(-10deg) translate(-22px, 12px); background: var(--mustard); border: 0; }
.cover { background: var(--terracotta); gap: 28px; }
.cover--transitions .cover, .cover--movingon .cover { background: var(--peach); }
.cover--floorbed .cover, .cover--growing .cover { background: #EBC9A0; }
.cover--transitions .sheet--3, .cover--movingon .sheet--3 { background: var(--terracotta); }
.cover::before { border-color: rgba(48,48,48,.35); }
.cover .arcs { width: 52%; filter: saturate(1.1); }
.cover--miniguides .cover .arcs, .cover--nightweaning .cover .arcs { filter: brightness(0) invert(1); opacity: .9; }
.cover-title { font-size: clamp(26px, 2.8vw, 38px); }
.cover-brand { position: absolute; bottom: 34px; left: 0; right: 0; margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.hero--product { background: linear-gradient(180deg, var(--blush) 0%, var(--beige) 100%); }
.price { font-size: 56px; }

/* arc pattern band */
.pattern { height: 64px; background: var(--beige) url("/assets/img/arcs.png") left center / 96px 48px repeat-x; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* plans, steps, closing: more presence */
.sec--plans .group h3 { font-size: clamp(28px, 3vw, 38px); }
.sec--plans .group:last-child { background: var(--white); border-color: var(--terracotta); }
.sec ol > li::before { font-size: 52px; }
.sec ol > li { grid-template-columns: 84px 1fr; padding: 26px 0; }
.sec--closing { padding: 128px 0; background: var(--terracotta); }
.sec--closing h2 { font-size: clamp(38px, 6vw, 80px); }
.sec--closing .arcs--mark { width: 120px; filter: brightness(0) invert(1); opacity: .9; }
.sec--closing .btn { min-height: 60px; padding: 18px 40px; font-size: 18px; }
.sec--sleeping-bag { background: var(--mustard) !important; }
.page-home .sec--sleeping-bag .sec-head h2::before { filter: brightness(0); opacity: .6; }
.btn:hover { transform: translateY(-2px); }

@media (max-width: 1000px) {
  .sec--split .wrap { grid-template-columns: 1fr; }
  .sec--split-r .sec-photo { order: 0; }
  .sec-photo { max-width: 360px; justify-self: start; margin-bottom: 24px; }
  .sec--reviews .review, .sec--reviews .review:nth-child(n+5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero--photo::after { display: none; }
  .sec-photo { max-width: 78%; }
  .sec-photo::before, .about-photo::before { transform: translate(12px, 12px); }
  .about-photo { max-width: 80%; justify-self: start; }
  .sec ol > li { grid-template-columns: 56px 1fr; }
  .sec ol > li::before { font-size: 38px; }
  .sec--closing { padding: 88px 0; }
  .price { font-size: 44px; }
  .pattern { height: 48px; background-size: 72px 36px; }
  .facts { flex-direction: row; gap: 20px 28px; }
  .facts li { max-width: 9.5em; font-size: 14px; }
}
.hero-scrim { background: linear-gradient(180deg, rgba(255,235,224,0) 0%, rgba(255,235,224,0) 42%, rgba(255,235,224,.9) 78%, var(--blush) 100%), linear-gradient(90deg, rgba(255,235,224,.96) 0%, rgba(255,235,224,.86) 34%, rgba(255,235,224,.35) 58%, rgba(255,235,224,0) 76%); }
.hero-img { object-position: 78% 35%; }
@media (max-width: 640px) { .hero-scrim { background: linear-gradient(180deg, rgba(255,235,224,0) 0, rgba(255,235,224,0) 34vw, var(--blush) 66vw, var(--blush) 100%); } .hero-img { object-position: center 35%; } }
.page-home .sec--the-sale .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
@media (max-width: 1000px) { .page-home .sec--the-sale .wrap { grid-template-columns: 1fr; } }
.page-home .hero--photo .hero-copy { max-width: 620px; }
.page-home .hero--photo h1 { font-size: clamp(42px, 5.6vw, 76px); }
@media (max-width: 1000px) { .sec-photo::after { display: none; } }
@media (max-width: 640px) { .sec--guides-and-courses .group > ul > li::before { aspect-ratio: 5 / 2; } }

/* ---- product mockups (17 Nov) ---- */
.mock { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.hero--product .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
.cover-stack[hidden] { display: none; }
.sec--guides-and-courses .group > ul > li.has-img::before { display: none; }
.card-img { width: calc(100% - 0px); margin: 0 !important; aspect-ratio: 16 / 10; object-fit: contain; padding: 22px 22px 14px; background: var(--peach); }
.sec--guides-and-courses .group > ul > li:nth-child(2) .card-img { background: var(--beige); }
.sec--guides-and-courses .group > ul > li:nth-child(3) .card-img { background: #EBC9A0; }
.sec--guides-and-courses .group:nth-child(2) > ul > li:nth-child(1) .card-img { background: #E7B5A4; }
.sec--guides-and-courses .group:nth-child(2) > ul > li:nth-child(2) .card-img { background: var(--peach); }
.sec--guides-and-courses .group:nth-child(2) > ul > li:nth-child(3) .card-img { background: var(--beige); }
.page-miniguides .sec--what-s-included .wrap { grid-template-columns: 1fr; }
.page-miniguides .sec--what-s-included .sec-head { position: static; }
.page-miniguides .sec--what-s-included .sec-body > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.sec-body > ul > li.has-thumb { display: grid; grid-template-columns: 96px 1fr; gap: 6px 24px; align-items: start; padding: 24px 0; }
.has-thumb .thumb { grid-row: 1 / span 2; width: 96px; aspect-ratio: 1018 / 1440; object-fit: cover; border-radius: 8px; border: 1px solid var(--hairline); }
.thumb--blank { display: block; background: var(--peach) url("/assets/img/arcs.png") center / 60% no-repeat; }
.has-thumb .tlink { justify-self: start; }
@media (max-width: 1000px) { .hero--product .hero-grid { grid-template-columns: 1fr; } .hero--product .hero-side { max-width: 560px; } .page-miniguides .sec--what-s-included .sec-body > ul { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero--product .hero-side { display: block; order: -1; max-width: 100%; margin-bottom: -16px; } .mock { max-height: 260px; } .sec-body > ul > li.has-thumb { grid-template-columns: 72px 1fr; gap: 6px 16px; } .has-thumb .thumb { width: 72px; } }
.hero--product h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; }
.mock { max-height: 560px; }

/* =====================================================================
   v3 - motion and the classroom (17 Nov). Slow and soft; every rule sits
   under .motion so nothing moves for visitors who prefer reduced motion.
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s ease both; }
::view-transition-new(root) { animation: vt-in .6s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
:root { --ease: cubic-bezier(.19, 1, .22, 1); }

/* headline words rise */
.motion .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .06em .16em 0; margin: -.08em -.06em -.16em 0; }
.motion .hero h1 .w > span { display: inline-block; transform: translateY(115%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.motion.loaded .hero h1 .w > span { transform: none; }
.motion .hero-copy > *:not(h1), .motion .hero h1 .h1-kicker { opacity: 0; transform: translateY(18px); transition: opacity 1s ease .7s, transform 1.2s var(--ease) .7s; }
.motion .hero-copy > .actions { transition-delay: .85s; }
.motion .hero-copy > .facts, .motion .hero-copy > .price { transition-delay: 1s; }
.motion .hero h1 .h1-kicker { transition-delay: 0s; }
.motion.loaded .hero-copy > *:not(h1), .motion.loaded .hero h1 .h1-kicker { opacity: 1; transform: none; }
.motion .hero-img { opacity: 0; transition: opacity 1.6s ease; }
.motion.loaded .hero-img { opacity: 1; }
.motion .hero-side { opacity: 0; transform: translateY(36px) rotate(1.5deg); transition: opacity 1.2s ease .45s, transform 1.5s var(--ease) .45s; }
.motion.loaded .hero-side { opacity: 1; transform: none; }
.hero--photo::after { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* section contents drift up in sequence */
.motion .r { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.3s var(--ease); transition-delay: calc(var(--i) * 85ms); }
.motion .in .r, .motion .in.r { opacity: 1; transform: none; }
.motion .r.done { transition: transform .4s var(--ease), border-color .3s ease, opacity .3s ease; transition-delay: 0s; }
.motion .sec-photo.r { transform: translateY(40px) scale(.96); }
.motion .in .sec-photo.r { transform: none; }
.sec-photo, .about-photo { overflow: visible; }
.sec-photo img, .about-photo img:not(.arcs) { will-change: transform; }

/* header */
.site-header { transition: transform .6s var(--ease), background .3s ease; }
.site-header.is-hidden { transform: translateY(-101%); }

/* links, buttons, cards */
.tlink { text-decoration: none; background: linear-gradient(var(--terracotta), var(--terracotta)) left bottom / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease); }
.tlink:hover { background-size: 0% 2px; background-position: right bottom; }
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .3s ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--terracotta-deep); transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn:hover { background: var(--charcoal); }
.btn:hover::before { transform: none; }
.card-img { transition: transform 1s var(--ease); }
.sec--guides-and-courses .group > ul > li:hover .card-img { transform: scale(1.05); }
.review { transition: border-color .3s ease, transform .5s var(--ease); }
.review:hover { transform: translateY(-4px); }
.mock { will-change: transform; }

/* faq opens smoothly where the browser supports it */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .6s var(--ease), opacity .5s ease, content-visibility .6s allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }

/* moving arc pattern */
.pattern { background: var(--beige); overflow: hidden; }
.pattern-track { height: 100%; width: calc(100% + 96px); background: url("/assets/img/arcs.png") left center / 96px 48px repeat-x; }
.motion .pattern-track { animation: slide 7s linear infinite; }
@keyframes slide { to { transform: translateX(-96px); } }
.page-home .sec--the-sale::before { animation: float 11s ease-in-out infinite; }

/* the classroom */
.sec--classroom { overflow: hidden; }
.sec--classroom .wrap--head { display: block; }
.sec--classroom .sec-head { position: static; margin-bottom: 40px; }
.classroom { display: grid; gap: 28px; }
.marquee { display: flex; gap: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 28px; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.motion .marquee-track { animation: marquee 60s linear infinite; }
.motion .marquee--b .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 28px)); } }
.class-tile { width: 250px; flex-shrink: 0; }
.class-img { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--peach); border: 1px solid var(--hairline); }
.class-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.class-img--contain img { object-fit: contain; padding: 18px; }
.class-img--plain { background: var(--white); }
.class-img--plain .arcs { width: 46%; height: auto; }
.class-tile:nth-child(3n) .class-img { background: #EBC9A0; }
.class-tile:nth-child(3n+2) .class-img--plain { background: var(--blush); }
.class-tile:hover .class-img img { transform: scale(1.05); }
.class-name { display: block; margin-top: 14px; font-family: var(--display); font-size: 21px; line-height: 1.2; }
.classroom-more { margin-top: 28px; }
.no-motion .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
.no-motion .marquee-track { flex-wrap: wrap; }
.no-motion .marquee-track[aria-hidden] { display: none; }
@media (max-width: 640px) { .class-tile { width: 170px; } .class-name { font-size: 17px; } .marquee, .marquee-track { gap: 16px; } .classroom { gap: 20px; } }

/* ---- type refinements (17 Nov): Breath only where it is large and strong ---- */
h1, h2 { -webkit-text-stroke: .45px currentColor; }
h1 em, h2 em { -webkit-text-stroke: .3px currentColor; }
h3, .class-name, .cover-title, .sec--guides-and-courses .li-name { font-family: var(--text); font-weight: 500; letter-spacing: -0.005em; -webkit-text-stroke: 0; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.sec--guides-and-courses .li-name { font-size: 22px; line-height: 1.25; }
.class-name { font-size: 17px; }
.cover-title { font-size: clamp(20px, 2.1vw, 28px); font-weight: 500; }
.sec--plans .group h3 { font-size: clamp(22px, 2.2vw, 28px); }
.review blockquote { font-family: var(--text); font-weight: 300; font-size: 19px; line-height: 1.6; }
.review blockquote::before { font-family: var(--display); }
.sec--reviews .review:first-child blockquote { font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4; max-width: 28em; }
.review figcaption { font-weight: 600; }
.page-home .sec--our-approach .sec-body > p { font-family: var(--text); font-weight: 300; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; }
@media (max-width: 640px) { .class-name { font-size: 15px; } .review blockquote { font-size: 17px; } }

/* ---- classroom as a still grid (17 Nov) ---- */
.sec--classroom .wrap--head { display: block; }
ul.classroom { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.class-tile { width: auto; }
.class-img { aspect-ratio: 1018 / 1440; background: var(--peach); }
.class-img img { object-fit: cover; padding: 0; }
.class-img--plain { background: var(--peach); border: 0; }
.class-tile:nth-child(3n) .class-img, .class-tile:nth-child(3n+2) .class-img--plain { background: var(--peach); }
.class-tile:nth-child(4n+1) .class-img--plain { background: var(--terracotta); }
.class-tile:nth-child(4n+3) .class-img--plain { background: #EBC9A0; }
.class-tile:nth-child(4n) .class-img--plain { background: var(--beige); border: 1px solid var(--hairline); }
.class-tile:nth-child(4n+1) .class-img--plain .arcs { filter: brightness(0) invert(1); opacity: .9; }
.class-img--plain .arcs { width: 50%; }
.class-name { font-size: 16px; line-height: 1.3; margin-top: 12px; }
@media (max-width: 1000px) { ul.classroom { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { ul.classroom { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; } .class-tile { width: auto; } .class-name { font-size: 13px; } }

/* ---- fix: "Guides & Courses" inside the phone menu was inheriting the menu button's size ---- */
.mobile-nav .drop > summary { width: auto; height: auto; display: flex; place-content: normal; align-items: center; justify-content: space-between; gap: 8px; padding: 14px; border-radius: 10px; white-space: nowrap; }
.mobile-nav .drop > summary::after { margin-right: 6px; transition: transform .3s ease; }
.mobile-nav .drop[open] > summary::after { transform: rotate(225deg) translate(-3px, 0); }
.mobile-nav .drop-menu { display: grid; padding: 0 0 8px 14px; }
.mobile-nav .drop-menu a { padding: 12px 14px; display: block; text-decoration: none; }
.mobile-nav > a:hover, .mobile-nav .drop > summary:hover { background: var(--blush); }

/* ---- fix: on phones the arc beside the About photo sat on top of "Hi, I'm Isadora" ---- */
@media (max-width: 1000px) {
  .about { gap: 56px; }
  .about-photo .arcs--bg { left: auto; right: -14%; bottom: auto; top: -9%; width: 38%; z-index: 0; }
  .about-photo img:not(.arcs) { z-index: 1; }
  .about-photo::before { z-index: 0; }
}
