/* ==========================================================================
   Kindly Seen — main stylesheet
   ========================================================================== */

:root {
	--bone: #F6F1EA;
	--cream: #EFE7DD;
	--sand: #E4D8C8;
	--taupe: #A8937F;
	--clay: #9C6B52;
	--brown: #7A5640;
	--sage: #8F9884;
	--ink: #2A2522;
	--ink-soft: #5B524C;
	--line: rgba(42, 37, 34, .14);
	--white: #FFFDFA;

	--serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
	--sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 56px);
	--section: clamp(72px, 11vw, 160px);
	--radius: 2px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bone);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.7;
	letter-spacing: .01em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; }
strong { font-weight: 500; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--sand); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: var(--bone); z-index: 999; }
.hp { position: absolute; left: -9999px; }
.ks-hidden { display: none !important; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 1040px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* Type ------------------------------------------------------------------ */
.display, .display-md, .display-sm, .page-title {
	font-family: var(--serif);
	font-weight: 300;
	line-height: 1.04;
	letter-spacing: -.01em;
}
.display { font-size: clamp(52px, 7.4vw, 112px); }
.display-md { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.1; }
.display-sm { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; }
.display em, .display-md em, .display-sm em, .page-title em { font-style: italic; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 34ch; }
.eyebrow {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--brown);
	margin-bottom: 1.4em;
}
.eyebrow .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; vertical-align: middle; margin: 0 .8em; opacity: .6; }
.script { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 34px); color: var(--brown); margin: .6em 0 1em; }
svg { width: 1em; height: 1em; }
.statement svg, .footer-signup svg, .preorder-note svg { width: 64px; height: 24px; color: var(--taupe); margin: 0 auto 28px; display: block; }

