/* ==========================================================================
   Charleston Eden
   --------------------------------------------------------------------------
   Palette sampled directly from the ring photography:
     ground  #020202  the black acrylic plate the rings are shot on
     gold    #AD854D  the mid-tone of the 22K plating
     lit     #F7D48F  the specular highlight on the metal
   Nothing here is a chosen accent colour. Every value is the product.

   Signature: the waterline. Every ring floats above its own reflection in the
   acrylic, so the page repeats that axis - a hairline with content resting on
   it. It is the one idea; everything else stays quiet.
   ========================================================================== */

:root {
  --ink:        #050506;   /* page ground */
  --ink-true:   #020202;   /* media beds - matches the photo background exactly */
  --ink-raised: #0E0E10;   /* the only lifted surface */
  --gold:       #AD854D;
  --gold-lit:   #F7D48F;
  --bone:       #E8E1D5;
  --ash:        #8C8479;

  --hair: color-mix(in srgb, var(--gold) 34%, transparent);
  --hair-faint: color-mix(in srgb, var(--gold) 14%, transparent);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale - 1.25 minor third, clamped for fluid sizing */
  --t-xs:  0.75rem;
  --t-sm:  0.875rem;
  --t-base: 1rem;
  --t-md:  clamp(1.125rem, 0.6vw + 1rem, 1.35rem);
  --t-lg:  clamp(1.5rem, 1.4vw + 1.1rem, 2.1rem);
  --t-xl:  clamp(2.1rem, 3.4vw + 1rem, 3.6rem);
  --t-2xl: clamp(2.8rem, 6.4vw + 0.8rem, 6.4rem);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 78rem;
  --band: clamp(4.5rem, 11vh, 9rem);   /* vertical rhythm between bands */

  /* Fraunces variable axes. WONK is not decoration here: the bands are
     hand-hammered and nothing on these rings is machine-straight. */
  --wonk-on: "SOFT" 0, "WONK" 1;

  color-scheme: dark;
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; 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: var(--gutter); top: -4rem; z-index: 200;
  background: var(--gold-lit); color: var(--ink); padding: 0.6rem 1rem;
  font-size: var(--t-sm); font-weight: 600; transition: top 160ms ease;
}
.skip-link:focus { top: 0.75rem; }

/* --- shared type ---------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 144;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

.label {
  font-family: var(--text);
  font-size: var(--t-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  margin: 0;
}

.lede {
  font-size: var(--t-md);
  color: var(--ash);
  max-width: 44ch;
  line-height: 1.55;
  margin: 0;
}

.shell {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* The waterline. A single hairline that content rests on. */
.waterline {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--hair) 12%, var(--hair) 88%, transparent);
  margin: 0;
}

/* --- header --------------------------------------------------------------- */

.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease,
              backdrop-filter 240ms ease;
}
.masthead[data-stuck="true"] {
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--hair-faint);
}

/* The free-shipping promise. It rides in the masthead on anything wider than a
   phone; below that the masthead has no room, so .ship-line under the grid
   heading carries it instead. Both say the same words on purpose. */
.ship-note {
  margin: 0;
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.ship-line {
  margin: 0.85rem 0 0;
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--gold-lit, var(--gold));
}
@media (min-width: 701px) { .ship-line { display: none; } }
@media (max-width: 700px) { .ship-note { display: none; } }

.wordmark {
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 72;
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
}
.wordmark span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.nav a {
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--ash);
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--gold); }

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold);
  color: var(--gold-lit);
  background: transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.btn--solid {
  background: var(--gold-lit);
  border-color: var(--gold-lit);
  color: var(--ink);
  width: 100%;
  padding-block: 1.15rem;
  font-size: var(--t-base);
}
.btn--solid:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--quiet { border-color: var(--hair); color: var(--ash); }
.btn--quiet:hover { background: transparent; border-color: var(--gold); color: var(--bone); }

.btn[aria-disabled="true"] {
  border-color: var(--hair-faint); color: var(--ash);
  background: transparent; cursor: not-allowed; pointer-events: none;
}

/* --- hero ----------------------------------------------------------------- */

/* The clip's own letterbox is pure #000, measured off the poster - so the bed
   under it has to be #000 too, or the video reads as a rectangle pasted on the
   page. This is the one place that is not --ink-true. */
