/* ==========================================================================
   Stardust — main stylesheet
   Tokens → base → layout → components → sections → pages → utilities
   ========================================================================== */

/* Fonts (SIL OFL 1.1, bundled locally — no third-party requests) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "La Belle Aurore"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/la-belle-aurore-latin-400-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------------------------------------------------- */
/* Declared on body so they can reference Elementor kit variables (which live on body.elementor-kit-N). */
body {
	--sd-ivory: #F3EBDD;
	--sd-parchment: #EADFCB;
	--sd-parchment-deep: #E0D1B6;
	--sd-burgundy: #641F35;
	--sd-burgundy-hover: #4E1628;
	--sd-wine: #35101D;
	--sd-ink: #6B3B32;
	--sd-text: #3A1A22;
	--sd-muted: #6F5450;
	--sd-line: rgba(100, 31, 53, .22);
	--sd-line-soft: rgba(53, 16, 29, .12);
	--sd-on-dark: #F3EBDD;

	--sd-font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--sd-font-body: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
	--sd-font-script: "La Belle Aurore", "Segoe Script", "Bradley Hand", cursive;

	--sd-wide: 1360px;
	--sd-narrow: 760px;
	--sd-gutter: clamp(1rem, 4vw, 3.5rem);
	--sd-pad-y: clamp(3.5rem, 7vw, 6.5rem);
	--sd-radius: 2px;

	--sd-ease: cubic-bezier(.2, .7, .2, 1);
	--sd-dur: .45s;

	--sd-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--sd-tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 10 L40 13 L80 8 L130 14 L170 9 L220 12 L270 7 L320 13 L360 10 L410 15 L450 8 L500 12 L560 9 L600 14 L650 8 L700 12 L740 9 L790 14 L840 7 L880 12 L930 9 L980 14 L1020 8 L1070 12 L1120 9 L1160 13 L1200 9 L1200 24 L0 24 Z' fill='%23000'/%3E%3C/svg%3E");
}

/* Opt-in mapping to Elementor global colours/fonts once the kit has been synced by the companion plugin. */
body.sd-use-kit {
	--sd-burgundy: var(--e-global-color-primary, #641F35);
	--sd-wine: var(--e-global-color-secondary, #35101D);
	--sd-text: var(--e-global-color-text, #3A1A22);
	--sd-ivory: var(--e-global-color-accent, #F3EBDD);
	--sd-font-display: var(--e-global-typography-primary-font-family, "Cormorant Garamond"), Garamond, serif;
	--sd-font-body: var(--e-global-typography-text-font-family, "EB Garamond"), Garamond, Georgia, serif;
}

/* ---------- Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--sd-ivory);
	background-image: var(--sd-paper);
	color: var(--sd-text);
	font-family: var(--sd-font-body);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sd-burgundy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sd-wine); }
h1, h2, h3, h4, h5, h6 { font-family: var(--sd-font-display); font-weight: 500; color: var(--sd-wine); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sd-burgundy); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--sd-burgundy); color: var(--sd-ivory); }
hr { border: 0; border-top: 1px solid var(--sd-line); margin: 2.5rem 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; background: var(--sd-ivory); padding: .75rem 1rem; }
.sd-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--sd-wine); color: var(--sd-ivory); padding: .6rem 1rem; }
.sd-skip:focus { top: 1rem; }
.sd-main:focus { outline: none; }
.sd-anchor { display: block; height: 0; scroll-margin-top: 80px; }
.sd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------------------------------------------------- */
.sd-wrap { width: 100%; max-width: var(--sd-wide); margin-inline: auto; padding-inline: var(--sd-gutter); }
.sd-band { position: relative; padding-block: var(--sd-pad-y); }
.sd-tone--ivory { background-color: var(--sd-ivory); background-image: var(--sd-paper); }
.sd-tone--parchment { background-color: var(--sd-parchment); background-image: var(--sd-paper); }
.sd-tone--dark { background-color: var(--sd-wine); color: var(--sd-on-dark); }
.sd-tone--dark :is(h1, h2, h3, .sd-heading, .sd-eyebrow__num, .sd-eyebrow__label) { color: var(--sd-on-dark); }
.sd-tone--transparent { background: transparent; }

/* Torn paper edge at the bottom of a band */
.sd-band--torn::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 14px; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(53, 16, 29, .10), rgba(53, 16, 29, 0));
	-webkit-mask: var(--sd-tear) center / 100% 100% no-repeat; mask: var(--sd-tear) center / 100% 100% no-repeat;
	transform: scaleY(-1);
}

/* ---------- Typography components ------------------------------------- */
.sd-heading { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 500; line-height: 1.02; margin-bottom: .45em; }
.sd-heading--hero { font-size: clamp(2.8rem, 1.6rem + 4.2vw, 5rem); line-height: .98; }
.sd-heading--page { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.2rem); line-height: 1; }
.sd-heading--sm { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.sd-heading--xs { font-size: 1.35rem; margin-bottom: 1rem; }
.sd-lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--sd-muted); max-width: 34ch; line-height: 1.55; }
.sd-copy { color: var(--sd-muted); max-width: 40ch; }
.sd-copy p { margin-bottom: .6em; }
.sd-script { font-family: var(--sd-font-script); font-weight: 400; color: var(--sd-ink); line-height: 1.35; letter-spacing: .01em; }
.sd-placeholder { color: var(--sd-muted); font-size: .9em; font-style: italic; }

