/* Brass Tacs homepage concept.
   Plain CSS so each block maps onto a Shopify section stylesheet (assets/section-bt-*.css). */

:root {
  --ivory: #f5efe4;
  --paper: #ebe2d0;
  --parchment: #ece2cf;
  --parchment-deep: #e2d4b9;
  --card: #fbf7ef;
  --ink: #1e1c19;
  --ink-2: #443f38;
  --muted: #675f54;
  --line: #d6cab4;
  --brass: #86672f;
  --brass-light: #c2a467;
  --star: #b08a48;
  --dark: #1c1a17;
  --dark-2: #26231f;
  --dark-deep: #13110f;
  --hero-bg: #161411;
  --on-dark: #f1eadc;
  --on-dark-muted: #b9af9e;
  --line-dark: rgba(241, 234, 220, .16);
  --brass-hair: rgba(134, 103, 47, .42);
  --brass-hair-dark: rgba(194, 164, 103, .4);
  --shadow-warm: 0 46px 80px -52px rgba(52, 36, 14, .6);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(56px, 7vw, 104px);

  /* Motion system: one curve family, three durations, one stagger step. */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.77, 0, .18, 1);
  --dur-ui: 260ms;
  --dur-text: 900ms;
  --dur-image: 1300ms;

  /* One brass tack: a domed nailhead. */
  --tack: radial-gradient(circle closest-side at 50% 50%, #f4e4b8 0, #d2ad66 28%, #9c7a3c 62%, #5b4419 92%, transparent 100%);
  /* Very light paper grain, tiles. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--ivory) var(--grain);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.hero :focus-visible, .story :focus-visible,
.site-footer :focus-visible, .preview-note :focus-visible { outline-color: var(--brass-light); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared type & controls ---------- */

/* Every section opens with the same mark: a brass tack and a short hairline. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--tack); }
.eyebrow::after { content: ""; width: 48px; height: 1px; flex: none; background: linear-gradient(90deg, currentColor, transparent); opacity: .7; }
.eyebrow--light { color: var(--brass-light); }

.section-title {
  margin-top: 18px;
  font: 300 clamp(38px, 4.6vw, 66px)/1.04 var(--serif);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--brass); }

/* One button shape everywhere: 2px corners, 52px tall. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  font: 500 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color var(--dur-ui), color var(--dur-ui), border-color var(--dur-ui);
}
/* Mirror-polished brass: a crisp gloss across the upper face, a dark waist where the metal curves
   away, a bright lower lip, fine horizontal brushing like the hero's grain, and an engraved edge.
   A glint crosses it on its own every few seconds; on hover a quicker one, and it warms and glows. */
.btn--brass {
  position: relative; overflow: hidden; isolation: isolate;
  color: #1e160a; text-shadow: 0 1px 0 rgba(255, 246, 220, .65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 250, .6) 8%, rgba(255, 255, 255, 0) 24%),
    repeating-linear-gradient(180deg, rgba(255, 250, 230, .07) 0 1px, rgba(60, 40, 10, .05) 1px 2px, rgba(255, 250, 230, 0) 2px 3px),
    linear-gradient(180deg, #fff4d2 0%, #f1d58f 14%, #dcb668 36%, #b88b45 50%, #a97c37 56%, #caa257 70%, #ecd08d 88%, #fff1c8 100%);
  border-color: #6f5020;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 238, .95), inset 0 -1px 0 rgba(80, 52, 14, .55), inset 0 0 0 1px rgba(255, 236, 190, .18),
    0 1px 2px rgba(20, 12, 4, .4), 0 10px 22px -12px rgba(70, 46, 12, .75);
  transition: border-color var(--dur-ui), box-shadow .5s var(--ease-out), filter .5s var(--ease-out);
}
/* The glints: ::before is the idle one, ::after the hover one. Both run under the label. */
.btn--brass::before,
.btn--brass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 253, 240, .2) 44%, rgba(255, 255, 250, .95) 50%, rgba(255, 253, 240, .2) 56%, transparent 62%) -150% 0 / 55% 100% no-repeat;
}
.btn--brass::after { transition: background-position .8s var(--ease-inout); }
.btn--brass:hover {
  border-color: #5a3f14;
  filter: brightness(1.06) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 238, .95), inset 0 -1px 0 rgba(80, 52, 14, .55), inset 0 0 0 1px rgba(255, 236, 190, .28),
    0 1px 2px rgba(20, 12, 4, .4), 0 10px 22px -12px rgba(70, 46, 12, .75), 0 0 22px rgba(232, 192, 110, .38);
}
.btn--brass:hover::after { background-position: 250% 0; }
@media (prefers-reduced-motion: no-preference) {
  .btn--brass::before { animation: bt-glint 6s var(--ease-inout) 1.2s infinite; }
}
@keyframes bt-glint {
  0% { background-position: -150% 0; }
  22%, 100% { background-position: 250% 0; }
}
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.btn--line-light { border-color: rgba(241, 234, 220, .5); color: var(--on-dark); }
.btn--line-light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }

