/* ==========================================================================
   AF Corals — v3. Everything is seen through the viewer.
   Navy ground, white, coral. Pieces floating in the dark.
   ========================================================================== */

:root {
  --bg: #0e1a26;
  --bg-2: #122130;
  --ivory: #f6f4ef;
  --ivory-2: #b7bfc9;
  --ivory-3: #6d7a8a;
  --blue: #f4745c;   /* the logo's coral - accent */
  --navy: #2c4c64;   /* the logo's navy */
  --blue-2: rgba(242,121,91,.35);
  --line: rgba(242,237,228,.08);
  --line-2: rgba(242,237,228,.16);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(22px, 5vw, 80px);
  --ease: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; overscroll-behavior-x: none; }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blue); color: var(--bg); }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.caps { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2); }
.caps i { font-style: normal; color: var(--blue); }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- intro: the logo draws in ------------------------------------------- */
.veil {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease), visibility 0s .9s;
}
.veil.is-done { opacity: 0; visibility: hidden; }
.veil__logo { --w: min(360px, 66vw); width: var(--w); display: grid; justify-items: center; gap: calc(var(--w) * .05); transition: transform 1.2s var(--ease); }
.veil.is-done .veil__logo { transform: scale(1.05); }
.veil__mark { position: relative; width: 93%; }
.veil__mark img, .veil__word { width: 100%; height: auto; }
.veil__wave { position: absolute; inset: 0; }
/* the letters settle, the wave sweeps through the gap left for it, the name lands */
.veil__letters { opacity: 0; transform: translateY(14px); filter: blur(8px); animation: logoIn 1s var(--ease) .15s forwards; }
.veil__wave { clip-path: inset(0 100% 0 0); animation: waveIn 1.15s cubic-bezier(.65,0,.35,1) .65s forwards; }
.veil__word { opacity: 0; transform: translateY(10px); animation: logoIn 1s var(--ease) 1.1s forwards; }
@keyframes logoIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes waveIn { to { clip-path: inset(0 0 0 0); } }
@keyframes fade { to { opacity: 1; } }

/* --- nav ----------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 24px var(--gutter); transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(14,25,38,.7); backdrop-filter: blur(14px); padding: 14px var(--gutter); border-color: var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; text-decoration: none; transition: opacity .25s; }
.nav__brand:hover { opacity: .85; }
.nav__mark { height: 32px; width: auto; }
.nav__word { height: 10.5px; width: auto; }
.nav__links { display: flex; gap: 40px; justify-self: center; }
.nav__links a, .nav__cart { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ivory-2); transition: color .25s; }
.nav__links a:hover, .nav__cart:hover { color: var(--ivory); }
.nav__cart { justify-self: end; display: inline-flex; gap: 10px; align-items: baseline; }
.nav__count { font-family: var(--serif); font-size: 15px; color: var(--blue); letter-spacing: 0; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory);
  padding: 18px 0; position: relative; will-change: transform;
}
.btn i { width: 34px; height: 1px; background: var(--blue); transition: width .5s var(--ease); }
.btn:hover i { width: 56px; }
.btn--line { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

/* --- the card ------------------------------------------------------------- */
/* A piece as a tall rounded card. The photo fills it; the name and price sit
   on a frosted panel inside the bottom edge; the coral's own colours glow
   underneath. On hover the card lifts and tilts toward the pointer, a sheen
   crosses the glass, and "View this piece" opens in the panel. */
.card { position: relative; display: grid; gap: 14px; text-decoration: none; color: inherit; isolation: isolate; --rx: 0deg; --ry: 0deg; }
.card__link { position: relative; display: block; text-decoration: none; color: inherit; isolation: isolate; }
.card__glow {
  position: absolute; left: 10%; top: 14%; width: 80%; height: 86%; z-index: -1; object-fit: cover; border-radius: 40px; pointer-events: none;
  filter: blur(46px) saturate(1.7); opacity: .16; transform: translateY(6%) scale(.92);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.card:hover .card__glow { opacity: .5; transform: translateY(9%) scale(1); }
.card__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #05080c;
  clip-path: inset(0 round 26px);   /* overflow alone leaks at the corners once the card is tilted in 3D */
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 28px 60px -34px rgba(0,0,0,.85);
  transition: transform .6s var(--ease), box-shadow .8s var(--ease);
}
.card:hover .card__frame { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px); box-shadow: 0 40px 80px -36px rgba(0,0,0,.9); }
.card.is-tilting .card__frame { transition: transform .15s ease-out, box-shadow .8s var(--ease); }
/* hairline that warms to coral on hover */
.card__frame::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; border: 1px solid rgba(246,244,239,.1); transition: border-color .6s var(--ease); }
.card:hover .card__frame::before { border-color: rgba(244,116,92,.55); }
/* a sheen that crosses once per hover */
.card__frame::after {
  content: ""; position: absolute; inset: -30%; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.13) 50%, transparent 58%);
  transform: translateX(-70%); transition: transform 0s;
}
.card:hover .card__frame::after { transform: translateX(70%); transition: transform 1.3s var(--ease); }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 1.6s var(--ease), filter .6s; }
.card:hover .card__img { transform: scale(1.09); }
.card__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2; padding: 8px 12px 7px; border-radius: 999px; font-size: 10px; color: var(--ivory);
  background: rgba(10,18,28,.5); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(246,244,239,.14);
}
.card__tag--out { color: var(--blue); }
.card__panel {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: grid; gap: 7px; padding: 15px 17px 14px; border-radius: 18px;
  background: linear-gradient(to bottom, rgba(12,22,33,.5), rgba(12,22,33,.66));
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(246,244,239,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.card__name { margin: 0; font-size: clamp(21px, 1.75vw, 27px); line-height: 1.04; }
.card__price { font-size: 15px; color: var(--ivory); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__meta { color: var(--ivory-2); font-size: 10px; }
.card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.card__more > span { overflow: hidden; display: flex; align-items: center; gap: 12px; color: var(--blue); opacity: 0; transition: opacity .4s var(--ease), padding .55s var(--ease); }
.card__more > span::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.card:hover .card__more { grid-template-rows: 1fr; }
.card:hover .card__more > span { opacity: 1; padding-top: 7px; }
.card:hover .card__more > span::after { width: 40px; }
.card.is-out .card__img { filter: saturate(.3) brightness(.6); }
.card.is-out .card__meta span:last-child { color: var(--blue); }

/* --- hero ------------------------------------------------------------------ */
/* One photograph, full bleed. The two words sit in the open water either
   side of the coral; the picture breathes slowly and settles in on load. */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: 1fr auto; }
.hero__photo { position: absolute; inset: 0; z-index: -4; opacity: 0; transition: opacity 1.6s var(--ease); }
body.is-ready .hero__photo { opacity: 1; }
.hero__slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 2.2s cubic-bezier(.45,0,.2,1); }
.hero__slide.is-on { opacity: 1; z-index: 2; }
.hero__slide.is-out { opacity: 1; z-index: 1; transition: none; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.06); }
/* the zoom keeps running while a slide fades out (.is-out), so nothing snaps */
.hero__slide.is-on img, .hero__slide.is-out img { animation: kenburns 11s cubic-bezier(.25,.6,.3,1) forwards; }
body:not(.is-ready) .hero__slide img { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Caustics over the water, kept off the coral. Rendered at half size and
   scaled up: cheaper, and softer, which is the point. */
.hero__water {
  position: absolute; left: 0; top: 0; width: 50%; height: 50%; z-index: -3;
  transform: scale(2); transform-origin: 0 0; pointer-events: none;
  opacity: .16; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 34% 44% at 44% 50%, transparent 55%, rgba(0,0,0,.6) 80%, #000 100%);
          mask-image: radial-gradient(ellipse 34% 44% at 44% 50%, transparent 55%, rgba(0,0,0,.6) 80%, #000 100%);
  animation: waterdrift 40s ease-in-out infinite alternate;
}
@keyframes waterdrift { from { transform: scale(2) translate3d(0,0,0); } to { transform: scale(2.08) translate3d(-2%, -1.5%, 0); } }

/* Shade: the picture's own blue is brighter than the page, so the edges are
   drawn down into the navy. Top for the nav, bottom to meet the page, and a
   soft darkening under where the words sit. */
.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 38% at 16% 26%, rgba(14,26,38,.42), rgba(14,26,38,0) 100%),
    radial-gradient(42% 34% at 84% 74%, rgba(14,26,38,.42), rgba(14,26,38,0) 100%),
    linear-gradient(to bottom, rgba(14,26,38,.62), rgba(14,26,38,0) 24%, rgba(14,26,38,0) 58%, rgba(14,26,38,.78) 86%, var(--bg)),
    linear-gradient(to right, rgba(14,26,38,.45), rgba(14,26,38,0) 32%, rgba(14,26,38,0) 68%, rgba(14,26,38,.45)),
    radial-gradient(70% 60% at 44% 48%, rgba(14,26,38,0) 40%, rgba(14,26,38,.22) 100%);
}