/* Buttons --------------------------------------------------------------- */
.btn, .button, button.button, input.button, .wc-block-components-button, #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .7em;
	min-height: 54px;
	padding: 0 34px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--bone);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
	-webkit-appearance: none;
	text-align: center;
	line-height: 1.3;
}
.btn:hover, .button:hover, #place_order:hover { background: var(--brown); border-color: var(--brown); color: var(--bone); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn svg { width: 20px; height: 20px; }
.button:disabled, .button.disabled { opacity: .45; cursor: not-allowed; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
	padding-bottom: 4px; border-bottom: 1px solid var(--line);
	transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { border-color: var(--ink); gap: .9em; }

/* Announcement + header ------------------------------------------------- */
.announce {
	background: var(--ink); color: var(--cream);
	font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
	text-align: center; padding: 10px var(--gutter);
}
.announce a:hover { color: var(--white); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 241, 234, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
	height: 84px;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav { display: flex; gap: 36px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav--right { justify-content: flex-end; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: auto; }
.brand__word { font-family: var(--serif); font-size: 23px; letter-spacing: .32em; text-transform: uppercase; color: var(--brown); padding-left: .32em; }
.bag-link { display: inline-flex; align-items: center; gap: 8px; }
.bag-link svg { width: 20px; height: 20px; }
.nav a.bag-link::after { display: none; }
.bag-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--bone); font-size: 11px; line-height: 1; letter-spacing: 0; }
.bag-count.is-empty { display: none; }
.icon-btn { background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; display: none; }
.icon-btn svg { width: 24px; height: 24px; }
.mobile-nav { border-top: 1px solid var(--line); padding: 28px var(--gutter) 36px; background: var(--bone); }
.mobile-nav nav { display: grid; gap: 4px; }
.mobile-nav nav a { font-family: var(--serif); font-size: 32px; font-weight: 300; line-height: 1.5; }
.mobile-nav__tag { margin-top: 24px; font-family: var(--serif); font-style: italic; color: var(--brown); font-size: 20px; }

@media (max-width: 960px) {
	.site-header__inner { height: 66px; grid-template-columns: 44px 1fr 44px; }
	.nav--left { display: none; }
	.nav--right a:not(.bag-link) { display: none; }
	.bag-link__label { display: none; }
	.icon-btn { display: inline-flex; }
	.brand { justify-content: center; }
	.brand__mark { display: none; }
	.brand__word { font-size: 19px; letter-spacing: .26em; }
	.announce { font-size: 10px; letter-spacing: .12em; line-height: 1.6; }
}

/* Hero ------------------------------------------------------------------ */
.hero {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	min-height: min(calc(100vh - 124px), 900px);
	min-height: min(calc(100svh - 124px), 900px);
}
.hero__media { position: relative; overflow: hidden; background: var(--cream); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; animation: heroIn 2.2s var(--ease) both; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(28px, 5vw, 96px); }
.hero__copy .display { margin-bottom: .35em; }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 24px; }
@keyframes heroIn { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.hero__copy > * { animation: rise 1.2s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__copy > *:nth-child(3) { animation-delay: .24s; }
.hero__copy > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
	.hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
	.hero__media { aspect-ratio: 4 / 4.4; }
	.hero__copy { padding: 44px var(--gutter) 64px; }
}

/* Sections -------------------------------------------------------------- */
.statement { padding-block: var(--section); }
.statement .display-md { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding-bottom: var(--section); }
.split__media { background: var(--cream); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy { max-width: 480px; }
.split__copy .link-arrow { margin-top: 16px; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Reflection band + mirror demo */
.reflection-band { background: var(--cream); padding-block: var(--section); }
.reflection-band__head { margin-bottom: clamp(48px, 6vw, 88px); }
.mirror-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.mirror-demo__frame { position: relative; }
.mirror-demo__img {
	position: relative; overflow: hidden; display: block; width: 100%;
	padding: 0; border: 0; cursor: pointer;
	border-radius: 3px;
	background: var(--sand);
	box-shadow: 0 0 0 1px var(--line), 0 18px 50px -30px rgba(42,37,34,.5);
	aspect-ratio: 4 / 5;
	-webkit-tap-highlight-color: transparent;
}
.mirror-demo__pill {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 9px;
	padding: 11px 20px; border-radius: 40px;
	background: rgba(246, 241, 234, .94);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	box-shadow: 0 6px 24px -12px rgba(42,37,34,.55);
	font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
	white-space: nowrap; transition: opacity .4s var(--ease);
}
.mirror-demo__pill svg { width: 17px; height: 17px; }
.mirror-demo.is-mirrored .mirror-demo__pill { background: var(--ink); color: var(--bone); }
.mirror-demo__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.4s var(--ease), filter 1.4s var(--ease); transform: scale(1.35); }
.mirror-demo__img::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 62%);
	transform: translateX(-120%);
	pointer-events: none;
}
.mirror-demo.is-mirrored .mirror-demo__img img { transform: scale(1.35) scaleX(-1); }
.mirror-demo.is-animating .mirror-demo__img::after { animation: glint 1.4s var(--ease); }
.mirror-demo__img:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@keyframes glint { to { transform: translateX(120%); } }
.mirror-demo__caption { margin-top: 30px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brown); }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 30px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps__n { font-family: var(--serif); font-size: 20px; color: var(--taupe); line-height: 1.4; }
.steps h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: .2em; line-height: 1.2; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
	.mirror-demo { grid-template-columns: 1fr; gap: 34px; }
	.mirror-demo__frame { max-width: 460px; margin: 0 auto; width: 100%; }
	.mirror-demo__img { aspect-ratio: 1 / 1; }
	.mirror-demo__caption { margin-top: 20px; font-size: 18px; }
	.steps li { grid-template-columns: 44px 1fr; gap: 4px; padding-bottom: 22px; }
	.steps { gap: 22px; margin-bottom: 8px; }
	.steps h3 { font-size: 25px; }
}