.text-link {
  display: inline-block; padding-block: 8px;
  font: 500 15px/1.4 var(--sans);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: var(--brass);
  transition: color var(--dur-ui);
}
.text-link:hover { color: var(--brass); }
.text-link--light { text-decoration-color: var(--brass-light); }
.text-link--light:hover { color: var(--brass-light); }

.stars { letter-spacing: .12em; color: var(--star); white-space: nowrap; }

/* ---------- Brass identity kit ----------
   Three details from the packaging, used sparingly: nailhead tacks (the name),
   the double-rule label frame, and the round tin seal. */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.tack { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--tack); vertical-align: middle; }

/* Where a dark band meets a light one: a brass hairline pinned by nailheads. */
.seam {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 0;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.seam--bottom { top: auto; bottom: 0; }
.seam::before, .seam::after { content: ""; flex: 0 1 460px; height: 1px; }
.seam::before { background: linear-gradient(90deg, transparent, var(--brass-hair-dark)); transform-origin: right; }
.seam::after { background: linear-gradient(90deg, var(--brass-hair-dark), transparent); transform-origin: left; }
.seam--dark::before { background: linear-gradient(90deg, transparent, rgba(194, 164, 103, .5)); }
.seam--dark::after { background: linear-gradient(90deg, rgba(194, 164, 103, .5), transparent); }
.seam__tacks { flex: none; width: 92px; height: 11px; margin-inline: 12px; background: var(--tack) 0 50% / 11px 11px space no-repeat; }

/* Label frame: an outer line, an inner rule, and a tack pinning each corner. */
.framed { position: relative; border: 1px solid var(--brass-hair); }
.framed::before { content: ""; position: absolute; inset: 7px; pointer-events: none; border: 1px solid var(--brass-hair); }
.framed::after {
  content: ""; position: absolute; inset: 3px; pointer-events: none;
  background-image: var(--tack), var(--tack), var(--tack), var(--tack);
  background-size: 9px 9px; background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}
.framed--dark { border-color: rgba(194, 164, 103, .22); }
.framed--dark::before { border-color: rgba(194, 164, 103, .3); }

/* Photo plate for dark sections: a charcoal mat, a brass inner rule, corner tacks. */
.plate { position: relative; padding: 12px; background: #24201b; box-shadow: 0 0 0 1px rgba(194, 164, 103, .16), 0 60px 90px -50px rgba(0, 0, 0, .95); }
.plate::before { content: ""; position: absolute; inset: 5px; z-index: 2; pointer-events: none; border: 1px solid var(--brass-hair-dark); }
.plate::after {
  content: ""; position: absolute; inset: 1px; z-index: 3; pointer-events: none;
  background-image: var(--tack), var(--tack), var(--tack), var(--tack);
  background-size: 10px 10px; background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}

/* The round tin seal. Colours arrive through custom properties so one symbol serves any ground. */
.seal {
  display: block; width: 128px; height: 128px;
  --seal-bg: var(--dark); --seal-line: rgba(194, 164, 103, .8); --seal-ink: var(--brass-light);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .35));
}

/* ---------- Preview note ---------- */