/* Section index marker: "01 ┊ ◆— A STORY" */
.sd-eyebrow { position: relative; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; padding-left: 0; }
.sd-eyebrow__num { font-family: var(--sd-font-body); font-size: .72rem; letter-spacing: .14em; color: var(--sd-wine); position: relative; padding-bottom: 2.4rem; width: max-content; }
.sd-eyebrow__num::after { content: ""; position: absolute; left: 0; top: 1.5rem; width: 1px; height: 1.9rem; background: var(--sd-line); }
.sd-eyebrow__label { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sd-font-body); font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--sd-wine); }
.sd-eyebrow__label::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--sd-burgundy); flex: none; box-shadow: 9px -9px 0 -2px transparent; }
.sd-eyebrow__label::after { content: none; }
.sd-eyebrow__num + .sd-eyebrow__label { margin-top: -1.15rem; margin-left: -2px; }

/* ---------- Buttons --------------------------------------------------- */
.sd-btn {
	--btn-bg: var(--sd-burgundy); --btn-fg: var(--sd-ivory);
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 44px; padding: .6rem 1.6rem; border: 1px solid var(--btn-bg); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg); font-family: var(--sd-font-body); font-size: .95rem; letter-spacing: .02em; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background var(--sd-dur) var(--sd-ease), color var(--sd-dur) var(--sd-ease), border-color var(--sd-dur) var(--sd-ease), transform .2s var(--sd-ease);
}
.sd-btn .sd-icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--sd-ease); }
.sd-btn:hover { --btn-bg: var(--sd-burgundy-hover); color: var(--btn-fg); }
.sd-btn:hover .sd-icon--arrow { transform: translateX(3px); }
.sd-btn--outline { --btn-fg: var(--sd-burgundy); background: transparent; }
.sd-btn--outline:hover { background: var(--sd-burgundy); color: var(--sd-ivory); }
.sd-btn--link { background: none; border: 0; padding: .2rem 0; min-height: 0; color: var(--sd-wine); border-radius: 0; text-decoration: underline; text-underline-offset: .35em; text-decoration-color: var(--sd-line); }
.sd-btn--link:hover { color: var(--sd-burgundy); background: none; text-decoration-color: currentColor; }
.sd-btn--circle { background: none; border: 0; padding: 0; color: var(--sd-wine); gap: .9rem; min-height: 0; }
.sd-btn--circle:hover { background: none; color: var(--sd-burgundy); }
.sd-btn__circle { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--sd-wine); border-radius: 50%; transition: background .3s var(--sd-ease), color .3s var(--sd-ease); }
.sd-btn--circle:hover .sd-btn__circle { background: var(--sd-burgundy); border-color: var(--sd-burgundy); color: var(--sd-ivory); }
.sd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.8rem; }

.sd-icon { width: 1.25rem; height: 1.25rem; flex: none; }
.sd-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--sd-wine); cursor: pointer; border-radius: 50%; }
.sd-icon-btn:hover { color: var(--sd-burgundy); }