/* Product feature */
.product-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding-block: var(--section); }
.product-feature__gallery { position: relative; aspect-ratio: 1 / 1.02; background: var(--cream); overflow: hidden; }
.product-feature__img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.product-feature__img.is-active { opacity: 1; }
.product-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.product-feature__copy { max-width: 460px; }
.product-feature__copy .btn { margin: 10px 0 20px; }
.price { font-family: var(--serif); font-size: 30px; display: flex; align-items: center; gap: 16px; margin-bottom: .8em; }
.badge { font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--line); padding: 5px 10px; border-radius: 20px; color: var(--brown); }
.swatches { display: flex; gap: 14px; margin: 26px 0 10px; flex-wrap: wrap; }
.swatch {
	width: 44px; height: 44px; border-radius: 50%; cursor: pointer; padding: 0;
	border: 1px solid var(--line);
	background: radial-gradient(circle at 50% 50%, var(--print) 0 26%, var(--garment) 27%);
	box-shadow: 0 0 0 4px var(--bone), 0 0 0 5px transparent;
	transition: box-shadow .3s var(--ease);
}
.swatch.is-active, .swatch:hover { box-shadow: 0 0 0 4px var(--bone), 0 0 0 5px var(--ink); }
.home-styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 26px 0 28px; }
.home-style { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s var(--ease); }
.home-style:hover { border-color: var(--ink); }
.home-style__name { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.home-style__tag { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.swatch-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 24px; }
@media (max-width: 860px) {
	/* One column, with the swatches directly under the photo so the change is visible. */
	.product-feature { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.product-feature__copy { display: contents; }
	.product-feature__copy > .eyebrow { order: 1; margin-bottom: .8em; }
	.product-feature__copy > .display-md { order: 2; margin-bottom: .2em; }
	.product-feature__copy > .price { order: 3; margin-bottom: 20px; }
	.product-feature__gallery { order: 4; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 1 / 1; }
	.product-feature__copy > .home-styles { order: 7; margin: 4px 0 22px; }
	.product-feature__copy > .swatches { order: 5; margin: 22px 0 8px; }
	.product-feature__copy > .swatch-label { order: 6; margin-bottom: 18px; }
	.product-feature__copy > p:not(.price):not(.small):not(.eyebrow):not(.swatch-label) { order: 6; margin-top: 22px; }
	.product-feature__copy > .btn { order: 8; width: 100%; }
	.product-feature__copy > .small { order: 9; margin-top: 14px; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(14px, 2vw, 28px); padding-bottom: var(--section); }
.gallery figure { overflow: hidden; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery__a { aspect-ratio: 16 / 10; }
.gallery__b { aspect-ratio: auto; }
.gallery__c { aspect-ratio: auto; }
.gallery__c { grid-column: 2; grid-row: 2; }
.gallery__d { aspect-ratio: 16 / 10; grid-column: 1; grid-row: 2; }
@media (max-width: 760px) {
	.gallery { grid-template-columns: 1fr 1fr; }
	.gallery__a, .gallery__d { grid-column: 1 / -1; }
	.gallery__b, .gallery__c { aspect-ratio: 4 / 5; grid-column: auto; grid-row: auto; }
	.gallery__d { grid-row: auto; }
}

/* Gift */
.gift { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--sand); }
.gift__media { overflow: hidden; min-height: 520px; }
.gift__media img { width: 100%; height: 100%; object-fit: cover; }
.gift__copy { padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.gift__copy p:not(.eyebrow):not(.script) { max-width: 40ch; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } .gift__media { min-height: 0; aspect-ratio: 4/3; } }

/* Giving */
.giving { padding-block: var(--section); background: var(--bone); }
.giving__mark { width: 64px; margin: 0 auto 30px; }
.giving p:not(.eyebrow) { color: var(--ink-soft); }
.giving .btn { margin-top: 18px; }

/* Page scaffolding ------------------------------------------------------ */
.page-hero { padding: clamp(64px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); text-align: center; }
.page-title { font-size: clamp(46px, 6vw, 88px); margin-bottom: .3em; }
.page-hero .lede { margin: 0 auto; max-width: 46ch; }
.prose { max-width: 700px; margin: 0 auto; padding-bottom: var(--section); }
.prose h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 400; margin: 1.8em 0 .5em; line-height: 1.2; }
.prose h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin: 2em 0 .6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--ink); }
.prose .note { background: var(--cream); padding: 22px 26px; font-size: 15px; color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 2em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.full-image { overflow: hidden; max-height: 86vh; }
.full-image img { width: 100%; height: 100%; object-fit: cover; }

.quote-block { padding-block: var(--section); text-align: center; }
.quote-block blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.22; }
.quote-block blockquote em { color: var(--brown); }

.manifesto { background: var(--ink); color: var(--cream); padding-block: var(--section); }
.manifesto p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; line-height: 1.45; margin-bottom: .9em; }
.manifesto p.eyebrow { font-family: var(--sans); font-size: 12px; color: var(--taupe); }
.manifesto em { color: #E6CDB4; }
.manifesto .sign { font-style: italic; color: #E6CDB4; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-bottom: var(--section); }
.numbers div { background: var(--bone); padding: 48px 28px; text-align: center; }
.numbers strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 76px); line-height: 1; color: var(--brown); margin-bottom: 12px; }
.numbers span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) { .numbers { grid-template-columns: 1fr; } }

