/* Stegall Creative Studio — bold site styles */
:root {
  --ink: #062B29;        /* deep teal, dark sections */
  --teal: #09423F;       /* brand teal */
  --teal-3: #0F3D39;     /* watermark on dark */
  --line-dark: #1F4A45;
  --gold: #C8A15A;
  --gold-light: #E4C68E; /* gold text on dark */
  --gold-text: #8A6A2E;  /* small gold text on light (AA) */
  --gold-big: #A9823C;   /* large gold text on light */
  --cream: #F4EFE3;
  --sage: #7A9A8E;       /* brand sage */
  --sage-light: #BFCFC6; /* brand light sage */
  --sage-mist: #E4ECE8;  /* soft sage tint */
  --sage-deep: #4F7365;  /* sage for text/strokes on light */
  --cream-2: #EADFC7;
  --mist: #E4ECE8;
  --line: #E3E8E6;
  --text: #17211F;
  --muted: #5B6A66;
  --muted-dark: #C6D6D1;
  --max: 1312px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Lato', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: #04201E; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin: 0; color: var(--ink); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--muted-dark); }
.section--ink h2, .section--ink h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* Type */
.eyebrow { font-family: var(--head); font-size: 13px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.on-dark .eyebrow, .section--ink .eyebrow { color: var(--gold-light); }
.display { font-size: clamp(48px, 7vw, 92px); line-height: .92; letter-spacing: -0.05em; text-transform: uppercase; }
.display--xl { font-size: clamp(56px, 9.2vw, 132px); line-height: .9; letter-spacing: -0.055em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.045em; line-height: .98; }
.it { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -0.02em; text-transform: none; color: var(--gold-big); }
.on-dark .it, .section--ink .it { color: var(--gold-light); }
.outline { -webkit-text-stroke: 2px currentColor; color: transparent; }
.display .outline { -webkit-text-stroke-color: var(--ink); }
.lead { font-size: 20px; max-width: 560px; color: var(--muted); }
.on-dark .lead { color: var(--muted-dark); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.brushline { position: relative; display: inline-block; }
.brushline::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -.32em; height: .42em; background: url(/assets/img/el-brush.webp) center / 100% 100% no-repeat; opacity: .9; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 999px; border: 2px solid transparent; font-family: var(--head); font-size: 16px; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D4AE69; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--teal); color: #fff; }
.btn--line-light { border-color: #fff; color: #fff; }
.btn--line-light:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 800; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; padding: 10px 0; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* News strip */
.news { background: var(--gold); color: var(--ink); padding: 10px 24px; font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.news span + span::before { content: "✦"; margin: 0 16px; }
@media (max-width: 700px) { .news span + span { display: none; } }
.news a { color: var(--ink); }

/* Dark top + header */
.top { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 52px; height: 52px; border-radius: 50%; background: #F3EFE6; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand__mark img { width: 41px; }
.brand__name { font-family: var(--head); font-size: 18px; font-weight: 900; letter-spacing: .04em; line-height: 1.05; }
.brand__name small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--gold-light); }
.menu { display: flex; align-items: center; gap: 28px; font-family: var(--head); font-size: 14px; font-weight: 700; }
.menu a { color: #fff; text-decoration: none; padding: 12px 0; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold-light); }
.menu .btn { min-height: 48px; padding: 0 22px; color: var(--ink); font-size: 14px; }
.menu .btn:hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; border-radius: 10px; width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1140px) {
  .menu-toggle { display: flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid var(--line-dark); z-index: 20; }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .menu .btn { margin-top: 16px; border-bottom: 0; }
}

/* Home hero */
.hero { position: relative; padding: 64px 0 150px; }
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { margin: 56px 0 34px; }
.hero__books { position: absolute; right: -120px; bottom: 70px; width: min(56vw, 780px); transform: rotate(-6deg); filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); z-index: 1; }
.hero__sprig { position: absolute; right: 47%; top: 120px; width: 84px; transform: rotate(18deg); opacity: .9; }
.sticker { position: absolute; right: 7%; top: 40px; width: 170px; height: 170px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); box-shadow: 0 16px 36px rgba(0,0,0,.35); text-decoration: none; z-index: 3; }
.sticker:hover { color: var(--ink); transform: rotate(-4deg) scale(1.04); transition: transform .2s; }
.sticker svg { position: absolute; inset: 0; }
.sticker b { font-family: var(--head); font-size: 28px; font-weight: 900; line-height: 1; }
@media (max-width: 1000px) {
  .hero { padding-bottom: 40px; }
  .hero__books { position: relative; right: auto; bottom: auto; width: 110%; margin: 40px -5% 0; transform: rotate(-4deg); }
  .hero__sprig { display: none; }
  .sticker { width: 120px; height: 120px; top: auto; bottom: 30px; right: 16px; }
  .sticker b { font-size: 21px; }
  .sticker svg { transform: scale(.706); transform-origin: 0 0; }
}

/* Inner page hero */
.page-hero { position: relative; padding: 48px 0 110px; }
.page-hero .lead { margin-top: 40px; }
.page-hero h1 { color: #fff; }
.page-hero__art { position: absolute; right: -60px; bottom: -30px; width: 520px; opacity: .35; transform: rotate(-10deg); pointer-events: none; }
@media (max-width: 800px) { .page-hero__art { width: 300px; } .page-hero { padding-bottom: 72px; } }

/* Tilted marquee */
.tilt-wrap { position: relative; z-index: 4; overflow: hidden; margin-top: -56px; padding: 30px 0 34px; }
.tilt { background: var(--gold); padding: 24px 0; margin: 0 -40px; transform: rotate(-1.5deg); box-shadow: 0 12px 30px rgba(0,0,0,.12); overflow: hidden; }
.tilt__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.tilt__track span { display: flex; gap: 40px; padding-right: 40px; font-family: var(--head); font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.tilt__track i { font-style: normal; color: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tilt__track { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding-top: 80px; padding-bottom: 36px; }
.stats > div { padding: 0 24px 0 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font-family: var(--head); font-size: clamp(40px, 4.4vw, 58px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.stats > div:last-child b { color: var(--gold-big); }
.stats span { font-size: 15px; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .stats > div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* Project bento */
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 320px 320px; gap: 18px; }
.tile { position: relative; display: block; border-radius: 28px; overflow: hidden; text-decoration: none; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile--big { grid-row: span 2; }
.tile__label { position: absolute; left: 20px; bottom: 20px; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 16px; }
.tile__label b { display: block; font-family: var(--head); font-size: 20px; }
.tile__label span { font-size: 14px; color: var(--gold-light); }
.tile__pill { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; font-family: var(--head); font-size: 14px; font-weight: 900; background: #fff; color: var(--ink); }
.tile__pill--gold { background: var(--gold); }
@media (max-width: 800px) { .bento { grid-template-columns: 1fr; grid-template-rows: none; } .tile, .tile--big { grid-row: auto; height: 340px; } .tile--big { height: 460px; } }

/* Shelf */
.shelf-sec { position: relative; overflow: hidden; }
.shelf-sec__word { position: absolute; right: -20px; top: 0; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(140px, 18vw, 260px); line-height: 1; color: var(--cream-2); pointer-events: none; }
.shelf { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; align-items: end; }
.book { text-decoration: none; color: var(--ink); display: block; }
.book img { width: 100%; aspect-ratio: 600 / 776; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,.18); transition: transform .25s ease; }
.book:nth-child(odd) img { transform: rotate(-2deg); }
.book:nth-child(even) img { transform: rotate(1.6deg); }
.book:hover img { transform: rotate(0) translateY(-6px); }
.book b { display: block; margin: 20px 0 4px; font-family: var(--head); font-weight: 900; font-size: 18px; }
.book span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.book span.btn { display: inline-flex; color: #fff; font-size: 13px; margin: 4px 0 0; }
@media (max-width: 900px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }

/* Build cards */
.build { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bcard { position: relative; overflow: hidden; border-radius: 24px; padding: 30px; min-height: 220px; text-decoration: none; display: block; }
.bcard__code { position: absolute; right: -6px; bottom: -34px; font-family: var(--head); font-size: 150px; font-weight: 900; line-height: 1; pointer-events: none; }
.bcard h3 { position: relative; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; }
.bcard p, .bcard ul { position: relative; margin: 0; }
.bcard ul { padding-left: 20px; margin-top: 12px; }
.bcard--ink { background: var(--ink); color: var(--muted-dark); }
.bcard--ink h3 { color: #fff; }
.bcard--ink .bcard__code { color: var(--teal-3); }
.bcard--gold { background: var(--gold); color: var(--ink); }
.bcard--gold .bcard__code { color: #D4B26F; }
.bcard--cream { background: var(--cream); color: #46524F; }
.bcard--cream .bcard__code { color: #E3D9C3; }
.bcard__more { position: relative; display: inline-block; margin-top: 18px; font-family: var(--head); font-weight: 800; font-size: 14px; }
.bcard--ink .bcard__more { color: var(--gold-light); }
.bcard--gold .bcard__more, .bcard--cream .bcard__more { color: var(--ink); }
a.bcard:hover { transform: translateY(-3px); transition: transform .2s; }
.bcard--ink:hover { color: var(--muted-dark); }
.bcard--gold:hover, .bcard--cream:hover { color: var(--ink); }
@media (max-width: 900px) { .build { grid-template-columns: 1fr; } }

/* Reviews panel */
.reviews { position: relative; background: var(--ink); color: #fff; border-radius: 32px; padding: 72px; overflow: hidden; }
.reviews__mark { position: absolute; left: 40px; top: -60px; font-family: var(--serif); font-size: 320px; font-weight: 700; color: var(--gold); line-height: 1; pointer-events: none; }
.reviews__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }
.reviews figure { margin: 0; }
.reviews blockquote { margin: 70px 0 20px; font-family: var(--head); font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.reviews figcaption { color: var(--muted-dark); }
.reviews figcaption b { color: #fff; }
.reviews .note { background: var(--gold); color: var(--ink); border-radius: 22px; padding: 28px; transform: rotate(2deg); }
.reviews .note blockquote { margin: 0 0 12px; font-size: 26px; font-weight: 900; line-height: 1.15; }
.reviews .note figcaption { color: var(--ink); font-weight: 700; }
.reviews__src { position: relative; margin-top: 28px; font-size: 14px; color: var(--muted-dark); }
@media (max-width: 900px) { .reviews { padding: 48px 28px; } .reviews__grid { grid-template-columns: 1fr; gap: 32px; } .reviews__mark { font-size: 220px; left: 16px; top: -40px; } .reviews blockquote { margin-top: 56px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps .n { display: block; font-family: var(--head); font-size: clamp(80px, 9vw, 120px); font-weight: 900; line-height: .9; -webkit-text-stroke: 2px var(--gold); color: transparent; }
.steps > div:last-child .n { color: var(--gold); }
.steps h3 { margin: 12px 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.steps p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Case studies */
.cases { display: grid; gap: 110px; }
.case { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.case--flip { flex-direction: row-reverse; }
.case__copy { flex: 1 1 440px; min-width: 0; }
.case__copy h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.04em; margin-bottom: 18px; }
.case__copy p { color: var(--muted); }
.case__copy p strong { color: var(--ink); }
.case__media { flex: 1 1 520px; min-width: 0; border-radius: 28px; padding: 44px; display: flex; justify-content: center; }
.case__media--mist { background: var(--mist); }
.case__media--ink { background: var(--ink); }
.case__media--gold { background: var(--gold); }
.case__media img { border-radius: 12px; box-shadow: 0 30px 60px rgba(4,31,29,.25); }
.case__media .single { width: 100%; max-width: 460px; transform: rotate(-2deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tags span { padding: 7px 14px; border-radius: 999px; background: var(--cream); font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.trio img { width: 100%; aspect-ratio: 3/4; object-fit: cover; box-shadow: none; border-radius: 12px; }
.trio img:nth-child(2) { margin-top: 28px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
.duo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.duo img:nth-child(1) { transform: rotate(-3deg); }
.duo img:nth-child(2) { margin-top: 40px; transform: rotate(3deg); }

/* Products (Studio Shop) */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product { display: flex; flex-direction: column; gap: 10px; }
.product__img { position: relative; border-radius: 24px; overflow: hidden; background: var(--cream); }
.product__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.product:hover .product__img img { transform: scale(1.04); }
.product__tag { position: absolute; left: 16px; top: 16px; background: var(--gold); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-family: var(--head); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 8px; }
.product .price { font-family: var(--head); font-weight: 700; color: var(--muted); margin: 0 0 2px; }
.product .price__plus { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* About */
.founder { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.founder__media { flex: 1 1 380px; min-width: 0; position: relative; max-width: 480px; }
.founder__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 22%; border-radius: 240px 240px 28px 28px; }
.founder__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 2px solid var(--gold); border-radius: 240px 240px 28px 28px; }
.founder__media .brush { position: absolute; left: -18%; bottom: -6%; width: 80%; transform: rotate(-6deg); }
.founder__copy { flex: 1 1 480px; min-width: 0; }
.founder__copy p { color: #46524F; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.creds span { padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--gold-light); font-family: var(--head); font-weight: 800; font-size: 14px; }

/* Peer Planner page */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.phases > div { border-top: 3px solid var(--ink); padding-top: 20px; }
.phases .n { font-family: var(--head); font-size: 64px; font-weight: 900; line-height: .9; -webkit-text-stroke: 2px var(--gold); color: transparent; }
.phases h3 { font-size: 26px; margin: 10px 0 6px; }
.phases small { display: block; font-family: var(--head); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
@media (max-width: 800px) { .phases { grid-template-columns: 1fr; } }
.pp-hero-books { position: absolute; right: -80px; bottom: -40px; width: min(52vw, 720px); transform: rotate(-6deg); filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); }
@media (max-width: 1000px) { .pp-hero-books { position: relative; right: auto; bottom: auto; width: 108%; margin: 40px -4% -40px; } }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact__info { flex: 1 1 340px; min-width: 0; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.info-list b { display: block; font-family: var(--head); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.info-list a, .info-list span { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; }
.form-card { flex: 1 1 520px; min-width: 0; max-width: 640px; background: var(--cream); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.form-card__title { font-family: var(--head); font-size: 28px; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 4px; }
.field { font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select { display: block; width: 100%; margin-top: 6px; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #D9CFBA; background: #fff; font: 400 16px var(--body); color: var(--text); }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.hidden { display: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { background: var(--gold); transform: rotate(45deg); }
.faq details p { max-width: 760px; color: var(--muted); padding-bottom: 24px; margin: 0; }

/* Closing CTA */
.closing { position: relative; background: var(--gold); padding: 96px 0; overflow: hidden; }
.closing__brush { position: absolute; right: -60px; top: 30px; width: 620px; opacity: .45; transform: rotate(-10deg); pointer-events: none; }
.closing h2 { position: relative; color: var(--ink); margin-bottom: 34px; }
.closing .it { color: #fff; }
.closing .btns { position: relative; align-items: center; }
.closing__contact { font-family: var(--head); font-weight: 800; color: var(--ink); }
.closing__contact a { color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: var(--muted-dark); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer h4 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__brand p { font-size: 15px; margin-top: 16px; }
.newsletter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.newsletter input { flex: 1 1 180px; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: #0B3734; color: #fff; font: inherit; }
.newsletter .btn { min-height: 48px; padding: 0 20px; font-size: 14px; }
.legal { margin: 24px 0 0; font-size: 13px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand, .footer__news { grid-column: 1 / -1; } }

/* ---- Phone refinements ---- */
@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .eyebrow { letter-spacing: .18em; font-size: 12px; }
  .display { font-size: clamp(44px, 13vw, 64px); }
  .display--xl { font-size: clamp(50px, 15vw, 72px); }
  .h2 { font-size: clamp(32px, 9.5vw, 44px); }
  .display .outline { -webkit-text-stroke: 0; color: var(--gold-big); }
  .lead { font-size: 18px; }
  .hero { padding-top: 40px; }
  .hero .lead { margin: 40px 0 28px; }
  .btns .btn { width: 100%; }
  .sticker { width: 96px; height: 96px; bottom: auto; top: auto; right: 12px; margin-top: -60px; position: absolute; }
  .hero__books + .sticker, .hero .sticker { bottom: 150px; }
  .sticker svg { transform: scale(.565); }
  .sticker b { font-size: 17px; }
  .shelf-sec__word, .closing__brush, .page-hero__art { display: none; }
  .tile, .tile--big { height: auto; aspect-ratio: 1; }
  .tile img { object-fit: cover; }
  .tile__label { left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; }
  .tile__label b { font-size: 17px; }
  .stats { padding-top: 56px; }
  .stats span { font-size: 14px; }
  .bcard { min-height: 0; padding: 26px; }
  .bcard__code { font-size: 110px; bottom: -24px; }
  .case { gap: 28px; }
  .case__media { padding: 24px; }
  .reviews { border-radius: 24px; }
  .info-list a, .info-list span { font-size: 17px; overflow-wrap: anywhere; }
  .form-card { padding: 26px 20px; }
  .closing { padding: 72px 0; }
  .closing__contact { font-size: 15px; overflow-wrap: anywhere; }
  .footer { padding-top: 48px; }
}

/* ---- Cart ---- */
.nav__tools { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; border: 1px solid var(--line-dark); }
.cart-link:hover, .cart-link[aria-current="page"] { color: var(--gold-light); border-color: var(--gold); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--head); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.cart-count[hidden] { display: none; }
.menu { margin-left: auto; margin-right: 18px; }
@media (max-width: 1140px) { .menu { margin: 0; } }

.product__desc { color: var(--muted); font-size: 15px; margin: 0; }
.buy { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin: 8px 0 4px; }
.buy select { min-height: 48px; }
.buy__qty > span { display: block; margin-bottom: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #D9CFBA; border-radius: 999px; background: #fff; height: 48px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; border-radius: 50%; }
.qty button:hover { background: var(--cream); }
.qty input, .qty output { width: 40px; border: 0; text-align: center; font: 800 16px var(--head); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__msg { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink); background: var(--cream); padding: 10px 14px; border-radius: 12px; margin: 4px 0 0; }
.product .btn { width: 100%; }

.page-hero--short { padding: 36px 0 64px; }
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { border-top: 1px solid var(--line); }
.cart-row img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; background: var(--cream); }
.cr-info b { display: block; font-family: var(--head); font-size: 17px; color: var(--ink); }
.cr-info span { display: block; font-size: 14px; color: var(--muted); }
.cr-total { font-family: var(--head); font-size: 17px; color: var(--ink); min-width: 70px; text-align: right; }
.cr-remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 10px 4px; }
.cart-note { margin-top: 18px; color: var(--muted); }
.cart-sum { background: var(--cream); border-radius: 24px; padding: 28px; position: sticky; top: 20px; }
.cart-sum h2 { font-size: 24px; margin-bottom: 14px; }
.cart-sum dl { margin: 0 0 20px; }
.cart-sum dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #E3D9C3; }
.cart-sum dt { color: var(--muted); }
.cart-sum dd { margin: 0; font-family: var(--head); font-weight: 800; color: var(--ink); }
.cart-sum .tot dt, .cart-sum .tot dd { font-family: var(--head); font-weight: 900; color: var(--ink); font-size: 18px; }
.small { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.cart-empty { text-align: center; padding: 40px 0; display: grid; gap: 14px; justify-items: center; }
.co-wrap { max-width: 860px; }
.co-head { margin-bottom: 8px; }
.co-msg { background: var(--cream); border-radius: 16px; padding: 18px 22px; margin: 18px 0; }
#checkout { margin-top: 18px; }
@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-sum { position: static; }
  .cart-row { grid-template-columns: 72px 1fr auto; grid-template-areas: "img info total" "img qty remove"; gap: 8px 14px; }
  .cart-row img { grid-area: img; width: 72px; height: 72px; }
  .cr-info { grid-area: info; } .cart-row .qty { grid-area: qty; justify-self: start; } .cr-total { grid-area: total; } .cr-remove { grid-area: remove; justify-self: end; }
}
@media (max-width: 420px) { .buy { grid-template-columns: 1fr; } }

/* ---- Sage accents ---- */
.section--sage { background: var(--sage-mist); }
.section--sage-light { background: var(--sage-light); }
.section--sage .steps .n, .section--sage-light .steps .n { -webkit-text-stroke-color: var(--sage-deep); }
.section--sage .steps > div:last-child .n, .section--sage-light .steps > div:last-child .n { color: var(--teal); -webkit-text-stroke-color: var(--teal); }
.section--sage .it, .section--sage-light .it { color: var(--sage-deep); }
.bcard--sage { background: var(--sage-light); color: #1F3B35; }
.bcard--sage h3 { color: var(--ink); }
.bcard--sage .bcard__code { color: #ADC2B7; }
.bcard--sage .bcard__more { color: var(--ink); }
.bcard--sage:hover { color: #1F3B35; }
.stats-band { background: var(--sage-mist); }
.stats-band .stats { border-bottom: 0; padding-bottom: 56px; }
.stats-band .stats > div { border-left-color: #C9D8D0; }
.tags span { background: var(--sage-mist); }
.product__img { background: var(--sage-mist); }
.cart-sum { background: var(--sage-mist); }
.cart-sum dl div { border-bottom-color: #C9D8D0; }
.form-card { background: var(--sage-mist); }
.field input, .field textarea, .field select { border-color: #BCCDC4; }
.faq summary::after { background: var(--sage-mist); }
.buy__msg { background: var(--sage-mist); }
.qty button:hover { background: var(--sage-mist); }
.reviews .note { background: var(--sage-light); }
.tilt--sage .tilt { background: var(--sage-light); }
.hero__sprig { opacity: 1; }
.news { background: var(--sage-light); }
.news__amz { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.news__amz svg { flex: 0 0 auto; }
.news__amz:hover { text-decoration: underline; }