/* ---------- Forms ----------------------------------------------------- */
.sd-input, .sd-prose input[type="text"], .sd-prose input[type="email"], .sd-prose textarea {
	width: 100%; min-height: 46px; padding: .7rem .9rem; border: 1px solid var(--sd-line); border-radius: var(--sd-radius);
	background: rgba(255, 252, 245, .55); color: var(--sd-text); transition: border-color .2s, background .2s;
}
.sd-input:focus { border-color: var(--sd-burgundy); background: rgba(255, 252, 245, .9); outline: none; box-shadow: 0 0 0 3px rgba(100, 31, 53, .12); }
.sd-input::placeholder { color: rgba(58, 26, 34, .45); }
select.sd-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335101D' stroke-width='1.3'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 1.1rem; padding-right: 2.4rem; }
textarea.sd-input { min-height: 160px; resize: vertical; }
.sd-field { margin-bottom: 1.1rem; }
.sd-field label { display: block; font-size: .85rem; color: var(--sd-wine); margin-bottom: .35rem; }
.sd-field--check { display: flex; gap: .7rem; align-items: flex-start; }
.sd-field--check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--sd-burgundy); flex: none; }
.sd-field--check label { font-size: .88rem; color: var(--sd-muted); margin: 0; }
.sd-form-msg, .sd-signup__msg { padding: .7rem 1rem; border-left: 2px solid var(--sd-burgundy); background: rgba(100, 31, 53, .06); font-size: .92rem; }
.sd-form-msg.is-error, .sd-signup__msg.is-error { border-color: #9b2c2c; }

.sd-searchform { display: flex; gap: .5rem; max-width: 560px; }
.sd-searchform .sd-btn { padding-inline: 1rem; }

.sd-signup__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.sd-signup__row .sd-input { flex: 1 1 220px; }
.sd-signup__fine { font-size: .8rem; color: var(--sd-muted); margin: .6rem 0 0; }
.sd-signup--reveal { width: 100%; }
.sd-signup--reveal > summary { list-style: none; display: inline-flex; width: max-content; }
.sd-signup--reveal > summary::-webkit-details-marker { display: none; }
.sd-signup--reveal[open] > summary { margin-bottom: 1rem; }
.sd-signup--reveal .sd-signup__form { max-width: 440px; animation: sd-fade-in .4s var(--sd-ease); }

/* ---------- Header ---------------------------------------------------- */
.sd-header { position: sticky; top: 0; z-index: 50; transition: background .3s var(--sd-ease), box-shadow .3s var(--sd-ease); }
.admin-bar .sd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sd-header { top: 0; } }
.sd-header.is-scrolled { background: rgba(243, 235, 221, .92); box-shadow: 0 1px 0 var(--sd-line-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sd-header__inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3.5rem); min-height: 76px; }
.sd-wordmark { font-family: var(--sd-font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--sd-wine); text-decoration: none; white-space: nowrap; }
.sd-wordmark:hover { color: var(--sd-burgundy); }
.sd-header__brand .custom-logo { max-height: 40px; width: auto; }
.sd-primary-nav { flex: 1; }
.sd-primary { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); list-style: none; margin: 0; padding: 0; }
.sd-primary a { position: relative; display: inline-block; padding: .4rem 0; color: var(--sd-wine); text-decoration: none; font-size: .93rem; }
.sd-primary a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sd-ease); }
.sd-primary a:hover::after, .sd-primary .current-menu-item > a::after, .sd-primary .current_page_item > a::after { transform: scaleX(1); }
.sd-header__tools { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.sd-cart-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--sd-wine); }
.sd-cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--sd-burgundy); color: var(--sd-ivory); font-size: .66rem; line-height: 17px; text-align: center; }
.sd-cart-count.is-empty { display: none; }
.sd-menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: .3rem; border: 1px solid var(--sd-wine); border-radius: 50%; background: none; color: var(--sd-wine); cursor: pointer; transition: background .3s, color .3s; }
.sd-menu-btn:hover { background: var(--sd-wine); color: var(--sd-ivory); }
.sd-sound { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border: 0; background: none; color: var(--sd-wine); font-size: .8rem; cursor: pointer; letter-spacing: .04em; }
.sd-sound .sd-icon { width: 1rem; height: 1rem; }

/* Overlays (menu, search) */
.sd-overlay { position: fixed; inset: 0; z-index: 100; background: var(--sd-ivory); background-image: var(--sd-paper); overflow-y: auto; animation: sd-fade-in .35s var(--sd-ease); }
.sd-overlay[hidden] { display: none; }
.sd-overlay__inner { position: relative; min-height: 100%; padding-top: 6rem; padding-bottom: 3rem; }
.sd-overlay__close { position: absolute; top: 1rem; right: var(--sd-gutter); border: 1px solid var(--sd-wine); }
.sd-overlay__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.sd-overlay-menu { list-style: none; margin: 0; padding: 0; counter-reset: sd-menu; }
.sd-overlay-menu li { counter-increment: sd-menu; border-bottom: 1px solid var(--sd-line-soft); }
.sd-overlay-menu a { display: flex; align-items: baseline; gap: 1.2rem; padding: .7rem 0; font-family: var(--sd-font-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.1; color: var(--sd-wine); text-decoration: none; }
.sd-overlay-menu a::before { content: counter(sd-menu, decimal-leading-zero); font-family: var(--sd-font-body); font-size: .75rem; letter-spacing: .14em; color: var(--sd-muted); }
.sd-overlay-menu a:hover { color: var(--sd-burgundy); }
.sd-overlay-sub { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.sd-overlay-sub a, .sd-overlay__account { color: var(--sd-wine); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.sd-overlay__note { font-size: 1.4rem; margin-top: 2.5rem; }
.sd-overlay--search .sd-overlay__inner { display: grid; place-items: center; }
.sd-overlay--search .sd-searchform { width: min(640px, 100%); max-width: none; }
.sd-overlay--search .sd-input { font-size: 1.3rem; min-height: 58px; }
body.sd-lock { overflow: hidden; }

/* ---------- Footer ---------------------------------------------------- */
.sd-footer { border-top: 1px solid var(--sd-line-soft); padding-block: 2.2rem 1.6rem; font-size: .88rem; }
.sd-footer__main { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.sd-footer__mark { font-size: 1.15rem; }
.sd-footer-menu, .sd-legal-menu { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.sd-footer-menu a, .sd-legal-menu a { color: var(--sd-wine); text-decoration: none; }
.sd-footer-menu a:hover, .sd-legal-menu a:hover { text-decoration: underline; }
.sd-footer-menu-nav { flex: 1; }
.sd-social { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.sd-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--sd-wine); }
.sd-social a:hover { color: var(--sd-burgundy); }
.sd-footer__tagline { margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--sd-line); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sd-wine); }
.sd-footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--sd-line-soft); color: var(--sd-muted); font-size: .8rem; }
.sd-footer__legal .sd-legal-menu a { color: var(--sd-muted); }
.sd-footer__copy { margin: 0; }

/* ---------- Media treatments ------------------------------------------ */
.sd-fade--soft img { -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
.sd-fade--edges img {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
	mask-composite: intersect;
}
.sd-fade--left img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }

/* ==========================================================================
   Sections
   ========================================================================== */