.hero__stage { position: relative; }
.hero__word {
  position: absolute; z-index: 3; font-family: var(--serif); font-weight: 400; line-height: .85; letter-spacing: -.02em;
  font-size: clamp(84px, 13.5vw, 210px); color: var(--ivory); pointer-events: none; white-space: nowrap;
  text-shadow: 0 2px 40px rgba(8,14,22,.45);
  opacity: 0; transform: translateY(22px); transition: opacity 1.3s var(--ease) .5s, transform 1.3s var(--ease) .5s;
}
.hero__word--a { left: var(--gutter); top: clamp(120px, 17vh, 190px); }
.hero__word--b { right: var(--gutter); bottom: 2vh; }
body.is-ready .hero__word { opacity: 1; transform: none; }
body.is-ready .hero__word--b { transition-delay: .7s; }

.hero__foot {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
  padding: 44px var(--gutter) clamp(40px, 6vh, 64px);
  opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease) 1s, transform 1s var(--ease) 1s;
}
body.is-ready .hero__foot { opacity: 1; transform: none; }
.hero__meta { display: grid; gap: 8px; margin: 0; color: var(--ivory-3); overflow: hidden; }
.hero__meta > * { display: block; animation: metaIn .8s cubic-bezier(.16,1,.3,1) both; }
.hero__meta > :nth-child(2) { animation-delay: .07s; }
.hero__meta > :nth-child(3) { animation-delay: .14s; }
.hero__meta.is-swapping > * { animation: metaOut .38s cubic-bezier(.5,0,.75,0) both; }
.hero__meta.is-swapping > :nth-child(2) { animation-delay: .04s; }
.hero__meta.is-swapping > :nth-child(3) { animation-delay: .08s; }
@keyframes metaIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes metaOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-10px); } }
.hero__meta span:first-child { color: var(--blue); }
.hero__meta span:nth-child(2) { color: var(--ivory); }
.hero__meta a { color: var(--ivory-2); text-decoration: none; transition: color .25s; }
.hero__meta a:hover { color: var(--ivory); }
.hero__foot .btn { justify-self: end; }


/* --- where it's grown: the rack on video ----------------------------------- */
.manifesto { padding: clamp(110px, 16vh, 200px) 0; }
.system { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
/* the clip stays in view while the three steps go by */
.system__media { position: sticky; top: 110px; }
.system__media { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.system__media.in { opacity: 1; transform: none; }
.system__rack { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; clip-path: inset(0 round 28px); background: #0a1630 url("assets/coral/system-poster.jpg") center / cover;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.9); }
.system__rack video { width: 100%; height: 100%; object-fit: cover; }
.system__rack::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(246,244,239,.08);
  background: linear-gradient(180deg, rgba(7,12,19,.45), transparent 26%, transparent 70%, rgba(7,12,19,.35)); }
.system__chip {
  position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px 7px; border-radius: 999px;
  font-size: 9.5px; color: var(--ivory); background: rgba(14,26,38,.5); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(246,244,239,.12);
}
.system__chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(244,116,92,.2); }

.system__copy { display: grid; gap: 30px; padding-top: 8px; }
.system__copy .steps { margin-top: 6px; }
.system__copy .steps li { padding: 28px 0; }
.system__kicker { margin: 0; color: var(--blue); }
.manifesto__lead { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -.015em; margin: 0; color: var(--ivory-3); }
.manifesto__lead .w { display: inline-block; transition: color .8s var(--ease); }
.manifesto__lead .w.on { color: var(--ivory); }
.manifesto__body { margin: 0; color: var(--ivory-2); font-size: 16px; line-height: 1.7; max-width: 50ch; }
.system__copy .btn { justify-self: start; }

@media (max-width: 999px) {
  .system { grid-template-columns: 1fr; gap: 56px; }
  .system__media { position: relative; top: auto; width: min(100%, 560px); justify-self: center; }
}
@media (max-width: 720px) {
  .system__rack { border-radius: 24px; clip-path: inset(0 round 24px); }
}
@media (prefers-reduced-motion: reduce) { .system__media { opacity: 1; transform: none; transition: none; } }

/* --- collection ----------------------------------------------------------- */
.collection { padding: 0 0 clamp(100px, 14vh, 180px); }
.collection__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 28px; margin-bottom: clamp(48px, 7vh, 88px); border-bottom: 1px solid var(--line-2); }
.collection__head h2 { font-size: clamp(40px, 5vw, 72px); margin: 0; }