.hero { background: #000; }

/* The hero is one screen tall and holds a looping clip. It used to be a pinned
   scrollcraft act three screens deep, whose stage supplied position:sticky and the
   height; both now have to be declared here, because .sc-stage is gone. */
/* Two rows, not one stacked layer. The ring owns the upper row and the words own
   the lower one, so the headline can never sit on top of the stone - which is
   exactly what a single overlaid layer was doing. */
.hero__stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  background: #000;
  padding-top: var(--head-h, 64px);
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  min-height: 100vh;
  min-height: 100svh;
}

/* No card, no frame, no border. The clip's own background is #020202 and so is the
   section's, so the ring appears to hang in the page itself. */
/* The element is sized to the clip's own 4:5 rather than stretched full-width.
   That matters: a mask maps to the ELEMENT box, so on a full-width element with
   object-fit: contain the gradient feathers empty letterbox and leaves the
   picture's real edges hard. Matching the box to the clip is what makes the
   feather land where the frame actually ends. */
.hero__stage video.hero__media,
.hero__stage img.hero__poster {
  position: relative;
  inset: auto;
  grid-row: 1;
  grid-column: 1;
  top: 0; left: 0;
  transform: none;
  height: 100%;
  /* Capped, not free. On a one-screen hero the clip and the words share the
     viewport, and an uncapped 1fr row eats the sub-line and the button - which
     is the only link out of the hero. */
  max-height: min(52svh, 520px);
  width: auto;
  max-width: min(86vw, 520px);
  /* A square window onto a 4:5 frame crops the dead black off the top and bottom
     of the plate, which is the only way to make the ring read large without a
     reshoot. */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 44%;
  -webkit-mask-image: radial-gradient(ellipse 58% 58% at 50% 48%,
    #000 46%, rgba(0,0,0,.9) 66%, rgba(0,0,0,.4) 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 58% at 50% 48%,
    #000 46%, rgba(0,0,0,.9) 66%, rgba(0,0,0,.4) 84%, transparent 100%);
}
/* The poster is only there to paint something during the first few hundred
   milliseconds. The video sits over it in the same grid cell. */
.hero__stage img.hero__poster { z-index: 0; }
.hero__stage video.hero__media { z-index: 1; }


.hero__copy {
  position: relative; z-index: 3;
  grid-row: 2;
  grid-column: 1;
  width: 100%;
  padding-inline: var(--gutter);
  text-align: center;
  padding-top: clamp(1.25rem, 3vh, 2.25rem);
  padding-bottom: clamp(2.5rem, 8vh, 5rem);
}
/* Browsers will break a word at its own hyphen, which split "semi-precious"
   across two lines on a phone. */
.nb { white-space: nowrap; }

.hero__title {
  /* The headline is a real sentence, not two short fragments, so it needs a
     step down from the display scale or the first line runs into the gutters. */
  font-size: clamp(1.9rem, 4.4vw + 0.5rem, 4.4rem);
  text-wrap: balance;
  font-weight: 200;
  color: var(--bone);
  text-shadow: 0 2px 30px rgba(0,0,0,.9);
}

/* The one orchestrated moment: on load the headline rises out of the waterline
   the way a ring rises out of its reflection. Not a scroll cue - a hero that is
   blank until you scroll is a blank first screen, and a blank first screen is a
   bounce. */
.hero__line {
  display: block;
  clip-path: inset(0 0 -0.25em 0);
}
.hero__line > span {
  display: inline-block;
  animation: rise-from-line 1100ms cubic-bezier(.16,.84,.3,1) both;
}
.hero__line:nth-child(2) > span { animation-delay: 140ms; }
.hero__sub, .hero__cta {
  animation: settle 900ms cubic-bezier(.16,.84,.3,1) both;
}
.hero__sub { animation-delay: 380ms; }
.hero__cta { animation-delay: 500ms; }

@keyframes rise-from-line {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(0.55rem); }
  to   { opacity: 1; transform: none; }
}
.hero__title em {
  font-style: normal;
  color: var(--gold-lit);
  font-variation-settings: var(--wonk-on), "opsz" 144;
}
.hero__sub {
  margin: 1.25rem auto 0;
  max-width: 40ch;
  color: var(--ash);
  font-size: var(--t-md);
  text-shadow: 0 2px 20px rgba(0,0,0,.9);
}
.hero__cta { margin-top: 2rem; }

