/* LAYERED & CO. — site stylesheet.
   Ported from the mock-up (reference/layered-and-co-website.html). Tokens, type,
   spacing and breakpoints are hers. Additions for the shop (badges, buttons,
   gallery, group labels, policy pages, focus states) are marked "addition". */

/* Fonts — self-hosted, SIL OFL 1.1 (see /fonts/LICENSE-*.txt) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/jost-latin-500-normal.woff2') format('woff2'); }

:root {
  --cream: #FAF6F0;
  --soft: #FFFDF9;
  --linen: #F3ECE4;
  --blush: #EADCD5;
  --dust: #D8C5BA;
  --mink: #A08276;
  --cocoa: #7E5D53;
  --deep: #4D3932;
  --line: rgba(117, 82, 71, .16);
  --white: #FFFCF8;
  /* addition: text tones that meet WCAG AA (4.5:1) on the light grounds;
     --mink stays for large italics, borders and decorative marks */
  --ink: #816357;
  --ink-blush: #775649;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --gutter: 7vw;
  --focus: 2px solid var(--cocoa);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--soft);
  color: var(--deep);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 300; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
.icon { width: 1em; height: 1em; }

/* Accessibility helpers (addition) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--deep); color: var(--white); padding: .6rem 1rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
.linklike {
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
  text-transform: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}

/* MOVING BANNER */
.ticker {
  background: var(--blush);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: inline-flex;
  gap: 58px;
  width: max-content;
  animation: scroll 32s linear infinite;
  font-size: .64rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-blush);
}
.ticker-track span::after { content: "·"; margin-left: 58px; color: var(--ink); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* SOCIAL STRIP */
.social-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  color: var(--cocoa);
}
.socials { display: flex; align-items: center; gap: 18px; }
.socials a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--cocoa);
  transition: .25s ease;
  font-size: .92rem;
}
.socials a:hover { background: rgba(117, 82, 71, .08); }
.welcome {
  font-size: .64rem;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 238, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  padding: 18px var(--gutter);
}
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.nav-links.right { justify-content: flex-start; }
.nav-links a {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: .25s ease;
}
.nav-links a:hover { color: var(--deep); }
.brand {
  color: var(--cocoa);
  font-size: 2rem;
  letter-spacing: .10em;
  line-height: 1;
  text-align: center;
}