.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pieces > .card:nth-child(3n+2), .catalog > .card:nth-child(3n+2), .more__grid > .card:nth-child(3n+2) { transition-delay: .08s; }
.pieces > .card:nth-child(3n+3), .catalog > .card:nth-child(3n+3), .more__grid > .card:nth-child(3n+3) { transition-delay: .16s; }
.card.in:hover { transition-delay: 0s; }
.collection__more { display: flex; justify-content: center; margin-top: clamp(64px, 9vh, 110px); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* --- three steps (inside the frag system section) ---------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 24px; padding: 34px 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.steps__n { color: var(--blue); padding-top: 8px; font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.steps h3 { grid-column: 2; font-size: 28px; margin: 0; }
.steps p { grid-column: 2; margin: 0; color: var(--ivory-2); max-width: 48ch; }
.steps p em { color: var(--ivory); }

/* --- closing -------------------------------------------------------------- */
.closing { padding: clamp(120px, 18vh, 240px) 0; text-align: center; }
.closing__inner { display: grid; gap: 40px; justify-items: center; }
.closing__line { font-size: clamp(40px, 6vw, 96px); line-height: 1.02; margin: 0; }
.closing__line em { color: var(--blue); }

/* --- footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer__brand { display: block; line-height: 0; justify-self: start; }
.footer__logo { width: 148px; height: auto; }
.footer__links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: var(--ivory-3); transition: color .25s; }
.footer__links a:hover { color: var(--ivory); }
.footer__meta { color: var(--ivory-3); }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 999px) {
  .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__foot .btn { justify-self: start; }
}
@media (max-width: 720px) {
  /* phones: two small cards across on the homepage */
  .pieces { gap: 12px; }
  .pieces .card__frame { border-radius: 18px; clip-path: inset(0 round 18px); }
  .pieces .card__panel { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px 9px; border-radius: 12px; gap: 0; }
  .pieces .card__row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pieces .card__name { font-size: 15px; }
  .pieces .card__price { font-size: 12px; color: var(--ivory-2); }
  .pieces .card__meta { display: none; }
  .pieces .card__tag { left: 8px; top: 8px; padding: 5px 8px 4px; font-size: 8px; }
  .card__more { display: none; }
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto auto; gap: 18px; }
  .nav__mark { height: 26px; }
  .nav__word { height: 8.5px; }
  .nav__brand { gap: 11px; }
  .footer__brand { justify-self: center; }
  /* phones: the portrait crop, "Grown in" up top, "Detroit." low right */
  .hero__slide.has-phone img { object-position: 50% 42%; }
  .hero__water { display: none; }
  .hero__shade { background:
    linear-gradient(to bottom, rgba(14,26,38,.55), rgba(14,26,38,0) 22%, rgba(14,26,38,0) 50%, rgba(14,26,38,.85) 80%, var(--bg)); }
  .hero__word { font-size: clamp(64px, 21vw, 116px); text-shadow: 0 2px 28px rgba(8,14,22,.6); }
  .hero__word--a { top: 96px; }
  .hero__word--b { bottom: 0; }
  .hero__meta { display: none; }
  .hero__foot { padding-top: 30px; gap: 22px; }
  .hero__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; min-height: 16px; }
  .hero__meta > :nth-child(3) { display: none; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__water, .hero__slide img, .hero__fill, .hero__meta > * { animation: none !important; }
  .card__frame, .card__img, .card__frame::after { transition: none !important; transform: none !important; }
  .hero__water { display: none; }
  .veil { display: none; }
  body:not(.is-ready) .hero__word, body:not(.is-ready) .hero__foot, body:not(.is-ready) .hero__photo { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Piece page
   ========================================================================== */
.page-piece .nav { position: sticky; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 6px; }
.qty { display: inline-grid; grid-template-columns: 44px 56px 44px; border: 1px solid var(--line-2); }
.qty__btn { background: none; border: 0; color: var(--ivory); font-size: 18px; cursor: pointer; transition: color .2s; }
.qty__btn:disabled { color: var(--ivory-3); cursor: default; }
.qty__input { background: none; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); color: var(--ivory); text-align: center; font: 500 14px var(--sans); -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy__btn {
  position: relative; border: 0; cursor: pointer; background: var(--blue); color: #1a0f0b;
  font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; min-height: 54px;
  transition: filter .2s, transform .2s var(--ease);
}
.buy__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.buy__btn .buy__done { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.buy.is-done .buy__label { opacity: 0; } .buy.is-done .buy__done { opacity: 1; }

.piece-page { position: relative; padding-top: clamp(28px, 4vh, 48px); isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: clamp(28px, 4.5vh, 52px); color: var(--ivory-3); }
.crumbs a { text-decoration: none; color: var(--ivory-2); transition: color .2s; }
.crumbs a:hover { color: var(--ivory); }
.crumbs span:last-child { color: var(--ivory); }

/* the coral's own colour washes the top of the page */
.pp-glow { position: absolute; inset: -120px 0 auto; height: 1100px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.pp-glow img { width: 100%; height: 100%; object-fit: cover; filter: blur(90px) saturate(1.3); opacity: 0; transform: scale(1.2); }
.pp-glow img[src] { animation: glowIn 1.8s var(--ease) .1s forwards; }
@keyframes glowIn { to { opacity: .2; } }

.pp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.pp__media { position: sticky; top: 100px; display: grid; }

/* the photo: a tall rounded card, crisp edges, its colour glowing underneath */
.pp__stage { position: relative; margin: 0; width: min(100%, calc((100vh - 200px) * var(--r))); justify-self: center; }
.pp__shade { position: absolute; left: 6%; top: 8%; width: 88%; height: 96%; object-fit: cover; filter: blur(48px) saturate(1.4); opacity: .55; z-index: -1; border-radius: 40px; }
.pp__frame {
  position: relative; aspect-ratio: var(--r); border-radius: 28px; overflow: hidden; background: #070c13;
  clip-path: inset(0 round 28px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  animation: stageIn 1.3s cubic-bezier(.2,.8,.2,1) both; cursor: zoom-in;
}
@keyframes stageIn { from { clip-path: inset(18% 0 0 round 28px); opacity: 0; transform: translateY(30px); } to { clip-path: inset(0 round 28px); opacity: 1; transform: none; } }
.pp__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .7s cubic-bezier(.2,.8,.2,1); animation: imgIn 1.8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes imgIn { from { transform: scale(1.14); } }
.pp__frame.is-zoom { cursor: zoom-out; }
.pp__frame.is-zoom .pp__img { transform: scale(var(--z, 1)); }
.pp__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(246,244,239,.08);
  background: linear-gradient(180deg, rgba(7,12,19,.35), transparent 22%, transparent 72%, rgba(7,12,19,.5)); transition: opacity .5s; }
.pp__frame.is-zoom::after { opacity: 0; }
.pp__chip {
  position: absolute; z-index: 2; padding: 8px 13px 7px; border-radius: 999px; font-size: 9.5px; color: var(--ivory);
  background: rgba(14,26,38,.5); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(246,244,239,.12); transition: opacity .4s;
}
.pp__chip--tag { left: 16px; top: 16px; }
.pp__chip--shot { left: 16px; bottom: 16px; color: var(--ivory-2); }
.pp__hint { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px;
  font-size: 9.5px; color: var(--ivory); background: rgba(14,26,38,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(246,244,239,.12); transition: opacity .4s; }
.pp__hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.pp__hint b { font-weight: 500; }
.pp__hint-touch { display: none; }
@media (pointer: coarse) { .pp__hint-fine { display: none; } .pp__hint-touch { display: inline; } }
.pp__frame.is-zoom .pp__chip, .pp__frame.is-zoom .pp__hint { opacity: 0; }

/* the details */
.pp__info { display: grid; gap: 24px; padding-top: 6px; max-width: 540px; }
.pp__info > * { animation: infoIn 1s var(--ease) both; }
.pp__info > :nth-child(2) { animation-delay: .08s; } .pp__info > :nth-child(3) { animation-delay: .14s; }
.pp__info > :nth-child(4) { animation-delay: .2s; } .pp__info > :nth-child(5) { animation-delay: .24s; }
.pp__info > :nth-child(n+6) { animation-delay: .3s; }
@keyframes infoIn { from { opacity: 0; transform: translateY(18px); } }
.pp__kicker { display: flex; gap: 18px; margin: 0; color: var(--ivory-3); }
.pp__kicker a { color: var(--blue); text-decoration: none; }
.pp__title { font-size: clamp(44px, 5vw, 76px); margin: 0; line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.pp__price { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pp__price .serif { font-size: 44px; line-height: 1; }
.pp__stock { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 7px; border-radius: 999px; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-2); }
.pp__stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(244,116,92,.18); }
.pp__stock.is-out { color: var(--ivory-3); }
.pp__stock.is-out i { background: var(--ivory-3); box-shadow: none; }
.pp__desc { margin: 0; color: var(--ivory); font-size: 17px; line-height: 1.65; }
.pp__note { margin: -8px 0 0; color: var(--ivory-3); font-size: 14px; line-height: 1.6; }

/* add to cart: pills, the same as the collection cards */
.pp__buy { grid-template-columns: auto 1fr; gap: 10px; margin-top: 4px; }
.pp__buy .qty { grid-template-columns: 46px 44px 46px; border-radius: 999px; overflow: hidden; background: rgba(246,244,239,.03); min-height: 58px; }
.pp__buy .qty__input { border: 0; }
.pp__buy .buy__btn { border-radius: 999px; min-height: 58px; overflow: hidden; font-size: 11.5px; }
.buy__btn:disabled { background: transparent; color: var(--ivory-3); box-shadow: inset 0 0 0 1px var(--line-2); cursor: default; transform: none; filter: none; }
.pp__ship { margin: -8px 0 0; color: var(--ivory-3); text-align: center; }

/* care: small tiles with line drawings */
.care { display: grid; gap: 14px; margin-top: 10px; }
.care__title { margin: 0; color: var(--ivory-3); }
.care__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.care__tile { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 3px; align-items: center; padding: 15px 16px; border-radius: 18px;
  background: rgba(246,244,239,.03); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.care__tile:hover { background: rgba(246,244,239,.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.care__tile svg { grid-row: 1 / 3; width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.care__tile dt { font-size: 9.5px; color: var(--ivory-3); }
.care__tile dd { margin: 0; font-size: 14.5px; color: var(--ivory); line-height: 1.35; }

.promise { list-style: none; margin: 6px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.promise li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--ivory-2); font-size: 14px; line-height: 1.55; }
.promise svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.promise b { font-weight: 500; color: var(--ivory); }

/* phones: add to cart rides along the bottom once the main button is gone */
.pp-bar { display: none; }
@media (max-width: 720px) {
  .pp-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 22px;
    background: rgba(14,26,38,.78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(246,244,239,.1);
    transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .pp-bar.is-on { transform: none; }
  .pp-bar img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
  .pp-bar__text { display: grid; min-width: 0; line-height: 1.25; }
  .pp-bar__text b { font-weight: 400; font-size: 17px; line-height: 1.3; padding-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pp-bar__text span { font-size: 13px; color: var(--ivory-2); }
  .pp-bar .buy__btn { border-radius: 16px; min-height: 48px; padding: 0 18px; font-size: 10.5px; }
  .pp-bar.is-done .buy__label { opacity: 0; }
  .pp-bar.is-done .buy__done { opacity: 1; }
}

.nav__count.is-live { color: var(--ivory); background: var(--blue); border-radius: 999px; padding: 1px 7px; font-size: 12px; font-family: var(--sans); font-weight: 500; }

.more { padding: clamp(96px, 14vh, 160px) 0 clamp(80px, 10vh, 120px); }
.more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.link-caps { color: var(--ivory-2); text-decoration: none; }
.link-caps:hover { color: var(--ivory); }

@media (max-width: 999px) {
  .pp { grid-template-columns: 1fr; gap: 36px; }
  .pp__media { position: static; }
  .pp__stage { width: min(100%, 560px); }
  .pp__info { max-width: none; }
  .more__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pp__stage { width: 100%; }
  .pp__frame { aspect-ratio: 4 / 5; border-radius: 24px; clip-path: inset(0 round 24px); }
  .pp__hint { padding: 0; width: 36px; height: 36px; justify-content: center; }
  .pp__hint b { display: none !important; }
  .pp__hint svg { width: 17px; height: 17px; }
  .pp__title { font-size: clamp(40px, 12vw, 56px); }
  .pp__price .serif { font-size: 38px; }
  .pp__buy { grid-template-columns: 1fr; }
  .pp__buy .qty { justify-self: stretch; width: auto; grid-template-columns: 1fr 1fr 1fr; }
  .care__tile { grid-template-columns: 1fr; padding: 14px; }
  .care__tile svg { grid-row: auto; margin-bottom: 6px; }
  .more__grid { grid-template-columns: 1fr; }
  .page-piece .footer { padding-bottom: 100px; }
}

/* ==========================================================================
   Cart page
   ========================================================================== */
[hidden] { display: none !important; }
.cart-page { padding-top: clamp(28px, 4vh, 48px); min-height: 60vh; }
.cart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 24px; margin-bottom: clamp(32px, 5vh, 56px); border-bottom: 1px solid var(--line-2); }
.cart__head h1 { font-size: clamp(40px, 5vw, 72px); margin: 0; }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(40px, 6vw, 96px); align-items: start; padding-bottom: clamp(96px, 14vh, 160px); }

.line {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line-2);
}
.line:first-child { border-top: 1px solid var(--line-2); }
.line__media { width: 96px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #000; display: block; }
.line__media img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: grid; gap: 6px; }
.line__no { color: var(--ivory-3); }
.line__info h2 { font-size: 24px; margin: 0; }
.line__info h2 a { text-decoration: none; }
.line__each { font-size: 13px; color: var(--ivory-2); }
.line__total { font-size: 24px; min-width: 72px; text-align: right; }
.line__remove { background: none; border: 0; cursor: pointer; color: var(--ivory-3); padding: 8px 0; transition: color .2s; }
.line__remove:hover { color: var(--blue); }

.cart__summary { position: sticky; top: 110px; display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line-2); }
.sum { margin: 0; display: grid; gap: 14px; }
.sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: var(--ivory-2); }
.sum dd { margin: 0; color: var(--ivory); }
.sum__total { padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--ivory) !important; }
.sum__total dd { font-size: 30px; }
.cart__checkout { display: grid; place-items: center; text-decoration: none; }
.cart__note { margin: 0; color: var(--ivory-2); line-height: 1.7; }
.cart__note--dim { color: var(--ivory-3); }

.cart__empty { grid-column: 1 / -1; display: grid; gap: 28px; justify-items: start; padding: clamp(40px, 8vh, 96px) 0; }
.cart__empty-line { font-size: clamp(32px, 4vw, 56px); margin: 0; color: var(--ivory-2); }

@media (max-width: 999px) {
  .cart { grid-template-columns: 1fr; }
  .cart__summary { position: static; }
}
@media (max-width: 720px) {
  .line { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "media info" "qty qty" "total remove"; }
  .line__media { grid-area: media; width: 72px; }
  .line__info { grid-area: info; }
  .line .qty { grid-area: qty; }
  .line__total { grid-area: total; text-align: left; }
  .line__remove { grid-area: remove; justify-self: end; }
}

/* ==========================================================================
   Collection page
   ========================================================================== */
.collection-page { padding-top: clamp(28px, 4vh, 48px); }
.collection-page .collection__head { align-items: flex-end; }
.collection-page .collection__head h1 { font-size: clamp(48px, 6vw, 88px); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: -24px 0 clamp(56px, 8vh, 96px); }
.filters button { background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--ivory-3); position: relative; transition: color .25s; }
.filters button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--blue); transition: right .5s var(--ease); }
.filters button:hover, .filters button.is-on { color: var(--ivory); }
.filters button.is-on::after { right: 0; }

.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.catalog .card[hidden] { display: none; }
/* under each collection card: a rounded stepper and a rounded add button */
.card__buy { grid-template-columns: auto 1fr; gap: 8px; margin: 0; padding: 0 4px; }
.card__buy .qty { grid-template-columns: 40px 40px 40px; border-radius: 999px; overflow: hidden; background: rgba(246,244,239,.03); }
.card__buy .qty__input { border: 0; }
.card__buy .buy__btn { padding: 0 16px; min-width: 0; border-radius: 999px; overflow: hidden; }
.card__buy .buy__btn:disabled { background: transparent; color: var(--ivory-3); box-shadow: inset 0 0 0 1px var(--line-2); cursor: default; }
.card__buy .buy__btn:disabled:hover { transform: none; filter: none; }

@media (max-width: 999px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .catalog { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Info pages (shipping, contact)
   ========================================================================== */
.info { padding: clamp(28px, 4vh, 48px) 0 clamp(96px, 14vh, 160px); }
.info__eyebrow { color: var(--blue); margin: 0 0 22px; }
.info__head { display: grid; gap: 26px; max-width: 900px; padding-bottom: clamp(48px, 7vh, 88px); margin-bottom: clamp(48px, 7vh, 88px); border-bottom: 1px solid var(--line-2); }
.info__head h1, .contact__side h1 { font-size: clamp(48px, 6.4vw, 96px); margin: 0; line-height: 1; }
.info__head h1 em, .contact__side h1 em { color: var(--blue); }
.info__lede { margin: 0; color: var(--ivory-2); font-size: 17px; line-height: 1.7; max-width: 52ch; }

.info__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); padding: clamp(48px, 7vh, 80px) 0; border-bottom: 1px solid var(--line-2); }
.info__row:last-of-type { border-bottom: 0; }
.info__title { font-size: clamp(30px, 3.2vw, 44px); margin: 0; position: sticky; top: 110px; }
.info__body { display: grid; gap: 22px; max-width: 60ch; }
.info__body p { margin: 0; color: var(--ivory-2); font-size: 16px; line-height: 1.75; }
.info__body .info__big { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -.01em; color: var(--ivory) !important; }
.info__fact { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); color: var(--ivory) !important; }
.info__fact span:last-child { color: var(--blue); }
.info__exact { color: var(--blue); font-style: italic; }
.info__steps { max-width: 640px; }
.info__steps li:first-child { border-top: 0; padding-top: 0; }
.info__steps li:last-child { border-bottom: 0; }
.info__cta { display: flex; align-items: center; gap: 40px; padding-top: clamp(48px, 7vh, 80px); border-top: 1px solid var(--line-2); }

