/* Aranya: the wilderness past the four houses. Loaded only by render({ chrome: "room" }).
   Laid out on a flagship product page's grammar: pure black ground, near-white words, grey for the second voice, hairline
   cards with generous radii, frosted pills, and one warm colour, the lantern, where a flagship page would use its blue.
   Italiana is the display face (the word ARANYA, the glowing word, headlines, ring names); Jost carries everything else.
   Each ring's own stone is the only saturated colour on its screen.
   Contrast on black: ink ≈ 19:1, ink-2 (#a1a1a6) ≈ 8:1, ink-3 (#86868b) ≈ 5.6:1, lantern ≈ 12:1 (all text ≥ 4.5:1). */
:root {
  --bg: #000; --card: #0b0b0c; --card-2: #141416; --hairline: rgba(255, 255, 255, .12); --pill: rgba(42, 42, 45, .72); --pill-hover: rgba(58, 58, 62, .82);
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --lantern: #F2C27B; --lantern-glow: rgba(242, 194, 123, .32);
  /* the older names, still used by the lamp, loupe, state mark and form */
  --loam: #000; --moon: var(--ink); --ash: var(--ink-2); --fog: var(--ink-3); --silver: #d2d2d7; --hair: var(--hairline);
  --display: "Italiana", "Didot", "Bodoni 72", serif;
  --out: cubic-bezier(.16, 1, .3, 1); --glide: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1180px; --nav-h: 64px;
}
html.room { background: var(--bg); color-scheme: dark; scrollbar-color: rgba(255, 255, 255, .26) var(--bg); scroll-behavior: auto; }
body.in-room { background: var(--bg); color: var(--ink); font-weight: 300; }
body.in-room ::selection { background: var(--lantern); color: #000; }
body.in-room :focus-visible { outline: 2px solid var(--lantern); outline-offset: 4px; border-radius: 6px; }
body.in-room a { color: var(--ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
body.in-room a:hover { color: var(--lantern); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.in-room.sheet-open { overflow: hidden; }

/* ---------- the bar: section links on the left, the Ivari wordmark in the middle, currency, bag and Reserve on the right ---------- */
.room-bar { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); box-sizing: border-box;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0; background: rgba(0, 0, 0, .74); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--hairline); }
.room-bar .rb-exit, .room-bar .bag-link { font: 400 .8rem/1 var(--sans); letter-spacing: .06em; color: var(--ink-2); text-decoration: none; justify-self: start; white-space: nowrap; transition: color .3s; }
.room-bar .rb-exit:hover, .room-bar .bag-link:hover { color: var(--ink); }
.room-bar .rb-mark { display: grid; justify-items: center; gap: 3px; text-decoration: none; }
.room-bar .rb-mark img { height: 24px; width: auto; display: block; opacity: .95; }
.room-bar .rb-room { font: 400 .62rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--ink-3); padding-left: .42em; }
.room-bar .rb-room:empty { display: none; }
.room-bar .rb-left { justify-self: start; display: flex; align-items: center; height: 100%; }
.room-bar .rb-tools { justify-self: end; display: flex; align-items: center; gap: 20px; }
.room-bar .bag-count { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.room-bar .bag-count:not([data-n="0"]) { background: var(--lantern); color: #000; box-shadow: none; }
.room-bar .cur-select { background-color: transparent; border-color: var(--hairline); color: var(--ink-2);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); }
.room-bar .cur-select option { color: #111; }
@media (max-width: 480px) { .room-bar .rb-long { display: none; } }
@media (max-width: 640px) { .room-bar .cur-select { display: none; } }

/* ---------- shared pieces ---------- */
:where(.ap) p { max-width: none; }   /* site.css caps every paragraph at 64ch; here each block sets its own measure */
.ap { position: relative; }
.ap-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.ap-eyebrow { margin: 0 0 14px; font: 500 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lantern); }
.ap-h { margin: 0; font: 400 clamp(2.6rem, 1.6rem + 4.2vw, 5rem)/1.04 var(--display); letter-spacing: -.005em; color: var(--ink); }
.ap-h-sm { margin: 0; font: 500 clamp(1.8rem, 1.3rem + 1.8vw, 3rem)/1.1 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.ap-intro { margin: 26px 0 0; max-width: 62ch; font: 400 clamp(1.08rem, 1rem + .4vw, 1.32rem)/1.5 var(--sans); color: var(--ink-2); }
.ap-head { padding-top: clamp(90px, 14vh, 160px); }

.ap-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--lantern); color: #000 !important; text-decoration: none; font: 500 1.02rem/1 var(--sans); letter-spacing: 0; cursor: pointer;
  transition: background-color .25s, transform .2s, box-shadow .4s var(--out); }
.ap-btn:not([disabled]):hover { background: #f7d29b; box-shadow: 0 8px 30px -10px var(--lantern-glow); }
.ap-btn:active { transform: scale(.98); }
.ap-btn[disabled] { opacity: .5; cursor: default; }
.ap-btn.ghost { background: transparent; color: var(--lantern) !important; box-shadow: inset 0 0 0 1px rgba(242, 194, 123, .7); }
.ap-btn.ghost:hover { background: rgba(242, 194, 123, .08); }
.ap-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font: 400 1.08rem/1 var(--sans); color: var(--lantern); cursor: pointer; }
.ap-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.ap-link-play { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.ap-link-play svg { width: 12px; height: 12px; fill: currentColor; }
.ap-link-play .i-pause { display: none; }
.ap-round { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--pill); color: var(--ink);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); cursor: pointer; transition: background-color .25s, transform .2s; }
.ap-round:hover { background: var(--pill-hover); }
.ap-round.sm { width: 36px; height: 36px; }
.ap-round svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-round .i-play, .ap-round .i-pause { fill: currentColor; stroke: none; }
.ap-round[data-playing="true"] .i-play, .ap-round[data-playing="false"] .i-pause { display: none; }