.preview-note { background: #0f0e0c; color: var(--on-dark-muted); font-size: 13px; line-height: 1.4; }
.preview-note p { max-width: var(--max); margin-inline: auto; padding: 8px var(--gutter); text-align: center; }
.preview-note a { color: var(--on-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 228, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -22px rgba(30, 28, 25, .45); }
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(245, 239, 228, .9); backdrop-filter: blur(8px); }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; transition: min-height .4s var(--ease); }
.is-scrolled .site-header__inner { min-height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; transition: width .4s var(--ease), height .4s var(--ease); }
.is-scrolled .brand img { width: 42px; height: 42px; }
.brand__name { font: 500 19px/1 var(--serif); letter-spacing: .01em; }
.brand__sub { display: block; margin-top: 4px; font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav-list a {
  display: inline-block; padding: 8px 0;
  font: 500 14.5px/1.2 var(--sans); text-decoration: none;
  background: linear-gradient(var(--brass), var(--brass)) no-repeat 0 100% / 0 1px;
  transition: background-size .3s var(--ease-out);
}
.nav-list a:hover { background-size: 100% 1px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  font: 500 15px/1 var(--sans);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform var(--dur-ui) var(--ease-out);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .primary-nav { flex: 1; }
  .nav-panel { display: flex; justify-content: space-between; align-items: center; margin-left: 48px; }
  .nav-list { display: flex; gap: 28px; }
  .nav-list--utility { gap: 22px; }
  .nav-list--utility a { color: var(--ink-2); font-weight: 400; }
}

@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100svh - 76px); overflow-y: auto;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    box-shadow: 0 24px 40px -24px rgba(30, 28, 25, .25);
  }
  .nav-panel:not([data-open]) { display: none; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 24px/1.2 var(--serif); background: none; }
  .nav-list--utility { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 12px; }
  .nav-list--utility a { font: 500 15px/1.2 var(--sans); }
}

/* ---------- Hero ----------
   A dark campaign opening. The photograph sits in the same charcoal as the page and
   melts into it; the headline crosses into the picture instead of sitting beside it. */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); color: var(--on-dark); }

.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 1 / 1; max-height: 62svh; object-fit: cover; object-position: 50% 44%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, var(--hero-bg) 0%, rgba(22, 20, 17, .7) 24%, rgba(22, 20, 17, 0) 54%),
    linear-gradient(180deg, rgba(22, 20, 17, .4) 0%, rgba(22, 20, 17, 0) 20%);
}

.hero__seal { position: absolute; z-index: 3; top: 16px; right: 16px; width: 86px; height: 86px; }

.hero__inner { position: relative; z-index: 2; margin-top: -132px; }

.hero__title {
  margin-top: 18px;
  font: 300 clamp(50px, 13.4vw, 76px)/.96 var(--serif);
  letter-spacing: -.028em;
}
/* Each line is its own mask so it can rise into place. Padding keeps italic overhangs unclipped. */
.hero__title .line { display: block; overflow: hidden; padding: 0 .12em .12em; margin: 0 -.12em -.12em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { font-style: italic; font-weight: 300; color: var(--brass-light); }

.hero__lede { margin-top: 22px; max-width: 34ch; font-size: 17px; color: var(--on-dark-muted); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__actions .btn { flex: 1 1 auto; }

.hero__proof {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-dark);
  font-size: 14px; color: var(--on-dark-muted); text-decoration: none;
}
.hero__proof .stars { color: var(--brass-light); }
.hero__proof strong { font-weight: 600; color: var(--on-dark); }
.hero__proof:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass-light); }