/* the week, with ship days lit */
.days { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 560px; }
.days li { display: grid; gap: 10px; justify-items: center; padding: 18px 0 16px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--ivory-3); }
.days li .serif { font-size: 26px; }
.days li.is-on { border-color: var(--blue); color: var(--ivory); }
.days li.is-on .caps { color: var(--blue); }

/* questions */
.faq { display: grid; border-top: 1px solid var(--line-2); max-width: 640px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 24px; color: var(--ivory-2); transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 26px; color: var(--blue); transition: transform .5s var(--ease); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq details > p { transform-origin: 0 0; }
.faq summary:hover, .faq details[open] summary { color: var(--ivory); }
.faq p { margin: 0; padding: 0 0 26px; color: var(--ivory-2); font-size: 16px; line-height: 1.75; max-width: 56ch; }

/* --- contact --- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact__side { display: grid; gap: 28px; position: sticky; top: 110px; }
.contact__details { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line-2); }
.contact__details > div { padding: 18px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 8px; }
.contact__details dt { color: var(--ivory-3); }
.contact__details dd { margin: 0; font-size: 16px; color: var(--ivory); line-height: 1.5; }
.contact__details a { text-decoration: none; }
.contact__details a:hover { color: var(--blue); }
.contact__dim { color: var(--ivory-3); font-size: 13px; }
.field label .contact__dim { font-size: inherit; letter-spacing: inherit; }

.cform { display: grid; gap: 30px; padding-top: 12px; }
.field { display: grid; gap: 10px; }
.field label { color: var(--ivory-3); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  color: var(--ivory); font: 300 17px/1.5 var(--sans); padding: 10px 0 12px; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d7a8a' stroke-width='1.2'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { background: var(--bg-2); color: var(--ivory); }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--blue); }
.field .is-bad { border-bottom-color: var(--blue); }
.cform__error { margin: -12px 0 0; color: var(--blue); }
.cform__btn { justify-self: start; min-width: 200px; }
.cform__note { margin: -8px 0 0; color: var(--ivory-3); }

@media (max-width: 999px) {
  .info__row { grid-template-columns: 1fr; gap: 28px; }
  .info__title { position: static; }
  .contact { grid-template-columns: 1fr; }
  .contact__side { position: static; }
}
@media (max-width: 720px) {
  .days { gap: 4px; }
  .days li .serif { font-size: 18px; }
  .days li .caps { font-size: 9px; }
  .contact__details { grid-template-columns: 1fr; }
  .info__cta { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
/* the room: a blurred, faint copy of the photo you're looking at, so the page
   takes on its colour */
.room { position: fixed; inset: -12%; z-index: -1; pointer-events: none; }
.room img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(80px) saturate(1.6); transform: scale(1.1); opacity: 0; transition: opacity 1.8s var(--ease);
}
.room img.is-on { opacity: .2; }
.room::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(14,26,38,0), rgba(14,26,38,.75)); }

