/* Addicted to Jesus, storefront v5.
   Quiet luxury retail: warm paper, ink, a little antique gold, a light high-contrast
   serif over a geometric sans. Square edges throughout. See DESIGN.md. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant-italic.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/jost.woff2) format('woff2'); }

:root {
  --paper: #fbf9f6;
  --ivory: #f5f1ea;
  --sand: #ece5da;
  --stone: #f1ece4;
  --ink: #151311;
  --ink-soft: #2b2723;
  --muted: #6b635a;
  --muted-on-dark: #a39a8f;
  --line: #e4ddd2;
  --line-strong: #cfc6b8;
  --gold: #9a7b45;
  --gold-soft: #c9aa6a;
  --white: #fff;
  --danger: #8a3b2a;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: 16px;
  --max: 1320px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 760px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-dark :focus-visible, .footer :focus-visible { outline-color: var(--paper); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 13px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 30px; height: 30px; stroke-width: 1.1; }

/* -- type ---------------------------------------------------------------- */
.overline { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.overline--gold { color: var(--gold); }
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02;
  font-size: clamp(42px, 6.4vw, 84px);
}
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.005em; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.lede { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.muted { color: var(--muted); }
.price { font-variant-numeric: tabular-nums; font-size: 14px; letter-spacing: .02em; }
.price s { color: var(--muted); margin-left: 8px; }
.verse { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; }
.verse-ref { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* -- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--ivory); border-color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.text-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* -- announcement --------------------------------------------------------- */
.announce { background: var(--ink); color: var(--paper); }
.announce__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.announce__msg { flex: 1; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce__btn { width: 38px; height: 38px; display: grid; place-items: center; color: var(--paper); }
.announce__btn .icon { width: 14px; height: 14px; stroke-width: 1.6; }

/* -- header --------------------------------------------------------------- */
#chrome-top { display: contents; }
.header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 12px; }
.header__left, .header__right { display: flex; align-items: center; gap: 2px; }
.header__right { justify-content: flex-end; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.icon-btn:hover { color: var(--gold); }
.icon-btn__count {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 500; line-height: 17px; text-align: center; font-variant-numeric: tabular-nums;
}
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding-right: 8px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 6px 4px; }
.wordmark__main { font-family: var(--serif); font-weight: 500; font-size: 25px; letter-spacing: .3em; margin-right: -.3em; }
.wordmark__sub { margin-top: 6px; font-size: 9px; font-weight: 500; letter-spacing: .52em; margin-right: -.52em; color: var(--muted); }
.nav { display: none; }
.header__search { padding: 0 0 12px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field input {
  width: 100%; height: 46px; padding: 0 48px 0 16px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: 16px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.search-field input::placeholder { color: #8b8278; }
.search-field input:focus { outline: none; border-color: var(--ink); }
.search-field button { position: absolute; right: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center; }
.hide-desktop { }
@media (max-width: 1023px) {
  .header__right .only-desktop { display: none; }
}
@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
  .menu-btn { display: none; }
  .header__row { grid-template-columns: 1fr auto 1fr; }
  .wordmark__main { font-size: 30px; }
  .nav { display: flex; align-items: center; gap: 26px; }
  .nav a { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 10px 0; position: relative; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header__search { display: none; }
}

/* -- drawers (menu, bag) -------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(21, 19, 17, .42); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 61; width: min(420px, 92vw); background: var(--paper);
  display: flex; flex-direction: column; transition: transform .3s var(--ease); visibility: hidden;
}
.drawer.is-open { visibility: visible; transform: none; }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 12px 0 22px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--paper); }
.menu-list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 22px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }
.menu-list a .icon { width: 16px; height: 16px; color: var(--muted); }
.menu-sub { padding: 22px; }
.menu-sub .overline { color: var(--muted); margin-bottom: 10px; }
.menu-sub a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
.menu-note { margin: 0 22px 28px; padding: 16px; background: var(--ivory); font-size: 13.5px; color: var(--ink-soft); }

/* -- hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--stone); }
.hero__track { position: relative; height: clamp(520px, 72vh, 700px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.slide__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide__text { max-width: 520px; }
.slide__text .overline { margin-bottom: 22px; }
.slide__text .display { margin-bottom: 22px; }
.slide__text .lede { margin-bottom: 32px; font-size: 17px; }
.slide--dark { color: var(--paper); }
.slide--dark .lede { color: #e9e2d8; }
.slide--dark .overline { color: var(--gold-soft); }
.hero__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; }
.hero__controls .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.dots { display: flex; gap: 4px; }
.dot { width: 28px; height: 28px; display: grid; place-items: center; }
.dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; transition: opacity .2s, transform .2s; }
.dot[aria-current="true"]::before { opacity: 1; transform: scale(1.15); }
.round-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.round-btn .icon { width: 16px; height: 16px; stroke-width: 1.6; }
.hero__controls[data-tone="dark"] { color: var(--paper); }
@media (max-width: 759px) {
  .hero__track { height: auto; aspect-ratio: 4 / 5.4; }
  .slide__img { object-position: 74% center; }
  .slide__content { justify-content: flex-end; padding-bottom: 86px; }
  .slide::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, rgba(251,249,246,0), rgba(251,249,246,.92) 62%); }
  .slide--dark::after { background: linear-gradient(to bottom, rgba(21,19,17,0), rgba(21,19,17,.9) 62%); }
  .slide__text .display { font-size: 44px; margin-bottom: 14px; }
  .slide__text .overline { margin-bottom: 12px; }
  .slide__text .lede { font-size: 15.5px; margin-bottom: 22px; }
  .hero__controls { bottom: 20px; }
  .hero__controls .wrap { justify-content: space-between; }
}

/* -- sections ------------------------------------------------------------- */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--ivory { background: var(--ivory); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__title { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.section__title--center { text-align: center; width: 100%; }
.section__link { flex: none; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.section__link:hover { color: var(--gold); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
@media (min-width: 760px) { .section { padding: 76px 0; } .section__title { font-size: 23px; } }

/* category circles */
.circles { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1); }
.circles::-webkit-scrollbar { display: none; }
.circle { flex: 0 0 auto; width: 92px; scroll-snap-align: start; text-align: center; }
.circle__img { display: block; position: relative; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--stone); margin-bottom: 12px; }
.circle__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.circle:hover .circle__img img { transform: scale(1.06); }
.circle__label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.circle__tag { position: absolute; right: -2px; top: 50%; transform: translateY(-50%); background: var(--paper); padding: 3px 7px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 1024px) {
  .circles { justify-content: space-between; overflow: visible; margin: 0; padding: 4px 0 0; }
  .circle { width: auto; flex: 1 1 0; }
  .circle__img { width: min(118px, 100%); height: auto; aspect-ratio: 1; margin: 0 auto 14px; }
}

/* curated collection tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--stone); color: var(--paper); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,19,17,.55), rgba(21,19,17,0) 58%); }
.tile__text { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; }
.tile__title { font-family: var(--serif); font-size: 26px; line-height: 1.05; margin-bottom: 12px; }
.tile__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.tile__cta .icon { width: 14px; height: 14px; stroke-width: 1.6; transition: transform .2s var(--ease); }
.tile:hover .tile__cta .icon { transform: translateX(3px); }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; } .tile__title { font-size: 32px; } .tile__text { left: 26px; bottom: 26px; } }

/* product grid and cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 18px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 14px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-columns: 30%; gap: 18px; } }
@media (min-width: 1024px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0; gap: 14px; } }

.card { position: relative; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone); margin-bottom: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img { transform: scale(1.03); }
.card:hover .card__media img + img { opacity: 1; }
.card__tag { position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--paper); padding: 4px 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.card__save { position: absolute; top: 4px; right: 4px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.card__save .icon { width: 19px; height: 19px; }
.card__save[aria-pressed="true"] .icon { fill: var(--ink); }
.card__name { display: block; font-size: 14px; line-height: 1.35; margin-bottom: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.7em; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.swatch--ring { outline: 1px solid var(--line-strong); outline-offset: 2px; }
.grid--6 .card__name { font-size: 13.5px; }

/* promo banner (bundles) */
.promo { position: relative; overflow: hidden; background: var(--sand); }
.promo__inner { position: relative; z-index: 1; display: grid; gap: 18px; padding: 34px 24px; align-items: center; }
.promo__title { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 52px); line-height: 1; }
.promo__art { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; opacity: .9; }
.promo__art img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, #000 30%, transparent); mask-image: linear-gradient(to right, #000 30%, transparent); }
@media (max-width: 759px) { .promo__art { display: none; } }
@media (min-width: 760px) {
  .promo__inner { grid-template-columns: 1.1fr 1fr auto; gap: 40px; padding: 40px 48px 40px 30%; }
}

/* dark split band */
.band { display: grid; background: var(--ink); color: var(--paper); }
.band__img { position: relative; min-height: 280px; }
.band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.band__text { padding: 44px var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.band__text .overline { color: var(--gold-soft); }
.band__text .h2 { max-width: 14em; }
.band__text p { color: #e1d9ce; max-width: 32em; }
.band__text .btn { align-self: flex-start; margin-top: 8px; }
@media (min-width: 760px) { .band { grid-template-columns: 1fr 1fr; } .band__img { min-height: 420px; } .band__text { padding: 56px 64px; } }

/* the word: verse cards */
.words { display: grid; gap: 16px; }
@media (min-width: 760px) { .words { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.word { display: flex; flex-direction: column; background: var(--ivory); }
.word__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.word__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.word:hover .word__img img { transform: scale(1.03); }
.word__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.word__body .overline { color: var(--gold); font-size: 12px; }
.word__title { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.word__body .link-arrow { margin-top: auto; padding-top: 8px; font-size: 12px; }

/* scripture carousel */
.quotes { text-align: center; }
.quotes__stage { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; max-width: 860px; margin: 0 auto; }
.quote { grid-area: 1 / 2; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote__mark { font-family: var(--serif); font-size: 54px; line-height: .6; color: var(--gold-soft); display: block; margin-bottom: 14px; }
.quote__text { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; }
.quote__ref { display: block; font-style: normal; margin-top: 16px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quotes .dots { justify-content: center; margin-top: 18px; color: var(--ink); }
.plain-btn { width: 44px; height: 44px; display: grid; place-items: center; }
.plain-btn .icon { width: 18px; height: 18px; }

/* inspiration strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.strip a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.strip a:hover img { transform: scale(1.05); }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(6, 1fr); gap: 8px; } }

/* newsletter */
.newsletter { background: var(--sand); }
.newsletter__inner { display: grid; gap: 22px; padding-block: 40px; align-items: center; }
.newsletter__copy { display: flex; gap: 18px; align-items: flex-start; }
.newsletter__copy .icon { width: 34px; height: 34px; stroke-width: 1; margin-top: 2px; }
.newsletter__copy h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.newsletter__copy p { font-size: 14.5px; color: var(--ink-soft); max-width: 30em; }
.newsletter__form { display: flex; }
.newsletter__form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--line-strong); border-right: 0; background: var(--white); font-size: 16px; border-radius: 0; }
.newsletter__form input:focus { outline: none; border-color: var(--ink); }
.newsletter__form .btn { flex: none; min-height: 50px; padding: 0 22px; }
.form-note { margin-top: 10px; font-size: 13.5px; }
.form-note--ok { color: var(--ink); }
.form-note--err { color: var(--danger); }
@media (min-width: 760px) { .newsletter__inner { grid-template-columns: 1fr minmax(360px, 460px); padding-block: 48px; gap: 48px; } }

/* trust row */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; padding-block: 30px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__item .icon { width: 28px; height: 28px; stroke-width: 1.1; color: var(--ink); }
.trust__item strong { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; }
.trust__item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (min-width: 1024px) { .trust__list { grid-template-columns: repeat(4, 1fr); padding-block: 34px; } .trust__item { justify-content: center; } }

/* footer */
.footer { background: var(--ink); color: #d9d1c6; }
.footer__grid { display: grid; gap: 34px; padding-block: 52px 36px; }
.footer .wordmark { align-items: flex-start; padding: 0; color: var(--paper); }
.footer .wordmark__sub { color: var(--muted-on-dark); }
.footer__about p { margin-top: 18px; font-size: 14px; line-height: 1.6; max-width: 26em; color: #bdb4a8; }
.footer__col h3 { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; }
.footer__col a { display: block; padding: 5px 0; font-size: 14px; color: #bdb4a8; }
.footer__col a:hover { color: var(--paper); }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border: 1px solid #3d3832; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: #e7e0d6; }
.footer__base { border-top: 1px solid #2d2925; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted-on-dark); }
@media (max-width: 759px) {
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__cols .footer__col--pay { grid-column: 1 / -1; }
  .footer__col a { padding: 10px 0; }
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.3fr 3fr; gap: 48px; padding-block: 64px 44px; }
  .footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* -- page header (shop, help, about...) ------------------------------------ */
.page-head { background: var(--ivory); padding: 34px 0 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-strong); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; }
.page-head p { margin-top: 12px; color: var(--ink-soft); max-width: 38em; }
@media (min-width: 760px) { .page-head { padding: 48px 0 40px; } }

/* shop toolbar */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 18px var(--gutter); margin: 0 calc(var(--gutter) * -1); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; background: var(--paper); }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.toolbar__count { font-size: 13.5px; color: var(--muted); }
.toolbar__controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); }
.seg button { min-height: 40px; padding: 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.select { position: relative; }
.select select { height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 13.5px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.select .icon { position: absolute; right: 10px; top: 12px; width: 16px; height: 16px; pointer-events: none; }
.empty { padding: 60px 0; text-align: center; }
.empty .h2 { margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

/* -- product page ---------------------------------------------------------- */
.pdp { display: grid; gap: 28px; padding: 20px 0 56px; }
.pdp .crumbs { margin-bottom: 0; }
.gallery { display: grid; gap: 10px; }
.gallery__main { position: relative; aspect-ratio: 1; background: var(--stone); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery__thumbs button { aspect-ratio: 1; background: var(--stone); overflow: hidden; border: 1px solid transparent; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: flex; flex-direction: column; gap: 22px; }
.buy__head .overline { color: var(--gold); margin-bottom: 10px; }
.buy__name { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.04; margin-bottom: 12px; }
.buy__price { font-size: 18px; font-variant-numeric: tabular-nums; }
.buy__sub { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.buy__verse { padding: 20px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opt__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.opt__label button { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 52px; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); font-size: 14px; font-variant-numeric: tabular-nums; }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt__err { margin-top: 8px; font-size: 13.5px; color: var(--danger); }
.buy__actions { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 50px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; }
.qty button .icon { width: 14px; height: 14px; stroke-width: 1.6; }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.qty--sm { height: 38px; }
.qty--sm button { width: 36px; }
.save-btn { width: 50px; height: 50px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.save-btn[aria-pressed="true"] .icon { fill: var(--ink); }
.buy__actions .btn { min-height: 50px; }
.buy__note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--ivory); font-size: 14px; color: var(--ink-soft); }
.buy__note .icon { width: 20px; height: 20px; margin-top: 1px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; font-size: 14.5px; color: var(--ink-soft); }
.acc__body p + p { margin-top: 10px; }
.spec { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; }
.spec dt { color: var(--muted); font-size: 13.5px; }
.spec dd { margin: 0; }
.in-set { display: grid; gap: 10px; }
.in-set a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px; background: var(--ivory); }
.in-set img { width: 64px; height: 64px; object-fit: cover; }
.buy-bar { display: none; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding: 26px 0 80px; align-items: start; }
  .pdp .crumbs { grid-column: 1 / -1; }
  .buy { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 899px) {
  .buy-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 12px; align-items: center;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s var(--ease);
  }
  .buy-bar.is-shown { transform: none; }
  .buy-bar__info { flex: 1; min-width: 0; }
  .buy-bar__name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { min-height: 48px; padding: 0 20px; }
}

/* dialog (size guide) */
.dialog { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.dialog__scrim { position: absolute; inset: 0; background: rgba(21,19,17,.45); }
.dialog__panel { position: relative; width: min(640px, 100%); max-height: 88vh; overflow-y: auto; background: var(--paper); padding: 26px 22px 30px; }
.dialog__close { position: absolute; top: 8px; right: 8px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; margin: 12px 0 26px; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* -- bag ------------------------------------------------------------------- */
.ship-meter { padding: 16px 22px; background: var(--ivory); font-size: 13.5px; }
.ship-meter__bar { height: 3px; background: var(--line); margin-top: 10px; }
.ship-meter__bar span { display: block; height: 100%; background: var(--ink); transition: width .3s var(--ease); }
.lines { padding: 0 22px; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line__img { aspect-ratio: 1; background: var(--stone); overflow: hidden; display: block; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__top { display: flex; justify-content: space-between; gap: 12px; }
.line__name { font-size: 14.5px; line-height: 1.35; }
.line__meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.line__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.line__remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 38px; }
.sum { display: grid; gap: 8px; font-size: 14.5px; }
.sum__row { display: flex; justify-content: space-between; gap: 12px; }
.sum__row span:last-child { font-variant-numeric: tabular-nums; }
.sum__row--save { color: var(--gold); }
.sum__row--total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.bag-empty { padding: 44px 22px; text-align: center; }
.bag-empty p { color: var(--muted); margin: 8px 0 22px; }

/* bag page and checkout */
.two-col { display: grid; gap: 32px; padding: 32px 0 72px; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 56px; align-items: start; } .two-col > aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.panel { background: var(--ivory); padding: 24px 22px; }
.panel h2 { font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.panel .lines { padding: 0; }
.panel .line { grid-template-columns: 64px 1fr; padding: 14px 0; }
.fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.fieldset legend { display: flex; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 18px; font-family: var(--serif); font-size: 26px; }
.fieldset legend span { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--gold); }
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--white); font-size: 16px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { margin-top: 6px; font-size: 13px; color: var(--danger); }
.field .select .icon { top: 17px; }
.check { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 16px 0; }
.check__box { flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); display: grid; place-items: center; margin-top: 1px; background: var(--white); }
.check__box .icon { width: 14px; height: 14px; stroke-width: 2.2; opacity: 0; }
.check[aria-checked="true"] .check__box { background: var(--ink); color: var(--paper); }
.check[aria-checked="true"] .check__box .icon { opacity: 1; }
.check__text { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.5; }
.check__text strong { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.check__price { flex: none; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.notice { background: var(--ivory); padding: 22px; margin: 8px 0 18px; }
.notice p { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 10px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--ink); font-weight: 500; }
.notice .overline { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.notice h3 { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.alert { padding: 14px 16px; background: #f6ebe4; border-left: 2px solid var(--danger); font-size: 14px; margin-bottom: 14px; }
.alert--info { background: var(--ivory); border-left-color: var(--gold); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.secure .icon { width: 14px; height: 14px; }

/* confirmation, account, content pages */
.center-page { padding: 64px 0 80px; text-align: center; }
.center-page .overline { color: var(--gold); margin-bottom: 14px; }
.center-page .h2 { margin-bottom: 16px; }
.center-page p { color: var(--ink-soft); max-width: 34em; margin: 0 auto 26px; }
.ref-box { display: inline-block; padding: 12px 20px; border: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; letter-spacing: .08em; margin-bottom: 28px; }
.spinner { width: 28px; height: 28px; border: 1.5px solid var(--line-strong); border-top-color: var(--ink); border-radius: 50%; margin: 0 auto 24px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.narrow { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 20px; }
.prose .lead { font-family: var(--serif); font-size: 27px; line-height: 1.4; color: var(--ink); }
.faq summary { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; font-weight: 500; min-height: 64px; gap: 16px; }
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--ivory); padding: 22px; }
.contact-card .overline { color: var(--gold); margin-bottom: 8px; font-size: 12px; }
.contact-card p { font-size: 14.5px; color: var(--ink-soft); }
.contact-card a, .contact-card strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 4px; color: var(--ink); word-break: break-word; }
.split { display: grid; gap: 32px; align-items: center; }
.split__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.order-card { text-align: left; max-width: 560px; margin: 0 auto; background: var(--ivory); padding: 24px; }
.order-card .sum { margin-top: 14px; }
.status-pill { display: inline-block; padding: 4px 10px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: 14px; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (hover: none) { .card__media img + img { display: none; } }

/* -- phone refinements ---------------------------------------------------- */
@media (max-width: 1023px) {
  .header__row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; }
  .wordmark__main { font-size: 21px; letter-spacing: .26em; margin-right: -.26em; }
  .wordmark__sub { font-size: 8.5px; margin-top: 5px; }
  .icon-btn { width: 42px; }
}
@media (max-width: 419px) {
  .menu-btn span { display: none; }
  .menu-btn { width: 44px; justify-content: center; padding: 0; }
}
@media (max-width: 759px) {
  .words { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); }
  .words::-webkit-scrollbar { display: none; }
  .word { scroll-snap-align: start; }
  .tiles { gap: 8px; }
  .tile__title { font-size: 23px; }
  .tile__text { left: 14px; bottom: 14px; right: 14px; }
}
/* Snap to the page gutter, not the screen edge. */
.rail, .circles, .words, .chips { scroll-padding-inline: var(--gutter); }

/* Rows fill the width whatever the count. The live catalogue decides how many pieces a
   row holds (the preview database has 3 jewellery pieces, production 9), so columns
   follow --n, set by render.js, instead of a fixed 6 or 4. */
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rail { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); } }
/* Scrolling rails: a short row stretches to the edge, a long one still scrolls. */
@media (max-width: 759px) { .rail { grid-auto-columns: minmax(44%, 1fr); } }
@media (min-width: 760px) and (max-width: 1023px) { .rail { grid-auto-columns: minmax(30%, 1fr); } }
/* Phone: two tiles a row, and an odd one out takes the whole row rather than half of it. */
@media (max-width: 759px) { .tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