.hero__scrim { display: none; }

/* --- story band ----------------------------------------------------------- */

.story { padding-block: var(--band); background: var(--ink); }

.story__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.story__body p { color: var(--ash); max-width: 52ch; font-size: var(--t-md); }
.story__body p + p { margin-top: 1.1rem; }
.story__body strong { color: var(--bone); font-weight: 500; }

/* Facts rest on the waterline - the structural device, used where the content
   really is a set of parallel claims rather than a sequence. */
.facts { display: grid; gap: 0; margin: 0; }
.facts div {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--hair-faint);
}
.facts div:last-child { border-bottom: 1px solid var(--hair-faint); }
.facts dt { font-size: var(--t-xs); letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; color: var(--bone); font-size: var(--t-base); }

/* --- shop grid ------------------------------------------------------------ */

.shop { padding-block: var(--band); background: var(--ink); }

/* A grid that follows a page heading already has the heading's own bottom
   space above it; a full band on top of that opens a hole the width of the
   page. Halve it in that one position. */
.page-head + .waterline + .shop { padding-top: clamp(2rem, 5vh, 3.5rem); }

.shop__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem;
  margin-bottom: 2rem;
}
.shop__head h2 { font-size: var(--t-xl); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button {
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--hair-faint);
  color: var(--ash);
  transition: color 150ms ease, border-color 150ms ease;
}
.filters button:hover { color: var(--bone); border-color: var(--hair); }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--gold-lit); border-color: var(--gold-lit); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  /* At 15rem only one tile fits a 390px phone, which turns 50 rings into a
     31,000px scroll. Two columns is the difference between browsing and
     giving up. */
  gap: clamp(1rem, 2.4vw, 2rem) clamp(0.75rem, 1.8vw, 1.5rem);
  list-style: none;
  margin: 0; padding: 0;
}

.card { position: relative; }
.card a { display: block; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-true);
  overflow: hidden;
}
.card__media img, .card__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.card__media video { opacity: 0; transition: opacity 300ms ease; }
.card:hover .card__media video,
.card:focus-within .card__media video { opacity: 1; }

/* The waterline again: the name rests on the plate edge below the ring. */
.card__line {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--hair-faint);
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  transition: border-color 200ms ease;
}
.card:hover .card__line { border-top-color: var(--gold); }

.card__name {
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 24;
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 0;
}
.card__price { font-size: var(--t-sm); color: var(--ash); white-space: nowrap; }
.card__style {
  margin: 0.2rem 0 0;
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.card[data-sold="true"] .card__media { opacity: 0.32; }
.card[data-sold="true"] .card__name { color: var(--ash); }
.badge-sold {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--ash);
  border: 1px solid var(--hair-faint);
  padding: 0.3rem 0.6rem;
}

.grid__empty { color: var(--ash); padding-block: 3rem; }

/* --- product page --------------------------------------------------------- */

.product { padding-top: 5.5rem; padding-bottom: var(--band); }

.crumbs { font-size: var(--t-sm); color: var(--ash); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--bone); }

.product__layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .product__layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .product__buy { position: sticky; top: 5.5rem; }
}

.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-true);
  overflow: hidden;
}
.gallery__main img, .gallery__main video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gallery__main video { display: none; }
.gallery__main[data-mode="video"] img { display: none; }
.gallery__main[data-mode="video"] video { display: block; }