/* The flagship, merged into the hero: its rating and the three sizes, each a link to that size. */
.hero__flagship { margin-top: 24px; padding-top: 16px; max-width: 470px; border-top: 1px solid var(--line-dark); }
.hero__flagship-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 13.5px; color: var(--on-dark-muted); }
.hero__flagship-kicker { font: 600 10.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
#flagship-name { font: 400 19px/1.2 var(--serif); color: var(--on-dark); text-decoration: none; transition: color var(--dur-ui); }
#flagship-name:hover { color: var(--brass-light); }
.hero__flagship-score { color: var(--on-dark-muted); text-decoration: underline; text-decoration-color: var(--line-dark); text-underline-offset: 4px; }
.hero__flagship-score:hover { text-decoration-color: var(--brass-light); }
.hero__flagship-score .stars { font-size: 11px; color: var(--brass-light); }
.hero__sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.size {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line-dark); text-decoration: none;
  transition: border-color var(--dur-ui), background-color var(--dur-ui);
}
.size:hover { border-color: var(--brass-light); background: rgba(241, 234, 220, .05); }
.size__oz { font: 400 17px/1 var(--serif); }
.size__price { font-size: 13.5px; color: var(--on-dark-muted); }
.hero__flagship + .hero__proof { margin-top: 16px; padding-top: 0; border-top: 0; }
@media (max-width: 559.98px) {
  .size { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* A label only: its padding overlaps the rating link above on phones, so it must not take taps. */
.hero__caption { position: relative; z-index: 2; padding: 18px var(--gutter) 28px; font-size: 12px; color: rgba(185, 175, 158, .75); pointer-events: none; }

@media (min-width: 560px) and (max-width: 1023.98px) {
  .hero__img { aspect-ratio: 5 / 4; max-height: 68svh; }
  .hero__inner { margin-top: -180px; }
  .hero__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 1024px) {
  .hero { display: grid; align-items: center; min-height: clamp(680px, calc(100svh - 110px), 900px); }
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 62%; }
  .hero__img { height: 100%; aspect-ratio: auto; max-height: none; object-position: 50% 50%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--hero-bg) 0%, rgba(22, 20, 17, .82) 12%, rgba(22, 20, 17, .3) 30%, rgba(22, 20, 17, 0) 46%),
      linear-gradient(0deg, rgba(22, 20, 17, .9) 0%, rgba(22, 20, 17, 0) 32%),
      linear-gradient(180deg, rgba(22, 20, 17, .35) 0%, rgba(22, 20, 17, 0) 16%);
  }
  .hero__inner { margin: 0 auto; padding-block: 56px 80px; }
  .hero__copy { max-width: 700px; }
  .hero__title { font-size: clamp(66px, 6.9vw, 112px); }
  .hero__lede { font-size: 19px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__seal { top: 52px; right: 60px; width: 128px; height: 128px; }
  .hero__caption { position: absolute; left: 40%; bottom: 26px; padding: 0; }
}

/* ---------- Shop ----------
   Six real products right after the flagship. Cards stay quiet: a framed photograph,
   name, rating, price, and a single link to the product page (the whole card is clickable). */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #3a342c; }

.shop { position: relative; padding-block: clamp(48px, 5.5vw, 80px) clamp(48px, 5vw, 72px); background: var(--ivory) var(--grain); }

.shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
/* The collections, as one row of links; on phones the row scrolls sideways instead of wrapping. */
.shop__collections { display: flex; gap: 8px; }
.shop__collections a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; white-space: nowrap;
  border: 1px solid var(--brass-hair); border-radius: 2px;
  font: 500 13.5px/1.2 var(--sans); text-decoration: none;
  transition: background-color var(--dur-ui), color var(--dur-ui), border-color var(--dur-ui);
}
.shop__collections a:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.shop__collections .shop__all { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.shop__collections .shop__all:hover { background: #3a342c; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; margin-top: clamp(22px, 2.6vw, 34px); }

.pcard { position: relative; display: flex; flex-direction: column; }
/* Each photograph is framed like a small portrait: a slim light mat inside one fine charcoal line,
   slightly deeper at the foot as gallery mats are. No shadow; on hover the line warms to brass. */
.pcard__frame {
  padding: var(--mat) var(--mat) calc(var(--mat) * 1.3);
  background: var(--card); border: 1px solid rgba(30, 28, 25, .2);
  transition: border-color .5s var(--ease-out);
  --mat: clamp(5px, .6vw, 9px);
}
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--parchment); box-shadow: 0 0 0 1px rgba(134, 103, 47, .14); }
.pcard:hover .pcard__frame, .pcard:focus-within .pcard__frame { border-color: var(--brass-hair); }
/* --zoom and --origin let one card lead with its product without editing the photograph. `scale` composes with the reveal and hover transforms. */
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); scale: var(--zoom, 1); transform-origin: var(--origin, 50% 50%); transition: transform 1.4s var(--ease-out); }

