/* Linden & Spring — base: fonts, tokens, reset, type, buttons, fields, layout. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url(../fonts/bricolage-latin.woff2) format("woff2"); 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: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url(../fonts/bricolage-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/hanken-latin.woff2) format("woff2"); 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: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/hanken-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--color-stone: #F5F2ED;
	--color-linen: #EAE5DC;
	--color-sand: #E3DED5;
	--color-white: #FFFFFF;
	--color-ink: #1E1C19;
	--color-body: #4A4640;
	--color-taupe: #5B564F;
	--color-line: #DDD7CE;
	--color-line-soft: #EEE9E1;
	--color-field-line: #8F877B;
	--color-pine: #2E4036;
	--color-pine-hover: #24352B;
	--color-forest: #1E2722;
	--color-maple: #7A5130;
	--color-maple-light: #C9A27A;
	--color-clay: #A23B2A;
	--color-clay-bg: #FBEDEA;
	--color-success: #2E6B45;
	--color-mint: #E3EAE1;
	--color-on-dark: #EEF1EA;
	--color-on-dark-muted: #C9D4C6;
	--color-footer-muted: #AEB8B0;
	--color-footer-head: #93A097;
	--color-footer-line: #34413A;
	--color-footer-field: #26302A;
	--color-placeholder-bg: #FFF3D6;
	--color-placeholder-text: #5A4210;
	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
	--radius-field: 10px;
	--radius-tile: 10px;
	--radius-card: 14px;
	--radius-pill: 999px;
	--container: 1360px;
	--gutter: 40px;
	--section: 96px;
	--shadow-chip: 0 6px 24px rgba(30, 28, 25, .12);
}
@media (max-width: 640px) { :root { --gutter: 16px; --section: 56px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--color-ink); background: var(--color-stone); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 2px; }
a:hover { opacity: .85; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
blockquote { margin: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* Focus (SPEC §3) */
:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-pine); outline-offset: 2px; box-shadow: 0 0 0 4px #fff; }
.dark :focus-visible, .dark a:focus-visible, .dark button:focus-visible, .dark input:focus-visible { outline-color: var(--color-on-dark); outline-offset: 3px; box-shadow: none; }

/* A11y helpers */
.screen-reader-text, .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; }
.ms-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; padding: 12px 18px; background: var(--color-ink); color: #fff; font-weight: 600; font-size: 15px; border-radius: 24px; text-decoration: none; }
.ms-skip:focus { left: 16px; }