/* HERO */
.hero {
  /* addition: a shade deeper than the mock-up's #B79A8E → #A9877A so the white headline reaches 3:1 */
  background: linear-gradient(180deg, #AA887B 0%, #9E7C6F 100%);
  color: var(--white);
  text-align: center;
  padding: 74px var(--gutter) 78px;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .95;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.hero h1 em { font-style: italic; display: inline-block; transform: rotate(-1deg); }
.hero > p {
  max-width: 670px;
  margin: 0 auto 34px;
  color: var(--white);
  font-size: .92rem;
  letter-spacing: .04em;
  line-height: 2;
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }

.btn {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 13px 24px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .68rem;
  cursor: pointer;
  transition: .25s ease;
  display: inline-block;
  text-align: center;
}
.btn.dark { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn:hover { transform: translateY(-2px); opacity: .88; }
.btn.small { padding: 10px 16px; font-size: .62rem; width: 100%; margin-top: 12px; } /* addition */

/* CATEGORY CARDS */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.cat-card {
  min-height: 292px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background:
    linear-gradient(to top, rgba(73, 52, 45, .70), rgba(73, 52, 45, .08)),
    radial-gradient(circle at 28% 25%, rgba(255, 255, 255, .68), transparent 24%),
    linear-gradient(135deg, #F4EBE2, #C9AA9A 54%, #F9F2EA);
  box-shadow: 0 16px 38px rgba(73, 52, 45, .13);
  transition: .35s ease;
}
.cat-card:nth-child(2) {
  background:
    linear-gradient(to top, rgba(73, 52, 45, .70), rgba(73, 52, 45, .08)),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, .68), transparent 23%),
    linear-gradient(135deg, #EEDFD5, #B99687 55%, #F9F3EC);
}
.cat-card:nth-child(3) {
  background:
    linear-gradient(to top, rgba(73, 52, 45, .70), rgba(73, 52, 45, .08)),
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .62), transparent 24%),
    linear-gradient(135deg, #F2E8DE, #AE887A 50%, #E4CCC0);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-title {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .16);
}
.cat-blurb { display: block; color: rgba(255, 252, 248, .78); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

/* TRUST BAR */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-item { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: .74rem; line-height: 1.4; }
.trust-item > span {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--linen);
  color: var(--cocoa);
}
.trust-item .icon, .circle .icon, .care-icon .icon { width: 18px; height: 18px; }
.trust-item strong {
  display: block;
  color: var(--deep);
  font-weight: 400;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* SHOP PIECES */
.shop-pieces { background: var(--soft); padding: 74px var(--gutter); }
.shop-header { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.shop-header h2 { color: var(--cocoa); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; margin-bottom: 12px; }
.shop-header h2 em { color: var(--mink); font-style: italic; }
.shop-header p { color: var(--ink); font-size: .88rem; line-height: 1.9; }
.shop-note { margin-top: 10px; font-size: .64rem !important; letter-spacing: .18em; text-transform: uppercase; } /* addition */
.shop-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 auto 32px; }
.shop-tabs a {
  border: 1px solid var(--line);
  color: var(--cocoa);
  padding: 10px 16px;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--white);
  transition: .25s ease;
}
.shop-tabs a:hover { background: var(--blush); transform: translateY(-2px); }

/* addition: anchors clear the sticky nav after an in-page jump */
:root { --nav-clear: 84px; }
[id] { scroll-margin-top: var(--nav-clear); }

/* addition: category groups with anchors, so the tabs land on real groups */
.product-group { max-width: 1280px; margin: 0 auto; }
.product-group + .product-group { margin-top: 42px; }
.group-label {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.group-empty { color: var(--ink); font-size: .88rem; line-height: 1.9; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 34px rgba(73, 52, 45, .09); }
.product-img-btn { display: block; width: 100%; border: 0; background: none; padding: 0; position: relative; text-align: left; }
button.product-img-btn { cursor: zoom-in; }
.product-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  display: block;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img--placeholder {
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, .72), transparent 26%),
    linear-gradient(135deg, #F5EEE7, #D8C5BA 55%, #FBF6EF);
}
.product-card:nth-child(2n) .product-img--placeholder {
  background:
    radial-gradient(circle at 64% 30%, rgba(255, 255, 255, .68), transparent 25%),
    linear-gradient(135deg, #F0E5DC, #CDB4AA 55%, #FBF6EF);
}
.product-card:nth-child(3n) .product-img--placeholder {
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, .65), transparent 28%),
    linear-gradient(135deg, #F7EFE8, #BFA092 55%, #F8F1EA);
}
.product-card[data-status="sold-out"] .product-img img { opacity: .72; }
.product-info { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { color: var(--cocoa); font-size: 1.25rem; line-height: 1.15; margin-bottom: 4px; }
.product-meta { color: var(--ink); font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 8px; }
.product-price { color: var(--deep); font-size: .82rem; letter-spacing: .08em; }
.price-note { font-size: .6rem; letter-spacing: .18em; color: var(--ink); text-transform: uppercase; } /* addition */
.product-desc { color: var(--ink); font-size: .8rem; line-height: 1.6; margin-top: 8px; } /* addition */
.product-options { color: var(--ink); font-size: .68rem; letter-spacing: .06em; margin-top: 6px; } /* addition */
.product-info .btn { margin-top: auto; }
.product-info .btn:not(:first-child) { margin-top: 14px; }
.sold-note { color: var(--ink); font-size: .72rem; margin-top: 12px; font-style: italic; font-family: var(--serif); font-size: .95rem; } /* addition */

/* addition: status badge — same micro-type as .product-meta, readable by screen readers as text */
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 10px;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--deep);
  border: 1px solid var(--line);
}
.badge--sold { background: var(--deep); color: var(--white); border-color: var(--deep); }
.badge--stock { background: var(--blush); color: var(--deep); }
.test-marker { /* addition: visible marker while the buy link is a placeholder */
  display: inline-block; margin-left: 8px; padding: 1px 6px;
  background: #F4D35E; color: #1f1f1f; font-size: .55rem; letter-spacing: .12em;
}

/* INTRO / LEARN MORE */
.intro { background: var(--soft); padding: 76px var(--gutter); text-align: center; }
.eyebrow { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.intro h2, .custom h2, .care h2 { color: var(--cocoa); font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1; margin-bottom: 18px; }
.intro h2 em, .custom h2 em, .care h2 em { font-style: italic; display: block; color: var(--mink); transform: rotate(-1deg); }
.intro-short, .more-text p { max-width: 790px; margin: 0 auto; color: var(--ink); font-size: .92rem; line-height: 2; letter-spacing: .03em; }
.more-text { max-height: 0; overflow: hidden; transition: max-height .55s ease; }
.more-text.open { max-height: 60rem; margin-top: 18px; }
.more-text p + p { margin-top: 18px; }
.learn-btn {
  margin-top: 24px;
  border: none;
  background: none;
  border-bottom: 1px solid var(--cocoa);
  color: var(--cocoa);
  cursor: pointer;
  padding: 6px 0;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .66rem;
}

/* CUSTOM */
.custom { background: var(--blush); padding: 78px var(--gutter); text-align: center; }
.custom > p { max-width: 620px; margin: 0 auto 28px; color: var(--ink-blush); font-size: .92rem; line-height: 2; }

/* CONTACT CARDS */
.contact-cards {
  background: var(--cream);
  padding: 50px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--soft);
  border: 1px solid var(--line);
  text-align: center;
  padding: 34px 20px;
  color: var(--cocoa);
  transition: .25s ease;
  display: block;
  width: 100%;
  font: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(73, 52, 45, .08); }
.circle {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blush);
  display: grid; place-items: center;
  color: var(--deep);
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--cocoa); }
.contact-card p { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }

