/* Sotto: fine jewellery with something inside (design concept)
   tokens → type → base → buttons → header → hero → turn → pieces → inside → fit → making → care → faq → final →
   footer → dialogs → motion → responsive */

/* ---------- tokens ---------- */
:root {
  --bg: #F6F4F0;
  --paper: #FFFFFF;
  --alt: #ECE7E0;
  --ink: #1B1715;
  --muted: #655D56;
  --soft: #8C837A;
  --line: #E2DDD5;
  --line-2: #CFC8BF;
  --garnet: #4E1520;
  --garnet-2: #5C1B27;
  --garnet-ink: #5A1A24;
  --cream: #F4EEE8;
  --rose: #CDB3AD;
  --rose-soft: #B38F89;
  --gold: #D9B679;
  --gold-line: #B8945A;
  --blue: #C9D7E4;
  --blue-wash: #E4EBF2;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --pad: clamp(20px, 3.4vw, 56px);
  --maxw: 1440px;
  --nav-h: 72px;
  --r: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(96px, 10vw, 160px);
}

@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
::selection { background: var(--garnet); color: var(--cream); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

.label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.label .i { width: 16px; height: 16px; }
.h2 { font-size: clamp(40px, 5.2vw, 78px); line-height: .96; letter-spacing: -.045em; }
.h2 em, .hero-title em, .turn-h em { letter-spacing: -.02em; }
.tone { color: var(--soft); }
.tone em { color: var(--ink); }
.sec-head { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 88px); text-align: center; }
.sec-head .label { margin-bottom: 22px; }
.sec-lead { max-width: 520px; margin: 26px auto 0; color: var(--muted); font-size: 17.5px; }
.sec-head-left { margin-left: 0; text-align: left; }
.sec-head-left .sec-lead { margin-left: 0; }
.hint { font-size: 14px; line-height: 1.45; color: var(--muted); }
.frame { position: relative; overflow: hidden; overflow: clip; border-radius: var(--r); background: #E6E1DA; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.link-sm { font-size: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 500; letter-spacing: -.005em; line-height: 1; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #3A302B; }
.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--garnet); }
.btn-cream:hover { background: #FFFFFF; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover .i { transform: none; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(246 244 240 / .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.logo { justify-self: start; font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -.055em; padding: 4px 0 7px; }
.logo-o { position: relative; display: inline-block; }
.logo-o::after { content: ""; position: absolute; left: 50%; top: 57%; width: .15em; height: .15em; background: var(--garnet); transform: translate(-50%, -50%) rotate(45deg); }
.links { position: relative; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); height: var(--nav-h); }
.links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.links a:hover, .links a[aria-current="true"] { color: var(--ink); }
.nav-line { position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: var(--ink); opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.bag-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .2s; }
.bag-btn:hover { border-color: var(--ink); }
.bag-btn .i { width: 19px; height: 19px; }
.bag-count { position: absolute; top: -4px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--garnet); color: var(--cream); font-size: 11.5px; font-weight: 600; line-height: 19px; text-align: center; font-variant-numeric: tabular-nums; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }
.menu-btn { display: none; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px var(--pad) 32px; background: var(--bg); overflow-y: auto; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 32px; letter-spacing: -.035em; }
.menu .btn { align-self: stretch; }