/* Accordions ------------------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 22px 0;
	font-family: var(--serif); font-size: 23px; line-height: 1.3;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }
.accordion .acc-body p:last-child { margin: 0; }
.accordion--compact summary { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 18px 0; }
.faq-group { margin-bottom: 64px; }
.faq-group h2 { font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; color: var(--brown); margin-bottom: 18px; }

/* Forms ----------------------------------------------------------------- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], textarea, select, .input-text {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: 300 16px/1.4 var(--sans);
	color: var(--ink);
	transition: border-color .3s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
textarea { min-height: 150px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%232A2522' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); }
label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-soft); font-weight: 400; }

.signup { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; }
.signup input[type=email] { flex: 1; }
.signup .btn { flex: none; }
@media (max-width: 520px) { .signup { flex-direction: column; } }
.form-note { margin-top: 18px; font-size: 15px; }
.form-note--ok { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brown); }
.form-note--err { color: #9A3B2E; }

.contact-form { display: grid; gap: 22px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--cream); }
.footer-signup { padding-block: clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px; }
.footer-brand img { width: 120px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a:hover { color: var(--brown); }
.footer-title { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--brown); margin-bottom: 8px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.footer-base p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brown); }
@media (max-width: 860px) {
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-brand, .footer-col--quote { grid-column: 1 / -1; }
	.footer-base { flex-direction: column; text-align: center; }
}

/* Scroll reveal --------------------------------------------------------- */
.js .reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal-on-scroll { opacity: 1; transform: none; }
}

/* Chapters (The Reflection) --------------------------------------------- */
.chapter { display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; padding-block: var(--section) 0; }
.chapter:last-of-type { padding-bottom: var(--section); }
.chapter__num { font-family: var(--serif); font-size: 18px; color: var(--taupe); align-self: start; padding-top: 10px; border-top: 1px solid var(--line); }
.chapter__num--inline { display: inline-block; margin-bottom: 20px; padding-right: 40px; }
.chapter__media { overflow: hidden; background: var(--cream); aspect-ratio: 4 / 5; }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; }
.chapter--reverse .chapter__copy { order: 3; }
.chapter--reverse .chapter__media { order: 2; }
.chapter + .reflection-band { margin-top: var(--section); }
@media (max-width: 860px) {
	.chapter { grid-template-columns: 1fr; }
	.chapter--reverse .chapter__copy, .chapter--reverse .chapter__media { order: 0; }
	.chapter__num { padding-top: 14px; }
}
.cta-band { background: var(--sand); padding-block: var(--section); }
.cta-band .btn { margin-top: 26px; }