.thumbs {
  display: flex; gap: 0.5rem; margin-top: 0.6rem;
  overflow-x: auto; padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
.thumbs button {
  flex: 0 0 auto;
  width: 4.5rem; aspect-ratio: 4/5;
  border: 1px solid transparent;
  background: var(--ink-true);
  padding: 0;
  transition: border-color 160ms ease, opacity 160ms ease;
  opacity: 0.6;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.thumbs .thumb-video { position: relative; }
.thumbs .thumb-video::after {
  content: "360°";
  position: absolute; inset: auto 0 0 0;
  font-size: 0.58rem; letter-spacing: 0.1em;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--gold-lit); padding: 0.15rem 0;
}

.product__style {
  color: var(--gold);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.product__name { font-size: var(--t-xl); font-weight: 300; }
.product__price {
  margin: 0.9rem 0 0;
  font-size: var(--t-lg);
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 48;
  font-weight: 400;
  color: var(--bone);
}
.product__price small {
  display: block; font-family: var(--text); font-size: var(--t-xs);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  margin-top: 0.35rem; font-weight: 500;
}
.product__line {
  margin: 1.4rem 0 0;
  color: var(--bone);
  font-size: var(--t-md);
  max-width: 40ch;
}

.buy-block { margin-top: 1.9rem; display: grid; gap: 0.75rem; }
.buy-note { font-size: var(--t-xs); color: var(--ash); text-align: center; margin: 0; }
.buy-alt { text-align: center; font-size: var(--t-sm); color: var(--ash); margin: 0; }
.buy-alt a { color: var(--gold-lit); border-bottom: 1px solid var(--hair); }
.buy-alt a:hover { border-bottom-color: var(--gold-lit); }

.spec { margin-top: 2.2rem; }
.spec details {
  border-top: 1px solid var(--hair-faint);
}
.spec details:last-of-type { border-bottom: 1px solid var(--hair-faint); }
.spec summary {
  cursor: pointer;
  padding-block: 1rem;
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after { content: "+"; color: var(--gold); font-size: 1.1rem; line-height: 1; }
.spec details[open] summary::after { content: "\2212"; }
.spec .spec__body { padding-bottom: 1.15rem; color: var(--ash); font-size: var(--t-sm); }
.spec .spec__body p { margin: 0 0 0.7rem; }
.spec .spec__body p:last-child { margin-bottom: 0; }

.more { padding-block: var(--band) 0; }
.more h2 { font-size: var(--t-lg); margin-bottom: 1.5rem; }

/* --- about ---------------------------------------------------------------- */

.page-head { padding-top: 7rem; padding-bottom: 1.5rem; }
.page-head h1 { font-size: var(--t-xl); }
.prose { padding-bottom: var(--band); }
.prose p { color: var(--ash); font-size: var(--t-md); }
.prose p + p { margin-top: 1.15rem; }
.prose h2 {
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 48;
  font-weight: 400;
  font-size: var(--t-lg);
  margin: 2.5rem 0 0.9rem;
  color: var(--bone);
}

/* --- footer --------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--hair-faint);
  padding-block: clamp(3rem, 7vh, 5rem);
  background: var(--ink);
}
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr)); }
}
.footer h2 {
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 48;
  font-weight: 400; font-size: var(--t-lg);
  margin: 0 0 0.7rem;
}
.footer p { color: var(--ash); font-size: var(--t-sm); max-width: 38ch; margin: 0 0 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer ul a { font-size: var(--t-sm); color: var(--ash); }
.footer ul a:hover { color: var(--bone); }
.footer__title {
  font-size: var(--t-xs); letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem;
}

.signup { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.signup input {
  flex: 1 1 12rem;
  background: var(--ink-raised);
  border: 1px solid var(--hair-faint);
  color: var(--bone);
  padding: 0.85rem 1rem;
  font: inherit; font-size: var(--t-sm);
}
.signup input::placeholder { color: var(--ash); }
.signup input:focus { border-color: var(--gold); outline: none; }
.signup button { padding-inline: 1.4rem; }

.colophon {
  margin-top: 2.8rem; padding-top: 1.4rem;
  border-top: 1px solid var(--hair-faint);
  display: flex; flex-wrap: wrap; gap: 0.9rem 1.75rem;
  align-items: center; justify-content: space-between;
  font-size: var(--t-xs); color: var(--ash);
}

/* --- motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* The card videos used to be display:none here. Removed 2026-09-04: Jerome's
     own laptop has animation effects off, so to him every spin looked broken -
     and hover is the visitor asking for motion anyway. Same call as site.js. */
}

/* Fraunces sets a swash ampersand by default. It is beautiful at display size
   and unreadable at 1rem, so colour names take the body face for that one
   character only. */
.amp {
  font-family: var(--text);
  font-weight: 400;
  font-size: 0.92em;
  color: var(--gold);
  padding-inline: 0.08em;
}

/* --- narrow screens -------------------------------------------------------- */

/* At 390px the wordmark's tracking pushes the last nav item off the edge. */
@media (max-width: 620px) {
  .masthead { padding-inline: 1rem; gap: 0.5rem; }
  /* The free-shipping promise. It rides in the masthead on anything wider than a
   phone; below that the masthead has no room, so .ship-line under the grid
   heading carries it instead. Both say the same words on purpose. */
.ship-note {
  margin: 0;
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.ship-line {
  margin: 0.85rem 0 0;
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--gold-lit, var(--gold));
}
@media (min-width: 701px) { .ship-line { display: none; } }
@media (max-width: 700px) { .ship-note { display: none; } }

.wordmark { font-size: 0.74rem; letter-spacing: 0.08em; }
  .nav { gap: 0.9rem; }
  .nav a { font-size: 0.8rem; letter-spacing: 0.02em; }
}
@media (max-width: 380px) {
  /* The free-shipping promise. It rides in the masthead on anything wider than a
   phone; below that the masthead has no room, so .ship-line under the grid
   heading carries it instead. Both say the same words on purpose. */
.ship-note {
  margin: 0;
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.ship-line {
  margin: 0.85rem 0 0;
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--gold-lit, var(--gold));
}
@media (min-width: 701px) { .ship-line { display: none; } }
@media (max-width: 700px) { .ship-note { display: none; } }

.wordmark { font-size: 0.68rem; letter-spacing: 0.05em; }
}

/* Grid and flex items default to min-width: auto, so a horizontally scrolling
   strip inside one refuses to shrink and widens the whole document instead -
   which on the product page dragged the fixed masthead out to 652px on a 390px
   screen. The strip scrolls; the column must not. */
.product__layout > * { min-width: 0; }
.gallery { min-width: 0; }
.thumbs { max-width: 100%; }

@media (max-width: 620px) {
  /* Density, asked for directly 2026-09-04: Jerome wants a phone to show a lot of
     rings at once, not two. The tile itself stays two-up - a 114px ring in a
     three-up grid is too small to want - so the room comes from everywhere else:

       - a SQUARE crop instead of 4:5. The ring sits in the upper middle of the
         frame with its reflection under it, so a square keeps the whole ring and
         a hint of reflection and loses only dead black. Worth ~42px a row.
       - the caption on ONE line, clipped rather than wrapped. It was reserving
         two lines for every name whether or not the name needed them.
       - the style label dropped. The filter buttons directly above already say
         Art Deco / Maximalist / Whimsical / Witchy.

     Together that is ~90px a row: about 7 rings on screen instead of 5. */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 0.55rem; }
  .card__media { aspect-ratio: 1 / 1; }
  .card__media img, .card__media video { object-position: 50% 40%; }
  .card__line { margin-top: 0.45rem; padding-top: 0.4rem; gap: 0.5rem; }
  .card__name {
    font-size: 0.88rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
  }
  .card__price { font-size: 0.78rem; }
  .card__style { display: none; }
  .shop__head { flex-direction: column; align-items: flex-start; }
  .filters { gap: 0.4rem; }
}

/* --- guarantee, product body, collection pages ---------------------------- */

/* Above the buy button on purpose. The diagnosed problem is perceived
   likelihood, not price - so the reassurance goes where the hesitation is. */
.guarantee {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--hair);
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  font-size: var(--t-sm);
  color: var(--bone);
  line-height: 1.5;
}
.guarantee strong { color: var(--gold-lit); font-weight: 600; }

.product__body { margin-top: 2.4rem; }
.product__body h2 {
  font-family: var(--display);
  font-variation-settings: var(--wonk-on), "opsz" 48;
  font-weight: 400;
  font-size: var(--t-lg);
  margin: 0 0 0.9rem;
  color: var(--bone);
}
.product__body p {
  color: var(--ash);
  font-size: var(--t-base);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 0 0.9rem;
}
.product__body p:last-child { margin-bottom: 0; }

.spec__body a { color: var(--gold-lit); border-bottom: 1px solid var(--hair); }
.spec__body a:hover { border-bottom-color: var(--gold-lit); }

.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.linklist a {
  font-size: var(--t-sm);
  color: var(--ash);
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.linklist a:hover { color: var(--bone); border-bottom-color: var(--gold); }

/* Guides read as documents, so they get a slightly longer measure than the
   product pages and real spacing between sections. */
.prose h2:first-of-type { margin-top: 0; }

/* The prose block is a shell, so capping IT at 62ch centred the whole column and
   left the page heading hanging out on its own over a third of empty page. Cap
   the lines instead of the container and the copy sits under its own title. */
.shell.prose { max-width: var(--maxw); }
.shell.prose > * { max-width: 62ch; }