/* ---------- 01 Reveal hero -------------------------------------------- */
.sd-hero {
	--sd-hero-min: clamp(560px, calc(100vh - 76px), 860px);
	--sd-ink-color: var(--sd-ink);
	--sd-product-w: min(31vw, 450px);
	--sd-product-top: 4%;
	--sd-product-right: 15%;
	min-height: var(--sd-hero-min); padding: 0; overflow: hidden; isolation: isolate;
	display: grid; align-items: center;
}
.sd-hero__stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sd-hero__blueprint { position: absolute; top: 4%; right: 2%; width: min(56vw, 760px); opacity: .55; color: var(--sd-ink); }
.sd-blueprint-art { width: 100%; height: auto; }
.sd-bp-line { fill: none; stroke: currentColor; stroke-linecap: round; }
.sd-bp-text { fill: currentColor; font-family: var(--sd-font-script); font-size: 15px; }

.sd-hero__ink {
	position: absolute; inset: 0; color: var(--sd-ink-color);
	opacity: .22; /* no-JS: faintly visible */
	transition: opacity .6s var(--sd-ease);
}
.sd-ink-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd-ink-line, .sd-ink-grid, .sd-ink-dust, .sd-ink-hatch { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.sd-ink-grid { opacity: .35; }
.sd-ink-hatch { opacity: .7; }
.sd-ink-label { fill: currentColor; font-family: var(--sd-font-script); font-size: 17px; }
.sd-ink-script { fill: var(--sd-burgundy); font-family: var(--sd-font-script); font-size: 30px; }
.sd-ink-stars { fill: currentColor; }
.sd-hero__ink-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

/* Reveal: JS sets --sd-rx/--sd-ry/--sd-rr on the section. */
.js .sd-hero.is-reveal-ready .sd-hero__ink {
	opacity: 1;
	--sd-r: max(var(--sd-rr, 0px), 1px);
	-webkit-mask-image: radial-gradient(circle var(--sd-r) at var(--sd-rx, 50%) var(--sd-ry, 50%), #000 calc(var(--sd-r) * var(--sd-core, .45)), rgba(0, 0, 0, .55) calc(var(--sd-r) * .78), transparent var(--sd-r));
	mask-image: radial-gradient(circle var(--sd-r) at var(--sd-rx, 50%) var(--sd-ry, 50%), #000 calc(var(--sd-r) * var(--sd-core, .45)), rgba(0, 0, 0, .55) calc(var(--sd-r) * .78), transparent var(--sd-r));
}
.js .sd-hero.is-revealed-all .sd-hero__ink { -webkit-mask-image: none; mask-image: none; opacity: .9; }

.sd-hero__inner { position: relative; z-index: 3; pointer-events: none; }
.sd-hero__copy { max-width: 34rem; padding-block: 5rem 6rem; pointer-events: auto; }
.sd-hero__copy .sd-lede { margin-bottom: 2.2rem; }
.sd-hero__product { position: absolute; z-index: 2; top: var(--sd-product-top); right: var(--sd-product-right); width: var(--sd-product-w); margin: 0; pointer-events: none; }
.sd-hero__product img { width: 100%; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); filter: drop-shadow(0 18px 28px rgba(53, 16, 29, .18)); animation: sd-float 9s ease-in-out infinite; }
.sd-hero__note { position: absolute; z-index: 3; top: 9%; right: var(--sd-gutter); font-size: 1.2rem; margin: 0; text-align: left; transform: rotate(-3deg); }
.sd-hero__specs { position: absolute; z-index: 3; right: var(--sd-gutter); bottom: 17%; list-style: none; margin: 0; padding: 0; font-family: var(--sd-font-script); color: var(--sd-ink); font-size: 1rem; line-height: 1.5; }
.sd-hero__tools { position: absolute; z-index: 4; left: var(--sd-gutter); bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.sd-hero__toggle { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border: 1px solid var(--sd-line); border-radius: 999px; background: rgba(243, 235, 221, .7); color: var(--sd-wine); font-size: .78rem; letter-spacing: .06em; cursor: pointer; min-height: 36px; }
.sd-hero__toggle[aria-pressed="true"] { background: var(--sd-burgundy); color: var(--sd-ivory); border-color: var(--sd-burgundy); }
.sd-hero__toggle .sd-icon { width: 1rem; height: 1rem; }
.sd-hero__hint { margin: 0; font-family: var(--sd-font-script); color: var(--sd-ink); font-size: 1rem; opacity: .8; transition: opacity .8s var(--sd-ease); }
.sd-hero.has-interacted .sd-hero__hint { opacity: 0; }
.sd-hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--sd-wine); text-decoration: none; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }
.sd-hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--sd-wine), transparent); transform-origin: top; animation: sd-scroll 2.4s var(--sd-ease) infinite; }

