/* Windy Weave — black & white design tokens */
:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --mist: #f3f3f1;
  --line: #d9d9d6;
  --muted: #6b6b68;
  --focus: #0b0b0b;
  --serif: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
body.locked { overflow: hidden; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02;
  font-size: clamp(44px, 8vw, 104px); margin: 0;
}
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: inherit; max-width: 40ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 0; transition: background .2s, color .2s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .35; cursor: not-allowed; pointer-events: none; }
.link-arrow { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--ink); }
.site-header .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 68px; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.logo span { font-style: italic; }
.nav { display: flex; justify-content: flex-start; gap: 24px; white-space: nowrap; }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .bar { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; font-size: 22px; }
}

/* ---------- Overlays (mobile menu, cart, quick add sheet) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; }
.panel {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
}
.panel--right { right: 0; border-left: 1px solid var(--ink); }
.panel--left { left: 0; border-right: 1px solid var(--ink); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.panel-foot { border-top: 1px solid var(--ink); padding: 18px 22px 22px; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 24px; }

/* Cart */
.cart-line { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line .ph { width: 80px; height: 80px; object-fit: cover; background: var(--mist); }
.cart-line h4 { margin: 0 0 2px; font-weight: 500; font-size: 15px; }
.cart-line .meta { font-size: 13px; color: var(--muted); }
.cart-line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper span, .stepper input { width: 38px; text-align: center; font-size: 14px; border: 0; background: none; }
.remove { background: none; border: 0; padding: 0; font-size: 12px; text-decoration: underline; color: var(--muted); }
.was { text-decoration: line-through; color: var(--muted); margin-left: 6px; font-size: .9em; }
.totals { display: grid; gap: 6px; font-size: 14px; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 17px; font-weight: 600; padding-top: 8px; border-top: 1px solid var(--line); }
.note { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input, .field {
  flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); background: var(--paper); border-radius: 0;
}
.error { color: #b00020; font-size: 13px; margin: 8px 0; }
.empty-cart { padding: 40px 0; text-align: center; }

/* ---------- Home ---------- */
.hero { border-bottom: 1px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(78vh, 760px); }
.hero-copy { padding: clamp(40px, 7vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-right: 1px solid var(--ink); }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; background: var(--ink); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero-media .tag { position: absolute; left: 20px; bottom: 20px; background: var(--paper); padding: 10px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { border-right: 0; border-bottom: 1px solid var(--ink); gap: 28px; }
  .hero-media { height: 46vh; }
}

.marquee { background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--ink); }
.marquee-track { display: inline-block; padding: 14px 0; animation: scroll 38s linear infinite; font-family: var(--serif); font-size: 22px; font-style: italic; }
.marquee-track span { padding: 0 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.cat { position: relative; display: block; text-decoration: none; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--mist); }
.cat .img { aspect-ratio: 4/5; overflow: hidden; }
.cat img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .6s; }
.cat:hover img { filter: grayscale(0); transform: scale(1.03); }
.cat .label { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--paper); border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 24px; }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; } .cat .img { aspect-ratio: 16/10; } }

