/* ShirtLore: direction "ShirtLore Clean Ink" (editorial) */

@font-face {
	font-family: "Geist";
	src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Geist";
	src: url(../fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #F4F5F3;
	--surface: #FFFFFF;
	--panel: #E9EBE7;
	--ink: #17191C;
	--ink-soft: #2E3237;
	--ink-line: #33373C;
	--muted: #62676D;
	--on-ink-muted: #9EA3A9;
	--line: #DFE1DE;
	--accent: #2C46D1;
	--accent-hover: #2238B0;
	--accent-ink: #FFFFFF;
	--stage-mist: #E3E8E0;
	--error-line: #E4B4AE;
	--error-bg: #FBF1F0;
	--font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-sm: 6px;
	--r-md: 14px;
	--r-lg: 22px;
	--r-pill: 999px;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--bleed: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	--section: clamp(64px, 9vw, 120px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
h3 { letter-spacing: -0.02em; line-height: 1.25; }
.icon { flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: var(--surface); border-radius: var(--r-sm); }
.is-hidden { display: none !important; }

.kicker { margin-bottom: 22px; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker--light { color: var(--on-ink-muted); }

/* Reveal (only hides when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Buttons and links */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 30px;
	border: 0; border-radius: var(--r-pill);
	font: 500 16px/1 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--panel); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Announcement + header */
.announce { padding: 9px var(--gutter); background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .02em; text-align: center; }
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(244, 245, 243, .86);
	-webkit-backdrop-filter: saturate(1.5) blur(14px);
	backdrop-filter: saturate(1.5) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease;
}
.site-header.is-scrolled, .site-header--checkout { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 72px; }
.logo { font-size: 23px; font-weight: 600; letter-spacing: -0.045em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); font-size: 15px; }
.nav--right { justify-content: flex-end; }
.nav a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.bag { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); color: var(--ink) !important; transition: background-color .2s ease; }
.bag:hover { background: var(--panel); }
.bag .icon { width: 22px; height: 22px; }
.bag__count {
	position: absolute; top: 4px; right: 2px;
	display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 11px; font-weight: 500;
}
.secure { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
@media (max-width: 640px) {
	.nav__hide-sm { display: none; }
	.nav--left { gap: 14px; font-size: 14px; }
	.logo { font-size: 20px; }
}

/* Hero */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: .98; }
.hero h1 span { display: block; color: var(--muted); }
.hero__lead { margin-top: 26px; max-width: 40ch; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 38px; }
.hero__stage {
	position: relative;
	display: grid; place-items: center;
	min-height: clamp(420px, 44vw, 680px);
	margin-right: calc(-1 * var(--bleed));
	border-radius: var(--r-lg) 0 0 var(--r-lg);
	background: var(--tint, var(--panel));
}
.hero__main { display: block; width: min(80%, 600px); }
.hero__main img { width: 100%; }
.hero__side {
	position: absolute; left: -8%; bottom: 7%;
	width: 31%; aspect-ratio: 10 / 11;
	border: 8px solid var(--bg); border-radius: var(--r-md);
	overflow: hidden; background: var(--tint, var(--panel));
	transform: rotate(-6deg);
	transition: transform .5s var(--ease);
}
.hero__side:hover { transform: rotate(-3deg) translateY(-4px); }
.hero__side img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__stage { min-height: 0; aspect-ratio: 1 / 1; margin-left: 12%; }
	.hero__side { left: -14%; width: 36%; }
}

/* Perks */
.perks { border-block: 1px solid var(--line); }
.perks__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-block: 22px; }
.perks p { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.perks strong { font-weight: 500; color: var(--ink); }
@media (max-width: 760px) { .perks__row { flex-direction: column; } }

/* Sections */
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.section__head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section__head h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 16ch; }
.section__head p { margin-top: 16px; max-width: 48ch; color: var(--muted); }