/* ---------- Editorial feature ----------------------------------------- */
.sd-feature { --sd-media-w: 100%; --sd-overlap-top: 0px; --sd-overlap-bottom: 0px; --sd-text-col: 4.2fr; --sd-media-col: 7.8fr; }
.sd-feature__inner { display: grid; grid-template-columns: minmax(0, var(--sd-text-col)) minmax(0, var(--sd-media-col)); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.sd-feature__text { position: relative; z-index: 3; }
.sd-feature__media { position: relative; z-index: 2; width: var(--sd-media-w); justify-self: end; margin-top: calc(var(--sd-overlap-top) * -1); margin-bottom: calc(var(--sd-overlap-bottom) * -1); }
.sd-feature__figure { margin: 0; }
.sd-feature__figure img { width: 100%; height: auto; object-fit: cover; object-position: var(--sd-obj-pos, center); }
.sd-feature--media-left .sd-feature__inner { grid-template-columns: minmax(0, var(--sd-media-col)) minmax(0, var(--sd-text-col)); }
.sd-feature--media-left .sd-feature__text { order: 2; }
.sd-feature--media-left .sd-feature__media { justify-self: start; }
.sd-feature__quote { position: absolute; top: 6%; right: 6%; margin: 0; font-size: clamp(1.1rem, .9rem + .7vw, 1.6rem); color: var(--sd-ivory); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); transform: rotate(-3deg); }
.sd-feature__annotation { position: absolute; right: 4%; bottom: 10%; margin: 0; font-family: var(--sd-font-display); font-size: clamp(1rem, .9rem + .4vw, 1.3rem); line-height: 1.35; color: var(--sd-ivory); text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.sd-feature:not(.sd-feature--cinematic) .sd-feature__annotation { color: var(--sd-ink); text-shadow: none; font-family: var(--sd-font-script); top: 4%; bottom: auto; transform: rotate(-4deg); }

.sd-features { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .7rem; }
.sd-features li { display: flex; align-items: center; gap: .9rem; font-size: .95rem; color: var(--sd-text); }
.sd-features__icon { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid var(--sd-line); border-radius: 50%; color: var(--sd-burgundy); flex: none; }
.sd-features__icon .sd-icon { width: 1.05rem; height: 1.05rem; }

.sd-product-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-top: 1.5rem; }
.sd-product-meta__price { font-family: var(--sd-font-display); font-size: 1.6rem; color: var(--sd-wine); }
.sd-product-meta__price del { opacity: .55; font-size: .8em; margin-right: .4rem; }
.sd-product-meta__price ins { text-decoration: none; }
.sd-product-meta__stock { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sd-muted); }
.sd-product-meta__stock.is-available::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5b7a4a; margin-right: .5rem; vertical-align: middle; }

/* Preset: open book overlapping its neighbours */
.sd-feature--book { --sd-overlap-top: clamp(2rem, 7vw, 7.5rem); --sd-overlap-bottom: clamp(1rem, 3vw, 3rem); --sd-media-w: 108%; }
.sd-feature--book .sd-feature__figure img { filter: drop-shadow(0 24px 36px rgba(53, 16, 29, .22)); }

/* Preset: product with stacked gallery */
.sd-feature--product { --sd-overlap-bottom: clamp(1rem, 4vw, 4rem); --sd-text-col: 4fr; --sd-media-col: 8fr; }
.sd-feature--product .sd-feature__figure { width: 80%; }
.sd-feature--product .sd-feature__figure img {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
	mask-composite: intersect;
}
.sd-feature__gallery { position: absolute; top: 4%; right: 0; width: 19%; display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; z-index: 3; }
.sd-feature__gallery li { border: 3px solid var(--sd-ivory); box-shadow: 0 10px 24px rgba(53, 16, 29, .2); background: var(--sd-ivory); aspect-ratio: 1 / 1; overflow: hidden; transition: transform .4s var(--sd-ease); }
.sd-feature__gallery li:hover { transform: translateX(-4px) rotate(-1deg); }
.sd-feature__gallery img { width: 100%; height: 100%; object-fit: cover; }
.sd-feature.has-gallery:not(.sd-feature--product) .sd-feature__figure { width: 80%; }

/* Layout: cinematic */
.sd-feature--cinematic { min-height: clamp(420px, 40vw, 600px); display: grid; align-items: center; overflow: hidden; }
.sd-feature--cinematic .sd-feature__inner { grid-template-columns: minmax(0, 1fr); }
.sd-feature--cinematic .sd-feature__text { max-width: 26rem; }
.sd-feature--cinematic .sd-feature__media { position: absolute; inset: 0 0 0 auto; width: var(--sd-cine-w, 72%); margin: 0; z-index: 1; }
.sd-feature--cinematic .sd-feature__figure, .sd-feature--cinematic .sd-feature__figure img { width: 100%; height: 100%; }
.sd-feature--cinematic .sd-feature__figure img { object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 32%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 32%); }
.sd-feature--story .sd-feature__quote { right: 30%; top: 8%; }
.sd-feature--world .sd-feature__figure img { mix-blend-mode: multiply; }
.sd-feature--launch .sd-feature__inner, .sd-feature--story .sd-feature__inner { position: static; }

/* Preset: unboxing */
.sd-feature--unboxing .sd-feature__figure img { filter: drop-shadow(0 22px 34px rgba(53, 16, 29, .2)); }