/* Blocks rise into place as they arrive, in a short stagger. Without the script, or still, they are simply there. */
html.ap-js:not(.static) [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--out) calc(var(--d, 0) * 90ms), transform 1.1s var(--out) calc(var(--d, 0) * 90ms); }
html.ap-js:not(.static) [data-reveal].in { opacity: 1; transform: none; }

/* ---------- 1. the section links (inside the bar) ---------- */
.ap-nav-links { display: flex; align-items: stretch; gap: 28px; height: 100%; }
.ap-nav-links a { position: relative; display: flex; align-items: center; font: 400 .82rem/1 var(--sans); letter-spacing: .02em; color: var(--ink-2) !important; text-decoration: none; transition: color .25s; }
.ap-nav-links a:hover { color: var(--ink) !important; }
.ap-nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .4s var(--out); }
.ap-nav-links a[aria-current="true"] { color: var(--ink) !important; }
.ap-nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.ap-nav-links .ap-nav-exit { display: none; }
.ap-pill-cta { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 999px; background: var(--lantern); color: #000 !important; text-decoration: none; font: 500 .8rem/1 var(--sans); }
.ap-pill-cta:hover { background: #f7d29b; }
.ap-nav-menu { display: none; width: 36px; height: 36px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.ap-nav-menu svg { fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--out); }
.ap-nav-menu[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 860px) {
  .ap-nav-menu { display: grid; place-items: center; }
  .ap-nav-links { position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column; gap: 0; padding: 6px var(--gutter) 18px; background: rgba(0, 0, 0, .94);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hairline); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--out), visibility 0s .3s; }
  .room-bar.open .ap-nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--out); }
  .ap-nav-links a { padding: 16px 0; border-bottom: 1px solid var(--hairline); font-size: 1rem; }
  .ap-nav-links a::after { display: none; }
  .ap-nav-links .ap-nav-exit { display: flex; color: var(--ink-3) !important; border-bottom: 0; }
}
@media (max-width: 520px) { .room-bar .ap-pill-cta { display: none; } }

/* ---------- 2. the hero film ---------- */
.ap-hero { position: relative; height: max(560px, calc(100svh - var(--nav-h))); overflow: hidden; background: #000; isolation: isolate; }
.ap-hero-media { position: absolute; inset: 0; z-index: -1; }
.ap-film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ap-hero-still { position: absolute; left: 50%; top: 34%; width: min(66vw, 720px); height: auto; transform: translate(-50%, -50%); transition: opacity 1.2s var(--out); }
.ap-hero.filming .ap-hero-still { opacity: 0; }
.ap-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .86), rgba(0, 0, 0, 0)); }
.ap-hero-copy > * { margin-left: auto; margin-right: auto; }
.ap-hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 84px); padding: 0 var(--gutter); text-align: center; }
.ap-hero-title { margin: 0; font: 400 clamp(4.2rem, 2.4rem + 8vw, 10rem)/.92 var(--display); letter-spacing: .01em; color: var(--ink); text-shadow: 0 2px 60px rgba(0, 0, 0, .6); }
.ap-hero-line { margin: 12px 0 0; font: 500 clamp(1.3rem, 1.05rem + 1vw, 2rem)/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.ap-hero-meta { margin: 8px 0 0; font: 400 1.05rem/1.3 var(--sans); color: var(--ink-2); }
.ap-hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
/* the title block rises in on the shared reveal (data-reveal, staggered by --d) */

/* ---------- 3. highlights ---------- */
.ap-high { padding: clamp(80px, 12vh, 140px) 0 0; }
.ap-high .ap-h-sm { margin-bottom: 36px; }
.ap-high-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.ap-high-track::-webkit-scrollbar { display: none; }
.ap-card { position: relative; flex: 0 0 min(var(--wrap), calc(100vw - 2 * var(--gutter))); aspect-ratio: 16 / 9; max-height: 74svh; margin: 0; border-radius: 28px; overflow: hidden; scroll-snap-align: start; background: var(--card); }
.ap-card-poster, .ap-card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-card-poster { transform: scale(1.04); transition: transform 9s linear; }
.ap-card.active .ap-card-poster { transform: scale(1.14); }
.ap-card-video { opacity: 0; transition: opacity 1s var(--out); }
.ap-card.playing .ap-card-video { opacity: 1; }
.ap-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 42%), radial-gradient(120% 90% at 50% 60%, transparent 55%, rgba(0, 0, 0, .45)); }
.ap-card figcaption { z-index: 1;  position: absolute; left: clamp(22px, 3.4vw, 48px); top: clamp(22px, 3.4vw, 46px); max-width: 24ch; font: 500 clamp(1.15rem, .95rem + .8vw, 1.75rem)/1.22 var(--sans); letter-spacing: -.01em; color: var(--ink-2); text-shadow: 0 1px 30px rgba(0, 0, 0, .7); }
.ap-card figcaption strong { color: var(--ink); font-weight: 500; }
.ap-high-ctl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.ap-dots { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border-radius: 999px; background: var(--pill); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.ap-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .42); overflow: hidden; cursor: pointer; transition: width .5s var(--glide), background-color .3s; }
.ap-dot::before { content: ""; position: absolute; inset: -14px -4px; }
.ap-dot[aria-selected="true"] { width: 48px; background: rgba(255, 255, 255, .3); }
.ap-dot i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); border-radius: inherit; }
.ap-dot[aria-selected="true"] i { width: calc(var(--p, 0) * 100%); }
.ap-high-ctl .ap-round { width: 56px; height: 56px; }