/* AFTERPAY */
.afterpay { background: var(--linen); padding: 72px var(--gutter); }
.afterpay-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.afterpay h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--cocoa); line-height: 1; margin-bottom: 16px; }
.afterpay h2 em { font-style: italic; color: var(--mink); }
.afterpay p { color: var(--ink); font-size: .88rem; line-height: 2; }
.afterpay-pill {
  display: inline-block;
  background: #DDF4E8;
  color: #1f1f1f;
  border-radius: 2px;
  padding: 6px 16px;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: -.02em;
  font-size: 1rem;
  line-height: 1.75;
}
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.step { background: var(--soft); padding: 18px; border-top: 2px solid var(--dust); color: var(--ink); font-size: .78rem; line-height: 1.6; }
.step strong { font-family: var(--serif); color: var(--dust); font-size: 1.7rem; font-weight: 300; display: block; line-height: 1; margin-bottom: 6px; }
.afterpay-note { background: var(--soft); padding: 32px; border: 1px solid var(--line); }
.afterpay-note h3 { font-size: 1.7rem; color: var(--cocoa); margin-bottom: 12px; }
.afterpay-note h3 em { font-style: italic; }
.sig { font-family: var(--serif); font-style: italic; color: var(--cocoa); margin-top: 14px; font-size: 1.1rem; }

/* CARE */
.care { background: var(--soft); padding: 80px var(--gutter); text-align: center; }
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 920px; margin: 42px auto 0; }
.care-item { color: var(--ink); font-size: .8rem; line-height: 1.6; }
.care-icon {
  width: 52px; height: 52px;
  background: var(--blush);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  color: var(--cocoa);
  font-size: 1.15rem;
}

/* GIFT */
.gift {
  margin: 62px var(--gutter);
  background: linear-gradient(135deg, var(--deep), #604338);
  color: var(--white);
  border-radius: 5px;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 36px;
  overflow: hidden;
  position: relative;
}
.gift::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255, 255, 255, .08), transparent 55%); }
.gift-card {
  background: var(--cream);
  color: var(--cocoa);
  padding: 18px 28px;
  border-radius: 7px;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, .12);
  transform: rotate(-4deg);
  font-family: var(--serif);
  min-width: 155px;
  text-align: center;
  z-index: 1;
  line-height: 1.5;
}
.gift-card strong { font-weight: 500; }
.gift h2 { font-size: 2rem; color: var(--white); margin-bottom: 4px; line-height: 1.15; }
.gift p { color: rgba(255, 252, 248, .78); font-size: .86rem; }
.gift > * { position: relative; z-index: 1; }

/* FOOTER */
.footer {
  background: var(--blush);
  color: var(--ink-blush);
  padding: 24px var(--gutter);
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row--legal { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .6rem; } /* addition */
.footer-row--legal > span { text-transform: none; letter-spacing: .06em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 .6em; }
.footer-links li + li::before { content: "·"; margin-right: .6em; color: var(--ink); }
.footer-links a, .footer-links .linklike { text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--deep); text-decoration: underline; text-underline-offset: .2em; }