/* ---------- What's inside --------------------------------------------- */
.sd-inside__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.sd-inside__sigil { display: inline-block; margin-top: 1.4rem; color: var(--sd-line); }
.sd-inside__sigil .sd-icon { width: 3rem; height: 3rem; }
.sd-inside__grid { display: grid; grid-template-columns: repeat(var(--sd-cols, 5), minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.2rem); list-style: none; margin: 0; padding: 0; }
.sd-inside__tile { aspect-ratio: 1 / 1; background: var(--sd-parchment); overflow: hidden; border-radius: var(--sd-radius); transition: transform .5s var(--sd-ease), box-shadow .5s var(--sd-ease); }
.sd-inside__tile img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.sd-inside__item:hover .sd-inside__tile { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(53, 16, 29, .12); }
.sd-inside__name { margin: .8rem 0 0; text-align: center; font-family: var(--sd-font-display); font-size: 1.05rem; color: var(--sd-wine); line-height: 1.25; }
.sd-inside__name span { display: block; font-family: var(--sd-font-body); font-size: .78rem; color: var(--sd-muted); }

/* ---------- Archive --------------------------------------------------- */
.sd-archive__inner { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 6.2fr) minmax(0, 2.4fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: center; }
.sd-archive__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); list-style: none; margin: 0; padding: 0; }
.sd-archive__card { background: var(--sd-wine); color: var(--sd-on-dark); aspect-ratio: 2 / 3; overflow: hidden; position: relative; }
.sd-archive__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.sd-archive__media { flex: 1; overflow: hidden; }
.sd-archive__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sd-ease), filter .6s; }
.sd-archive__card.is-sealed .sd-archive__media img { filter: brightness(.55) saturate(.6); }
a.sd-archive__link:hover .sd-archive__media img { transform: scale(1.05); }
.sd-archive__meta { display: grid; gap: .1rem; padding: .9rem 1rem 1rem; background: linear-gradient(180deg, rgba(53, 16, 29, 0), var(--sd-wine) 30%); margin-top: -2.4rem; position: relative; }
.sd-archive__num { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.sd-archive__title { font-family: var(--sd-font-display); font-size: 1.15rem; }
.sd-archive__status { font-size: .74rem; opacity: .7; }
.sd-archive__card.is-available .sd-archive__status::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #b8c99a; margin-right: .4rem; vertical-align: middle; }
.sd-archive__side { margin: 0; }
.sd-archive__side img { width: 100%; mix-blend-mode: multiply; }

/* ---------- Values row ------------------------------------------------ */
.sd-values__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; list-style: none; margin: 0; padding: 0; text-align: center; }
.sd-values__icon { display: inline-grid; place-items: center; width: 4.4rem; height: 4.4rem; color: var(--sd-ink); }
.sd-values__icon .sd-icon { width: 3.2rem; height: 3.2rem; stroke-width: .9; }
.sd-values__title { display: block; margin-top: .6rem; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sd-wine); }

/* ---------- Newsletter ------------------------------------------------ */
.sd-newsletter { padding-block: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--sd-line-soft); }
.sd-newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.sd-newsletter .sd-heading { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.sd-newsletter .sd-eyebrow { margin-bottom: 1rem; }

/* ==========================================================================
   Pages
   ========================================================================== */
.sd-page-hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); }
.sd-page-hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.sd-page-hero__media { position: relative; margin: 0; }
.sd-page-hero__media img { width: 100%; max-height: 520px; object-fit: cover; mix-blend-mode: multiply; }
.sd-page-hero__note { position: absolute; top: 4%; left: 4%; font-size: 1.15rem; transform: rotate(-4deg); }

.sd-page { padding-top: clamp(2rem, 4vw, 3.5rem); }
.sd-page__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sd-page__image { margin: 0 0 2.5rem; }
.sd-prose { max-width: var(--sd-narrow); }
.sd-prose--wide { max-width: 980px; }
/* Sections placed in editorial content (shortcodes) break out to full width. */
.sd-prose--wide > .sd-band { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.sd-prose--wide > .sd-band + .sd-band, .sd-prose--wide > * + .sd-band { margin-top: 0; }
.sd-prose > * + * { margin-top: 1.1em; }
.sd-prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2.2em; }
.sd-prose h3 { font-size: 1.4rem; margin-top: 1.8em; }
.sd-prose ul, .sd-prose ol { padding-left: 1.3rem; }
.sd-prose li + li { margin-top: .35em; }
.sd-prose blockquote { margin: 2rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 1px solid var(--sd-burgundy); font-family: var(--sd-font-display); font-size: 1.35rem; font-style: italic; color: var(--sd-wine); }
.sd-prose img { border-radius: var(--sd-radius); }
.sd-prose .wp-block-image { margin-block: 2rem; }
.sd-prose .wp-block-image figcaption { font-size: .85rem; color: var(--sd-muted); text-align: center; }
.sd-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sd-prose th, .sd-prose td { padding: .6rem .5rem; border-bottom: 1px solid var(--sd-line-soft); text-align: left; }
.sd-prose .wp-block-details, .sd-faq details { border-bottom: 1px solid var(--sd-line); padding: .2rem 0; }
.sd-prose .wp-block-details summary, .sd-faq summary { cursor: pointer; padding: .9rem 2rem .9rem 0; font-family: var(--sd-font-display); font-size: 1.3rem; color: var(--sd-wine); list-style: none; position: relative; }
.sd-prose .wp-block-details summary::-webkit-details-marker { display: none; }
.sd-prose .wp-block-details summary::after { content: "+"; position: absolute; right: .3rem; top: .7rem; font-family: var(--sd-font-body); font-size: 1.4rem; color: var(--sd-burgundy); transition: transform .3s; }
.sd-prose .wp-block-details[open] summary::after { transform: rotate(45deg); }
.sd-prose .wp-block-details > :not(summary) { margin: 0 0 1rem; color: var(--sd-muted); }