.pcard__body { display: grid; gap: 5px; padding: 14px 2px 0; }
.pcard__name { font: 400 clamp(18px, 1.75vw, 25px)/1.18 var(--serif); letter-spacing: -.005em; }
.pcard__link { text-decoration: none; }
/* The name's link covers the whole card, so there is one tab stop and one shopping action. */
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pcard__link:focus-visible { outline: none; }
.pcard:focus-within { outline: 2px solid var(--brass); outline-offset: 8px; }
.pcard__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; color: var(--muted); }
.pcard__rating .stars { font-size: 11px; }
.pcard__price { font: 500 15.5px/1.3 var(--sans); color: var(--ink); }
.pcard__opts { font-weight: 400; color: var(--muted); }
.pcard__cta { margin-top: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.pcard__cta span { display: inline-block; margin-left: 4px; transition: transform .4s var(--ease-out); }
.pcard:hover .pcard__name { color: var(--brass); }
.pcard:hover .pcard__cta span, .pcard:focus-within .pcard__cta span { transform: translateX(4px); }
.pcard__name { transition: color .4s var(--ease-out); }

/* The ingredients section starts on the same ivory ground: a hairline keeps the two apart. */
.shop + .ingredients { border-top: 1px solid rgba(134, 103, 47, .2); }

@media (max-width: 559.98px) {
  .pcard__body { padding-top: 12px; gap: 4px; }
  .pcard__price { font-size: 14.5px; }
  .pcard__cta { font-size: 10.5px; letter-spacing: .14em; }
  .shop__nav { width: 100%; }
  .shop__collections { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .shop__collections::-webkit-scrollbar { display: none; }
  .shop__collections a { min-height: 44px; }
}

@media (min-width: 700px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
}

@media (min-width: 1024px) {
  .pgrid { gap: 36px 28px; }
  /* Desktop shows the products a little wider than tall, so both rows of three fit in one screen. */
  .pcard__media { aspect-ratio: 4 / 3; }
  /* A card can take its own crop for the landscape format (--pos-wide, --zoom-wide, --origin-wide). */
  .pcard__media img { object-position: var(--pos-wide, var(--pos, 50% 50%)); scale: var(--zoom-wide, var(--zoom, 1)); transform-origin: var(--origin-wide, var(--origin, 50% 50%)); }
}

/* ---------- Review ticker ----------
   A slow strip of short verified excerpts above the footer. Pauses on hover, on focus,
   with its button, and when off screen; under reduced motion it becomes a still row you can scroll. */

.ticker {
  position: relative; padding-block: 34px 40px;
  background: var(--grain), linear-gradient(180deg, var(--parchment) 0%, var(--parchment-deep) 100%);
  border-top: 1px solid rgba(134, 103, 47, .28);
}
.ticker__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ticker__label { font: 600 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.ticker__toggle {
  display: none; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--brass-hair); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer;
  font: 500 12.5px/1 var(--sans); letter-spacing: .04em;
  transition: background-color var(--dur-ui), color var(--dur-ui);
}
.js .ticker__toggle { display: inline-flex; }
.ticker__toggle:hover { background: var(--ink); color: var(--ivory); }
/* Pressed (paused): filled, with the play icon showing. */
.ticker__toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.ticker__icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ticker__icon--play { display: none; fill: currentColor; }
.ticker.is-paused .ticker__icon--play { display: block; }
.ticker.is-paused .ticker__icon--pause { display: none; }

.ticker__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.ticker__viewport:focus-visible { outline-offset: -4px; }
.ticker__track { display: flex; width: max-content; animation: bt-ticker var(--ticker-duration, 220s) linear infinite; }
.ticker__list { display: flex; flex: none; padding-inline-end: var(--ticker-pad, 0px); }
/* The tack sits inside each excerpt's own end padding (centred in the 68px between excerpts),
   so nothing overhangs a copy of the list and the seam between copies is exact. */
.tick { position: relative; display: flex; align-items: baseline; gap: 14px; padding-inline: 30px 38px; white-space: nowrap; }
.tick::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--tack); }
.tick .stars { font-size: 11px; }
.tick__quote { font: italic 400 clamp(18px, 1.6vw, 22px)/1.3 var(--serif); color: var(--ink); quotes: "“" "”"; }
.tick__by { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tick__product { font-weight: 500; letter-spacing: .06em; }

@keyframes bt-ticker { to { transform: translateX(-50%); } }

.ticker:hover .ticker__track,
.ticker__viewport:focus-within .ticker__track,
.ticker.is-paused .ticker__track,
.ticker.is-offscreen .ticker__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-bottom: 8px; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .js .ticker__toggle { display: none; }
  /* Still, each excerpt wraps into a short card in a swipeable row instead of one long line. */
  .ticker__viewport { scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); }
  .tick { flex: 0 0 min(78vw, 420px); flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 28px 0 0; white-space: normal; scroll-snap-align: start; }
  .tick::after { right: 10px; top: 14px; margin-top: 0; }
}