/* Product page ---------------------------------------------------------- */
.pdp__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 88px); padding-top: clamp(24px, 3vw, 44px); padding-bottom: var(--section); align-items: start; }
.pdp__set { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp__img { background: var(--cream); overflow: hidden; aspect-ratio: 4 / 5; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__img--lead { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
.pdp__set[hidden] { display: none; }
.pdp__sticky { position: sticky; top: 108px; }
.pdp__title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; margin-bottom: 8px; }
.pdp__sub { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--brown); margin-bottom: 18px; }
.pdp__price { font-family: var(--serif); font-size: 30px; margin-bottom: 22px; }
.pdp__price del { opacity: .5; margin-right: 10px; }
.pdp__price ins { text-decoration: none; }
.pdp__desc { color: var(--ink-soft); }

.message-reveal { margin: 6px 0 26px; }
.message-reveal__btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.message-reveal__btn svg { width: 20px; height: 20px; }
.message-reveal__text { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .7s var(--ease); }
.message-reveal__text.is-revealed { max-height: 200px; opacity: 1; }
.message-reveal__words { font-family: var(--serif); font-style: italic; font-size: 38px; color: var(--brown); margin: 18px 0 4px; line-height: 1.1; }

.pdp__cart { border-top: 1px solid var(--line); padding-top: 26px; }
.pdp__cart table.variations { display: none; }
.pdp__cart .reset_variations { display: none !important; }
.opt-group { margin-bottom: 24px; }
.opt-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.opt-title { color: var(--ink); }
.opt-current { color: var(--ink-soft); letter-spacing: .08em; text-transform: none; font-size: 14px; }
.opt-guide { margin-left: auto; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: .04em; font-size: 14px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-group--colour .opt-list { gap: 14px; padding-left: 5px; }
/* Step numbers + style cards */
.opt-step { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--ink); font-size: 11px; letter-spacing: 0; vertical-align: middle; }
.opt-group--style { margin-top: 8px; }
.style-cards { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 12px; }
.style-tagline { display: none; margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.style-card { display: flex; flex-direction: column; text-align: left; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; overflow: hidden; color: inherit; font: inherit; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.style-card:hover { border-color: var(--ink-soft); }
.style-card.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.style-card__img { display: block; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.style-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.style-card__text { display: block; padding: 12px 14px 14px; }
.style-card__name { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.style-card__tag { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.opt-list .swatch[hidden], .opt-list .size-btn[hidden] { display: none; }
@media (max-width: 1100px) {
	.style-cards[style*="--n:3"] { gap: 8px; }
	.style-cards[style*="--n:3"] .style-card__tag { display: none; }
	.style-cards[style*="--n:3"] + .style-tagline { display: block; }
	.style-cards[style*="--n:3"] .style-card__img { aspect-ratio: 1 / 1; }
	.style-cards[style*="--n:3"] .style-card__text { padding: 10px 10px 12px; }
	.style-cards[style*="--n:3"] .style-card__name { font-size: 18px; }
}
@media (max-width: 420px) { .style-card__name { font-size: 19px; } .style-card__tag { font-size: 12.5px; } .style-card__text { padding: 10px 11px 12px; } .style-cards[style*="--n:3"] .style-card__name { font-size: 16px; } }
.size-btn { min-width: 58px; height: 48px; padding: 0 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; letter-spacing: .06em; border-radius: var(--radius); transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.single_variation_wrap .woocommerce-variation-price { display: none; }
.woocommerce-variation-availability p { font-size: 14px; color: var(--ink-soft); }
.pdp__cart form.cart .quantity { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pdp__cart .single_add_to_cart_button { width: 100%; min-height: 60px; font-size: 13.5px; }
.pdp__cart .single_add_to_cart_button.disabled { opacity: .55; }
.pdp__assurances { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.pdp__assurances li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.pdp__assurances svg { width: 30px; height: 18px; color: var(--taupe); margin-top: 3px; }
.pdp__assurances strong { color: var(--ink); }
.acc-body a { border-bottom: 1px solid var(--line); }

.pdp-steps { background: var(--cream); padding-block: var(--section); }
.steps--row { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin: clamp(40px, 5vw, 70px) 0 0; }
.steps--row li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
.gift--pdp { background: var(--sand); }
.pdp-faq { padding-block: var(--section); }
.pdp-faq .accordion { margin: 40px 0 48px; }

/* Mobile product page: image stays put while you choose, options sit right under it. */
@media (max-width: 960px) {
	.pdp__grid { display: block; grid-template-columns: 1fr; padding-top: 0; padding-inline: 0; padding-bottom: 0; }
	/* The photo pins under the header, so the colour you tap is always in view. */
	.pdp__gallery { position: sticky; top: 66px; z-index: 3; margin: 0; background: var(--cream); box-shadow: 0 10px 24px -22px rgba(42,37,34,.7); }
	.pdp__dots { display: flex; }
	.pdp__set { display: flex; height: min(46vh, 78vw); overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.pdp__set::-webkit-scrollbar { display: none; }
	.pdp__img, .pdp__img--lead { flex: 0 0 100%; height: 100%; scroll-snap-align: center; aspect-ratio: auto; }
	.pdp__info {
		position: relative; z-index: 1;
		background: var(--bone);
		padding: 26px var(--gutter) 0;
	}
	.pdp__sticky { position: static; display: flex; flex-direction: column; }
	.pdp__sticky > .eyebrow { order: 1; margin-bottom: 1em; }
	.pdp__title { order: 2; }
	.pdp__sub { order: 3; }
	.pdp__price { order: 4; margin-bottom: 18px; }
	.opt-group--style { order: 5; margin: 4px 0 20px; }
	.pdp__cart { order: 5; border-top: 0; padding-top: 4px; }
	.pdp__assurances { order: 6; }
	.pdp__desc { order: 7; }
	.message-reveal { order: 8; }
	.accordion--compact { order: 9; }
	.pdp-steps, .gift--pdp, .pdp-faq { position: relative; z-index: 2; background-clip: padding-box; }
	.pdp-steps { margin-top: 0; }
	.steps--row { grid-template-columns: 1fr; }
	.opt-list { gap: 12px; }
	.size-btn { min-height: 52px; }
	.swatch { width: 46px; height: 46px; }
	.pdp__cart .single_add_to_cart_button { min-height: 58px; }
}

/* Swipe dots */
.pdp__dots { display: none; position: absolute; left: 0; right: 0; bottom: 14px; justify-content: center; gap: 7px; z-index: 3; pointer-events: none; }
.pdp__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(42,37,34,.25); transition: background .3s var(--ease), transform .3s var(--ease); }
.pdp__dots span.is-active { background: var(--ink); transform: scale(1.35); }
@media (min-width: 961px) { .pdp__gallery { position: relative; } }

/* Sticky buy bar (mobile only) */
.buy-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: none; align-items: center; gap: 14px;
	padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
	background: rgba(246, 241, 234, .96);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
	transform: translateY(110%); transition: transform .45s var(--ease);
}
.buy-bar.is-visible { transform: none; }
.buy-bar__info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.buy-bar__name { font-family: var(--serif); font-size: 19px; }
.buy-bar__meta { font-size: 12.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buy-bar__btn { flex: 1; min-height: 50px; padding: 0 20px; font-size: 12px; max-width: 58%; }
@media (max-width: 960px) {
	.buy-bar:not([hidden]) { display: flex; }
	body.single-product { padding-bottom: 84px; }
}


/* WooCommerce: notices, cart, checkout --------------------------------- */
.page-hero--compact { padding: clamp(48px, 6vw, 80px) 0 28px; }
.shop-flow { padding-bottom: var(--section); }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 28px; padding: 18px 22px; background: var(--cream); border-left: 2px solid var(--brown); font-size: 15px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.woocommerce-error { border-color: #9A3B2E; flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; padding: 0 18px; font-size: 11.5px; }
.woocommerce-info a:not(.button) { border-bottom: 1px solid var(--line); }

.preorder-note { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 16px; background: var(--cream); padding: 18px 24px; margin-bottom: 32px; }
.preorder-note svg { margin: 0; }
.preorder-note p { margin: 0; font-size: 15px; }
#wc-stripe-express-checkout-button-separator { margin: 18px 0 28px; text-align: center; font-size: 13px; letter-spacing: .12em; color: var(--ink-soft); }

.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th { text-align: left; font-weight: 400; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding: 14px 10px; border-bottom: 1px solid var(--line); }
.shop_table td { padding: 20px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce-cart-form .product-thumbnail img, .cart-thumb { width: 88px; height: 110px; object-fit: cover; background: var(--cream); }
.woocommerce-cart-form .product-name a { font-family: var(--serif); font-size: 24px; }
.woocommerce-cart-form .variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.woocommerce-cart-form .variation dd, .woocommerce-cart-form .variation dd p { margin: 0; }
.product-remove a.remove { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; line-height: 1; color: var(--ink-soft); }
.product-remove a.remove:hover { border-color: var(--ink); color: var(--ink); }
.quantity .qty { width: 76px; min-height: 44px; text-align: center; padding: 8px; }
.shop_table .actions { padding-top: 24px; border-bottom: 0; text-align: right; }
.shop_table .actions .coupon { display: inline-flex; gap: 8px; float: left; }
.shop_table .actions .coupon label { display: none; }
.shop_table .actions .coupon input { width: 180px; min-height: 46px; }
.shop_table .actions .button { min-height: 46px; padding: 0 20px; font-size: 11.5px; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 40px; }
.cart_totals { width: 100%; max-width: 440px; background: var(--cream); padding: 32px; }
.cart_totals h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.cart_totals .shop_table th { border: 0; padding: 12px 0; }
.cart_totals .shop_table td { text-align: right; padding: 12px 0; border-bottom: 0; }
.cart_totals .order-total td, .cart_totals .order-total th { font-family: var(--serif); font-size: 24px; text-transform: none; letter-spacing: 0; color: var(--ink); border-top: 1px solid var(--line); padding-top: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; margin-top: 18px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.cart-empty.woocommerce-info { justify-content: center; font-family: var(--serif); font-size: 26px; background: none; border: 0; }
.return-to-shop { text-align: center; }
@media (max-width: 760px) {
	.shop_table.cart thead { display: none; }
	.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 96px 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
	.shop_table.cart td { border: 0; padding: 0; }
	.shop_table.cart td.product-thumbnail { grid-row: 1 / span 4; }
	.shop_table.cart td.product-remove { position: absolute; right: 0; top: 18px; }
	.shop_table.cart td.product-price { display: none; }
	.shop_table.cart td::before { display: none; }
	.shop_table .actions .coupon { float: none; display: flex; margin-bottom: 12px; }
	.shop_table .actions .coupon input { flex: 1; width: auto; }
	.shop_table .actions { display: block; text-align: left; }
	.cart_totals { padding: 24px; }
}

/* Checkout */
.woocommerce-checkout .shop-flow { max-width: 1180px; }
form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 clamp(32px, 5vw, 80px); align-items: start; }
form.checkout > .preorder-note, form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
form.checkout > .ks-checkout-main, form.checkout #customer_details { grid-column: 1; grid-row: 2; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; }
form.checkout #order_review { grid-column: 2; grid-row: 2; background: var(--cream); padding: 90px 30px 30px; }
form.checkout #order_review_heading { font-family: var(--serif); font-size: 30px; font-weight: 400; padding: 30px 30px 0; align-self: start; position: relative; z-index: 2; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0 0 20px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; letter-spacing: .06em; text-transform: none; }
.form-row { margin: 0 0 18px; padding: 0; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row-wide, #billing_address_1_field, #billing_address_2_field, #shipping_address_1_field, #shipping_address_2_field, #billing_country_field, #shipping_country_field, #billing_email_field { grid-column: 1 / -1; }
.form-row label .required { color: var(--brown); text-decoration: none; border: 0; }
.form-row .optional { text-transform: none; letter-spacing: 0; }
.woocommerce-input-wrapper { display: block; }
.select2-container .select2-selection--single { height: 52px !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; background: var(--white) !important; display: flex !important; align-items: center; }
.select2-container .select2-selection__arrow { height: 50px !important; }
#order_review .shop_table th, #order_review .shop_table td { padding: 12px 0; font-size: 15px; }
#order_review .shop_table tfoot th { color: var(--ink-soft); }
#order_review .shop_table .order-total td, #order_review .shop_table .order-total th { font-family: var(--serif); font-size: 24px; color: var(--ink); text-transform: none; letter-spacing: 0; }
#order_review .product-name .variation { display: block; font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }
#order_review .product-name .variation dt, #order_review .product-name .variation dd, #order_review .product-name .variation dd p { display: inline; margin: 0; }
#payment ul.payment_methods { list-style: none; margin: 24px 0; padding: 0; }
#payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid var(--line); }
#payment .payment_box { font-size: 14px; color: var(--ink-soft); padding-top: 8px; }
#payment .place-order { margin-top: 16px; }
#place_order { width: 100%; min-height: 60px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--ink-soft); }
.woocommerce-privacy-policy-text a { border-bottom: 1px solid var(--line); }
.woocommerce-form-coupon-toggle .woocommerce-info { font-size: 14px; }
@media (max-width: 900px) {
	form.checkout { grid-template-columns: 1fr; }
	form.checkout > .ks-checkout-main, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	form.checkout #order_review { margin-top: 0; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* Thank you */
.thanks-note { text-align: center; padding: 20px 0 60px; }
.thanks-note h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 56px); }
.woocommerce-order-overview { list-style: none; padding: 24px; margin: 0 0 40px; background: var(--cream); display: flex; flex-wrap: wrap; gap: 16px 40px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.woocommerce-order-overview strong { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-details__title, .woocommerce-column__title { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.woocommerce-customer-details address { font-style: normal; padding: 20px; background: var(--cream); }

/* 404 */
.not-found { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.display, .display-md, .display-sm, .page-title, .pdp__title, h2, h3 { text-wrap: balance; }
.lede, .split__copy p, .gift__copy p { text-wrap: pretty; }
@media (max-width: 420px) { .size-btn { min-width: 0; flex: 1 1 0; padding: 0 6px; } .opt-group--size .opt-list { flex-wrap: nowrap; gap: 6px; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 8px; }
.table-scroll table { min-width: 560px; margin-bottom: 12px; }
.prose tbody th { font-size: 13px; letter-spacing: .06em; text-transform: none; font-weight: 400; color: var(--ink-soft); }

.opt-group.needs-attention { animation: nudge .6s var(--ease) 2; }
@keyframes nudge { 0%,100% { transform: none; } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
.opt-group.needs-attention .opt-title { color: var(--brown); }

/* Gift option */
.gift-option { margin: 4px 0 18px; }
.gift-option__toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.gift-option__toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift-option__box { flex: 0 0 22px; height: 22px; margin-top: 1px; border: 1px solid var(--ink-soft); border-radius: var(--radius); background: var(--white); display: grid; place-items: center; transition: background .2s var(--ease), border-color .2s var(--ease); }
.gift-option__toggle input:checked + .gift-option__box { background: var(--ink); border-color: var(--ink); }
.gift-option__toggle input:checked + .gift-option__box::after { content: ''; width: 6px; height: 11px; border: solid var(--bone); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.gift-option__toggle input:focus-visible + .gift-option__box { outline: 2px solid var(--brown); outline-offset: 2px; }
.gift-option__label strong { font-weight: 500; }
.gift-option__label span { display: block; color: var(--ink-soft); font-size: 14px; }
.gift-option__fields { margin: 14px 0 0 34px; }
.gift-option__fields[hidden] { display: none; }
.gift-option__msg-label { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.gift-option__fields textarea { width: 100%; min-height: 92px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.gift-option__fields textarea:focus { outline: none; border-color: var(--ink); }
.gift-option__meta { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }
.checkout-gift { margin: 8px 0 28px; padding: 22px 22px 18px; background: var(--cream); }
.checkout-gift h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 0 0 14px; }
@media (max-width: 560px) { .gift-option__fields { margin-left: 0; } }

/* Size & fit popup */
.has-dialog { overflow: hidden; }
.size-dialog { width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 760px); padding: 0; border: 0; border-radius: 2px; background: var(--bone); color: var(--ink); box-shadow: 0 30px 80px rgba(42, 37, 34, .25); overflow: auto; }
.size-dialog::backdrop { background: rgba(42, 37, 34, .45); backdrop-filter: blur(2px); }
.size-dialog[open] { animation: size-in .35s var(--ease); }
@keyframes size-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.size-dialog__inner { position: relative; padding: 36px 40px 32px; }
.size-dialog__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.size-dialog__close svg { width: 22px; height: 22px; }
.size-dialog__style[hidden] { display: none; }
.size-dialog__title { font-family: var(--serif); font-size: clamp(30px, 5vw, 40px); font-weight: 400; line-height: 1.1; margin: 4px 0 10px; }
.size-dialog__fit { margin: 0 0 22px; color: var(--ink-soft); }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.size-table thead th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.size-table tbody th { text-align: left; font-weight: 400; color: var(--ink-soft); padding-left: 0; }
.size-table--stack { display: none; }
.size-dialog__small { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.size-dialog__fabric { margin: 18px 0 0; font-size: 14.5px; }
.size-dialog__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.size-dialog__foot p { margin: 0; font-size: 14.5px; flex: 1 1 260px; }
@media (max-width: 600px) {
	.size-dialog { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
	.size-dialog[open] { animation: size-up .35s var(--ease); }
	@keyframes size-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
	.size-dialog__inner { padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); }
	.size-dialog .table-scroll { display: none; }
	.size-table--stack { display: table; font-size: 15px; }
	.size-table--stack th, .size-table--stack td { padding: 11px 6px; white-space: normal; }
	.size-table--stack thead th { font-size: 11px; letter-spacing: .12em; vertical-align: bottom; }
	.size-table--stack thead th:first-child, .size-table--stack tbody th { text-align: left; padding-left: 0; }
	.size-table--stack tbody th { font-weight: 500; color: var(--ink); letter-spacing: .08em; }
}