/* ---------- 4. the spec explorer ---------- */
.ap-design .ap-intro { max-width: 58ch; }
.ap-viewer { position: relative; max-width: var(--wrap); height: clamp(560px, 62vw, 760px); margin: clamp(48px, 8vh, 80px) auto 0; border: 1px solid var(--hairline); border-radius: 36px; overflow: hidden; background: #000; }
@media (max-width: 1260px) { .ap-viewer { margin-left: var(--gutter); margin-right: var(--gutter); } }
.ap-v-stage { position: absolute; inset: 0; }
.ap-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--out), visibility 0s .9s; }
.ap-scene.on { opacity: 1; visibility: visible; transition: opacity .9s var(--out) .15s, visibility 0s; }
/* The right two-thirds of the card is where the ring stands; the pills keep the left. */
.ap-scene-ring, .ap-c-rings, .ap-w-pair, .ap-macro { position: absolute; top: 8%; bottom: 8%; left: 36%; right: 4%; }
.ap-scene-ring { width: 60%; left: 38%; top: 50%; bottom: auto; height: auto; transform: translateY(-50%); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.ap-scene.on .ap-scene-ring { animation: ap-float 9s ease-in-out infinite; }
@keyframes ap-float { 50% { transform: translateY(calc(-50% - 10px)); } }
.ap-glow { position: absolute; left: 66%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--a), white 18%), transparent 72%); opacity: .55; filter: blur(20px); transition: background .9s var(--out); }

.ap-w-pair { display: flex; align-items: flex-end; justify-content: center; gap: 4%; top: 12%; bottom: 22%; }
.ap-w { position: relative; flex: 1 1 0; margin: 0; display: flex; flex-direction: column-reverse; align-items: center; transition: transform 1.2s var(--out) .25s, opacity 1s var(--out) .25s; }
.ap-w img { width: 100%; height: auto; -webkit-box-reflect: below 2px linear-gradient(transparent 62%, rgba(255, 255, 255, .16)); }
.ap-w[data-side="heavy"] img { width: 100%; } .ap-w[data-side="light"] img { width: 74%; }
.ap-w figcaption { margin-bottom: clamp(18px, 4vh, 40px); text-align: center; }
.ap-w-num { display: block; font: 300 clamp(2.4rem, 1.6rem + 3vw, 4.4rem)/1 var(--sans); letter-spacing: -.02em; color: #9a9aa0; font-variant-numeric: tabular-nums; }
.ap-w-num b { font-weight: 300; }
.ap-w-name { display: block; margin-top: 8px; font: 400 .95rem/1.2 var(--sans); color: var(--ink-3); }
.ap-scene[data-scene="weights"]:not(.on) .ap-w[data-side="heavy"] { transform: translateX(-30%); opacity: 0; }
.ap-scene[data-scene="weights"]:not(.on) .ap-w[data-side="light"] { transform: translateX(30%); opacity: 0; }
.ap-floor { position: absolute; left: 36%; right: 4%; bottom: 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); }