.gallery-page { position: relative; padding: clamp(40px, 7vh, 88px) 0 clamp(90px, 13vh, 170px); }
.gallery__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px 64px; align-items: end;
  margin-bottom: clamp(40px, 6vh, 72px);
}
.gallery__titles { display: grid; gap: 22px; }
.gallery__kicker { margin: 0; color: var(--blue); opacity: 0; animation: fade 1s var(--ease) .15s forwards; }
.gallery__title { margin: 0; font-size: clamp(64px, 10vw, 156px); line-height: .9; letter-spacing: -.025em; }
.gallery__title em { color: var(--blue); }
/* each word rises out from behind its own line */
/* the words rise out of a slot; the slot is cut only along the bottom, so italic
   overhang and descenders (the y in gallery) are never clipped */
.rise { display: inline-block; padding-bottom: .22em; margin-bottom: -.22em; vertical-align: bottom; clip-path: inset(-.5em -.5em 0 -.5em); }
.rise > * { display: inline-block; transform: translateY(125%); animation: rise 1.2s var(--ease) .2s forwards; }
.rise + .rise > * { animation-delay: .32s; }
@keyframes rise { to { transform: none; } }
.gallery__side { display: grid; gap: 22px; justify-items: start; justify-self: end; align-self: end; padding-bottom: 14px; opacity: 0; transform: translateY(12px); animation: settle 1s var(--ease) .55s forwards; }
@keyframes settle { to { opacity: 1; transform: none; } }
.gallery__lede { margin: 0; color: var(--ivory-2); line-height: 1.7; }
.gallery__play {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--ivory); background: rgba(246,244,239,.06); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.gallery__play:hover { background: rgba(244,116,92,.14); box-shadow: inset 0 0 0 1px rgba(244,116,92,.6); }
.gallery__play:active { transform: scale(.97); }
.gallery__play-icon, .viewer__play-icon { width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent var(--blue); }