/* ---------- Ingredients ----------
   One feature: a photograph beside the promise, the key ingredients, and the flagship's label. */

.ingredients {
  padding-block: clamp(44px, 5vw, 72px);
  background: var(--grain), linear-gradient(180deg, var(--ivory) 0, var(--parchment) 200px, var(--parchment-deep) 100%);
}
.feature { display: grid; gap: 28px; }
.feature__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.feature__media::after { content: ""; position: absolute; inset: 10px; pointer-events: none; border: 1px solid rgba(251, 247, 239, .55); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.feature__lede { margin-top: 16px; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); }
.standard { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; font: italic 400 18px/1.3 var(--serif); color: var(--ink); }
.label-list__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 20px; }
.label-list__grid div { padding: 10px 0; border-top: 1px solid rgba(134, 103, 47, .22); }
.label-list__grid dt { font: 400 17px/1.2 var(--serif); }
.label-list__grid dd { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.feature__flagship { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(134, 103, 47, .22); font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.feature__flagship strong { font-weight: 600; color: var(--ink); }

@media (min-width: 1024px) {
  .feature { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: center; }
  .feature__media { grid-column: 1 / span 5; aspect-ratio: 1 / 1; }
  .feature__body { grid-column: 6 / span 7; }
  .label-list__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Founder ---------- */

.story {
  position: relative; padding-block: clamp(44px, 5vw, 76px); color: var(--on-dark);
  background:
    radial-gradient(50% 60% at 24% 50%, rgba(194, 164, 103, .1), transparent 70%),
    linear-gradient(180deg, #211e1a 0%, var(--dark) 40%, var(--dark-deep) 100%);
}
.story__grid { display: grid; gap: 36px; }
.story__frame { overflow: hidden; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }

.story__quote { margin-top: 22px; padding-left: 22px; border-left: 1px solid var(--brass-hair-dark); }
.story__quote p { max-width: 30ch; font: 400 clamp(21px, 2vw, 28px)/1.3 var(--serif); }
.story__quote footer { margin-top: 12px; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }

.ledger { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-top: 1px solid var(--line-dark); }
.ledger li { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-dark); font: 400 17px/1.25 var(--serif); }
.ledger span { display: block; margin-bottom: 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); }

.story__text { max-width: 54ch; margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); }
.story__standard { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font: italic 400 18px/1.3 var(--serif); color: var(--brass-light); }
.story__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 16px; }

/* Phones: a small portrait beside the heading, then the quote, ledger and links at full width. */
@media (max-width: 699.98px) {
  .story__grid { grid-template-columns: 108px 1fr; column-gap: 18px; row-gap: 0; align-items: center; }
  .story__media { grid-row: 1 / span 2; }
  .story__media .plate { padding: 5px; }
  .story__media img { aspect-ratio: 1 / 1; object-position: 50% 26%; }
  .story__body { display: contents; }
  .story__body > .eyebrow { grid-column: 2; align-self: end; }
  .story__body > .section-title { grid-column: 2; align-self: start; margin-top: 6px; font-size: 30px; }
  .story__body > :not(.eyebrow):not(.section-title) { grid-column: 1 / -1; }
}

@media (min-width: 700px) {
  .ledger { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .story__grid { grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: center; }
  .story__media { grid-column: 1 / span 4; }
  .story__media img { aspect-ratio: 1 / 1; }
  .story__body { grid-column: 6 / span 7; }
}

/* ---------- Newsletter path ----------
   The live store's own sign-up form does the work; this band only points to it. */

.newsletter { padding-block: clamp(28px, 3.4vw, 44px); background: var(--ivory) var(--grain); border-top: 1px solid rgba(134, 103, 47, .22); }
.newsletter__inner { display: grid; gap: 16px 40px; align-items: center; }
.newsletter__title { font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); letter-spacing: -.01em; }
.newsletter__text p { margin-top: 6px; color: var(--ink-2); }
.newsletter__note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
@media (min-width: 900px) {
  .newsletter__inner { grid-template-columns: 1fr auto; }
  .newsletter__action { text-align: right; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--dark-deep); color: var(--on-dark); padding-top: 44px; border-top: 1px solid rgba(194, 164, 103, .14); }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.site-footer__brand p { font: 400 18px/1.35 var(--serif); }
