:root {
  --ink: #2b2b2b;
  --primary: #4d4d4d;
  --muted: #7a746e;
  --line: #e7e2dc;
  --bg: #fdfcfa;
  --sand: #f3eee8;
  --title-font: "Tenor Sans", Georgia, serif;
  --body-font: "Fira Sans", Helvetica, Arial, sans-serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.7 var(--body-font); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--title-font); font-weight: 400; letter-spacing: .01em; line-height: 1.2; text-wrap: balance; margin: 0 0 16px; }
h2 { font-size: clamp(30px, 4vw, 42px); }
p { margin: 0 0 16px; }
strong { font-weight: 500; }
.kicker { font: 500 12px/1 var(--body-font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.btn { display: inline-block; padding: 15px 30px; background: var(--primary); color: #fff; text-decoration: none; font: 500 14px var(--body-font); letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.btn:hover { background: #222; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(253,252,250,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .inner { max-width: var(--max); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 84px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 400; color: var(--primary); }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero .sub { font-size: 19px; color: var(--primary); max-width: 30em; margin-bottom: 32px; }
.hero-img { aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* feature strip */
.features { list-style: none; margin: 0; padding: 36px 24px; background: var(--sand); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.features li { max-width: 240px; margin: 0 auto; }
.features strong { display: block; font: 400 20px var(--title-font); margin-bottom: 4px; }
.features span { font-size: 15px; color: var(--muted); }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.section-title { text-align: center; }
.section-intro { text-align: center; color: var(--muted); margin-bottom: 56px; }
.narrow { max-width: 720px; margin: 0 auto; }
.center { text-align: center; }

/* products */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.product:nth-of-type(even) .gallery { order: 2; }
.gallery .main { aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; flex: 0 1 72px; min-width: 0; aspect-ratio: 4/5; border: 1px solid var(--line); background: none; cursor: pointer; opacity: .6; transition: opacity .2s; }
.thumbs button[aria-current="true"], .thumbs button:hover { opacity: 1; border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.title-row h3 { font-size: 34px; margin: 0; }
.price { font: 400 22px var(--title-font); color: var(--primary); }
.fabric { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 20px; }
.product dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 24px 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.product dt { font-weight: 500; }
.product dd { margin: 0; color: var(--primary); }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { width: 100%; }

/* fabric band */
.band { background: var(--sand); padding: 96px 24px; text-align: center; }

/* contact */
.contact-card { font-size: 18px; line-height: 1.9; margin-top: 24px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 24px; text-align: center; color: var(--muted); font-size: 14px; }
.footer-logo { height: 64px; width: auto; margin: 0 auto 20px; opacity: .85; }
.site-footer nav { display: flex; justify-content: center; gap: 28px; margin-bottom: 14px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }

@media (max-width: 860px) {
  html { scroll-padding-top: 140px; }
  .site-header .inner { flex-direction: column; gap: 6px; padding: 8px 16px; }
  .logo img { height: 64px; }
  .nav { gap: 22px; }
  .hero, .product, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 32px 16px 56px; }
  .hero-text { text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .product:nth-of-type(even) .gallery { order: 0; }
  .features { grid-template-columns: 1fr 1fr; padding: 28px 16px; }
  .section, .band { padding: 64px 16px; }
}

/* size & colour pickers */
.choose { margin: 24px 0 28px; padding: 20px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.choose-label { font: 500 12px/1 var(--body-font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.choose-label .chosen { color: var(--ink); letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 14px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.size { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; background: transparent; border: 1px solid var(--line); color: var(--ink); font: 400 16px var(--title-font); letter-spacing: .04em; cursor: pointer; transition: border-color .15s, color .15s; }
.size:hover { border-color: var(--muted); }
.size[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch { width: 36px; height: 36px; padding: 3px; border-radius: 50%; border: 1px solid transparent; background: transparent; cursor: pointer; transition: border-color .15s; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.swatch:hover { border-color: var(--line); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.order-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