/* Layout */
.ms-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ms-section { padding-top: var(--section); padding-bottom: var(--section); }
.ms-section--tight { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 640px) { .ms-section--tight { padding-top: 56px; padding-bottom: 56px; } }
.ms-pt-0 { padding-top: 0 !important; }
.ms-bg-white { background: #fff; }
.ms-bg-linen { background: var(--color-linen); }
.ms-stack { display: flex; flex-direction: column; }
.ms-grid { display: grid; gap: 24px; }
.ms-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ms-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ms-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.ms-g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) {
	.ms-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ms-g2, .ms-g3 { grid-template-columns: minmax(0, 1fr); }
	.ms-g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-g4 { gap: 28px 12px; }
	/* Horizontal scroll-snap rows on phones (materials, reviews, journal, packages). */
	.ms-snap { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
	.ms-snap > * { flex: 0 0 84%; scroll-snap-align: start; }
}
.ms-gap-12 { gap: 12px; }
.ms-gap-8 { gap: 8px; }
.ms-gap-16 { gap: 16px; }
.ms-gap-22 { gap: 22px; }
.ms-gap-32 { gap: 32px; }
.ms-gap-36 { gap: 36px; }
.ms-row { display: flex; flex-wrap: wrap; align-items: center; }
.ms-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-textlink { padding: 12px 8px; font-size: 15px; font-weight: 600; }
.ms-ink { color: var(--color-ink); }
.ms-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
@media (max-width: 1024px) { .ms-split { grid-template-columns: minmax(0, 1fr) !important; } }

/* Type */
.ms-h1 { font-size: 76px; line-height: .98; letter-spacing: -.035em; }
.ms-h1--collection { font-size: 64px; line-height: 1; letter-spacing: -.035em; }
.ms-h1--product { font-size: 44px; line-height: 1.05; letter-spacing: -.03em; }
.ms-h2 { font-size: 48px; line-height: 1.05; letter-spacing: -.03em; }
.ms-h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.ms-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-maple); }
.ms-eyebrow--plain { letter-spacing: 0; text-transform: none; }
.ms-lead { font-size: 19px; line-height: 1.55; color: var(--color-body); }
.ms-body { font-size: 18px; line-height: 1.6; color: var(--color-body); }
.ms-muted { color: var(--color-taupe); }
.ms-small { font-size: 14px; }
@media (max-width: 640px) {
	.ms-h1, .ms-h1--collection, .ms-h1--product { font-size: 46px; }
	.ms-h2 { font-size: 32px; }
	.ms-lead { font-size: 17px; }
}
.ms-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ms-section-head__titles { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.ms-link-strong { font-size: 16px; font-weight: 600; }

/* Buttons: one filled style (Pine pill), outline pill, light variants for dark bands. */
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius-pill); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.ms-btn:hover { opacity: 1; }
.ms-btn--lg { min-height: 56px; padding: 0 30px; }
.ms-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.ms-btn--primary { background: var(--color-pine); color: #fff; }
.ms-btn--primary:hover { background: var(--color-pine-hover); }
.ms-btn--outline { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.ms-btn--outline:hover { background: var(--color-ink); color: #fff; }
.ms-btn--light { background: var(--color-on-dark); color: var(--color-forest); }
.ms-btn--outline-light { background: transparent; color: var(--color-on-dark); border-color: var(--color-on-dark); }
.ms-btn--block { width: 100%; }
.ms-btn[disabled], .ms-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* Pills (filters, tabs, choice groups) */
.ms-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--color-ink); background: transparent; color: var(--color-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ms-pill[aria-pressed="true"], .ms-pill[aria-current="page"], .ms-pill.is-active { background: var(--color-ink); color: #fff; }
.ms-pill__count { font-weight: 500; opacity: .7; }
@media (pointer: coarse) { .ms-pill { min-height: 44px; } }

/* Badges */
.ms-badge { display: inline-block; padding: 5px 10px; border-radius: 14px; background: var(--color-ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; }
.ms-badge--sale { background: var(--color-clay); }
.ms-badge--new { background: var(--color-pine); }

/* Fields */
.ms-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ms-input, .ms-select, .ms-textarea { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--color-field-line); border-radius: var(--radius-field); background: #fff; font-size: 16px; color: var(--color-ink); }
.ms-input--sm { min-height: 44px; }
.ms-textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.ms-select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E1C19' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.ms-input[aria-invalid="true"], .ms-select[aria-invalid="true"], .ms-textarea[aria-invalid="true"] { border-color: var(--color-clay); box-shadow: 0 0 0 1px var(--color-clay); }
.ms-field-error { display: flex; gap: 6px; margin-top: 6px; color: var(--color-clay); font-size: 14px; font-weight: 600; }
.ms-hint { margin-top: 6px; font-size: 13px; color: var(--color-taupe); }
.ms-error-summary { padding: 16px 20px; border: 2px solid var(--color-clay); border-radius: var(--radius-tile); background: var(--color-clay-bg); color: var(--color-ink); }
.ms-error-summary h2, .ms-error-summary strong { font-family: var(--font-body); font-size: 16px; font-weight: 700; }
.ms-error-summary ul { margin: 8px 0 0 20px; }
.ms-error-summary a { color: var(--color-clay); font-weight: 600; }
.ms-notice { padding: 14px 18px; border-radius: var(--radius-tile); background: var(--color-mint); color: var(--color-ink); }

/* Checks list */
.ms-checks { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ms-checks li { display: flex; gap: 10px; }
.ms-checks .ms-icon { flex: 0 0 auto; margin-top: 2px; }

/* Image tiles: white-background product shots on linen with multiply. */
.ms-tile { position: relative; display: block; background: var(--color-linen); border-radius: var(--radius-tile); overflow: hidden; }
.ms-tile img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; }
.ms-cover { position: relative; display: block; overflow: hidden; background: var(--color-sand); }
.ms-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Dark bands */
.dark { background: var(--color-pine); color: var(--color-on-dark); }

/* Owner placeholders: invisible to shoppers, highlighted for store managers. */
.ms-show-ph .ms-ph { background: var(--color-placeholder-bg); color: var(--color-placeholder-text); border-radius: 3px; box-shadow: 0 0 0 2px var(--color-placeholder-bg); }
.ms-show-ph .dark .ms-ph, .ms-show-ph .ms-footer .ms-ph { color: var(--color-placeholder-text); }

/* Icons */
.ms-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