.site-footer__social { display: inline-block; margin-top: 10px; padding-block: 4px; font-size: 14.5px; color: var(--on-dark-muted); text-underline-offset: 4px; text-decoration-color: var(--brass-light); }
.site-footer__social:hover { color: var(--brass-light); }
.footer-title { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.site-footer ul { margin-top: 16px; display: grid; gap: 4px; }
.site-footer nav a { display: inline-block; padding: 4px 0; text-decoration: none; font-size: 15px; transition: color var(--dur-ui); }
.site-footer nav a:hover { color: var(--brass-light); }
/* Storefront row: where purchases happen, the store's payment methods, and its country/region. */
.site-footer__store { display: grid; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.site-footer__buy { max-width: 46ch; font-size: 14.5px; color: var(--on-dark-muted); }
.site-footer__buy a { color: var(--on-dark); text-underline-offset: 4px; text-decoration-color: var(--brass-light); }
.site-footer__buy a:hover { color: var(--brass-light); }
.site-footer .payment-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.payment-list svg { display: block; width: 38px; height: 24px; }
.site-footer__region { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 14.5px; }
.site-footer__region .footer-title { width: 100%; margin-bottom: 4px; }
.site-footer__region-alt { font-size: 13px; color: var(--on-dark-muted); }
.site-footer__note { margin-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--on-dark-muted); }
.site-footer__note p { padding-top: 24px; border-top: 1px solid var(--line-dark); }

@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 6fr 3fr 3fr; }
  .site-footer__brand { grid-column: auto; align-items: flex-start; }
  .site-footer__store { grid-template-columns: 1fr auto; align-items: start; column-gap: 32px; }
  .site-footer__region { max-width: 360px; }
}

/* ---------- Motion ----------
   Reveals arm only when JavaScript has added html.js and the visitor has not asked for
   reduced motion, so content is never stuck hidden.
     data-reveal        text and blocks rise 20px and fade in
     data-reveal="line" a headline line slides up inside its own mask
     data-reveal="mask" an image is uncovered from the bottom, settling from a slight zoom
     data-reveal="wipe" the hero photograph is uncovered from the left edge
     data-reveal="seal" the seal turns into place
   Groups marked data-stagger get 90ms steps from app.js. Seams draw outward from their tacks. */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js [data-reveal=""] {
    opacity: 0; transform: translateY(20px);
    transition: opacity var(--dur-text) var(--ease-out) var(--d, 0ms), transform calc(var(--dur-text) + 200ms) var(--ease-out) var(--d, 0ms);
  }
  .js [data-reveal="line"] { transform: translateY(108%); transition: transform 1.15s var(--ease-out) var(--d, 0ms); }
  .js [data-reveal="mask"] { clip-path: inset(100% 0 0 0); transition: clip-path var(--dur-image) var(--ease-inout) var(--d, 0ms); }
  .js [data-reveal="mask"] img { transform: scale(1.12); transition: transform calc(var(--dur-image) + 700ms) var(--ease-out) var(--d, 0ms); }
  .js [data-reveal="wipe"] { clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease-inout) var(--d, 0ms); }
  .js [data-reveal="wipe"] img { transform: scale(1.1); transition: transform 2.4s var(--ease-out) var(--d, 0ms); }
  .js [data-reveal="seal"] { opacity: 0; transform: rotate(-24deg) scale(.9); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1.5s var(--ease-out) var(--d, 0ms); }

  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="mask"].is-in, .js [data-reveal="wipe"].is-in { clip-path: inset(-80px); }
  .js [data-reveal="mask"].is-in img, .js [data-reveal="wipe"].is-in img { transform: none; }

  /* Seams: hairlines draw outward from the tacks. */
  .js .seam::before, .js .seam::after { transform: scaleX(0); transition: transform 1.4s var(--ease-inout) .15s; }
  .js .seam__tacks { opacity: 0; transition: opacity .6s var(--ease-out); }
  .js .seam.is-in::before, .js .seam.is-in::after { transform: none; }
  .js .seam.is-in .seam__tacks { opacity: 1; }

  /* Hover: images settle in slowly; never more than a 4% zoom. */
  .pcard:hover .pcard__media img { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 559.98px) {
  .hide-sm { display: none; }
}