.ap-c-rings img { position: absolute; left: 4%; top: 50%; width: 92%; height: auto; transform: translateY(-50%) scale(.94) rotate(-3deg); opacity: 0; transition: opacity .8s var(--out), transform 1.2s var(--out); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.ap-c-rings img.on { opacity: 1; transform: translateY(-50%); }

/* The close-ups fill the whole card and fade to black on the left, where the pills are. */
.ap-macro { overflow: hidden; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 58%); mask-image: linear-gradient(90deg, transparent 22%, #000 58%); }
.ap-macro img, .ap-macro .ap-rake { position: absolute; left: 34%; top: 50%; width: 62%; height: auto; transform-origin: var(--fx) var(--fy); transform: translateY(-50%) scale(1); }
.ap-macro .ap-rake { aspect-ratio: 1076 / 693; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: var(--ring) center / 100% 100% no-repeat; mask: var(--ring) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 236, 205, .55) 48%, rgba(255, 255, 255, .8) 50%, rgba(255, 236, 205, .55) 52%, transparent 62%) 0 0 / 300% 100% no-repeat; }
.ap-scene.on .ap-macro img, .ap-scene.on .ap-macro .ap-rake { animation: ap-macro 9s var(--glide) forwards; }
.ap-scene.on .ap-macro .ap-rake { animation: ap-macro 9s var(--glide) forwards, ap-rake 4.5s ease-in-out .6s infinite; }
@keyframes ap-macro { 0% { transform: translateY(-50%) scale(1); } 40% { transform: translateY(-50%) scale(2.5); } 100% { transform: translate(-1.5%, -50%) scale(2.7); } }
@keyframes ap-rake { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
/* Finish and size: the whole ring, no zoom. Light runs over the blackened silver, then over the gold-tone (each through its
   own mask, cut from the photograph), and the key beside it names what is lit; a ring sizer draws itself in below. */
.ap-fin { position: absolute; left: 36%; right: 4%; top: 7%; bottom: 7%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; }
.ap-fin-ring { position: relative; align-self: center; justify-self: center; width: min(88%, 620px); }
.ap-fin-ring img { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.ap-fin-hi { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; background-size: 300% 100%; background-repeat: no-repeat;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.ap-fin-hi[data-hi="metal"] { --m: var(--metal); background-image: linear-gradient(100deg, rgba(220, 228, 240, .05) 0 40%, rgba(235, 240, 250, .42) 48%, rgba(255, 255, 255, .62) 50%, rgba(235, 240, 250, .42) 52%, rgba(220, 228, 240, .05) 60% 100%); }
.ap-fin-hi[data-hi="gold"] { --m: var(--gold); background-image: linear-gradient(100deg, rgba(255, 210, 120, .12) 0 38%, rgba(255, 226, 150, .85) 48%, rgba(255, 246, 210, 1) 50%, rgba(255, 226, 150, .85) 52%, rgba(255, 210, 120, .12) 62% 100%); }
.ap-scene.on .ap-fin-hi[data-hi="metal"] { animation: ap-fin-a 8s ease-in-out .4s infinite, ap-sweep 4s ease-in-out .4s infinite; }
.ap-scene.on .ap-fin-hi[data-hi="gold"] { animation: ap-fin-b 8s ease-in-out .4s infinite, ap-sweep 4s ease-in-out .4s infinite; }
.ap-scene.on .ap-fin-ring img { animation: ap-fin-dim 4s ease-in-out .4s infinite; }
@keyframes ap-sweep { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes ap-fin-a { 0%, 46% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ap-fin-b { 0%, 46% { opacity: 0; } 50%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ap-fin-dim { 0%, 100% { filter: brightness(.9) drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); } 50% { filter: brightness(.72) drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); } }
.ap-fin-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 4%; }
.ap-fin-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ap-fin-keys li { display: flex; align-items: flex-start; gap: 12px; font: 400 .88rem/1.35 var(--sans); color: var(--ink-3); transition: opacity .4s; }
.ap-fin-keys strong { display: block; font-weight: 500; font-size: .98rem; color: var(--ink); }
.ap-fin-keys i { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; }
.ap-fin-keys [data-k="metal"] i { background: linear-gradient(135deg, #8d939c, #2c2f33); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.ap-fin-keys [data-k="gold"] i { background: linear-gradient(135deg, #f7d27a, #b8862c); }
.ap-scene.on .ap-fin-keys [data-k="metal"] { animation: ap-key-a 8s ease-in-out .4s infinite; }
.ap-scene.on .ap-fin-keys [data-k="gold"] { animation: ap-key-b 8s ease-in-out .4s infinite; }
@keyframes ap-key-a { 0%, 46% { opacity: 1; } 50%, 96% { opacity: .35; } 100% { opacity: 1; } }
@keyframes ap-key-b { 0%, 46% { opacity: .35; } 50%, 96% { opacity: 1; } 100% { opacity: .35; } }
.ap-sizer { display: flex; align-items: center; gap: 14px; margin: 0; }
.ap-sizer svg { flex: none; overflow: visible; }
.ap-sizer circle { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--out) calc(.3s + var(--i, 0) * .12s); transform: rotate(-90deg); transform-origin: 60px 60px; }
.ap-sizer circle.fit { stroke: var(--lantern); stroke-width: 1.6; transition-delay: 1.1s; }
.ap-scene.on .ap-sizer circle { stroke-dashoffset: 0; }
.ap-scene.on .ap-sizer circle.fit { animation: ap-fit 2.4s ease-in-out 2.3s infinite; }
@keyframes ap-fit { 50% { stroke-width: 3; filter: drop-shadow(0 0 6px rgba(242, 194, 123, .7)); } }
.ap-sizer figcaption { font: 400 .85rem/1.35 var(--sans); color: var(--ink-3); max-width: 16ch; }
.ap-sizer figcaption strong { display: block; font-weight: 500; font-size: .98rem; color: var(--ink); }
.ap-scene-tag { position: absolute; right: 6%; bottom: 3%; margin: 0; font: 400 .85rem/1.3 var(--sans); color: var(--ink-3); }

.ap-v-side { position: absolute; z-index: 2; left: clamp(28px, 6vw, 88px); top: 50%; transform: translateY(-50%); width: min(400px, 40%); }
.ap-v-arrows { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.ap-v-arrows[hidden] { display: none; }
.ap-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; justify-items: start; }
.ap-pill-item { position: relative; height: var(--h, 56px); width: 100%; transition: height .6s var(--glide); }
.ap-pill { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 14px; border: 0; border-radius: 28px; background: var(--pill); color: var(--ink);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); font: 500 1.06rem/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .25s, opacity .3s; }
.ap-pill:hover { background: var(--pill-hover); }
.ap-plus { flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; transition: transform .4s var(--out); }
.ap-pill:hover .ap-plus { transform: rotate(90deg); }
.ap-swatch-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background-color .5s; }
.ap-bub-wrap { position: absolute; left: 0; top: 0; width: min(400px, 100%); --pw: 200px; pointer-events: none; opacity: 0; visibility: hidden;
  clip-path: inset(0 calc(100% - var(--pw)) calc(100% - 56px) 0 round 28px); transition: clip-path .6s var(--glide), opacity .25s .35s, visibility 0s .6s; }
.ap-bubble { padding: 22px 26px 24px; border-radius: 28px; background: var(--pill); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.ap-bubble p { margin: 0; font: 400 1.04rem/1.5 var(--sans); color: var(--ink-2); }
.ap-bubble strong { color: var(--ink); font-weight: 500; }
.ap-pill-item.open .ap-bub-wrap { pointer-events: auto; opacity: 1; visibility: visible; clip-path: inset(0 0 0 0 round 28px); transition: clip-path .6s var(--glide), opacity .2s, visibility 0s; }
.ap-pill-item.open .ap-pill { opacity: 0; pointer-events: none; }
.ap-swatches { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.ap-swatch { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--ink-2); font: 400 .9rem/1 var(--sans); cursor: pointer; }
.ap-swatch i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: box-shadow .3s; }
.ap-swatch[aria-checked="true"] { color: var(--ink); }
.ap-swatch[aria-checked="true"] i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 2px #000, 0 0 0 3.5px var(--ink); }
.ap-v-close { position: absolute; z-index: 3; top: 24px; right: 24px; }
.ap-v-close[hidden] { display: none; }
@media (max-width: 820px) {
  .ap-viewer { height: auto; min-height: 0; border-radius: 28px; display: flex; flex-direction: column; }
  .ap-v-stage { position: relative; inset: auto; height: min(78vw, 440px); flex: none; }
  .ap-scene-ring, .ap-c-rings, .ap-w-pair, .ap-floor { left: 5%; right: 5%; }
  .ap-macro { -webkit-mask-image: none; mask-image: none; }
  .ap-macro img, .ap-macro .ap-rake { left: 5%; width: 90%; }
  .ap-scene-ring { width: 82%; left: 9%; }
  .ap-glow { left: 50%; width: 90%; }
  .ap-w-pair { top: 6%; bottom: 14%; } .ap-floor { bottom: 14%; }
  .ap-v-side { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 8px 16px 20px; }
  .ap-v-arrows { display: none !important; }
  .ap-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .ap-pill-item { width: auto; height: auto; }
  .ap-pill { height: 46px; padding: 0 18px 0 10px; font-size: .95rem; }
  .ap-pills.has-open .ap-pill-item:not(.open) { display: none; }
  .ap-pill-item.open { width: 100%; }
  .ap-bub-wrap { position: absolute; width: 100%; }
  .ap-pill-item.open .ap-bub-wrap { position: relative; }
  .ap-pill-item.open .ap-pill { position: absolute; }
  .ap-v-close { top: 14px; right: 14px; }
  .ap-scene-tag { left: 6%; right: 6%; text-align: center; }
  .ap-fin { left: 4%; right: 4%; top: 4%; bottom: 4%; gap: 8px; }
  .ap-fin-row { padding: 0; gap: 12px; }
  .ap-fin-keys li span { font-size: .78rem; } .ap-fin-keys strong { font-size: .86rem; }
  .ap-sizer svg { width: 64px; height: 64px; } .ap-sizer figcaption { font-size: .78rem; }
}

/* ---------- 5. compare ---------- */
.ap-compare { padding-top: clamp(60px, 10vh, 110px); text-align: center; }
.ap-cmp-pill { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 12px 0 26px; border: 0; border-radius: 28px; background: var(--pill); color: var(--ink);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font: 500 1.06rem/1 var(--sans); cursor: pointer; transition: background-color .25s; }
.ap-cmp-pill:hover { background: var(--pill-hover); }
.ap-cmp-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lantern); }
.ap-cmp-plus .ap-plus { width: 30px; height: 30px; stroke: #000; }
.ap-cmp-plus .ap-plus circle { stroke: none; }
.ap-cmp-pill[aria-expanded="true"] .ap-plus { transform: rotate(45deg); }
.ap-cmp-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--glide); }
.ap-cmp-wrap.open { grid-template-rows: 1fr; }
.ap-cmp-inner { overflow: hidden; min-height: 0; }
.ap-cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 60px); padding: 44px 0 10px; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--out); }
.ap-cmp-wrap.open .ap-cmp-grid { opacity: 1; transform: none; transition-delay: .2s; }
.ap-select { position: relative; max-width: 320px; margin: 0 auto; }
.ap-select select { width: 100%; height: 48px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid var(--hairline); background: var(--card); color: var(--ink); font: 400 1rem/1 var(--sans); -webkit-appearance: none; appearance: none; cursor: pointer; }
.ap-select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 2; pointer-events: none; }
.ap-cmp-img { position: relative; margin: 26px auto 0; width: min(100%, 420px); aspect-ratio: 1076 / 693; }
.ap-cmp-img::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--a), white 14%), transparent 72%); opacity: .5; filter: blur(16px); }
.ap-cmp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ap-cmp-name { margin: 18px 0 0; font: 400 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1.05 var(--display); color: var(--ink); }
.ap-cmp-desc { margin: 8px auto 0; max-width: 30ch; font-size: .95rem; line-height: 1.4; color: var(--ink-2); min-height: 2.8em; }
.ap-cmp-rows { margin: 18px 0 0; padding: 0; }
.ap-cmp-rows > div { padding: 18px 0; border-top: 1px solid var(--hairline); }
.ap-cmp-rows dt { font: 400 .8rem/1.2 var(--sans); color: var(--ink-3); }
.ap-cmp-rows dd { margin: 6px 0 0; font: 400 1.05rem/1.35 var(--sans); color: var(--ink); }
.ap-cmp-col .ap-btn { margin-top: 18px; }
@media (max-width: 560px) { .ap-cmp-rows dd { font-size: .95rem; } .ap-select select { font-size: .9rem; padding-left: 12px; } }