/* Collection gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.tile { display: block; text-decoration: none; }
.tile--wide { grid-column: span 7; }
.tile--narrow { grid-column: span 5; }
.tile__media { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--tint, var(--panel)); }
.gallery .tile__media { height: clamp(360px, 40vw, 600px); }
.tile__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.035); }
.tile__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.tile__name { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.tile__color { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.tile__price { font-size: 16px; white-space: nowrap; }
@media (max-width: 760px) {
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
	.tile--wide, .tile--narrow { grid-column: span 1; }
	.gallery .tile__media { height: auto; aspect-ratio: 10 / 11; }
	.tile__meta { flex-direction: column; gap: 2px; }
	.tile__name { font-size: 16px; }
}

/* Spotlight */
.spotlight { margin-top: clamp(40px, 6vw, 96px); padding-bottom: var(--section); background: var(--ink); color: #fff; }
.spotlight__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.spotlight__media {
	display: block; overflow: hidden;
	margin-top: calc(-1 * clamp(40px, 6vw, 96px));
	border-radius: var(--r-md); background: var(--tint, var(--panel));
}
.spotlight__media img { width: 100%; transition: transform .8s var(--ease); }
.spotlight__media:hover img { transform: scale(1.03); }
.spotlight__body { padding-top: clamp(24px, 4vw, 48px); }
.spotlight h2 { font-size: clamp(42px, 5.4vw, 80px); }
.spotlight__text { margin-top: 22px; max-width: 38ch; font-size: 18px; color: var(--on-ink-muted); }
.spotlight__price { margin: 28px 0 30px; font-size: 22px; }
@media (max-width: 900px) {
	.spotlight__grid { grid-template-columns: 1fr; }
	.spotlight__media { max-width: 560px; }
	.spotlight__body { padding-top: 0; }
}

/* Statement */
.statement { padding-block: var(--section); }
.statement__text { max-width: 30ch; font-size: clamp(30px, 4.2vw, 60px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; }
.statement__text > span:last-child { color: var(--muted); }
.statement__img {
	display: inline-block; width: 1.75em; height: .95em; margin-inline: .08em;
	overflow: hidden; vertical-align: -0.1em;
	border-radius: var(--r-pill); background: var(--tint, var(--panel));
}
.statement__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.5); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); }
.steps li { padding-top: 24px; border-top: 1px solid var(--ink); }
.steps h3 { font-size: 20px; }
.steps p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.steps li:nth-child(2) { transition-delay: .08s; }
.steps li:nth-child(3) { transition-delay: .16s; }
.steps li:nth-child(4) { transition-delay: .24s; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid__head h2 { font-size: clamp(36px, 4.6vw, 64px); }
.faq-grid__head p { margin-top: 18px; max-width: 32ch; color: var(--muted); }
.faq-grid__head a { color: var(--ink); text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary, .product__more summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 24px 0; cursor: pointer; list-style: none;
	font-size: 19px; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker, .product__more summary::-webkit-details-marker { display: none; }
.faq summary::after, .product__more summary::after {
	content: ""; flex: none; width: 12px; height: 12px;
	border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
	transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after, .product__more details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { max-width: 60ch; padding-bottom: 24px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing */
.closing { background: var(--stage-mist); }
.closing__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; padding-block: clamp(80px, 11vw, 150px); text-align: center; }
.closing h2 { max-width: 15ch; font-size: clamp(38px, 5.4vw, 80px); }

/* Footer */
.site-footer { overflow: hidden; padding-top: clamp(56px, 7vw, 88px); background: var(--ink); color: var(--on-ink-muted); font-size: 15px; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 64px; }
.site-footer__lead { max-width: 22ch; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: #fff; }
.site-footer__mail { display: inline-block; margin-top: 18px; color: #fff; text-underline-offset: 4px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 56px; }
.footer-links a { text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
	margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: 14px;
}
.country { display: flex; align-items: center; gap: 10px; }
.country form { margin: 0; }
.country select {
	height: 38px; max-width: 220px; padding: 0 32px 0 12px;
	border: 1px solid var(--ink-line); border-radius: var(--r-sm);
	background-color: var(--ink-soft); color: #fff; font-size: 14px; cursor: pointer;
}
.wordmark {
	margin: clamp(24px, 4vw, 48px) 0 -0.16em;
	font-size: clamp(84px, 21.5vw, 360px); font-weight: 600; letter-spacing: -0.065em; line-height: .9;
	color: var(--ink-soft); text-align: center; white-space: nowrap; user-select: none;
}

/* Product page */
.product { padding-block: 24px var(--section); }
.back { display: inline-block; margin-bottom: 22px; font-size: 15px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.product__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5.5vw, 88px); align-items: start; }
.product__media { position: sticky; top: 96px; overflow: hidden; border-radius: var(--r-lg); background: var(--tint, var(--panel)); }
.product__media img { width: 100%; }
.admin-bar .product__media { top: 128px; }
.product__info { padding-top: clamp(0px, 2vw, 28px); }
.product__title { font-size: clamp(38px, 4.6vw, 64px); }
.product__price { margin-top: 16px; font-size: 22px; }
.product__lead { margin-top: 18px; max-width: 42ch; font-size: 18px; color: var(--muted); }
.product__color { margin-top: 26px; font-size: 15px; color: var(--muted); }
.product__color strong { margin-left: 6px; font-weight: 500; color: var(--ink); }
.sl-buy { margin-top: 22px; }
.sl-buy table.variations { width: 100%; margin-bottom: 22px; border-collapse: collapse; }
.sl-buy table.variations tr, .sl-buy table.variations th, .sl-buy table.variations td { display: block; padding: 0; text-align: left; }
.sl-buy table.variations th label { font-size: 15px; font-weight: 400; color: var(--muted); }
.sl-buy table.variations td { margin-top: 10px; }
.sl-buy table.variations select { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	min-width: 60px; height: 48px; padding: 0 16px;
	border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
	font: 500 15px/1 var(--font); color: var(--ink); cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.pill:hover { border-color: var(--ink); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.sl-buy .quantity { display: none !important; }
.sl-buy .single_variation:not(:empty) { margin-bottom: 12px; color: var(--muted); }
.sl-buy .single_add_to_cart_button {
	width: 100%; min-height: 58px; padding: 0 28px;
	border: 0; border-radius: var(--r-pill);
	background: var(--accent); color: var(--accent-ink);
	font: 500 17px/1 var(--font); cursor: pointer;
	transition: background-color .2s ease, transform .12s ease;
}
.sl-buy .single_add_to_cart_button:hover { background: var(--accent-hover); }
.sl-buy .single_add_to_cart_button:active { transform: translateY(1px); }
.sl-buy .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
.sl-buy .stock { margin: 0 0 12px; font-size: 15px; }
.product__notes { display: grid; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.product__notes li { display: flex; align-items: center; gap: 12px; }
.product__notes .icon { color: var(--ink); }
.product__more { margin-top: 36px; border-top: 1px solid var(--line); }
.product__more details { border-bottom: 1px solid var(--line); }
.product__more summary { padding: 20px 0; font-size: 17px; }
.product__more details > p, .product__desc { padding-bottom: 22px; max-width: 54ch; color: var(--muted); }
.product__more a { color: var(--ink); text-underline-offset: 3px; }
.product__desc p + p { margin-top: 12px; }
.section--more { padding-top: 0; }
.grid-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.grid-more .tile__media { aspect-ratio: 10 / 11; }
@media (max-width: 900px) {
	.product__grid { grid-template-columns: 1fr; }
	.product__media { position: static; }
	.grid-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	margin: 0 0 20px; padding: 14px 18px; list-style: none;
	border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
.woocommerce-error { border-color: var(--error-line); background: var(--error-bg); }

/* Pages */
.doc { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.doc__title { margin-bottom: 32px; font-size: clamp(40px, 5.4vw, 76px); }
.doc__note { display: flex; align-items: center; gap: 10px; margin: -14px 0 32px; font-size: 15px; color: var(--muted); }
.prose { max-width: 68ch; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose h2 { margin: 1.8em 0 .6em; font-size: 26px; letter-spacing: -0.03em; }
.prose a { color: var(--ink); text-underline-offset: 3px; }

/* Checkout (WooCommerce blocks) */
.doc--checkout { padding-top: clamp(32px, 4vw, 56px); }
.doc--checkout .doc__title { font-size: clamp(34px, 4vw, 52px); }
.checkout-body .wc-block-components-button:not(.is-link) { min-height: 54px; border-radius: var(--r-pill); }
.checkout-body .wc-block-components-checkout-place-order-button { background: var(--accent); color: var(--accent-ink); }
.checkout-body .wc-block-components-checkout-place-order-button:hover { background: var(--accent-hover); color: var(--accent-ink); }
.checkout-body .wc-block-components-text-input input,
.checkout-body .wc-block-components-combobox .components-combobox-control__input,
.checkout-body .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: var(--r-sm); }
.checkout-body .wc-block-components-sidebar-layout { margin-top: 0; }
.checkout-body .wc-block-components-sidebar .wc-block-components-panel,
.checkout-body .wp-block-woocommerce-checkout-order-summary-block { border-radius: var(--r-md); }

/* Order received (classic markup) */
.woocommerce-order { max-width: 760px; }
.woocommerce-order > p:first-child { font-size: 19px; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.woocommerce-order-overview li { font-size: 14px; color: var(--muted); }
.woocommerce-order-overview strong { display: block; margin-top: 2px; font-size: 16px; font-weight: 500; color: var(--ink); }
.woocommerce-order h2 { margin: 36px 0 14px; font-size: 24px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-customer-details address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; }
	*, *::before, *::after { transition: none !important; }
}