/* Placeholder notes that must be confirmed by the owner */
.sd-note, .sd-prose .sd-note {
	display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; background: rgba(100, 31, 53, .06); border: 1px solid var(--sd-line-soft); border-radius: var(--sd-radius); color: var(--sd-muted); font-size: .92rem;
}
.sd-note::before { content: ""; flex: none; width: 1.6rem; height: 1.6rem; border: 1px solid var(--sd-burgundy); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23641F35' stroke-width='1.2'%3E%3Cpath d='M12 4v16M4 12h16M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 1rem no-repeat; }

/* Policy layout */
.sd-policy { padding-top: clamp(2rem, 4vw, 3rem); }
.sd-policy__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.sd-toc { position: sticky; top: 110px; font-size: .88rem; }
.sd-toc ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .55rem; color: var(--sd-muted); }
.sd-toc a { color: var(--sd-wine); text-decoration: none; }
.sd-toc a:hover, .sd-toc a.is-active { color: var(--sd-burgundy); text-decoration: underline; }
.sd-policy__content { max-width: 820px; }
.sd-policy__content h2 { margin-top: 1.8em; scroll-margin-top: 110px; }
.sd-policy__content > h2:first-child { margin-top: 0; }
.sd-policy__updated { font-size: .85rem; color: var(--sd-muted); margin-top: 3rem; }

/* Contact */
.sd-contact { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.sd-contact__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sd-contact-form { max-width: 560px; }
.sd-channels { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.3rem; }
.sd-channels li { display: flex; gap: 1rem; align-items: flex-start; font-size: .92rem; }
.sd-channels strong { display: block; font-weight: 500; color: var(--sd-wine); }
.sd-channels a { word-break: break-all; }
.sd-channels__icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--sd-line); border-radius: 50%; color: var(--sd-burgundy); flex: none; }
.sd-contact__art { margin: 0; position: relative; }
.sd-contact__art img { mix-blend-mode: multiply; }
.sd-contact__art figcaption { font-size: 1.1rem; text-align: right; margin-top: -.5rem; transform: rotate(-3deg); }
.sd-contact__content { margin-top: 3rem; }
.sd-banner { margin: 0; padding: 0; }
.sd-banner img { width: 100%; max-height: 420px; object-fit: cover; }

/* Listings & cards */
.sd-listing { padding-top: clamp(2rem, 4vw, 3rem); }
.sd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.sd-card__link { display: grid; gap: .8rem; color: inherit; text-decoration: none; }
.sd-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sd-parchment); }
.sd-card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1s var(--sd-ease); }
.sd-card__link:hover img { transform: scale(1.04); }
.sd-card__body { display: grid; gap: .25rem; }
.sd-card__kicker { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sd-muted); }
.sd-card__title { font-family: var(--sd-font-display); font-size: 1.35rem; color: var(--sd-wine); line-height: 1.15; }
.sd-card__excerpt { font-size: .9rem; color: var(--sd-muted); }
.sd-card__price { color: var(--sd-wine); }
.nav-links { display: flex; gap: 1rem; justify-content: center; margin-top: 3rem; }
.nav-links .page-numbers { padding: .3rem .7rem; color: var(--sd-wine); text-decoration: none; border-bottom: 1px solid transparent; }
.nav-links .page-numbers.current { border-color: var(--sd-burgundy); }

/* Empty states / 404 */
.sd-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem; align-items: center; max-width: 960px; }
.sd-empty__art { margin: 0; }
.sd-empty__art img { mix-blend-mode: multiply; }
.sd-404__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sd-404__text .sd-searchform { margin-top: 1.5rem; }
.sd-404__art { margin: 0; position: relative; }
.sd-404__art img { mix-blend-mode: multiply; }
.sd-404__art figcaption { position: absolute; right: 4%; top: 6%; font-size: 1.2rem; transform: rotate(-4deg); }

/* Stories */
.sd-episodes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.sd-episode__link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: center; color: inherit; text-decoration: none; }
.sd-episode__media { display: block; overflow: hidden; aspect-ratio: 16 / 8; }
.sd-episode__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sd-ease); }
.sd-episode__link:hover img { transform: scale(1.03); }
.sd-episode__body { display: grid; gap: .6rem; justify-items: start; }
.sd-episode__title { font-family: var(--sd-font-display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); color: var(--sd-wine); line-height: 1.05; }
.sd-episode__excerpt { color: var(--sd-muted); }
.sd-episode.is-sealed { padding: 2rem; border: 1px dashed var(--sd-line); text-align: center; }
.sd-episode.is-sealed .sd-episode__body { justify-items: center; }
.sd-reader__body { max-width: 760px; }
.sd-reader__body .wp-block-image img, .sd-reader__body > figure img { width: 100%; box-shadow: 0 18px 40px rgba(53, 16, 29, .18); }
.sd-episode-nav { padding-block: 2rem; border-top: 1px solid var(--sd-line-soft); }
.sd-episode-nav__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sd-episode-nav__link { display: grid; gap: .3rem; color: var(--sd-wine); text-decoration: none; font-family: var(--sd-font-display); font-size: 1.2rem; }
.sd-episode-nav__link.is-sealed { color: var(--sd-muted); }
.sd-entry { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.sd-entry--elementor { padding: 0; }

/* Comments */
.sd-comments { margin-top: 4rem; max-width: var(--sd-narrow); }
.sd-comments__list { list-style: none; padding: 0; }

/* Block editor alignment helpers */
.alignwide { max-width: var(--sd-wide); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes sd-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sd-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.6deg); } }
@keyframes sd-scroll { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.js .sd-reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--sd-ease), transform .9s var(--sd-ease); }
.js .sd-reveal-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js .sd-reveal-up { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.sd-primary-nav { display: none; }
	.sd-archive__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
	.sd-archive__side { display: none; }
	.sd-inside__inner { grid-template-columns: 1fr; }
	.sd-inside__sigil { display: none; }
}