.story { background: var(--ink); color: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.story .h2 { margin: 18px 0 20px; }
.story p { color: #cfcfcc; max-width: 46ch; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.values div { padding: 28px 24px 0 0; }
.values div + div { padding-left: 24px; border-left: 1px solid var(--ink); }
.values h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.values p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* ---------- Product grid & tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.grid.dim { opacity: .45; transition: opacity .2s; }

.tile { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tile > a { text-decoration: none; display: block; }
.tile .img { position: relative; aspect-ratio: 1; background: var(--mist); overflow: hidden; border: 1px solid var(--ink); }
.tile .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile .img .hover { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.tile:hover .img img { transform: scale(1.03); }
.tile:hover .img .hover { opacity: 1; }
.ribbons { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.ribbon { background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; }
.soldout { position: absolute; bottom: 10px; left: 10px; background: var(--paper); border: 1px solid var(--ink); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; }
.tile .name { margin: 14px 0 4px; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.tile .price { font-size: 15px; }
.tile .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tile .quick { margin-top: auto; padding-top: 14px; }
.tile .quick .btn { min-height: 42px; width: 100%; padding: 0 12px; font-size: 12px; }

.skeleton .img { background: linear-gradient(90deg, var(--mist), #e8e8e5, var(--mist)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-color: var(--line); }
.skeleton .bar { height: 12px; background: var(--mist); margin-top: 14px; width: 70%; }
.skeleton .bar + .bar { width: 35%; margin-top: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Quick-add picker: anchored inside the tile, bottom sheet on phones */
.picker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--paper); border: 1px solid var(--ink); padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.picker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
@media (max-width: 760px) {
  .picker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; border-width: 1px 0 0; padding: 20px var(--gutter) 24px; max-height: 80vh; overflow-y: auto; }
}

/* Options (shared by PDP and picker) */
.opt { margin: 14px 0; }
.opt-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.opt-label span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 46px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill.na { color: var(--muted); text-decoration: line-through; }
.pill:disabled { opacity: .35; cursor: not-allowed; }
.swatch { width: 34px; height: 34px; min-width: 0; padding: 0; border-radius: 50%; border: 1px solid var(--line); outline-offset: 2px; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); }
.reason { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Shop ---------- */
.page-head { border-bottom: 1px solid var(--ink); padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.catrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.catrow a { text-decoration: none; border: 1px solid var(--ink); padding: 8px 16px; font-size: 13px; letter-spacing: .06em; }
.catrow a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.shop { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 32px 0 80px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar select { min-height: 40px; border: 1px solid var(--ink); background: var(--paper); padding: 0 10px; border-radius: 0; }
.filters { font-size: 14px; }
.filters details { border-top: 1px solid var(--ink); padding: 14px 0; }
.filters details:last-child { border-bottom: 1px solid var(--ink); }
.filters summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-weight: 400; }
.filters details[open] summary::after { content: "–"; }
.filters .inner { padding-top: 12px; display: grid; gap: 10px; }
.filters .range { display: flex; gap: 8px; align-items: center; }
.filters .range input { width: 100%; min-height: 40px; border: 1px solid var(--ink); padding: 0 8px; border-radius: 0; }
.check { display: flex; gap: 10px; align-items: center; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1px solid var(--ink); background: var(--paper); padding: 4px 10px; font-size: 13px; }
.filter-toggle { display: none; }
.state { padding: 60px 0; text-align: center; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; gap: 0; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; }
  .filters.open { display: block; position: fixed; inset: auto 0 0 0; z-index: 100; background: var(--paper); border-top: 1px solid var(--ink); max-height: 82vh; overflow-y: auto; padding: 18px var(--gutter) 24px; }
}

/* ---------- Product page ---------- */
.pdp > * { min-width: 0; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 28px 0 80px; }
.gallery-main { border: 1px solid var(--ink); background: var(--mist); aspect-ratio: 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: var(--mist); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); background: var(--mist); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 96px; align-self: start; }
.buy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.015em; margin: 10px 0 14px; }
.buy .price { font-size: 22px; margin-bottom: 6px; }
.buy .tax { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.qty-row { display: flex; gap: 10px; margin-top: 22px; }
.qty-row .btn { flex: 1; }
.desc { margin-top: 32px; border-top: 1px solid var(--ink); padding-top: 22px; }
.desc p { margin: 0 0 12px; }
.info details { border-top: 1px solid var(--line); padding: 14px 0; }
.info summary { cursor: pointer; font-weight: 500; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; padding-top: 16px; gap: 20px; }
  .gallery-main { aspect-ratio: auto; height: 45vh; }
  .buy { position: static; }
  .buy h1 { margin-top: 4px; }
}

/* ---------- Text pages ---------- */
.prose { max-width: 680px; }
.prose p { font-size: 18px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 48px 0 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid .logo { font-size: 34px; display: inline-block; margin-bottom: 12px; }
.foot-grid h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: #cfcfcc; }
.foot-grid a:hover { color: var(--paper); }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #333; font-size: 12px; color: #9a9a96; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Single-product home ---------- */
.hero-price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 0; }
.hero-price strong { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.colors { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.color { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 12px 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: background .2s; }
.color:hover { background: var(--mist); }
.color .dot { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s; }
.color:hover .dot { transform: scale(1.08); }
.color span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 860px) { .colors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .color .dot { width: 54px; height: 54px; } }

.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.feature { padding: 28px 22px 0 0; }
.feature + .feature { padding-left: 22px; border-left: 1px solid var(--line); }
.feature .num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
.feature h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 12px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr 1fr; } .feature:nth-child(odd) { padding-left: 0; border-left: 0; } .feature { padding-bottom: 24px; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature + .feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.uses { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #333; }
.use { padding: 8px 24px 8px; border-right: 1px solid #333; }
.use h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 10px; }
.use p { color: #bdbdb9; margin: 0; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 520px) { .uses { grid-template-columns: 1fr; } }

.quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 4.5vw, 58px); line-height: 1.12; max-width: 20ch; margin: 0; }

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--ink); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 64ch; }

.seo-text { border-top: 1px solid var(--ink); }
.seo-text .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.seo-text h2 { margin-bottom: 18px; }
.seo-text h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 26px 0 8px; }
.seo-text p { color: var(--muted); }
@media (max-width: 760px) { .seo-text .cols { grid-template-columns: 1fr; } }

/* ---------- Modern sans headings (Jost) ---------- */
.display { font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.display em { font-style: normal; font-weight: 300; }
.h2 { font-weight: 500; letter-spacing: -0.02em; }
.h3, .values h3, .use h3, .seo-text h3, .prose h2, .buy h1, .cat .label { font-weight: 500; letter-spacing: -0.01em; }
.faq summary { font-weight: 400; font-size: 20px; }
.quote { font-style: normal; font-weight: 300; letter-spacing: -0.02em; }
.marquee-track { font-style: normal; font-weight: 400; letter-spacing: .02em; }
.feature .num { font-style: normal; font-weight: 400; }
.logo { font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 20px; }
.logo span { font-style: normal; font-weight: 300; }
.foot-grid .logo { font-size: 26px; }
@media (max-width: 860px) { .logo { font-size: 17px; } }


/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form-row { display: grid; gap: 6px; align-content: start; }
.form-row--full { grid-column: 1 / -1; }
.form-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.field--area { min-height: 160px; padding: 12px; resize: vertical; width: 100%; }
.contact-form .field { width: 100%; }
.contact-form [aria-invalid="true"] { border-color: #b00020; }
.contact-form .error { margin: 0; }
.form-help { font-size: 13px; margin: 0; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.contact-thanks { border: 1px solid var(--ink); padding: clamp(28px, 5vw, 48px); outline: none; }
.contact-thanks .h2 { margin-bottom: 12px; }
@media (max-width: 760px) { .contact-grid, .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legal page & small footer links ---------- */
.legal { scroll-margin-top: 110px; }
.legal + .legal { padding-top: 0; }
.legal .h2 { margin-bottom: 8px; }
.legal h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 32px 0 6px; }
.legal h4 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 24px 0 6px; }
.legal p { font-size: 16px; }
a.u { text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: inline-flex; gap: 14px; margin-left: 14px; }
.legal-links a { font-size: 12px; color: #9a9a96; text-decoration: none; }
.legal-links a:hover { color: var(--paper); text-decoration: underline; }

/* Hero photo in its real colours */
.hero-media { background: var(--paper); }
.hero-media img { filter: none; }

/* Product gallery: arrows, counter */
.gallery-main { position: relative; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid var(--ink); background: rgba(255,255,255,.92); font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.gal-nav:hover { background: var(--ink); color: var(--paper); }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-count { position: absolute; bottom: 12px; right: 12px; background: rgba(255,255,255,.92); border: 1px solid var(--ink); font-size: 12px; letter-spacing: .08em; padding: 3px 8px; }
.thumbs button { cursor: pointer; }
.thumbs button:hover { border-color: var(--ink); }

/* Round colour swatches */
.pill.swatch { width: 34px; height: 34px; min-width: 34px; min-height: 34px; max-height: 34px; flex: 0 0 34px; aspect-ratio: 1 / 1; padding: 0; border-radius: 50%; }

/* Hero photo links to the product */
.hero-link { display: block; width: 100%; height: 100%; cursor: pointer; }
.hero-link img { transition: transform .6s; }
.hero-link:hover img { transform: scale(1.02); }

/* Trust block on the product page */
.trust { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust-ico { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.trust-ico svg { width: 20px; height: 20px; }
.trust strong { font-weight: 600; }

/* Highlighted key phrases in the guide text */
.hl { font-weight: 600; color: var(--ink); text-decoration: none; }

/* non-square photos: whole photo on a white square, with a little air like the others */
.gallery-main img[src*="/v1/fit/"] { background: #fff; padding: 7%; box-sizing: border-box; }
.thumbs img[src*="/v1/fit/"] { object-fit: contain; background: #fff; padding: 6%; box-sizing: border-box; }

/* home hero slideshow */
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
/* every slide is shown whole on white, so all six pairs sit at the same size; the tighter-cropped
   portrait photos (red, blue) are scaled so their socks fill the frame like the white pair */
.hero-media { background: #fff; }
.hero-media img { object-fit: contain; background: #fff; }
/* slides are sized by height, never by width, so the socks are the same height in every slide:
   square photos (socks fill ~86% of the height) at full height, the tight red/blue photos at 86% */
.hero-slide img { position: absolute; left: 50%; top: 50%; width: auto; height: 100%; max-width: none; transform: translate(-50%, -50%); }
.hero-slide img[src*="/v1/fit/"] { height: 86%; }
.hero-link.hero-slide:hover img { transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-on { transition: none; } }

/* the menu row stays on one line, left-aligned; below 1140px it moves into the menu button so it never pushes the logo */
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .bar { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
}

/* header runs full width, so the menu starts at the same left edge as the hero text ("Windy Weave · 100 % Schafwolle") */
.site-header .bar { max-width: none; }

/* round WW mark to the right of the written logo; the lettering keeps its size */
.logo--mark { display: inline-flex; align-items: center; gap: 16px; }
.logo-mark { width: 36px; height: 36px; flex: none; }
@media (max-width: 860px) { .logo-mark { width: 30px; height: 30px; } .logo--mark { gap: 13px; } }

/* wrapper around the two words: WINDY keeps its normal weight, WEAVE stays light */
.logo .logo-text { font-weight: inherit; font-style: normal; }
.logo .logo-text span { font-weight: 300; }

/* sheep emblem centred in the free space under the button in the right column */
.seo-text .cols > div:last-child { display: flex; flex-direction: column; }
.seo-art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0 0; }
.seo-art img { display: block; width: 100%; max-width: 440px; height: auto; }

/* ---------- phone polish ---------- */
/* product page keeps the side margin (the .pdp padding used to cancel the page gutter) */
.pdp { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (max-width: 600px) {
  /* top bar on one line */
  .announce { font-size: 10.5px; letter-spacing: .08em; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .announce .a-opt { display: none; }
  /* bigger tap areas for footer links */
  .foot-grid ul { gap: 0; }
  .foot-grid ul a { display: inline-block; padding: 8px 0; }
  .foot-bottom .legal-links a { display: inline-block; padding: 8px 0; }
  .foot-bottom { gap: 4px 12px; }
}
@media (max-width: 860px) { .gallery-main { aspect-ratio: 1; height: auto; } }

/* About us band above the FAQ: black background, white text */
.about-band { background: var(--ink); color: var(--paper); }
.about-band .eyebrow { color: #cfcfcc; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-band .h2 { margin-top: 14px; color: var(--paper); }
.about-text { color: var(--paper); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; margin: 0; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

/* subtle warmth for the About us band: the brand's wave line under the heading and a faint WW mark */
.about-band { position: relative; overflow: hidden; }
.about-band .wrap { position: relative; z-index: 1; }
.about-wave { display: block; width: 120px; height: auto; margin-top: 22px; color: #cfcfcc; }
.about-mark { position: absolute; width: clamp(240px, 30vw, 420px); height: auto; left: -70px; bottom: -190px; opacity: .06; pointer-events: none; }
@media (max-width: 760px) { .about-mark { left: auto; right: -70px; bottom: -80px; width: 240px; } }

/* About us: black with a slight hint of dark green */
.about-band { background: #0f1a14; }

/* solid black line directly under the About us section, as thick as the lowercase letters of its heading */
.about-band { border-bottom: clamp(21px, 2.8vw, 34px) solid #000; }

/* product title a little smaller so the longer name fits in fewer lines */
.buy h1 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; }

/* line-art branch in the bottom right corner of the About us band */
.about-branch { position: absolute; right: -40px; bottom: -64px; width: clamp(160px, 17vw, 240px); height: auto; color: #a9bfae; opacity: .4; pointer-events: none; }
@media (max-width: 760px) { .about-branch { width: 130px; right: -26px; bottom: -40px; } .about-mark { right: auto; left: -80px; } }

/* fuller corner arrangement: branches grow up the right edge and along the bottom, away from the text */
.about-branch { right: 0; bottom: 0; width: clamp(220px, 24vw, 340px); opacity: .42; }
@media (max-width: 760px) { .about-branch { width: 170px; right: 0; bottom: 0; } }
@media (max-width: 1180px) { .about-branch { width: 230px; } }
@media (max-width: 760px) { .about-branch { width: 140px; } }

/* green main photo: slightly more contrast and light so it matches the other colours (hero slideshow and product page) */
img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"], .hero-media img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"] { filter: contrast(1.12) brightness(1.04); }

/* product page: brand promise band above the footer (same dark green as the home page About us band) */
.promise-band { background: #0f1a14; color: var(--paper); text-align: center; }
.promise-inner { display: flex; flex-direction: column; align-items: center; }
.promise-band .eyebrow { color: #cfcfcc; }
.promise-quote { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -0.01em; max-width: 22ch; margin: 16px 0 0; }
.promise-wave { display: block; width: 120px; height: auto; margin: 26px auto 0; color: #a9bfae; }
.promise-facts { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.promise-facts li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px 0; }
.promise-facts li + li { border-left: 1px solid rgba(255,255,255,.14); }
.pf-ico { width: 34px; height: 34px; color: #a9bfae; margin-bottom: 6px; }
.pf-ico svg { width: 100%; height: 100%; }
.promise-facts strong { font-weight: 500; font-size: 15px; letter-spacing: .02em; }
.promise-facts span:last-child { color: #a8b0aa; font-size: 14px; }
@media (max-width: 760px) {
  .promise-facts { grid-template-columns: 1fr 1fr; }
  .promise-facts li + li { border-left: 0; }
  .promise-facts li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .promise-facts li:nth-child(n+3) { padding-top: 26px; }
}
.promise-facts .nw { white-space: nowrap; color: inherit; font-size: inherit; }
.promise-quote { max-width: 30ch; }

/* promise statement wider (two lines on desktop) and 30% less space above it */
.promise-quote { max-width: 48ch; }
.promise-band { padding-top: clamp(39px, 5.6vw, 77px); }

/* ---------- Blog ---------- */
.blog-hero { margin-top: clamp(20px, 3vw, 36px); }
.blog-hero img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }
.blog-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -0.015em; margin: 10px 0 0; max-width: 24ch; }
.blog-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; }
.blog-body { padding-top: clamp(32px, 5vw, 64px); }
.blog-prose { max-width: 720px; }
.blog-prose p, .blog-prose li { font-size: 18px; line-height: 1.75; }
.blog-prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.blog-prose li { margin: 0 0 8px; }
.blog-figure { margin: 36px 0; }
.blog-figure img { display: block; width: 100%; height: auto; }
.blog-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.blog-cta-wrap { margin-top: 48px; }
.blog-cta { background: #1f3a2b; border-color: #1f3a2b; color: #fff; }
.blog-cta:hover { background: #0f1a14; border-color: #0f1a14; color: #fff; }
.blog-more { border-top: 1px solid var(--ink); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.blog-card-img { overflow: hidden; border: 1px solid var(--ink); aspect-ratio: 3 / 2; }
.blog-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card-link:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-title { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 8px 0 8px; }
.blog-card-text { color: var(--muted); margin: 0 0 14px; }
.blog-card .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } .blog-prose p, .blog-prose li { font-size: 17px; } }

/* phones: sock picture first (right under the header), then the moving line, then the hero text */
@media (max-width: 860px) {
  body[data-page="home"] main { display: flex; flex-direction: column; }
  body[data-page="home"] main > * { order: 4; }
  body[data-page="home"] .hero, body[data-page="home"] .hero-grid { display: contents; }
  body[data-page="home"] .hero-media { order: 1; }
  body[data-page="home"] .marquee { order: 2; }
  body[data-page="home"] .hero-copy { order: 3; border-bottom: 1px solid var(--ink); }
}
/* phones, home page: moving line 40% thinner (63px -> 38px) and a matching 38px black band above "Farben" */
@media (max-width: 860px) {
  body[data-page="home"] .marquee-track { padding: 6px 0; font-size: 16px; line-height: 25px; }
  body[data-page="home"] .hero-copy { border-bottom: 38px solid var(--ink); }
}

/* phones, home page: dark green band above "Farben" with text (replaces the plain black band; 30% taller: 38px -> 49px) */
.nature-band { display: none; }
@media (max-width: 860px) {
  body[data-page="home"] .hero-copy { border-bottom: 0; }
  body[data-page="home"] .nature-band { display: flex; order: 3; align-items: center; justify-content: center; height: 49px; padding: 0 16px; background: #1f3a2b; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; white-space: nowrap; }
}
@media (max-width: 400px) { body[data-page="home"] .nature-band { font-size: min(12px, 3vw); letter-spacing: .1em; } }
/* phones, home page: moving line a little lower so the space above and below the sock photo is even */
@media (max-width: 860px) { body[data-page="home"] .marquee { margin-top: 16px; } }

/* green photo: the light/contrast tweak now sits on the white frame around the photo, not on the photo itself,
   so the photo's edges can't turn into a faint grey border (seen on phones) */
img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"], .hero-media img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"] { filter: none; }
.hero-slide { background: #fff; }
.hero-slide:has(img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"]), .gallery-main:has(> img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"]) { filter: contrast(1.12) brightness(1.04); }

/* green photo: no browser filters at all (they caused a faint frame on phones); the slight brightening and crispness are now baked into the image file */
.hero-slide:has(img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"]), .gallery-main:has(> img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"]), img[src*="d75087_3b6875a51ada47cf9246d4b2b3474975"] { filter: none; }
/* phones: taller green button at the end of blog articles (48px -> 64px) */
@media (max-width: 600px) { .blog-cta { min-height: 64px; width: 100%; } }

/* links to the home page sections land below the sticky header */
#ueber-windy-weave, #farben, #faq { scroll-margin-top: 80px; }

/* About us: the dark green softly fades into the black line underneath */
.about-band { background: linear-gradient(180deg, #0f1a14 0%, #0f1a14 50%, #000 100%); }
/* a little more green in the fade: green holds longer and darkens later */
.about-band { background: linear-gradient(180deg, #0f1a14 0%, #0f1a14 65%, #0a130e 88%, #000 100%); }
/* fade starts lower (at 82% instead of 65% of the section height) */
.about-band { background: linear-gradient(180deg, #0f1a14 0%, #0f1a14 82%, #0a130e 94%, #000 100%); }
/* phones: taller full-width "Socken aus Schafwolle entdecken" button in the home page Ratgeber section */
@media (max-width: 600px) { #ratgeber .btn { min-height: 64px; width: 100%; padding-top: 10px; padding-bottom: 10px; } }

/* ---------- language switch (flags left of the basket) ---------- */
.header-actions { align-items: center; }
.lang-switch { display: flex; align-items: center; gap: 8px; margin-right: 6px; }
.lang-flag { display: inline-flex; height: 13px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); opacity: .5; transition: opacity .2s; }
.lang-flag--de { width: 22px; }
.lang-flag--en { width: 26px; }
.lang-flag svg { display: block; width: 100%; height: 100%; }
.lang-flag:hover, .lang-flag:focus-visible { opacity: 1; }
.lang-flag[aria-current] { opacity: 1; outline: 1px solid var(--ink); outline-offset: 3px; }
@media (max-width: 860px) { .lang-switch { gap: 7px; margin-right: 2px; } .lang-flag { height: 12px; } .lang-flag--de { width: 20px; } .lang-flag--en { width: 24px; } }

/* mobile: flags stacked (British above German) to the right of the basket */
@media (max-width: 860px) {
  .header-actions { display: flex; align-items: center; }
  .lang-switch { order: 2; flex-direction: column-reverse; gap: 11px; margin: 0 0 0 7px; }
  .header-actions .icon-btn { justify-content: flex-end; }
  .lang-flag { height: 10px; }
  .lang-flag--de, .lang-flag--en { width: 17px; }
  .lang-flag[aria-current] { outline-offset: 2px; }
}

/* English product page, mobile: no dash in the promise line */
@media (max-width: 860px) { .pq-dash { display: none; } }

/* German home, mobile: shorter text on the guide button */
.btn-txt-m { display: none; }
@media (max-width: 860px) { .btn-txt-d { display: none; } .btn-txt-m { display: inline; } }

/* mobile menu: the sheep engraving from the emblem in the empty space at the bottom */
.mobile-nav { background: url(/img/m/dc108937-2027d2-windy-weave-schafe.png) no-repeat center bottom 12px / min(84%, 320px) auto; }
.mobile-nav a { border-bottom-width: 2px; }

/* desktop: flags to the right of the basket */
@media (min-width: 861px) { .lang-switch { order: 2; margin: 0 0 0 9px; } }

/* desktop: guide button as wide as the text column */
@media (min-width: 861px) { #ratgeber .btn { display: flex; width: 100%; } }

/* product page: payment logos below the add-to-basket button */
.pay-icons { display: block; width: 324px; max-width: 100%; height: auto; margin-top: 16px; }