/* ---------- 6. the anatomy: one ring taken apart as you scroll ---------- */
/* A tall track with a sticky stage. The ring's three layers (cut from its photograph) sit stacked in one box; aranya.js
   lifts them apart from the scroll position, draws a leader line from each part to its note, and sets them back together. */
.ap-anat { padding-top: clamp(80px, 12vh, 140px); }
.ap-anat-track { position: relative; height: 460vh; }
.ap-anat-stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); overflow: hidden; background: #000; isolation: isolate; --open: 0; }
.ap-anat-head { position: absolute; left: 0; right: 0; top: clamp(22px, 5vh, 56px); z-index: 2; text-align: center; padding: 0 var(--gutter); opacity: var(--head, 1); transform: translateY(calc((1 - var(--head, 1)) * -12px)); }
.ap-anat-head .ap-eyebrow { margin-bottom: 10px; }
.ap-anat-h { margin: 0; font: 400 clamp(1.9rem, 1.2rem + 2.4vw, 3.4rem)/1.05 var(--display); color: var(--ink); }
.ap-anat-glow { position: absolute; left: 50%; top: 52%; width: 90vmin; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--a), white 12%), transparent 70%); opacity: calc(.28 + var(--open) * .22); }
.ap-anat-box { position: absolute; left: 50%; top: 54%; width: var(--bw, min(44vw, 560px)); aspect-ratio: 1180 / 1021; transform: translate(-50%, -50%); }
.ap-anat-layer { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.ap-anat-layer[data-layer="stone"] { filter: drop-shadow(0 calc(var(--open) * 40px) calc(var(--open) * 30px) rgba(0, 0, 0, .75)); }
.ap-anat-layer[data-layer="setting"] { filter: drop-shadow(0 calc(var(--open) * 30px) calc(var(--open) * 26px) rgba(0, 0, 0, .7)); }
.ap-anat-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ap-anat-lines path { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.ap-anat-lines circle { fill: var(--ink); }
.ap-anat-lines circle.ring { fill: none; stroke: rgba(255, 255, 255, .35); }
.ap-anat-notes { list-style: none; margin: 0; padding: 0; }
.ap-anat-note { position: absolute; left: 0; top: 0; width: min(270px, 24vw); opacity: 0; will-change: transform, opacity; }
.ap-anat-note[data-side="l"] { text-align: right; }
.ap-anat-no { display: block; margin-bottom: 6px; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; color: var(--lantern); }
.ap-anat-note strong { display: block; font: 500 1.08rem/1.25 var(--sans); color: var(--ink); }
.ap-anat-note span:not(.ap-anat-no) { display: block; margin-top: 6px; font: 400 .92rem/1.45 var(--sans); color: var(--ink-2); }
.ap-anat-foot { position: absolute; left: 0; right: 0; bottom: clamp(20px, 5vh, 50px); margin: 0; text-align: center; font: 400 .95rem/1 var(--sans); color: var(--ink-2); opacity: var(--foot, 0); }
.ap-anat-foot a { margin-left: 14px; color: var(--lantern) !important; text-decoration: none; }
/* Phones: one note at a time, under the ring, its line rising to the part it names. */
@media (max-width: 760px) {
  .ap-anat-box { top: 46%; }
  .ap-anat-note, .ap-anat-note[data-side="l"] { width: calc(100vw - 2 * var(--gutter)); text-align: center; }
}
html.static .ap-anat-track { height: auto; }
html.static .ap-anat-stage { position: relative; top: 0; height: auto; min-height: 100svh; padding-bottom: 40px; --open: 0; --foot: 1; }
html.static .ap-anat-head { position: relative; top: 0; padding-top: 40px; }
html.static .ap-anat-box { position: relative; left: auto; top: auto; transform: none; margin: 40px auto; }
html.static .ap-anat-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 60px; }
html.static .ap-anat-note { position: static; width: auto; opacity: 1; text-align: left !important; }
html.static .ap-anat-foot { position: static; }
.ap-story { padding-top: clamp(40px, 8vh, 90px); }

/* ---------- 7. in numbers ---------- */
.ap-numbers { padding-top: clamp(110px, 18vh, 200px); }
.ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 6vh, 64px) clamp(20px, 4vw, 60px); margin: clamp(40px, 7vh, 70px) 0 0; }
.ap-stat { display: flex; flex-direction: column; }
.ap-stat-pre { font: 500 1.05rem/1.2 var(--sans); color: var(--ink); }
.ap-stat-big { order: 1; margin: 2px 0 0; font: 300 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1 var(--sans); color: var(--ink); }
.ap-stat-big b { font: 400 clamp(3.4rem, 2.2rem + 4.6vw, 6.4rem)/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.ap-stat-big b.ap-num-price { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); }
.ap-stat-pre { order: 0; } .ap-stat dd { order: 2; margin: 8px 0 0; font: 500 1.05rem/1.35 var(--sans); color: var(--ink); }
.ap-forms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(80px, 12vh, 130px); }
.ap-form { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; padding: 26px 26px 28px; border: 1px solid var(--hairline); border-radius: 28px; background: var(--card); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .3s, transform .5s var(--out), background-color .3s; }
.ap-form:hover { border-color: rgba(242, 194, 123, .5); background: var(--card-2); transform: translateY(-3px); }
.ap-form-art { display: block; width: 100%; aspect-ratio: 1.3; margin-bottom: 10px; }
.ap-form-art img { width: 100%; height: 100%; object-fit: contain; opacity: .85; }
.ap-form-name { font: 500 1.2rem/1.2 var(--sans); }
.ap-form-text { font: 400 .98rem/1.45 var(--sans); color: var(--ink-2); }
.ap-form-count { margin-top: auto; padding-top: 10px; font: 400 .98rem/1 var(--sans); color: var(--lantern); }
@media (max-width: 960px) { .ap-forms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ap-stats { grid-template-columns: repeat(2, 1fr); } .ap-forms { grid-template-columns: 1fr; } .ap-form-art { aspect-ratio: 2; } }