/* the wall: absolutely placed by gallery.js in justified rows */
.wall { position: relative; min-height: 60vh; }
.tile {
  position: absolute; display: block; text-decoration: none; color: inherit; border-radius: 20px; outline: none;
  opacity: 0; transform: translateY(36px) scale(.97);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s);
}
.tile.in { opacity: 1; transform: none; }
.tile__frame {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; clip-path: inset(0 round 20px); background: #0a121b;
  box-shadow: 0 26px 50px -30px rgba(0,0,0,.85);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.tile__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1px solid rgba(246,244,239,.08); transition: border-color .6s var(--ease); }
.tile__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); opacity: 0; transition: transform 1.6s var(--ease), opacity .9s var(--ease), filter .8s var(--ease); }
.tile__img.is-loaded { opacity: 1; }
.tile__cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: grid; gap: 4px; padding: 11px 15px 10px; border-radius: 14px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12,22,33,.5), rgba(12,22,33,.66));
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(246,244,239,.12);
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.tile__cap .caps { font-size: 9px; color: var(--blue); }
.tile__cap .serif { font-size: 21px; line-height: 1.05; }
.tile.in:hover .tile__frame, .tile.in:focus-visible .tile__frame { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(0,0,0,.9); }
.tile:hover .tile__frame::after { border-color: rgba(244,116,92,.5); }
.tile:focus-visible .tile__frame::after { border-color: var(--blue); }
.tile:hover .tile__img { transform: scale(1.08); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
/* the others step back while you look at one */
@media (hover: hover) {
  .wall:has(.tile:hover) .tile:not(:hover) .tile__img { filter: brightness(.6) saturate(.85); }
}
.tile.is-lifted .tile__frame, .tile.is-lifted .tile__cap { visibility: hidden; }

.wall.has-cursor .tile { cursor: none; }
.wall-cursor {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; padding: 11px 16px 10px; border-radius: 999px;
  font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bg); background: var(--blue);
  box-shadow: 0 10px 30px -10px rgba(244,116,92,.7);
  transform: translate(-50%, -50%) scale(0); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.wall-cursor.is-on { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* --- the viewer --- */
.viewer {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  visibility: hidden; touch-action: none; --ui: 1;
}
.viewer.is-open, .viewer.is-closing { visibility: visible; }
.viewer__bg { position: absolute; inset: 0; background: #070c13; opacity: 0; transition: opacity .6s var(--ease); }
.viewer.is-open .viewer__bg { opacity: 1; }
.viewer__ambient { position: absolute; inset: -15%; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
.viewer.is-open .viewer__ambient { opacity: var(--ui); }
.viewer__ambient img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(90px) saturate(1.7); opacity: 0; transition: opacity 1.4s var(--ease); }
.viewer__ambient img.is-on { opacity: .32; }

.viewer__top, .viewer__strip, .viewer__arrow { z-index: 3; opacity: 0; transition: opacity .35s var(--ease), transform .5s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease); }
.viewer__top, .viewer__strip { position: relative; }
.viewer.is-open .viewer__top, .viewer.is-open .viewer__strip, .viewer.is-open .viewer__arrow { opacity: var(--ui); transition: opacity .7s var(--ease) .3s, transform .9s var(--ease) .3s, background .35s var(--ease), box-shadow .35s var(--ease); }
.viewer.is-dragging .viewer__top, .viewer.is-dragging .viewer__strip, .viewer.is-dragging .viewer__arrow { transition: none; }
.viewer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px var(--gutter) 10px; transform: translateY(-10px); }
.viewer.is-open .viewer__top { transform: none; }
.viewer__cap { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; min-height: 14px; overflow: hidden; }
.viewer__cap > * { display: block; animation: metaIn .8s cubic-bezier(.16,1,.3,1) both; }
.viewer__cap > :nth-child(2) { animation-delay: .06s; color: var(--ivory); }
.viewer__cap > :nth-child(3) { animation-delay: .12s; }
.viewer__cap > :first-child { color: var(--blue); }
.viewer__cap.is-swapping > * { animation: metaOut .28s cubic-bezier(.5,0,.75,0) both; }
.viewer__cap a { color: var(--ivory-2); text-decoration: none; transition: color .25s; }
.viewer__cap a:hover { color: var(--ivory); }
.viewer__tools { display: flex; gap: 10px; }
.viewer__btn, .viewer__arrow {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 14px; cursor: pointer; color: var(--ivory);
  background: rgba(246,244,239,.06); box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.viewer__btn { transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.viewer__btn:hover, .viewer__arrow:hover { background: rgba(244,116,92,.16); box-shadow: inset 0 0 0 1px rgba(244,116,92,.6); }
.viewer__btn:focus-visible, .viewer__arrow:focus-visible, .viewer__thumb:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }
.viewer__btn svg, .viewer__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.viewer__play-icon { transition: border-width .3s var(--ease); }
.viewer.is-playing .viewer__play-icon { width: 10px; height: 12px; border-width: 0 3px; border-color: var(--blue); }

.viewer__stage { position: relative; z-index: 2; overflow: hidden; cursor: grab; }
.viewer.is-dragging .viewer__stage { cursor: grabbing; }
.viewer__frame { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; will-change: transform; }
.viewer__fig {
  position: relative; overflow: hidden; border-radius: 18px; background: #0a121b center / cover no-repeat;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(246,244,239,.06);
  will-change: transform;
}
@media (pointer: fine) { .viewer__stage { cursor: zoom-in; } }
.viewer.is-zoomed .viewer__stage { cursor: zoom-out; }
.viewer__img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0; user-select: none; -webkit-user-drag: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease), transform-origin .35s ease-out;
}
.viewer__img.is-loaded { opacity: 1; }

.viewer__arrow { position: absolute; top: 50%; margin-top: -23px; }
.viewer__arrow--prev { left: calc(var(--gutter) - 8px); }
.viewer__arrow--next { right: calc(var(--gutter) - 8px); }

