:root {
  --sand: #f6f2ec;
  --sand-2: #ece5da;
  --paper: #fffdf9;
  --ink: #1d2629;
  --ink-2: #4c585c;
  --muted: #7d8789;
  --line: #ddd5c9;
  --ocean: #2c6c70;
  --ocean-dark: #1f5155;
  --blush: #e8c8bc;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ocean);
  margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
.lede { color: var(--ink-2); font-size: 18px; max-width: 56ch; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.logo b { font: 500 22px/1 var(--serif); letter-spacing: .34em; }
.logo span { font: 600 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600;
}
.cart-btn .count {
  min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px;
  background: var(--paper); color: var(--ink); font-size: 12px; display: inline-grid; place-items: center;
}
@media (max-width: 760px) {
  .nav a:not(.cart-btn) { display: none; }
  .logo span { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 15px 28px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .15s ease, background .15s;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.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: #fff; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); max-width: 10ch; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 42ch; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--sand-2); animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-media figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: right; }
.hero-media figcaption a { color: var(--ink-2); }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 4 / 3.6; }
}

/* ---------- trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.trust li svg { flex: none; color: var(--ocean); }
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
section.block { padding: clamp(64px, 10vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }

/* collections */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.collection { text-decoration: none; display: block; }
.collection .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.collection:hover img { transform: scale(1.04); }
.collection h3 { font-size: 28px; margin-top: 14px; }
.collection small { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .collections { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } .collection h3 { font-size: 23px; } }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--ink-2);
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px) clamp(14px, 2vw, 26px); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; } }
.card { text-decoration: none; display: block; }
.card .frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--sand-2);
}
.card .frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s cubic-bezier(.2,.7,.2,1); }
.card .frame img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .frame img.alt { opacity: 1; }
.card:hover .frame img { transform: scale(1.03); }
.card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--paper); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.card h3 { font-size: 24px; }
.card .place { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card .price { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 520px) {
  .card h3 { font-size: 19px; }
  .card .meta { flex-direction: column; gap: 2px; }
}

/* story / about */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.story .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.story .photo img { width: 100%; height: 100%; object-fit: cover; }
.story p { color: var(--ink-2); font-size: 17px; }
.sig { font: italic 500 28px/1 var(--serif); margin-top: 22px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* quality */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--blush); }
.dark .lede { color: #c9d0d0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.feature h3 { font-size: 26px; margin: 16px 0 8px; }
.feature p { color: #b9c2c2; font-size: 15px; margin: 0; }
.feature .num { font: 500 15px/1 var(--sans); letter-spacing: .2em; color: var(--blush); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font: 400 clamp(21px, 2.2vw, 26px)/1.35 var(--serif); }
.review footer { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); margin-top: auto; }
.review footer img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.stars { color: #c79a3b; letter-spacing: 2px; font-size: 15px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* business */
.business { background: var(--sand-2); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.business ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.business li::before { content: "—  "; color: var(--ocean); }
@media (max-width: 860px) { .business { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; font-size: 14px; color: var(--ink-2); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .fine { margin-top: 40px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- product page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 22px 0; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 80px; }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: var(--sand-2); aspect-ratio: 4 / 5; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--sand-2); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 92px; }
.buy h1 { font-size: clamp(40px, 5vw, 62px); }
.buy .place { color: var(--muted); margin: 8px 0 18px; }
.buy .price-now { font: 500 30px/1 var(--sans); margin: 22px 0 6px; }
.buy .price-note { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.option { margin-bottom: 22px; }
.option legend { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: grid; gap: 8px; }
.opts.sizes { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span {
  display: block; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; background: var(--paper);
  font-size: 14px; line-height: 1.3; cursor: pointer; transition: border-color .15s;
}
.opts span small { display: block; color: var(--muted); font-size: 12px; }
.opts input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opts input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 2px; }
.opts label:hover span { border-color: var(--ink-2); }
.details { margin-top: 34px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.details summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; }
.details details[open] summary::after { content: "–"; }
.details p, .details li { color: var(--ink-2); font-size: 15px; }
.scale { display: flex; align-items: end; gap: 10px; height: 120px; margin-top: 12px; }
.scale div { background: var(--paper); border: 1px solid var(--ink-2); border-radius: 2px; position: relative; }
.scale div.on { background: var(--blush); border-color: var(--ink); }
.scale small { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .buy { position: static; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15,22,24,.4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 70;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column; visibility: hidden;
}
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.12); }
.drawer { transition: transform .32s cubic-bezier(.2,.7,.2,1), visibility 0s linear .32s; }
body.cart-open .drawer { transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 30px; }
.icon-btn { background: none; border: 0; padding: 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--sand); }
.lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 95px; object-fit: cover; border-radius: 6px; }
.line h4 { margin: 0; font: 500 20px/1.1 var(--serif); }
.line .opt { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; }
.qty output { min-width: 22px; text-align: center; font-size: 14px; }
.line .right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.line .remove { background: none; border: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; padding: 0; }
.drawer footer { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.sum.total { font-weight: 700; font-size: 17px; margin: 10px 0 18px; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.notice { background: #fff5e8; border: 1px solid #f0d9b5; color: #6d4b17; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; }
.secure { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); z-index: 80; visibility: hidden;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: 14px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1); max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 520px) { .card .badge { top: 8px; left: 8px; font-size: 10px; padding: 5px 8px; letter-spacing: .06em; } }

/* ---------- guarantee ---------- */
.guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 64px);
}
.seal {
  width: clamp(130px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: var(--ocean);
  border: 1.5px solid var(--ocean); box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--ocean);
  background: color-mix(in srgb, var(--ocean) 6%, var(--paper));
}
.seal span { font: 500 clamp(52px, 6vw, 68px)/.9 var(--serif); }
.seal small { font: 700 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.seal em { font: italic 500 18px/1 var(--serif); margin-top: 4px; }
.guarantee h2 { margin-bottom: 14px; }
.g-terms { margin: 18px 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.g-terms li { padding-left: 26px; position: relative; }
.g-terms li::before { content: "✓"; position: absolute; left: 0; color: var(--ocean); font-weight: 700; }
.g-link { font-size: 14px; font-weight: 600; color: var(--ocean); }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; justify-items: start; } }

.g-badge {
  display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px;
  border-radius: 10px; background: color-mix(in srgb, var(--ocean) 7%, var(--paper));
  color: var(--ink-2); text-decoration: none; font-size: 13.5px; line-height: 1.35;
}
.g-badge svg { flex: none; color: var(--ocean); }
.g-badge strong { display: block; color: var(--ink); font-size: 14px; }
.g-badge:hover { background: color-mix(in srgb, var(--ocean) 12%, var(--paper)); }
.g-badge.compact { margin: 12px 0 0; padding: 10px 12px; }

/* frame colour swatches */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; background: var(--paper); font-size: 14px; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatches em { font-style: normal; }
.swatches label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches label:has(input:focus-visible) { outline: 2px solid var(--ocean); outline-offset: 2px; }
.colour-name { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.colour-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
fieldset[hidden] { display: none; }

.gallery .main { transition: aspect-ratio .2s; }
.gallery .main.flat { background: var(--sand-2); display: grid; place-items: center; }
.gallery .main.flat img { width: 78%; height: auto; max-height: 88%; object-fit: contain; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
