:root {
  --walnut: #2d211b;
  --bark: #5b4336;
  --terracotta: #9a5f3f;
  --sand: #d7be9f;
  --ivory: #f7f2e9;
  --paper: #fcfaf6;
  --ink: #1f1b18;
  --muted: #756b64;
  --rule: rgba(45, 33, 27, .18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shell: min(1240px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(76px, 10vw, 140px); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 12px 16px; background: var(--paper); color: var(--walnut); border: 1px solid var(--walnut); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--paper); border-bottom: 1px solid rgba(255,255,255,.35); }
.site-header.solid { position: relative; color: var(--walnut); background: var(--paper); border-bottom-color: var(--rule); }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .2em; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); font-size: 13px; letter-spacing: .04em; }
.site-nav a { position: relative; padding-block: 12px; }
.site-nav a::after { content: ''; position: absolute; inset: auto 0 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-etsy { padding: 10px 14px; border: 1px solid currentColor; }
.site-nav .nav-etsy::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; min-height: 44px; }

.hero { position: relative; min-height: min(880px, 100svh); color: white; display: flex; align-items: flex-end; overflow: hidden; background: var(--walnut); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,18,14,.76) 0%, rgba(25,18,14,.24) 52%, rgba(25,18,14,.08) 100%), linear-gradient(0deg, rgba(25,18,14,.48), transparent 42%); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.74) contrast(1.05); transform: scale(1.015); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .42fr; align-items: end; gap: 60px; padding-block: 190px 92px; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 22px; color: var(--terracotta); font-size: 12px; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.eyebrow.light { color: var(--sand); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.hero h1 { max-width: 690px; margin-bottom: 30px; font-size: clamp(58px, 8vw, 118px); }
.hero-lede { max-width: 560px; margin-bottom: 36px; color: rgba(255,255,255,.86); font-size: clamp(18px, 2vw, 24px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 24px; border: 1px solid currentColor; font-size: 13px; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--walnut); color: white; border-color: var(--walnut); }
.hero .button-primary { background: var(--paper); color: var(--walnut); border-color: var(--paper); }
.button-light { color: white; }
.button.full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; border-bottom: 1px solid currentColor; font-size: 14px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }
.hero-note { justify-self: end; display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero-note .line { width: 64px; height: 1px; background: rgba(255,255,255,.7); }
.hero-note p { margin: 0; }

.intro { border-bottom: 1px solid var(--rule); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: start; }
.intro h2, .section-head h2, .feature-copy h2, .story h2, .personal h2, .product-details h2, .product-care h2, .approval-note h2 { margin: 0; font-size: clamp(48px, 6.5vw, 92px); }
.intro-grid > div { max-width: 560px; padding-top: 10px; color: var(--muted); }
.intro .lead { color: var(--ink); font-size: clamp(20px, 2vw, 28px); line-height: 1.45; }

.collections { background: #efe6d9; }
.section-head { display: grid; grid-template-columns: 1fr .45fr; align-items: end; gap: 60px; margin-bottom: 56px; }
.section-head > p, .section-aside > p { color: var(--muted); margin: 0; max-width: 430px; }
.section-aside .text-link { margin-top: 18px; }
.collection-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.collection-card { background: var(--paper); }
.collection-image { aspect-ratio: 4/3; overflow: hidden; }
.collection-card-large .collection-image { aspect-ratio: 5/4; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.collection-card:hover .collection-image img { transform: scale(1.025); }
.collection-meta { display: grid; grid-template-columns: 1fr .8fr auto; gap: 24px; align-items: end; padding: 24px; }
.collection-meta span { color: var(--terracotta); font-size: 11px; letter-spacing: .1em; }
.collection-meta h3 { margin: 5px 0 0; font-size: 30px; }
.collection-meta p { margin: 0; color: var(--muted); font-size: 13px; }
.collection-meta .arrow { color: var(--walnut); font-size: 22px; }

.feature-layout { display: grid; grid-template-columns: .76fr 1fr; grid-template-rows: auto auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature-portrait { grid-row: 1 / span 2; width: 82%; justify-self: center; }
.feature-portrait img { width: 100%; max-height: 780px; object-fit: cover; }
.feature-copy { max-width: 640px; padding-top: 50px; }
.feature-copy h2 { margin-bottom: 30px; }
.feature-copy p { color: var(--muted); max-width: 520px; font-size: 18px; }
.feature-still { width: 72%; justify-self: end; }

.story { background: var(--walnut); color: var(--paper); overflow: hidden; }
.story-grid { min-height: 620px; display: grid; grid-template-columns: .8fr 1fr; gap: 70px; align-items: center; }
.story-number { font: clamp(170px, 25vw, 360px)/1 var(--serif); color: rgba(247,242,233,.065); letter-spacing: -.12em; white-space: nowrap; transform: translateX(-10%); }
.story-copy { max-width: 650px; }
.story h2 { margin-bottom: 34px; }
.story-copy > p:not(.eyebrow) { max-width: 550px; color: rgba(247,242,233,.72); font-size: 18px; }

.personal-card { display: grid; grid-template-columns: 1fr .72fr; gap: 9vw; padding: clamp(42px, 7vw, 88px); border: 1px solid var(--rule); background: var(--ivory); }
.personal-card > div:last-child { align-self: end; color: var(--muted); }
.personal-card h2 { font-size: clamp(44px, 5.3vw, 74px); }

.care .section-head { grid-template-columns: 1fr; }
.care-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.care-list li { display: grid; grid-template-columns: 80px .7fr 1fr; gap: 36px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.care-list span { color: var(--terracotta); font-size: 12px; }
.care-list h3 { margin: 0; font-size: 30px; }
.care-list p { margin: 0; color: var(--muted); }

.contact-band { padding-block: clamp(86px, 12vw, 150px); background: var(--terracotta); color: white; text-align: center; }
.contact-band h2 { margin-bottom: 34px; font-size: clamp(52px, 8vw, 110px); }
.verification-note { margin: 22px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; }
.social-links-center { justify-content: center; }
.social-links a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; }
.social-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; font: 700 11px/1 var(--sans); }
.social-links a:hover .social-icon { background: white; color: var(--terracotta); }

.site-footer { padding: 72px 0 26px; background: #1d1714; color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px; padding-bottom: 62px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand { color: white; margin-bottom: 8px; }
.footer-label { color: white; margin-bottom: 14px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid a:hover { color: white; }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: white; font-size: 11px; }
.footer-social a:hover { background: white; color: var(--walnut); }
.footer-base { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.product-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; padding-bottom: 42px; color: white; font-size: 13px; }
.product-footer-links a { border-bottom: 1px solid rgba(255,255,255,.35); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Product */
.product-main { padding-bottom: 100px; }
.product-breadcrumb { display: flex; gap: 9px; padding-block: 30px; color: var(--muted); font-size: 12px; }
.product-layout { display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.product-main-image { background: #f0ece6; aspect-ratio: 4/3; overflow: hidden; }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.product-thumbs button { width: 82px; height: 82px; padding: 0; border: 1px solid transparent; background: #eee8df; cursor: pointer; overflow: hidden; }
.product-thumbs button.active { border-color: var(--walnut); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 30px; padding-top: 22px; }
.product-info h1 { margin-bottom: 24px; font-size: clamp(52px, 6vw, 82px); }
.product-subtitle { color: var(--muted); font-size: 19px; }
.product-facts { margin: 34px 0; border-top: 1px solid var(--rule); }
.product-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; text-align: right; }
.channel-status { margin: 26px 0; padding: 18px; background: var(--ivory); border-left: 3px solid var(--sand); }
.channel-status span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.channel-status p, .microcopy { margin: 0; color: var(--muted); font-size: 12px; }
.microcopy { margin-top: 12px; }
.product-details { border-top: 1px solid var(--rule); }
.product-details-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 9vw; }
.product-details-grid > div:last-child { max-width: 600px; color: var(--muted); font-size: 18px; }
.product-care { background: var(--bark); color: white; }
.product-care-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 9vw; align-items: end; }
.product-care ul { list-style: none; margin: 0; padding: 0; }
.product-care li { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.2); }
.product-care li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.product-care li span { color: var(--sand); font-size: 12px; }
.approval-note { max-width: 850px; text-align: center; }
.approval-note h2 { margin-bottom: 26px; }
.approval-note > p:last-child { color: var(--muted); }

/* Phase 2 catalogue and content pages */
.page-hero { padding: clamp(90px, 13vw, 170px) 0 clamp(68px, 9vw, 110px); background: var(--ivory); border-bottom: 1px solid var(--rule); }
.page-hero.compact { padding-block: clamp(72px, 10vw, 120px); }
.page-hero h1 { max-width: 1000px; margin-bottom: 30px; font-size: clamp(58px, 9vw, 118px); }
.page-hero p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 24px); }
.catalog-tools { display: grid; grid-template-columns: minmax(260px, .55fr) 1.2fr auto; gap: 26px; align-items: end; margin-bottom: 48px; }
.search-field { display: grid; gap: 9px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.search-field input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 0; background: white; color: var(--ink); font: 15px var(--sans); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; }
.filter-button:hover, .filter-button.active { background: var(--walnut); color: white; border-color: var(--walnut); }
.result-count { margin: 0; white-space: nowrap; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 38px) 22px; }
.product-grid-featured .product-card:nth-child(n+7) { display: none; }
.product-card[hidden] { display: none; }
.product-card-image { aspect-ratio: 1/1.08; overflow: hidden; background: #ece6dc; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-image img { transform: scale(1.025); }
.product-card-copy { padding: 18px 2px; border-bottom: 1px solid var(--rule); }
.product-card-copy p { margin-bottom: 8px; color: var(--terracotta); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.product-card-copy h3 { min-height: 2.1em; margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 34px); }
.product-card-copy span { color: var(--muted); font-size: 12px; }
.catalog-empty { padding: 50px; border: 1px solid var(--rule); text-align: center; color: var(--muted); }
.etsy-band { padding: clamp(90px, 12vw, 150px) 0; background: var(--terracotta); color: white; text-align: center; }
.etsy-band h2 { max-width: 900px; margin: 0 auto 28px; font-size: clamp(50px, 7vw, 96px); }
.etsy-band p:not(.eyebrow) { max-width: 650px; margin: 0 auto 30px; color: rgba(255,255,255,.78); }
.content-page { display: grid; grid-template-columns: .9fr 1fr; gap: 10vw; }
.content-page h2 { font-size: clamp(44px, 6vw, 80px); }
.content-page > div:last-child { color: var(--muted); font-size: 19px; }
.content-page .button, .content-page .text-link { margin-top: 22px; }
.contact-links { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid var(--rule); }
.contact-links a { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.content-care { margin-top: 46px; font-size: 16px; }
.product-main-image { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.image-dialog { width: min(92vw, 1120px); max-height: 92vh; padding: 48px 20px 20px; border: 0; background: var(--paper); }
.image-dialog::backdrop { background: rgba(20,15,12,.82); }
.image-dialog img { max-width: 100%; max-height: calc(92vh - 70px); margin: auto; object-fit: contain; }
.image-dialog button { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; cursor: pointer; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 30px, 720px); }
  .header-inner { height: 76px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
  .nav-toggle-lines, .nav-toggle-lines::before { width: 22px; height: 1px; background: currentColor; display: block; content: ''; }
  .nav-toggle-lines::before { transform: translateY(6px); }
  .site-nav { display: none; position: absolute; inset: 76px 0 auto; padding: 26px 20px 32px; background: var(--paper); color: var(--walnut); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 150px 55px; }
  .hero-note { justify-self: start; }
  .intro-grid, .section-head, .feature-layout, .story-grid, .personal-card, .product-layout, .product-details-grid, .product-care-grid, .content-page { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .feature-portrait { grid-row: auto; width: 100%; }
  .feature-copy { padding-top: 0; }
  .feature-still { width: 80%; }
  .story-grid { padding-block: 90px; }
  .story-number { display: none; }
  .care-list li { grid-template-columns: 42px 1fr; gap: 14px; }
  .care-list p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-info { position: static; }
  .catalog-tools { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .brand span { font-size: 12px; }
  .hero { min-height: 760px; }
  .hero::after { background: linear-gradient(0deg, rgba(25,18,14,.78), rgba(25,18,14,.18)); }
  .hero-media img { object-position: 58% center; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .collection-meta { grid-template-columns: 1fr auto; }
  .collection-meta p { grid-column: 1 / -1; }
  .feature-still { width: 100%; }
  .personal-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .product-thumbs button { width: 68px; height: 68px; }
  .product-grid, .related-grid { grid-template-columns: 1fr; }
}

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