/* ---------- hero: outside | words | inside ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.44fr) minmax(0, .78fr); gap: clamp(28px, 4vw, 64px); align-items: start; min-height: calc(100svh - var(--nav-h)); max-width: 1760px; margin: 0 auto; padding: clamp(28px, 4.4vh, 52px) var(--pad) clamp(36px, 5vh, 60px); }
.hero-side .frame { aspect-ratio: 3 / 4; }
.hero-side figcaption { display: flex; gap: 8px; margin-top: 14px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.hero-side figcaption em { font-size: 1.12em; color: var(--ink); }
.cap-k { color: var(--ink); font-weight: 500; }
.hero-in { align-self: end; }
.hero-copy { align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 4vh; }
.hero-copy .label { margin-bottom: 30px; }
.hero-title { font-size: clamp(50px, 5.7vw, 92px); line-height: .92; letter-spacing: -.05em; }
.hero-title .line { display: block; overflow: hidden; overflow: clip; padding: 0 .06em .16em; margin: 0 -.06em -.16em; }
.hero-title .line > span { display: block; }
.hero-title em { font-size: 1.06em; }
.hero-lead { max-width: 420px; margin-top: 34px; font-size: 17.5px; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- two sides: the turn ---------- */
.turn { position: relative; --p: 0; --e: 0; --lift: 0; }
.turn-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 32vw) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 88px); max-width: var(--maxw); margin: 0 auto; padding: var(--sec) var(--pad); perspective: 1800px; }
.turn-copy { max-width: 360px; }
.turn-copy .label { margin-bottom: 16px; }
.turn-copy p:last-child { margin-top: 18px; color: var(--muted); }
.turn-a { justify-self: end; text-align: right; }
.turn-h { font-size: clamp(30px, 3.3vw, 50px); line-height: 1; letter-spacing: -.04em; }
.turn-card { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #E6E1DA; box-shadow: 0 30px 60px -30px rgb(40 20 20 / .35); }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face-back { transform: rotateY(180deg); background: var(--garnet); }
.turn-btn { position: absolute; left: 50%; bottom: calc(var(--sec) * .45); transform: translateX(-50%); }
.turn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* static layout (no JavaScript or reduced motion): both faces side by side */
.no-js .turn-stage, .turn.is-static .turn-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; perspective: none; }
.no-js .turn-card, .turn.is-static .turn-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; aspect-ratio: auto; order: -1; }
.no-js .face, .turn.is-static .face { position: relative; aspect-ratio: 4 / 5; transform: none; }
.no-js .turn-a, .turn.is-static .turn-a { justify-self: start; text-align: left; }
.no-js .turn-btn, .turn.is-static .turn-btn { display: none; }
/* scroll-driven version */
.turn.is-live { height: 260vh; }
.turn.is-live .turn-stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); padding-top: 0; padding-bottom: 0; }
.turn.is-live .turn-card { transform: rotateY(calc(var(--e) * 180deg)) scale(calc(1 + var(--lift) * .04)); }
.turn.is-live .turn-a { opacity: clamp(0, calc(1 - var(--p) * 2.2), 1); transform: translateX(calc(var(--p) * -24px)); }
.turn.is-live .turn-b { opacity: clamp(0, calc((var(--p) - .5) * 2.2), 1); transform: translateX(calc((1 - var(--p)) * 24px)); }
.turn.is-live .turn-btn { bottom: 28px; }