.viewer__strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 16px var(--gutter) 24px; scrollbar-width: none; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
          mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  transform: translateY(10px);
}
.viewer.is-open .viewer__strip { transform: none; }
.viewer__strip::-webkit-scrollbar { display: none; }
.viewer__thumb {
  position: relative; flex: none; height: 58px; aspect-ratio: var(--r); padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: #0a121b; opacity: .4; outline: 1px solid rgba(244,116,92,0); outline-offset: -1px;
  transition: opacity .5s var(--ease), outline-color .5s var(--ease), transform .5s var(--ease);
}
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumb:first-child { margin-left: auto; }
.viewer__thumb:last-child { margin-right: auto; }
.viewer__thumb:hover { opacity: .8; }
.viewer__thumb.is-on { opacity: 1; outline-color: rgba(244,116,92,.8); transform: translateY(-3px); }
.viewer__bar { position: absolute; left: 6px; right: 6px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(246,244,239,.3); overflow: hidden; opacity: 0; transition: opacity .3s; }
.viewer__fill { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.viewer.is-playing .viewer__thumb.is-on .viewer__bar { opacity: 1; }
.viewer.is-playing .viewer__thumb.is-on .viewer__fill { animation: fill 5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

@media (max-width: 999px) {
  .gallery__head { grid-template-columns: 1fr; align-items: start; }
  .gallery__side { justify-self: start; padding-bottom: 0; }
}
@media (max-width: 720px) {
  .gallery-page { padding-top: 28px; }
  .gallery__title { font-size: clamp(58px, 18vw, 92px); }
  .gallery__head { gap: 24px; margin-bottom: 30px; }
  .tile, .tile__frame { border-radius: 14px; }
  .tile__frame { clip-path: inset(0 round 14px); }
  .tile__cap { display: none; }
  .viewer__top { padding: 14px 16px 6px; }
  .viewer__cap { gap: 4px 16px; font-size: 10px; }
  .viewer__btn { width: 40px; height: 40px; border-radius: 12px; }
  .viewer__arrow { display: none; }
  .viewer__fig { border-radius: 14px; }
  .viewer__strip { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); gap: 6px; }
  .viewer__thumb { height: 46px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile { opacity: 1; transform: none; transition: none; }
  .rise > *, .gallery__side, .gallery__kicker { animation: none; opacity: 1; transform: none; }
  .viewer__cap > * { animation: none !important; }
  .room { display: none; }
}

/* ==========================================================================
   Phone menu: a button in the nav opens a full-screen sheet
   ========================================================================== */
.nav__menu { display: none; }
@media (max-width: 720px) {
  .nav__menu {
    display: inline-flex; align-items: center; gap: 9px; height: 40px; margin-right: -8px; padding: 0 8px; border: 0; background: none; cursor: pointer;
    font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); -webkit-tap-highlight-color: transparent;
  }
  .nav__menu-lines { position: relative; width: 18px; height: 8px; }
  .nav__menu-lines i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
  .nav__menu-lines i:first-child { top: 0; }
  .nav__menu-lines i:last-child { top: 6.5px; }
  .menu-open .nav__menu-lines i { top: 3.25px; }
  .menu-open .nav__menu-lines i:first-child { transform: rotate(45deg); }
  .menu-open .nav__menu-lines i:last-child { transform: rotate(-45deg); }
  .nav__menu-label { width: 50px; text-align: left; }
  .nav__cart { font-size: 11px; }
  .nav__cart > span:first-child { display: none; }   /* the count alone, as a badge */
  .nav__cart::before { content: ""; width: 17px; height: 17px; align-self: center; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; }
  .nav__cart { gap: 6px; align-items: center; color: var(--ivory); min-height: 40px; }
  .nav__count { font-size: 13px; }
  .menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }
}
.sheet {
  position: fixed; inset: 0; z-index: 45; display: grid; grid-template-rows: 1fr auto;
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(30px + env(safe-area-inset-bottom));
  background: rgba(10,19,29,.86); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu-open { overflow: hidden; }
.sheet__links { display: grid; align-content: start; gap: 2px; }
.sheet__links a {
  font-family: var(--serif); font-size: clamp(44px, 13vw, 60px); line-height: 1.15; letter-spacing: -.01em; color: var(--ivory); text-decoration: none;
  opacity: 0; transform: translateY(18px); transition: opacity .3s ease, transform .3s ease, color .25s;
}
.sheet__links a[aria-current="page"] { font-style: italic; color: var(--blue); }
.menu-open .sheet__links a { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(.08s + var(--k) * .06s), transform .9s var(--ease) calc(.08s + var(--k) * .06s), color .25s; }
.sheet__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid var(--line-2);
  opacity: 0; transition: opacity .4s ease; }
.menu-open .sheet__foot { opacity: 1; transition: opacity .8s var(--ease) .4s; }
.sheet__cart { text-decoration: none; color: var(--ivory); display: inline-flex; gap: 10px; align-items: center; min-height: 40px; }
.sheet .caps:last-child { color: var(--ivory-3); }
@media (min-width: 721px) { .sheet { display: none; } }
@media (prefers-reduced-motion: reduce) { .sheet__links a, .sheet__foot { transition: none !important; transform: none !important; } }

/* ==========================================================================
   Phones: thumb-sized controls
   ========================================================================== */
@media (max-width: 720px) {
  /* the type filters become a row of pills that scrolls sideways */
  .filters { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; padding: 12px 17px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ivory-2); scroll-snap-align: start; scroll-margin-left: var(--gutter); transition: color .3s, background .3s, border-color .3s; }
  .filters button::after { display: none; }
  .filters button.is-on { background: var(--ivory); border-color: var(--ivory); color: var(--bg); }
  .qty { min-height: 48px; }
  .pp .qty { width: max-content; }
  .crumbs { flex-wrap: wrap; gap: 6px 12px; }
  a[href^="mailto:"], a[href^="tel:"] { display: inline-block; padding: 6px 0; margin: -6px 0; }
}

/* ==========================================================================
   Shipping & policy (built from AFC_POLICY by shipping.js)
   ========================================================================== */
.policy__side { display: grid; gap: 14px; align-content: start; position: sticky; top: 110px; }
.policy__side .info__title { position: static; }
.policy__sub { margin: -4px 0 0; color: var(--blue); }
.policy__photo { margin: 12px 0 0; width: min(100%, 300px); aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; clip-path: inset(0 round 22px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.policy__photo img { width: 100%; height: 100%; object-fit: cover; }
.policy .info__body { max-width: 64ch; gap: 26px; }
.rates__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.rate { display: grid; gap: 8px; padding: 20px 22px 22px; border-radius: 20px; background: rgba(246,244,239,.03); box-shadow: inset 0 0 0 1px var(--line-2); }
.rate__k { color: var(--ivory-3); font-size: 9.5px; }
.rate__v { font-size: 44px; line-height: 1; color: var(--ivory); }
.rate__s { font-size: 14px; color: var(--ivory-2); }
.rates__days { display: grid; gap: 12px; }
.rates__label { margin: 0; color: var(--ivory-3); }
.policy__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.policy__list li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); color: var(--ivory-2); font-size: 15.5px; line-height: 1.6; }
.policy__list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.policy__list a { color: var(--ivory); }
.policy__list--quiet li { font-size: 14.5px; color: var(--ivory-3); }
.policy__list--quiet li::before { background: var(--ivory-3); }
.info__body .policy__big { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -.01em; color: var(--ivory); }
.info__body .policy__foot { font-size: 13px; font-style: italic; color: var(--ivory-3); }
.info__body .policy__close { color: var(--ivory); }
@media (max-width: 999px) {
  .policy__side { position: static; }
  .policy__photo { display: none; }
}
@media (max-width: 720px) {
  .rate__v { font-size: 38px; }
}

/* ==========================================================================
   Cart: ship-day picker
   ========================================================================== */