@media (max-width: 1023px) {
	.sd-hero { --sd-product-w: min(46vw, 420px); --sd-product-right: 2%; }
	.sd-hero__blueprint { width: 70vw; right: -6%; }
	.sd-hero__note { display: none; }
	.sd-feature__inner, .sd-feature--media-left .sd-feature__inner { --sd-text-col: 5fr; --sd-media-col: 7fr; }
	.sd-policy__inner { grid-template-columns: 1fr; }
	.sd-toc { position: static; padding: 1rem 1.2rem; border: 1px solid var(--sd-line-soft); }
	.sd-contact__inner { grid-template-columns: 1fr; }
	.sd-newsletter__inner { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	:root { --sd-pad-y: 3.25rem; }
	body { --sd-pad-y: 3.25rem; }
	.sd-header__inner { min-height: 64px; }
	.sd-wordmark { font-size: 1.05rem; letter-spacing: .26em; }
	.sd-sound__label { display: none; }

	/* Hero recomposed: copy first, product below, ink revealed by touch */
	.sd-hero { --sd-hero-min: auto; display: block; padding-bottom: 4.5rem; }
	.sd-hero__copy { padding-block: 2.5rem 1rem; }
	.sd-hero__product { position: relative; top: auto; right: auto; width: min(78vw, 360px); margin: 0 auto; }
	.sd-hero__blueprint { top: auto; bottom: 8%; right: -10%; width: 110vw; opacity: .4; }
	.sd-hero__specs { position: static; padding: 1rem var(--sd-gutter) 0; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1rem; font-size: .95rem; }
	.sd-hero__tools { left: 50%; transform: translateX(-50%); bottom: 1rem; flex-direction: column; gap: .4rem; width: max-content; max-width: calc(100% - 2rem); text-align: center; }
	.sd-hero__hint { font-size: .9rem; }
	.sd-hero__scroll { display: none; }

	/* Editorial features stack, overlaps reduced but kept */
	.sd-feature__inner, .sd-feature--media-left .sd-feature__inner { grid-template-columns: 1fr; gap: 1.6rem; }
	.sd-feature--media-left .sd-feature__text { order: 0; }
	/* Reset overlap variables (Elementor's responsive controls have higher specificity and win). */
	.sd-feature { --sd-overlap-top: 0px; --sd-overlap-bottom: 0px; --sd-media-w: 100%; }
	.sd-feature--book { --sd-overlap-bottom: 1.5rem; }
	.sd-feature__media { justify-self: stretch; }
	.sd-feature--product .sd-feature__figure, .sd-feature.has-gallery .sd-feature__figure { width: 100%; }
	.sd-feature__gallery { position: static; width: 100%; grid-template-columns: repeat(3, 1fr); margin-top: .8rem; }
	.sd-feature__quote { right: 6%; top: 6%; }

	.sd-feature--cinematic { display: block; min-height: 0; padding-bottom: 0; }
	.sd-feature--cinematic .sd-feature__media { position: relative; width: calc(100% + 2 * var(--sd-gutter)); margin: 1.5rem calc(var(--sd-gutter) * -1) 0; aspect-ratio: 4 / 3; }
	.sd-feature--cinematic .sd-feature__figure img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
	.sd-feature--story .sd-feature__quote { right: 6%; top: 20%; }

	.sd-inside__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-inside__item:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
	.sd-archive__inner { grid-template-columns: 1fr; }
	.sd-archive__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sd-archive__meta { padding: .6rem .6rem .7rem; }
	.sd-archive__title { font-size: .95rem; }

	.sd-page-hero__inner, .sd-404__inner, .sd-empty { grid-template-columns: 1fr; }
	.sd-page-hero__media { order: -1; }
	.sd-episode__link { grid-template-columns: 1fr; }
	.sd-overlay__cols { grid-template-columns: 1fr; gap: 2rem; }

	.sd-footer__main { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.sd-footer__tagline { padding-left: 0; border-left: 0; }
	.sd-footer__legal { flex-direction: column; }
}

@media (max-width: 420px) {
	.sd-archive__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-archive__card:last-child { display: none; }
	.sd-btn { padding-inline: 1.2rem; }
}

@media print {
	.sd-header, .sd-footer, .sd-newsletter, .sd-hero__stage, .sd-overlay { display: none !important; }
	body { background: #fff; }
}