/* ---------- pieces ---------- */
.pieces { max-width: var(--maxw); margin: 0 auto; padding: var(--sec) var(--pad); }
.piece-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 6vw, 88px) clamp(20px, 2.6vw, 40px); }
.piece:nth-child(3n + 2) { margin-top: clamp(40px, 7vw, 112px); }
.piece-media { position: relative; perspective: 1400px; }
.piece-flip { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.side { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #E6E1DA; }
.side-in { transform: rotateY(180deg); background: var(--garnet); }
.piece.is-in .piece-flip { transform: rotateY(180deg); }
.piece-flip { cursor: pointer; }
@media (hover: hover) { .piece:not(.is-in) .piece-media:hover .piece-flip { transform: rotateY(-16deg); } .piece.is-in .piece-media:hover .piece-flip { transform: rotateY(196deg); } }
.piece-turn { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(246 244 240 / .92); color: var(--ink); transition: transform .5s var(--ease), background-color .25s; }
.piece-turn .i { width: 19px; height: 19px; }
.piece-turn:hover { transform: rotate(180deg); }
.piece.is-in .piece-turn, .piece-turn[aria-pressed="true"] { background: var(--cream); color: var(--garnet); }
.piece-info { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; margin-top: 20px; }
.piece-info h3 { font-size: 23px; letter-spacing: -.03em; line-height: 1.2; }
.price { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; align-self: center; }
.piece-out, .piece-in, .piece-info .link { grid-column: 1 / -1; }
.piece-out { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.piece-in { margin-top: 2px; font-size: 15.5px; }
.piece-in em { font-size: 1.12em; color: var(--garnet-ink); }
.piece-info .link { justify-self: start; margin-top: 16px; }
.piece-cta { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 420px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); background: var(--garnet); color: var(--cream); }
.piece-cta .label { color: var(--rose); margin-bottom: auto; }
.piece-cta-t { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.02; letter-spacing: -.04em; }
.piece-cta-t em { color: var(--gold); }
.piece-cta p:not(.label):not(.piece-cta-t) { color: var(--rose); font-size: 15.5px; }
.piece-cta .btn { align-self: flex-start; margin-top: 8px; }
.piece-cta .btn-dark { background: var(--cream); color: var(--garnet); }

/* ---------- the inside: configurator ---------- */
.inside { background: var(--garnet); color: var(--cream); padding: var(--sec) var(--pad); }
.inside .label, .inside .sec-lead { color: var(--rose); }
.inside :focus-visible { outline-color: var(--cream); }
.inside .h2 em { color: var(--gold); }
.inside .sec-head { margin-bottom: 40px; }
.studio { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); gap: clamp(32px, 4.4vw, 80px); align-items: start; max-width: 1480px; margin: 0 auto; }
.stage-col { position: sticky; top: calc(var(--nav-h) + 16px); }
.stage { position: relative; height: clamp(480px, calc(100svh - var(--nav-h) - 120px), 820px); overflow: hidden; border-radius: 6px; background: #3A0F18; isolation: isolate; }
.stage:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.stage-bg { position: absolute; inset: -3%; z-index: 0; background-size: cover; background-position: center; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.stage-velvet { background-image: url("../assets/img/stage-velvet.webp?v=1"); }
.stage-stone { opacity: 0; transform: scale(1.05); }
.stage.wants-stone .stage-stone { background-image: url("../assets/img/stage-stone.webp?v=1"); }
.stage[data-view="outside"] .stage-velvet, .stage[data-view="real"] .stage-velvet { opacity: 0; transform: scale(1.05); }
.stage[data-view="outside"] .stage-stone, .stage[data-view="real"] .stage-stone { opacity: 1; transform: none; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(75% 65% at 50% 52%, transparent 0%, rgb(30 4 9 / .18) 60%, rgb(30 4 9 / .62) 100%); transition: opacity 1s var(--ease); }
.stage[data-view="outside"]::before, .stage[data-view="real"]::before { opacity: .35; }
.stage .pv-art { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 12% 4% 14%; transition: opacity .6s var(--ease); }
.stage.is-3d .pv-art { opacity: 0; pointer-events: none; }
.stage-canvas { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity .8s var(--ease); }
.stage.is-3d .stage-canvas { opacity: 1; }
.stage.is-dragging .stage-canvas { cursor: grabbing; }
.stage-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 24px; color: var(--cream); pointer-events: none; transition: color .6s; }
.pv-name { font-size: 15px; color: var(--rose); transition: color .6s; }
.pv-name strong { font-weight: 500; color: var(--cream); transition: color .6s; }
.pv-total { font-size: 28px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stage[data-view="outside"] .stage-top, .stage[data-view="real"] .stage-top, .stage[data-view="outside"] .pv-name strong, .stage[data-view="real"] .pv-name strong { color: var(--ink); }
.stage[data-view="outside"] .pv-name, .stage[data-view="real"] .pv-name { color: var(--muted); }
.stage-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; pointer-events: none; }
.stage-foot > * { pointer-events: auto; }
.views { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgb(24 5 10 / .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .6s; }
.view { min-height: 36px; padding: 0 15px; border-radius: 999px; color: var(--cream); font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s; }
.view:hover { background: rgb(244 238 232 / .12); }
.view[aria-pressed="true"] { background: var(--cream); color: var(--garnet); }
.stage[data-view="outside"] .views, .stage[data-view="real"] .views { background: rgb(255 255 255 / .6); }
.stage[data-view="outside"] .view, .stage[data-view="real"] .view { color: var(--ink); }
.stage[data-view="outside"] .view[aria-pressed="true"], .stage[data-view="real"] .view[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.drag-hint { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(24 5 10 / .3); font-size: 13px; color: var(--cream); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .6s, background-color .6s, color .6s; }
.drag-hint .i { width: 16px; height: 16px; }
.stage.was-dragged .drag-hint { opacity: 0; }
.stage[data-view="outside"] .drag-hint, .stage[data-view="real"] .drag-hint { background: rgb(255 255 255 / .55); color: var(--ink); }
.real-note { position: absolute; left: 50%; top: 64px; z-index: 3; width: max-content; max-width: calc(100% - 40px); padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .7); color: var(--ink); font-size: 13px; text-align: center; transform: translateX(-50%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.real-note a { border-bottom: 1px solid currentColor; }
.pv-svg { display: block; width: 100%; height: auto; max-height: 100%; }
.pv-strip { margin-top: 14px; padding: 14px 18px; border: 1px solid rgb(244 238 232 / .16); border-radius: var(--r); }
.pv-strip-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pv-cap { margin-top: 14px; font-size: 13.5px; color: var(--rose); font-variant-numeric: tabular-nums; }
.pv-text { font-size: 18px; fill: var(--eng, #6B4A1E); }
.pv-text.sans { font-family: var(--sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pv-text.serif { font-family: var(--serif); font-style: italic; }
.pv-text-hi { fill: rgb(255 248 230 / .55); }
.pv-letter { opacity: 0; animation: engrave .5s var(--ease) forwards; }
@keyframes engrave { from { opacity: 0; } to { opacity: 1; } }
.pv-stone { transform-box: fill-box; transform-origin: center; }
.pv-stone.set { animation: set .6s var(--ease); }
@keyframes set { from { transform: scale(.2); opacity: 0; } }
.pv-mark { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .06em; fill: var(--eng, #6B4A1E); }

.controls { display: grid; gap: 30px; }
.ctl { margin: 0; padding: 0 0 26px; border: 0; border-bottom: 1px solid rgb(244 238 232 / .14); min-width: 0; }
.ctl legend { display: flex; justify-content: flex-start; align-items: center; width: 100%; padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--cream); }
.legend-note { margin-left: auto; color: var(--rose); font-weight: 400; font-variant-numeric: tabular-nums; }
.step-no { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 1px solid rgb(244 238 232 / .35); border-radius: 50%; font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-piece { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chips-piece .chip > span { display: flex; gap: 12px; width: 100%; min-height: 56px; padding: 6px 14px 6px 6px; border-radius: 14px; }
.chips-piece .chip img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #E6E1DA; }
.chips-piece .chip b { display: block; font-weight: 400; }
.chips-piece .chip small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--rose); font-variant-numeric: tabular-nums; transition: color .2s; }
.chips-piece .chip input:checked + span small { color: var(--garnet-ink); }
.chip { position: relative; }
.chip input, .metal input, .stone input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgb(244 238 232 / .28); border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip > span:hover { border-color: var(--cream); }
.chip input:checked + span { background: var(--cream); border-color: var(--cream); color: var(--garnet); }
.chip input:focus-visible + span, .metal input:focus-visible + span, .stone input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 3px; }
.metals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.metal span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; border: 1px solid rgb(244 238 232 / .18); border-radius: 10px; font-size: 13px; line-height: 1.25; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.metal span:hover { border-color: rgb(244 238 232 / .5); }
.metal input:checked + span { border-color: var(--cream); background: rgb(244 238 232 / .07); }
.metal b { display: block; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 -2px 3px rgb(0 0 0 / .25), inset 0 2px 2px rgb(255 255 255 / .5); }
.metal small { color: var(--rose); font-size: 12px; font-variant-numeric: tabular-nums; }
.stones { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.stone span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 0 7px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; color: var(--rose); cursor: pointer; transition: border-color .2s, color .2s; }
.stone span:hover { color: var(--cream); }
.stone input:checked + span { border-color: rgb(244 238 232 / .6); color: var(--cream); }
.stone b { position: relative; display: block; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 -3px 4px rgb(0 0 0 / .35), 0 0 0 1px rgb(255 255 255 / .12); }
.stone b::after { content: ""; position: absolute; left: 25%; top: 18%; width: 32%; height: 26%; border-radius: 50%; background: rgb(255 255 255 / .55); }
.stone .none { background: none; border: 1px dashed rgb(244 238 232 / .45); box-shadow: none; }
.stone .none::after { display: none; }
.field { position: relative; }
.inside input[type="text"], .inside select, .inside textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid rgb(244 238 232 / .28); border-radius: 12px; background: rgb(0 0 0 / .14); color: var(--cream); font-size: 16px; transition: border-color .2s; }
.inside input[type="text"] { padding-right: 84px; }
.inside input:focus, .inside select:focus, .inside textarea:focus { outline: none; border-color: var(--cream); }
.inside input:focus-visible, .inside select:focus-visible, .inside textarea:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.inside input[aria-invalid="true"] { border-color: #F2A38F; }
.inside textarea { resize: vertical; min-height: 84px; }
.inside ::placeholder { color: rgb(244 238 232 / .45); }
.count { font-size: 12.5px; color: var(--rose); font-variant-numeric: tabular-nums; }
.field .count { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.count.over { color: #F7B8A6; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; margin-top: 12px; padding: 4px; border: 1px solid rgb(244 238 232 / .2); border-radius: 999px; }
.seg span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; cursor: pointer; }
.seg input:checked + span { background: var(--cream); color: var(--garnet); }
.f-serif { font-family: var(--serif); font-style: italic; font-size: 16.5px !important; }
.f-sans { text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px !important; font-weight: 600; }
.inside .hint { color: var(--rose); margin-top: 10px; }
.inside .hint .i { width: 15px; height: 15px; vertical-align: -2px; }
.hint.warn { color: #F7B8A6; }
.size-row { display: flex; align-items: center; gap: 16px; }
.size-row select { flex: 1; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; font-variant-numeric: tabular-nums; }
.size-row select option { color: var(--ink); }
.size-row .link { color: var(--cream); }
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 15.5px; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { position: relative; width: 44px; height: 26px; border-radius: 13px; background: rgb(244 238 232 / .22); transition: background-color .25s; flex: none; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); transition: transform .3s var(--ease); }
.switch input:checked + .switch-ui { background: var(--gold-line); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--cream); outline-offset: 3px; }
.switch .i { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }
.gift-more { display: grid; gap: 8px; margin-top: 18px; }
.gift-more label { display: flex; justify-content: space-between; font-size: 14px; }
.summary { display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: rgb(28 6 11 / .35); border: 1px solid rgb(244 238 232 / .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sum-top { display: grid; gap: 10px; }
.sum-price { display: flex; align-items: baseline; justify-content: space-between; }
.sum-label { font-size: 14px; color: var(--rose); }
.total { font-size: 34px; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sum-lines { display: grid; gap: 4px; font-size: 13.5px; color: var(--rose); font-variant-numeric: tabular-nums; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.sum-ship { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--cream); }
.sum-ship .i { width: 18px; height: 18px; margin-top: 1px; color: var(--gold); }
.sum-error { font-size: 14px; color: #F7B8A6; }
.summary .add { width: 100%; }

/* ---------- fit: ring sizer ---------- */
.fit { background: var(--alt); padding: var(--sec) var(--pad); }
.fit-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 104px); align-items: start; max-width: var(--maxw); margin: 0 auto; }
.fit-photo { position: sticky; top: calc(var(--nav-h) + 28px); }
.fit-photo .frame { aspect-ratio: 3 / 4; }
.fit .sec-head { margin-bottom: 44px; }
.fit .tone { color: #857C73; }
.sizer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .62fr); gap: 20px 32px; }
.tabs { grid-column: 1 / -1; display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.tab { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.panel { min-width: 0; padding: 26px; border-radius: 16px; background: var(--bg); }
.steps-mini { display: grid; gap: 10px; counter-reset: s; margin-bottom: 24px; }
.steps-mini li { position: relative; padding-left: 34px; color: var(--muted); font-size: 15.5px; }
.steps-mini li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12px; line-height: 21px; text-align: center; color: var(--ink); }
.mm-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); }
.stepper input { width: 84px; border: 0; background: none; font-size: 26px; letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--ink); }
.unit { margin-right: 6px; color: var(--muted); }
.step-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg); transition: background-color .2s; }
.step-btn:hover { background: var(--alt); }
.field-err { margin-top: 8px; font-size: 14px; color: #A3301F; }
.mini-h { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.step-n { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12px; }
.calib, .match { display: grid; gap: 10px; }
.match { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.card-box, .ring-box { display: grid; place-items: center; min-height: 190px; padding: 12px 0; overflow: hidden; }
.card-outline { position: relative; display: grid; place-items: end start; width: 323px; aspect-ratio: 85.6 / 53.98; max-width: 100%; padding: 12px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--blue-wash); color: var(--muted); }
.card-outline .i { width: 22px; height: 22px; }
.ring-box { min-height: 120px; }
.ring-circle { width: calc(var(--dia, 17.3) * var(--ppmm, 3.78) * 1px); aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: var(--blue-wash); transition: width .15s; }
.range { width: 100%; accent-color: var(--ink); }
.calib-state { font-variant-numeric: tabular-nums; }
.calib-state.ok { color: #2F6B3A; }
.result { align-self: start; display: grid; gap: 4px; padding: 26px; border-radius: 16px; background: var(--ink); color: var(--bg); }
.res-k { font-size: 13.5px; color: #B9B0A8; }
.res-main { font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.res-alt { font-size: 18px; font-variant-numeric: tabular-nums; }
.res-mm { margin-top: 6px; font-size: 13.5px; color: #B9B0A8; font-variant-numeric: tabular-nums; }
.result .btn { margin-top: 18px; justify-self: start; background: var(--bg); color: var(--ink); }
.tips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.tips li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.tips .i { width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }

/* ---------- making ---------- */
.making { max-width: var(--maxw); margin: 0 auto; padding: var(--sec) var(--pad); }
.days { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); padding-top: 34px; }
.days::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(var(--gold-line) 0 0) no-repeat 0 0 / var(--draw, 100%) 1px, var(--line); }
.day { position: relative; }
.day::before { content: ""; position: absolute; top: -40px; left: 0; width: 1px; height: 13px; background: var(--gold-line); }
.day-n { margin-bottom: 16px; font-size: 13.5px; font-weight: 500; color: var(--garnet-ink); font-variant-numeric: tabular-nums; }
.day .frame { aspect-ratio: 4 / 5; }
.day h3 { margin-top: 20px; font-size: 22px; letter-spacing: -.03em; line-height: 1.2; }
.day p:last-child { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ---------- care ---------- */
.care { background: var(--paper); padding: var(--sec) var(--pad); }
.care-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 104px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.care-photo .frame { aspect-ratio: 4 / 5; }
.care .sec-head { margin-bottom: 36px; }
.promises { border-top: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.promises .i { width: 30px; height: 30px; color: var(--garnet-ink); }
.promises h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.25; }
.promises p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.gift-line { display: flex; gap: 12px; margin-top: 30px; padding: 18px 20px; border-radius: 14px; background: var(--bg); font-size: 15.5px; }
.gift-line .i { width: 20px; height: 20px; margin-top: 1px; color: var(--garnet-ink); }

/* ---------- faq ---------- */
.faq { max-width: var(--maxw); margin: 0 auto; padding: var(--sec) var(--pad); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.025em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.qa details[open] summary .i { transform: rotate(45deg); }
.qa p { max-width: 620px; padding: 0 0 26px; color: var(--muted); }

/* ---------- final ---------- */
.final { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--sec) * .7) var(--pad) var(--sec); text-align: center; }
.final-head { display: flex; flex-direction: column; align-items: center; }
.final-t { font-size: clamp(48px, 7vw, 112px); }
.final .sec-lead { margin: 18px auto 32px; }
.final-photo { margin-top: clamp(48px, 6vw, 88px); }
.final-photo .frame { aspect-ratio: 16 / 9; }
.final-photo img { object-position: 50% 38%; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 72px var(--pad) 36px; overflow: hidden; overflow: clip; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; max-width: var(--maxw); margin: 0 auto; }
.foot-k { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 500; color: var(--muted); }
.foot-col li { margin-bottom: 8px; }
.foot-col a { font-size: 16px; transition: color .2s; }
.foot-col a:hover { color: var(--garnet-ink); }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 15.5px; }
.news-row input:focus { outline: none; border-color: var(--ink); }
.news-row input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.foot-news .hint { margin-top: 10px; }
.foot-word { max-width: var(--maxw); margin: 64px auto 28px; font-size: clamp(120px, 27vw, 400px); font-weight: 400; line-height: .78; letter-spacing: -.07em; }
.foot-word .logo-o::after { width: .1em; height: .1em; }
.foot-base { display: flex; justify-content: space-between; gap: 32px; max-width: var(--maxw); margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-base p:first-child { max-width: 620px; }

/* ---------- dialogs ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgb(27 23 21 / .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet { position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); display: none; flex-direction: column; }
.sheet[open] { display: flex; animation: sheet-in .55s var(--ease); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 24px; letter-spacing: -.03em; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; }
.icon-btn .i { width: 18px; height: 18px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag-list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { width: 76px; aspect-ratio: 4 / 5; border-radius: var(--r); object-fit: cover; background: #E6E1DA; }
.bag-name { font-size: 16.5px; font-weight: 500; letter-spacing: -.015em; }
.bag-meta { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.bag-meta em { color: var(--garnet-ink); font-size: 1.1em; }
.bag-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.bag-price { font-variant-numeric: tabular-nums; }
.bag-remove { font-size: 13.5px; color: var(--muted); border-bottom: 1px solid currentColor; }
.bag-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.bag-empty .link { margin-top: 12px; color: var(--ink); }
.sheet-foot { display: grid; gap: 10px; padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.bag-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bag-total { font-size: 18px; color: var(--ink); }
.bag-total strong { font-weight: 500; }
.sheet-foot .hint { text-align: center; }
.modal { width: min(440px, calc(100vw - 32px)); padding: 32px; border: 0; border-radius: 20px; background: var(--bg); }
.modal[open] { animation: modal-in .5s var(--ease); }
@keyframes modal-in { from { transform: translateY(14px); opacity: 0; } }
.modal-i { width: 28px; height: 28px; color: var(--garnet-ink); }
.modal h2 { margin-top: 14px; font-size: 26px; letter-spacing: -.035em; line-height: 1.1; }
.modal p { margin-top: 12px; color: var(--muted); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14.5px; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
main section[tabindex="-1"]:focus { outline: none; }

/* ---------- motion ---------- */
.js .hero-title .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero-copy .label, .js .hero-lead, .js .hero-copy .ctas { opacity: 0; animation: fadeup .9s var(--ease) forwards; }
.js .hero-copy .label { animation-delay: .05s; }
.js .hero-lead { animation-delay: .35s; }
.js .hero-copy .ctas { animation-delay: .48s; }
.js .hero-side .frame img { clip-path: inset(100% 0 0 0); scale: 1.14; animation: unveil 1.3s var(--ease) forwards, settle 2.2s var(--ease) forwards; }
.js .hero-out .frame img { animation-delay: .1s, .1s; }
.js .hero-in .frame img { animation-delay: .32s, .32s; }
.js .hero-side figcaption { opacity: 0; animation: fadeup .8s .9s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { scale: 1; } }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); animation: show 0s 2.6s forwards; }
.js.io [data-reveal] { animation: none; }
.js [data-reveal].in { opacity: 1; transform: none; animation: none; }
@keyframes show { to { opacity: 1; transform: none; } }
.js [data-split].split { opacity: 1; transform: none; }
.w { display: inline-block; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; clip-path: inset(-.4em -.3em 0 -.3em); }
.w > span { display: inline-block; }
.js .split .w > span { transform: translateY(118%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.js .split.in .w > span { transform: none; }
.js .days { --draw: 0%; transition: --draw 1.6s var(--ease); }
.js .days.in { --draw: 100%; }
@property --draw { syntax: "<percentage>"; inherits: false; initial-value: 100%; }

@supports (animation-timeline: view()) {
  .day .frame img, .fit-photo img, .care-photo img, .final-photo img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift { from { transform: scale(1.1) translateY(-3%); } to { transform: scale(1.1) translateY(3%); } }
  .foot-word { animation: word-up linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  @keyframes word-up { from { transform: translateY(30%); opacity: .2; } to { transform: none; opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero-title .line > span, .js [data-reveal], .js .split .w > span { transform: none; opacity: 1; }
  .js .hero-copy .label, .js .hero-lead, .js .hero-copy .ctas, .js .hero-side figcaption { opacity: 1; }
  .js .hero-side .frame img { clip-path: none; scale: 1; }
  .day .frame img, .fit-photo img, .care-photo img, .final-photo img, .foot-word { animation: none !important; transform: none !important; }
  .piece-flip { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .links { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; align-items: center; }
  .studio { grid-template-columns: 1fr; row-gap: 36px; }
  .controls-col { display: contents; }
  .inside .sec-head { order: -1; margin-bottom: 0; }
  .preview { position: relative; top: 0; }
  .stage { height: min(74svh, 760px); }
  .sizer { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; min-height: 0; padding-top: 40px; }
  .hero-copy { grid-column: 1 / -1; order: -1; padding-bottom: 0; }
  .hero-in { align-self: start; margin-top: 64px; }
  .turn-stage { grid-template-columns: 1fr minmax(0, 1fr); }
  .piece-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .piece:nth-child(3n + 2) { margin-top: 0; }
  .piece:nth-child(2n) { margin-top: clamp(40px, 7vw, 80px); }
  .fit-grid, .care-grid, .faq-grid { grid-template-columns: 1fr; }
  .fit-photo { position: relative; top: 0; max-width: 520px; }
  .fit-photo .frame { aspect-ratio: 4 / 3; }
  .faq .sec-head { position: static; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .days .day:nth-child(n + 3)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-news { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; gap: 10px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16.5px; }
  .nav-cta { display: none; }
  .logo { font-size: 27px; }
  .hero { padding: 24px var(--pad) 48px; row-gap: 26px; }
  .hero-copy { display: contents; }
  .hero-copy .label { grid-column: 1 / -1; order: -3; justify-self: center; margin-bottom: -4px; }
  .hero-title { grid-column: 1 / -1; order: -2; text-align: center; }
  .hero-lead { grid-column: 1 / -1; order: 1; justify-self: center; text-align: center; margin-top: 0; }
  .hero-copy .ctas { grid-column: 1 / -1; order: 2; margin-top: 0; }
  .hero-in { margin-top: 36px; }
  .hero-title { font-size: clamp(50px, 14.5vw, 78px); }
  .hero-copy .label { margin-bottom: 22px; }
  .hero-lead { margin-top: 24px; font-size: 16.5px; }
  .ctas { margin-top: 26px; width: 100%; }
  .ctas .btn { flex: 1 1 100%; }
  .hero-side figcaption { flex-direction: column; gap: 2px; font-size: 12.5px; }
  .turn.is-live { height: 220vh; }
  .turn-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; row-gap: 20px; }
  .turn.is-live .turn-stage { align-content: center; padding-top: 20px; padding-bottom: 76px; }
  .turn.is-live .turn-copy { grid-row: 1; grid-column: 1; justify-self: center; text-align: center; }
  .turn.is-live .turn-card { grid-row: 2; width: min(70vw, 42svh); justify-self: center; }
  .turn.is-live .turn-a, .turn.is-live .turn-b { transform: none; }
  .turn-h { font-size: 30px; }
  .turn-copy p:last-child { font-size: 15.5px; }
  .no-js .turn-stage, .turn.is-static .turn-stage { grid-template-columns: 1fr; }
  .piece-grid { grid-template-columns: 1fr; gap: 56px; }
  .piece:nth-child(2n) { margin-top: 0; }
  .piece-cta { min-height: 320px; }
  .metals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stones { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pv-strip { padding: 10px 12px; }
  .stage { height: auto; min-height: 0; aspect-ratio: 1 / 1.12; }
  .stage-top { padding: 14px 16px; }
  .pv-total { font-size: 23px; }
  .pv-name { font-size: 13.5px; }
  .stage-foot { padding: 12px; }
  .view { min-height: 34px; padding: 0 11px; font-size: 13px; }
  .drag-hint { padding: 8px; font-size: 0; gap: 0; }
  .drag-hint .i { width: 18px; height: 18px; }
  .real-note { top: 52px; font-size: 12px; }
  .chips-piece { grid-template-columns: 1fr 1fr; }
  .chips-piece .chip > span { gap: 10px; padding-right: 10px; font-size: 14px; }
  .panel, .result { padding: 20px; }
  .card-box { min-height: 150px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
  .tab { padding: 0 10px; font-size: 13.5px; }
  .days { display: flex; gap: 16px; margin: 0 calc(var(--pad) * -1); padding: 34px var(--pad) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 76%; scroll-snap-align: start; }
  .days .day:nth-child(n + 3)::before { display: block; }
  .days::before { left: var(--pad); right: auto; width: calc(4 * 76vw); }
  .promises li { grid-template-columns: 32px 1fr; gap: 14px; }
  .promises .i { width: 26px; height: 26px; }
  .final-photo .frame { aspect-ratio: 4 / 5; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-word { margin-top: 48px; }
  .sheet { width: 100vw; }
  .bag-list li { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .bag-thumb { width: 64px; }
}
