:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --paper-deep: #efeadc;
  --ink: #272a23;
  --muted: #6e7064;
  --olive: #626a48;
  --olive-dark: #4f5738;
  --gold: #bd963c;
  --line: rgba(71, 74, 57, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: absolute; z-index: 10; top: -50px; left: 1rem; padding: .7rem 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }

.site-header { height: 88px; padding: 0 clamp(24px, 5.8vw, 92px); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: rgba(250, 248, 242, .96); border-bottom: 1px solid rgba(81, 82, 68, .1); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 300px; text-decoration: none; }
.brand-mark { width: 57px; height: 57px; display: block; flex: 0 0 auto; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.brand-name { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 49px); margin-left: auto; }
.primary-nav a { color: #383a33; font-family: var(--serif); font-size: 15px; text-decoration: none; transition: color .18s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold); }
.bag-button { width: 42px; height: 46px; display: grid; place-items: center; border: 0; background: transparent; color: var(--olive); cursor: pointer; position: relative; }
.bag-button svg { width: 24px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bag-count { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: 10px; }
.bag-popover { position: absolute; top: 74px; right: clamp(20px, 5.8vw, 92px); width: min(320px, calc(100vw - 32px)); padding: 22px; background: #fffdf8; box-shadow: 0 15px 50px rgba(30, 33, 24, .16); border: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.bag-popover p { margin: 0 0 12px; }
.bag-popover a { font-weight: 600; color: var(--olive-dark); }

.hero { min-height: 530px; position: relative; display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); overflow: hidden; background: var(--paper-deep); }
.hero-copy { padding: clamp(62px, 7vw, 106px) 5vw clamp(54px, 6vw, 84px) max(7vw, calc((100vw - 1280px) / 2)); display: flex; align-items: flex-start; justify-content: center; flex-direction: column; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--olive); font-size: 10px; font-weight: 600; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 24px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 560px; margin: 0; font-family: var(--serif); font-size: clamp(50px, 6vw, 83px); font-weight: 500; letter-spacing: -.045em; line-height: .99; }
.hero-description { max-width: 345px; margin: 25px 0 28px; color: #45473e; font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); line-height: 1.38; }
.button { min-height: 54px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 21px; text-decoration: none; font-family: var(--serif); font-size: 17px; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--olive); color: #fffdf6; }
.button-primary:hover { background: var(--olive-dark); }
.button-primary span, .button-light span { font-family: var(--sans); font-size: 20px; }
.hero-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.hero-image-wrap { min-height: 530px; position: relative; overflow: hidden; }
.hero-image { width: 100%; height: 100%; min-height: 530px; position: absolute; inset: 0; object-fit: cover; object-position: 53% 50%; }
.image-caption { position: absolute; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 9px; color: #fffdf6; font-size: 10px; letter-spacing: .1em; text-shadow: 0 1px 9px rgba(0, 0, 0, .45); text-transform: uppercase; }
.caption-line { width: 25px; height: 1px; background: var(--gold); }
.hero-watermark { position: absolute; top: 25px; left: 49%; color: rgba(247, 244, 235, .1); font-family: var(--serif); font-size: 115px; pointer-events: none; }

.section-shell { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.collection { padding: 86px 0 96px; }
.section-heading { max-width: 760px; margin: 0 auto 39px; text-align: center; }
.eyebrow.centered { justify-content: center; }
.section-heading h2, .process h2 { margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 46px); font-weight: 500; letter-spacing: -.025em; line-height: 1.16; }
.section-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card { min-width: 0; text-decoration: none; }
.category-photo { display: block; aspect-ratio: 1.27 / 1; background-image: url('./assets/product-triptych.png'); background-repeat: no-repeat; background-size: 300% 100%; background-color: var(--paper-deep); transition: filter .25s ease; }
.category-card:hover .category-photo { filter: saturate(1.08) contrast(1.02); }
.category-jacket { background-position: 0 50%; }
.category-tote { background-position: 50% 50%; }
.category-pouch { background-position: 100% 50%; }
.category-meta { min-height: 68px; padding: 15px 2px 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.category-meta strong, .category-meta small { display: block; }
.category-meta strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.category-meta small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .035em; }
.category-arrow { color: var(--olive); font-size: 19px; transition: transform .18s ease; }
.category-card:hover .category-arrow { transform: translate(3px, -3px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--olive-dark); font-size: 13px; font-weight: 600; letter-spacing: .025em; text-decoration: none; }
.text-link:hover { color: #313923; }
.collection > .text-link { margin: 35px auto 0; display: flex; width: max-content; }

.story-band { min-height: 390px; display: grid; grid-template-columns: 1.05fr .95fr; background: #e9e4d6; }
.story-image { min-height: 390px; background-image: linear-gradient(90deg, transparent 75%, rgba(233, 228, 214, .18)), url('./assets/source-quilt.jpg'); background-position: center; background-size: cover; }
.story-copy { max-width: 580px; padding: 60px clamp(36px, 7vw, 105px); align-self: center; }
.story-copy h2 { max-width: 480px; margin: 0 0 18px; font-family: var(--serif); font-size: clamp(32px, 4vw, 49px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; }
.story-copy > p:not(.eyebrow) { margin: 0 0 23px; max-width: 450px; color: #53554b; font-size: 14px; line-height: 1.8; }

.process { padding: 88px 0 94px; text-align: center; }
.process h2 { margin-bottom: 48px; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-steps article { padding: 27px 30px 0; text-align: left; }
.step-number { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.process-steps h3 { margin: 15px 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.process-steps p { max-width: 250px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-strip { padding: 58px max(7vw, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--olive); color: #fffdf6; }
.contact-strip .eyebrow { color: #e9ddb8; }
.contact-strip .eyebrow > span { background: #d7b65a; }
.contact-strip h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.contact-strip > div > p:last-child { margin: 11px 0 0; color: rgba(255, 253, 246, .78); font-size: 14px; }
.button-light { flex: 0 0 auto; background: #f8f5ec; color: var(--olive-dark); }
.button-light:hover { background: white; }
.site-footer { min-height: 86px; padding: 22px max(5.8vw, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }
.footer-brand { color: var(--ink); font-family: var(--serif); font-size: 18px; letter-spacing: .04em; text-decoration: none; }
.back-to-top { text-decoration: none; }

@media (max-width: 980px) {
  .brand { min-width: auto; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 48px; height: 48px; }
  .primary-nav { gap: 19px; }
  .primary-nav a { font-size: 14px; }
  .hero { grid-template-columns: .9fr 1.1fr; }
  .hero-copy { padding-left: 6vw; }
  .hero h1 { font-size: clamp(47px, 6.8vw, 67px); }
  .story-copy { padding: 46px 5vw; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 72px; padding: 0 18px; gap: 12px; }
  .brand { gap: 7px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 17px; letter-spacing: .04em; }
  .primary-nav { display: none; }
  .bag-button { margin-left: auto; }
  .bag-popover { top: 64px; right: 12px; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { padding: 56px 24px 40px; }
  .hero h1 { font-size: clamp(49px, 14vw, 72px); }
  .hero-description { margin: 20px 0 23px; }
  .hero-image-wrap { min-height: 350px; }
  .hero-image { min-height: 350px; object-position: 52% 50%; }
  .hero-watermark { top: 38px; right: 8px; left: auto; font-size: 70px; }
  .section-shell { width: min(100% - 36px, 540px); }
  .collection { padding: 61px 0 70px; }
  .section-heading { margin-bottom: 26px; }
  .category-grid { grid-template-columns: 1fr; gap: 24px; }
  .category-photo { aspect-ratio: 1.35 / 1; }
  .category-meta strong { font-size: 20px; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { min-height: 260px; }
  .story-copy { padding: 43px 24px 52px; }
  .process { padding: 65px 0 70px; }
  .process h2 { margin-bottom: 33px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .process-steps p { max-width: none; }
  .contact-strip { padding: 43px 24px; align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 22px 18px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