.shipday { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.shipday__label { margin: 0; color: var(--ivory); }
.shipday__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shipday__opt {
  display: grid; gap: 3px; justify-items: center; padding: 11px 6px 10px; border: 0; border-radius: 14px; cursor: pointer; color: var(--ivory-2);
  background: rgba(246,244,239,.03); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.shipday__opt:hover { box-shadow: inset 0 0 0 1px rgba(244,116,92,.6); color: var(--ivory); }
.shipday__opt:active { transform: scale(.97); }
.shipday__opt[aria-checked="true"] { background: var(--blue); color: #1a0f0b; box-shadow: none; }
.shipday__dow { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.shipday__date { font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.shipday__more { grid-column: 1 / -1; min-height: 40px; border: 0; border-radius: 12px; background: none; color: var(--ivory-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.shipday__more:hover { color: var(--ivory); }
.shipday__arrive { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ivory-2); }
.shipday__arrive b { font-weight: 500; color: var(--ivory); }
.shipday__none { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ivory-2); }
.shipday__none a { color: var(--ivory); }
.shipday.is-asking .shipday__list { animation: nudge .5s var(--ease); }
.shipday.is-asking .shipday__label { color: var(--blue); }
@keyframes nudge { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.cart__msg { margin: 0; min-height: 1.4em; font-size: 14px; line-height: 1.5; color: var(--ivory-2); }

/* ==========================================================================
   Sale prices: the original crossed out beside the sale price
   ========================================================================== */
s.was { color: var(--ivory-3); text-decoration-thickness: 1px; font-size: .78em; margin-right: .25em; }
.pp__price s.was { font-size: .62em; vertical-align: .18em; }
.card__tag--sale { background: var(--blue); color: #1a0f0b; }
.pp__sale { display: inline-flex; align-items: center; padding: 8px 14px 7px; border-radius: 999px; color: #1a0f0b; background: var(--blue); }

/* ==========================================================================
   Checkout + order confirmation
   ========================================================================== */
.co-page { padding-top: clamp(28px, 4vh, 48px); padding-bottom: clamp(80px, 12vh, 140px); min-height: 60vh; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.co__main { display: grid; gap: 14px; }
.co__step { display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: rgba(246,244,239,.025); box-shadow: inset 0 0 0 1px var(--line); }
.co__title { display: flex; align-items: center; gap: 12px; margin: 0; font: 500 17px/1.2 var(--sans); color: var(--ivory); }
.co__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; color: #1a0f0b; background: var(--blue); }
.co__opt { font-style: normal; font-weight: 400; font-size: 13px; color: var(--ivory-3); }
.co__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.co__grid > .cfield { grid-column: span 2; }
.co__grid > .co__wide { grid-column: 1 / -1; }
.co__grid > .co__short { grid-column: span 1; }
.co__address .co__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cfield { display: grid; gap: 8px; min-width: 0; }
.cfield .caps { font-size: 9.5px; color: var(--ivory-3); }
.cfield .caps i { font-style: normal; text-transform: none; letter-spacing: 0; font-size: 12px; }
.cfield input, .cfield textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 12px; outline: 0; font: 400 16px/1.4 var(--sans); color: var(--ivory);
  background: rgba(246,244,239,.04); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s;
}
.cfield input:focus, .cfield textarea:focus { box-shadow: inset 0 0 0 1.5px var(--blue); }
.cfield input::placeholder { color: var(--ivory-3); }
.co__fine { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ivory-3); }
.co__fine a { color: var(--ivory-2); }
.co__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co__choice { position: relative; display: block; cursor: pointer; }
.co__choice input { position: absolute; opacity: 0; pointer-events: none; }
.co__choice > span { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; }
.co__choice b { font-weight: 500; color: var(--ivory); }
.co__choice small { font-size: 13px; color: var(--ivory-3); }
.co__choice input:checked + span { box-shadow: inset 0 0 0 1.5px var(--blue); background: rgba(244,116,92,.06); }
.co__choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.co__days { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.co__codes { display: grid; gap: 12px; }
.co__code { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: end; }
.co__apply { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer; color: var(--ivory); background: rgba(246,244,239,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.co__apply:hover { background: rgba(246,244,239,.1); }
.co__codemsg { grid-column: 1 / -1; margin: 0; min-height: 0; font-size: 13px; color: #ff9b8a; }
.co__codemsg:empty { display: none; }
.co__codemsg.is-good { color: #8fd6a6; }

.co__side { position: sticky; top: 100px; }
.co__summary { display: grid; gap: 16px; padding: 24px; border-radius: 22px; background: rgba(246,244,239,.035); box-shadow: inset 0 0 0 1px var(--line-2); }
.co__sumtitle { margin: 0; color: var(--ivory); }
.co__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.co__items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.co__thumb { position: relative; width: 56px; height: 56px; border-radius: 14px; overflow: visible; background: #0a121b; }
.co__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.co__thumb b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font: 500 11px/1 var(--sans); color: #1a0f0b; background: var(--ivory); }
.co__iname { display: grid; gap: 2px; font-size: 15px; color: var(--ivory); }
.co__iname small { font-size: 12px; color: var(--ivory-3); }
.co__iprice { font-size: 15px; color: var(--ivory); white-space: nowrap; }
.sum .is-good dd, .sum .is-good dt { color: #8fd6a6; }
.co__pay { width: 100%; border-radius: 999px; min-height: 56px; }
.co__pay:disabled { opacity: .6; cursor: default; }
.co__closed { display: grid; gap: 12px; padding: clamp(40px, 8vh, 80px) 0; }
.co__closed-line { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.co__closed-sub { margin: 0; color: var(--ivory-2); }
.co__closed-sub a { color: var(--ivory); }

.ord { display: grid; gap: 28px; max-width: 760px; }
.ord__head { display: grid; gap: 14px; }
.ord__head h1 { margin: 0; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
.ord__lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ivory-2); }
.ord__lede b { font-weight: 500; color: var(--ivory); }
.ord__combo { display: grid; gap: 8px; padding: 22px 24px; border-radius: 20px; background: rgba(244,116,92,.07); box-shadow: inset 0 0 0 1px rgba(244,116,92,.35); }
.ord__combo p { margin: 0; color: var(--ivory-2); line-height: 1.55; }
.ord__combo .caps { color: var(--blue); }
.ord__code { font-size: 36px; color: var(--ivory) !important; letter-spacing: .04em; user-select: all; }
.ord__grid { display: grid; gap: 22px; padding: 24px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 999px) {
  .co { grid-template-columns: 1fr; }
  .co__side { position: static; }
}
@media (max-width: 720px) {
  .co__step, .co__summary { padding: 18px; border-radius: 18px; }
  .co__grid, .co__address .co__grid { grid-template-columns: 1fr 1fr; }
  .co__grid > .cfield { grid-column: 1 / -1; }
  .co__grid > .co__short { grid-column: span 1; }
  .co__switch { grid-template-columns: 1fr; }
  .ord__code { font-size: 30px; }
}
.cfield .caps i { color: var(--ivory-3); }
.co__step .shipday { border-bottom: 0; padding-bottom: 0; }

/* ==========================================================================
   Product page: more photos and videos
   ========================================================================== */
.pp__frame .pp__img, .pp__vid { transition: opacity .25s ease; }
.pp__frame.is-swapping .pp__img, .pp__frame.is-swapping .pp__vid { opacity: 0; }
.pp__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #070c13; cursor: pointer; }
.pp__frame.is-video { cursor: default; }
.pp__frame.is-video .pp__hint { display: none; }
.pp__stage { transition: width .4s var(--ease); }
.pp__frame { transition: aspect-ratio .4s var(--ease); }
.pp__thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.pp__thumb {
  position: relative; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #0a121b;
  opacity: .55; box-shadow: inset 0 0 0 1px var(--line-2); transition: opacity .25s, transform .25s var(--ease), box-shadow .25s;
}
.pp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp__thumb:hover { opacity: .85; }
.pp__thumb[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--blue); transform: translateY(-2px); }
.pp__thumb.is-video i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,12,19,.25); }
.pp__thumb.is-video i::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; margin-left: 3px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
@media (max-width: 720px) {
  .pp__thumbs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 6px; margin-top: 12px; scrollbar-width: none; }
  .pp__thumbs::-webkit-scrollbar { display: none; }
  .pp__thumb { flex: none; width: 56px; height: 56px; }
}