/* ---------- 8. look closer ---------- */
.ap-look { padding-top: clamp(110px, 18vh, 200px); }
.ap-look-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.ap-gestures { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.ap-gestures li { font: 400 1.04rem/1.45 var(--sans); color: var(--ink-2); }
.ap-gestures strong { color: var(--ink); font-weight: 500; }
.ap-look-demo { padding: clamp(20px, 4vw, 50px); border-radius: 36px; border: 1px solid var(--hairline); background: radial-gradient(60% 60% at 50% 45%, rgba(242, 194, 123, .09), transparent 70%), var(--card); text-align: center; }
@media (max-width: 860px) { .ap-look-grid { grid-template-columns: 1fr; } }

/* the lamp and the loupe (shared by the demo and the ring sheet) */
.rl-lamp { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: zoom-in; }
.rl-ring { display: block; width: 100%; height: auto; filter: brightness(.98) contrast(1.04); }
.rl-dark, .rl-warm { position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--ring) center / 100% 100% no-repeat; mask: var(--ring) center / 100% 100% no-repeat; }
.rl-dark { background: radial-gradient(circle at var(--lx, 50%) var(--ly, 45%), transparent 0, transparent 14%, rgba(0, 0, 0, .22) 36%, rgba(0, 0, 0, .34) 72%); }
.rl-warm { background: radial-gradient(circle at var(--lx, 50%) var(--ly, 45%), rgba(255, 214, 160, .26), transparent 22%); mix-blend-mode: soft-light; }
.rl-loupe { position: absolute; left: var(--lx, 50%); top: var(--ly, 45%); width: clamp(150px, 20vw, 230px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .55); background-color: #000; background-repeat: no-repeat;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .9), inset 0 0 0 5px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .8); transition: opacity .25s, transform .35s var(--out); }
.rl-lamp.looking .rl-loupe { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rl-lamp.looking { cursor: none; }
.rl-hint { margin: 18px 0 0; font-size: .9rem; color: var(--ink-3); }
.rl-look { background: none; border: 0; padding: 0; font: inherit; color: var(--lantern); text-decoration: underline; text-underline-offset: .22em; text-decoration-color: rgba(242, 194, 123, .5); cursor: pointer; }
.rl-look:hover, .rl-look[aria-pressed="true"] { color: #f7d29b; }

/* ---------- 9. reserve, then decide ---------- */
.ap-trio { padding-top: clamp(110px, 18vh, 200px); }
.ap-trio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: clamp(40px, 7vh, 64px); }
.ap-tile { padding: clamp(26px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--hairline); background: var(--card); }
.ap-tile p { margin: 0; font: 400 1.02rem/1.5 var(--sans); color: var(--ink-2); }
.ap-tile .ap-tile-h { margin-bottom: 14px; font: 500 clamp(1.3rem, 1.1rem + .6vw, 1.7rem)/1.2 var(--sans); color: var(--ink-3); }
.ap-tile .ap-tile-h strong { color: var(--ink); font-weight: 500; }

/* ---------- 10. the rings ---------- */
.ap-rings { padding-top: clamp(110px, 18vh, 200px); }
.rl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.rl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--pill); color: var(--ink); font: 400 .95rem/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s; }
.rl-chip small { color: var(--ink-3); font-size: .82rem; }
.rl-chip:hover { background: var(--pill-hover); }
.rl-chip[aria-pressed="true"] { background: var(--ink); color: #000; }
.rl-chip[aria-pressed="true"] small { color: #000; opacity: .6; }
.ap-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ap-grid > li[hidden] { display: none; }
.ap-ring { --rx: 50%; --ry: 50%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 22px; border-radius: 28px; border: 1px solid var(--hairline); background: var(--card); text-decoration: none; color: var(--ink) !important; transition: border-color .35s, transform .5s var(--out), background-color .3s; }
.ap-ring:hover, .ap-ring:focus-visible { border-color: rgba(242, 194, 123, .45); background: var(--card-2); transform: translateY(-3px); }
.rl-plate-art { position: relative; display: block; aspect-ratio: 1.25; margin-bottom: 14px; border-radius: 18px; overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, color-mix(in oklab, var(--a, #33394C), transparent 55%), transparent 80%), #050505; }
.rl-plate-art img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.rl-etch { opacity: .85; transition: opacity .45s; }
.rl-lit { opacity: 0; -webkit-mask-image: radial-gradient(circle 42% at var(--rx) var(--ry), #000 0%, #000 50%, transparent 100%); mask-image: radial-gradient(circle 42% at var(--rx) var(--ry), #000 0%, #000 50%, transparent 100%); transition: opacity .45s var(--out); }
.ap-ring.seen .rl-lit { opacity: 1; }
.ap-ring-no { font: 400 .78rem/1.2 var(--sans); color: var(--ink-3); letter-spacing: .02em; }
.ap-ring-name { margin-top: 4px; font: 400 2rem/1.05 var(--display); }
.ap-ring-desc { font: 400 .92rem/1.4 var(--sans); color: var(--ink-2); }
.ap-ring-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 .98rem/1 var(--sans); }
.ap-ring-more { color: var(--lantern); }
.ap-ring.is-sold { opacity: .6; }

/* ---------- the ring sheet ---------- */
.ap-sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.ap-sheet[hidden] { display: none; }
.ap-sheet-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .45s; }
.ap-sheet-panel { position: relative; width: min(1180px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 32px; border: 1px solid var(--hairline); background: var(--card); outline: none;
  opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .45s var(--out), transform .7s var(--out); }
.ap-sheet.on .ap-sheet-scrim { opacity: 1; }
.ap-sheet.on .ap-sheet-panel { opacity: 1; transform: none; }
.ap-sheet-x { position: sticky; float: right; top: 18px; margin: 18px 18px 0 0; z-index: 3; }
.ap-sheet-nav { position: absolute; left: 18px; top: 18px; z-index: 3; display: flex; gap: 8px; }
.ap-sheet-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ap-sheet-body[hidden] { display: none; }
.ap-sheet-media { position: relative; padding: clamp(70px, 8vw, 100px) clamp(20px, 4vw, 50px) 40px; text-align: center; background: radial-gradient(60% 55% at 50% 45%, color-mix(in oklab, var(--a), transparent 35%), transparent 75%), #000; }
.ap-sheet-info { padding: clamp(30px, 5vw, 70px) clamp(22px, 4vw, 54px) 48px; }
.ap-sheet-name { margin: 0; font: 400 clamp(2.6rem, 2rem + 2.4vw, 4rem)/1 var(--display); color: var(--ink); }
.ap-sheet-desc { margin: 10px 0 0; font: 500 1.08rem/1.35 var(--sans); color: var(--ink); }
.ap-sheet-story { margin: 18px 0 26px; font: 400 1rem/1.6 var(--sans); color: var(--ink-2); }
.ap-sheet-price { margin: 0; font: 300 clamp(1.8rem, 1.5rem + 1vw, 2.4rem)/1.1 var(--sans); color: var(--ink); font-variant-numeric: lining-nums; }
.ap-sheet-info .charge { margin-top: 6px; font-size: .82rem; color: var(--ink-3); }
.ap-sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ap-sheet-info .msg { margin: 12px 0 0; min-height: 1em; font-size: .9rem; color: var(--ink-2); }
.ap-sheet-info .msg a { color: var(--lantern); }
.ap-fine { margin: 10px 0 0; font-size: .84rem; line-height: 1.55; color: var(--ink-3); }
.ap-facts { margin: 30px 0 0; }
.ap-facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.ap-facts dt { font: 400 .88rem/1.4 var(--sans); color: var(--ink-3); }
.ap-facts dd { margin: 0; font: 400 .98rem/1.4 var(--sans); color: var(--ink); }
.rl-state { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .9rem; color: var(--ink-2); }
.rl-state svg { flex: none; overflow: visible; }
.rl-state path, .rl-state circle { fill: none; stroke: var(--silver); stroke-width: 1.3; stroke-linecap: round; }
.rl-state circle.fill { fill: var(--silver); }
.ap-sheet-body.is-sold .rl-ring { filter: grayscale(.7) brightness(.55); }
.ap-sheet-body.is-sold .rl-lamp { cursor: default; }
@media (max-width: 860px) {
  .ap-sheet { padding: 0; align-items: end; }
  .ap-sheet-panel { border-radius: 26px 26px 0 0; max-height: 94svh; }
  .ap-sheet-body { grid-template-columns: 1fr; }
  .ap-facts > div { grid-template-columns: 8em 1fr; }
}

/* ---------- the film, full screen ---------- */
.ap-filmbox { position: fixed; inset: 0; z-index: 90; background: #000; opacity: 0; transition: opacity .6s; }
.ap-filmbox[hidden] { display: none; }
.ap-filmbox.on { opacity: 1; }
.ap-film-cap { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(24px, 5vh, 56px); margin: 0; font: 400 clamp(1.8rem, 1.2rem + 2vw, 3.2rem)/1.05 var(--display); color: var(--ink); text-shadow: 0 2px 40px rgba(0, 0, 0, .8); transition: opacity .6s; }
.ap-film-cap small { display: block; margin-bottom: 8px; font: 400 .85rem/1 var(--sans); color: var(--ink-2); letter-spacing: .04em; }
.ap-film-ctl { position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(24px, 5vh, 56px); display: flex; gap: 12px; }
.ap-film-ctl .ap-round { width: 52px; height: 52px; }

/* ---------- 11. the next ring ---------- */
.rl-leave { max-width: 680px; margin: 0 auto; padding: clamp(120px, 20vh, 220px) var(--gutter) 14vh; text-align: center; }
.rl-leave .ap-intro { margin-left: auto; margin-right: auto; }
.rl-form { margin: 36px auto 0; max-width: 480px; text-align: left; }
.rl-label { display: block; margin: 0 0 8px 20px; font: 400 .82rem/1 var(--sans); color: var(--ink-3); }
.rl-form-row { display: flex; gap: 10px; }
.rl-in { flex: 1; min-width: 0; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--card); color: var(--ink); font: 300 1rem var(--sans); caret-color: var(--lantern); }
.rl-in:focus { outline: none; border-color: var(--lantern); box-shadow: 0 0 0 4px rgba(242, 194, 123, .14); }
.rl-form .ap-btn { min-height: 48px; }
.rl-leave .msg { margin: 12px 0 0; min-height: 1.2em; font-size: .9rem; color: var(--ink-2); }
.rl-leave .msg.ok { color: var(--lantern); } .rl-leave .msg.err { color: #EBB0A6; }
.rl-exit-row { margin-top: 44px !important; }
.rl-exit-row a { font: 400 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3) !important; text-decoration: none; }
.rl-exit-row a:hover { color: var(--lantern) !important; }
.rl-none { max-width: 40ch; margin: 18vh auto; padding: 0 var(--gutter); text-align: center; color: var(--ink-2); }
.rl-none-h { font: 400 var(--s-3)/1.1 var(--display); color: var(--ink); }

/* ---------- the footer ---------- */
.room-foot { position: relative; z-index: 1; border-top: 1px solid var(--hairline); background: #0b0b0c; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
.room-foot .rf-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; max-width: var(--wrap); margin: 0 auto; font-size: .8rem; color: var(--ink-3); }
.room-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.room-foot a { color: var(--ink-2) !important; text-decoration: none; }
.room-foot a:hover { color: var(--lantern) !important; }

@media (max-width: 520px) {
  .rl-form-row { flex-direction: column; }
  .ap-sheet-actions .ap-btn { flex: 1 1 100%; }
  .ap-card { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-scene, .ap-pill-item, .ap-bub-wrap, .ap-cmp-wrap, .ap-cmp-grid, .ap-sheet-panel, .ap-sheet-scrim, .rl-loupe, .ap-ring, .ap-form, .ap-w, .ap-c-rings img { transition: none !important; }
  .ap-scene.on .ap-scene-ring, .ap-scene.on .ap-macro img, .ap-scene.on .ap-macro .ap-rake { animation: none !important; }
  .ap-scene[data-scene="stone"].on .ap-macro img, .ap-scene[data-scene="stone"].on .ap-macro .ap-rake { transform: translateY(-50%) scale(2.4); }
  .ap-scene[data-scene="finish"].on .ap-macro img, .ap-scene[data-scene="finish"].on .ap-macro .ap-rake { transform: translateY(-50%) scale(2.1); }
}