/* MODAL */
.modal-wrap {
  position: fixed;
  inset: 0;
  background: rgba(73, 52, 45, .54);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-wrap[hidden] { display: none; }
.modal {
  background: var(--soft);
  width: min(540px, 100%);
  padding: 38px;
  position: relative;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.close {
  position: absolute;
  top: 15px; right: 18px;
  border: 0; background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--cocoa);
  padding: 4px;
}
.modal h2 { color: var(--cocoa); font-size: 2rem; margin-bottom: 8px; line-height: 1.15; }
.modal h2 em { font-style: italic; }
.modal p { color: var(--ink); line-height: 1.8; font-size: .86rem; }
.modal form { display: grid; gap: 12px; margin-top: 20px; }
input, select, textarea {
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 13px;
  color: var(--deep);
  width: 100%;
  font-size: .84rem;
  outline: none;
  border-radius: 0;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: var(--focus); outline-offset: 1px; }
textarea { min-height: 112px; resize: vertical; }
.modal form small { color: var(--ink); text-align: center; line-height: 1.5; font-size: .7rem; }
.modal form small a { text-decoration: underline; text-underline-offset: .2em; }
.form-error { color: #8a3b2f; font-size: .8rem; } /* addition */
.form-error[hidden] { display: none; }

/* addition: product gallery modal, in the same visual language as the form modal */
.gallery-modal { width: min(960px, 100%); padding: 28px; }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; padding-right: 36px; }
.gallery-head h2 { font-size: 1.7rem; margin: 0; }
.gallery-count { color: var(--ink); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
.gallery-stage { position: relative; background: var(--cream); border: 1px solid var(--line); }
.gallery-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; aspect-ratio: 4 / 5; display: block; margin: 0 auto; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 252, 248, .9);
  border: 1px solid var(--line);
  color: var(--cocoa);
  border-radius: 50%;
}
.gallery-nav[hidden] { display: none; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-caption { color: var(--ink); font-size: .8rem; margin-top: 10px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs[hidden] { display: none; }
.gallery-thumb { flex: 0 0 auto; border: 1px solid var(--line); background: none; padding: 0; opacity: .7; }
.gallery-thumb[aria-current="true"] { opacity: 1; outline: 2px solid var(--cocoa); }
.gallery-thumb img { width: 64px; height: 80px; object-fit: cover; }

/* Scroll reveal — only when JS is running; otherwise everything is visible */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .cat-card, .product-card, .contact-card, .shop-tabs a { transition: none; }
}

/* addition: simple policy pages */
.page { max-width: 760px; margin: 0 auto; padding: 64px var(--gutter) 80px; }
.page h1 { color: var(--cocoa); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; margin-bottom: 18px; }
.page h2 { color: var(--cocoa); font-size: 1.7rem; margin: 34px 0 10px; }
.page p, .page li { color: var(--ink); font-size: .92rem; line-height: 2; letter-spacing: .03em; }
.page ul { list-style: disc; padding-left: 1.4em; }
.page p + p { margin-top: 14px; }
.page a { text-decoration: underline; text-underline-offset: .2em; }
.page .eyebrow { margin-bottom: 8px; }
.page h1 em { font-style: italic; color: var(--mink); }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.page-actions .btn { color: var(--cocoa); }
.page-actions .btn.dark { color: var(--white); }
.page--404 { text-align: center; }
.page--404 .page-actions { justify-content: center; }
.draft-banner, .page .draft-banner {
  background: #F4D35E; color: #1f1f1f;
  padding: 10px 16px; margin-bottom: 28px;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}

/* Breakpoints (hers) */
@media (max-width: 960px) {
  :root { --nav-clear: 150px; }
  .nav, .social-strip { grid-template-columns: 1fr; gap: 14px; }
  .social-strip { padding-top: 12px; padding-bottom: 12px; }
  .strip-spacer { display: none; }
  .nav-links, .socials { justify-content: center; }
  .category-grid, .trust, .contact-cards, .care-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .afterpay-inner { grid-template-columns: 1fr; gap: 30px; }
  .gift { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  :root { --gutter: 5vw; }
  .category-grid, .trust, .contact-cards, .care-grid, .steps, .product-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.55rem; }
  .nav-links { gap: 16px; }
  .hero { padding-top: 54px; }
  .modal { padding: 28px 20px; }
  .gallery-modal { padding: 16px; }
}
