/* =========================================================
   FX layer — 3D, WebGL, cinematic sections
   ========================================================= */

/* ---------- WebGL particles canvas ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
#gl.is-on { opacity: 1; }
main, .foot { position: relative; z-index: 1; }
.section--dark2 { background: rgba(22, 17, 14, .72); }
.nav { z-index: 100; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); transform-origin: left; transform: scaleX(0); }

/* ---------- intro curtain ---------- */
.loader { background: transparent; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); }
.loader__panel--t { top: 0; } .loader__panel--b { bottom: 0; }
.loader__name, .loader__count, .loader__bar { z-index: 1; }

/* ---------- cursor (exact, replaces system cursor) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  width: 0; height: 0; border-radius: 50%; opacity: 0;
  transform: translate3d(-100px, -100px, 0); will-change: transform;
}
.cursor__dot {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: #f4ede3; mix-blend-mode: difference; transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
  display: grid; place-items: center;
}
.cursor { mix-blend-mode: difference; }
.cursor span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big .cursor__dot { width: 56px; height: 56px; }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__dot { width: 96px; height: 96px; background: var(--gold); mix-blend-mode: normal; }
.cursor.is-label span { opacity: 1; }
.cursor.is-down .cursor__dot { width: 9px; height: 9px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
html.has-cursor select { cursor: pointer !important; }

/* ---------- HERO ---------- */
.hx { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hx__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(52% 78% at 74% 46%, rgba(52, 45, 55, .95) 0%, rgba(40, 34, 42, .7) 40%, transparent 72%),
  radial-gradient(40% 50% at 15% 85%, rgba(201, 165, 107, .08), transparent 70%); }
.hx__name {
  position: absolute; left: 0; right: 0; bottom: -3vw; z-index: 0; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: clamp(80px, 21vw, 380px); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 237, 227, .14);
}
.hx__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.hx__title { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 7.4vw, 132px); line-height: .9; letter-spacing: -.02em; margin: 22px 0 0; }
.hx__title .line { display: block; perspective: 900px; padding-bottom: .05em; }
.hx__title .ch { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.hx__en { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: clamp(18px, 1.6vw, 24px); margin-top: 20px; }
.hx__p { color: rgba(244, 237, 227, .76); max-width: 470px; margin-top: 22px; font-size: 16px; }
.hx__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.hx__visual { position: relative; height: min(84vh, 860px); perspective: 1400px; }
.hx__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hx__frame {
  position: absolute; inset: 0; transform: translateZ(0);
  -webkit-mask-image: radial-gradient(ellipse 62% 72% at 50% 42%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 72% at 50% 42%, #000 58%, transparent 100%);
}
.hx__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.hx__halo { position: absolute; left: 50%; top: 40%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(-120px); border-radius: 50%; border: 1px solid rgba(232, 211, 163, .22); }
.hx__halo::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(232, 211, 163, .16); animation: spin 60s linear infinite; }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  background: rgba(244, 237, 227, .07); border: 1px solid rgba(244, 237, 227, .16);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
}
.chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.chip--1 { left: -4%; top: 22%; transform: translateZ(90px); }
.chip--2 { right: -2%; top: 52%; transform: translateZ(140px); }
.chip--3 { left: 6%; bottom: 12%; transform: translateZ(60px); }
.hx__seal { position: absolute; right: 4%; top: 6%; width: 118px; height: 118px; transform: translateZ(110px); }
.hx__seal svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hx__seal b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 30px; font-weight: 400; }

/* ---------- marquee rows ---------- */
.mq { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(14, 11, 9, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mq + .mq { border-top: 0; }
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__item { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--serif); font-size: clamp(28px, 4.2vw, 64px); white-space: nowrap; line-height: 1.1; }
.mq__item i { font-style: normal; color: var(--gold); font-size: .5em; }
.mq--outline .mq__item { color: transparent; -webkit-text-stroke: 1px rgba(244, 237, 227, .5); font-style: italic; }
.mq--outline .mq__item i { -webkit-text-stroke: 0; }

/* ---------- 3D tilt ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; position: relative; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 45%);
  mix-blend-mode: soft-light;
}
@media (hover: hover) { [data-tilt]:hover::after { opacity: 1; } }

/* ---------- CROWN cinematic ---------- */
.crown { position: relative; height: 100vh; overflow: hidden; }
.crown__media { position: absolute; inset: 0; clip-path: inset(24% 30% 24% 30% round 28px); will-change: clip-path; }
.crown__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; transform: scale(1.3); will-change: transform; }
.crown__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 11, 9, .9) 0%, rgba(14, 11, 9, .55) 40%, rgba(14, 11, 9, .05) 70%); opacity: var(--shade, 0); }
.no-anim .crown__media { clip-path: none; --shade: 1; }
.no-anim .crown__media img { transform: none; }
.no-anim .crown__big { display: none; }
.no-anim .crown { height: auto; min-height: 100vh; }
.crown__big { position: absolute; left: 0; right: 0; z-index: 2; font-family: var(--serif); font-size: clamp(64px, 13vw, 240px); line-height: .85; white-space: nowrap; pointer-events: none; text-align: center; letter-spacing: -.02em; }
.crown__big--t { top: 7vh; }
.crown__big--b { bottom: 7vh; font-style: italic; color: var(--gold); }
.crown__over { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }
.crown__list { list-style: none; padding: 0; margin: 26px 0 0; max-width: 520px; }
.crown__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(244, 237, 227, .16); font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); }
.crown__list li small { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.crown__over .h2 { max-width: 620px; }

/* ---------- 3D cylinder carousel ---------- */
.cy { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; height: 100vh; gap: 20px; padding: 70px var(--pad) 30px; max-width: var(--maxw); margin: 0 auto; }
.cy__stage { position: relative; height: 100%; display: grid; place-items: center; perspective: 1700px; perspective-origin: 50% 40%; }
.cy__stage::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 4%; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 165, 107, .35), transparent); filter: blur(10px); }
.cy__ring { --cw: clamp(190px, calc((100vh - 230px) * .56), 320px); position: relative; width: var(--cw); height: calc(var(--cw) * 1.79); transform-style: preserve-3d; will-change: transform; }
.cy__card { position: absolute; inset: 0; margin: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--bg-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transition: filter .5s, opacity .5s; }
.cy__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy__card.is-dim { filter: brightness(.35) saturate(.6); }
.cy__cap { display: none; }
.cy__panel { position: relative; z-index: 2; }
.cy__count { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.cy__count b { font-size: 64px; font-weight: 400; color: var(--gold); font-style: italic; line-height: 1; margin-right: 6px; }
.cy__t { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 3.6vw, 60px); line-height: 1; margin: 18px 0 10px; }
.cy__k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.cy__d { color: rgba(244, 237, 227, .78); margin: 18px 0 0; font-size: 16px; max-width: 380px; }
.cy__try { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; max-width: 380px; }
.cy__try b { display: block; font-size: 11px; letter-spacing: .2em; color: var(--gold); margin-bottom: 6px; }
.cy__swap { transition: opacity .25s, transform .35s var(--ease); }
.cy__swap.is-out { opacity: 0; transform: translateY(10px); }
.cy__dots { display: flex; gap: 6px; margin-top: 28px; }
.cy__dots i { width: 18px; height: 2px; background: var(--line); transition: background .3s, width .3s; }
.cy__dots i.on { background: var(--gold); width: 34px; }

/* ---------- 3D magazine book ---------- */
.mag { position: relative; }
.mag__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2.4vh, 32px); padding: 76px 0 24px; }
.mag__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.mag__head .h2 { font-size: clamp(34px, 4.4vw, 72px); }
.book { --bw: min(400px, 38vw, calc((100vh - 440px) / 1.43)); width: calc(var(--bw) * 2); height: calc(var(--bw) * 1.43); margin: 0 auto; perspective: 2600px; }
.book__inner { position: relative; width: var(--bw); height: 100%; margin-left: var(--bw); transform-style: preserve-3d; will-change: transform; }
.book__page { position: absolute; inset: 0; overflow: hidden; border-radius: 0 6px 6px 0; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); background: #2b262d; }
.book__page img { width: 100%; height: 100%; object-fit: cover; }
.book__page::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40px; background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent); z-index: 1; }
.book__cover { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.book__front, .book__back { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book__front { border-radius: 0 6px 6px 0; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.book__back { transform: rotateY(180deg); border-radius: 6px 0 0 6px; }
.book__front img, .book__back img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.book__back::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 40px; background: linear-gradient(270deg, rgba(0, 0, 0, .45), transparent); }
.book__mast { position: absolute; left: 0; right: 0; top: 4%; text-align: center; font-family: var(--serif); font-weight: 600; letter-spacing: .06em; line-height: .85; color: #f4ede3; font-size: calc(var(--bw) * .16); text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.book__mast small { display: block; font-family: var(--sans); font-size: calc(var(--bw) * .028); letter-spacing: .5em; font-weight: 600; color: var(--gold-2); margin-bottom: 8px; }
.book__mast em { color: var(--gold); }
.book__lines { position: absolute; left: 6%; bottom: 6%; font-size: calc(var(--bw) * .032); line-height: 1.35; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.book__lines span { display: block; font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.7em; color: var(--gold-2); }
.mag__foot { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.mag__quote { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.3; max-width: 760px; }
.mag__quote em { color: var(--gold); }

/* ---------- help v2 (sticky preview) ---------- */
.help2 { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.help__frame { position: sticky; top: 110px; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); }
.help__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: 0; transform: scale(1.12); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.help__frame img.is-on { opacity: 1; transform: scale(1); }
.help__frame figcaption { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: rgba(244, 237, 227, .9); color: var(--ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.help__item { cursor: pointer; }
.help__item.is-on .t { transform: translateX(18px); color: var(--gold-deep); }
.help__item.is-on .a { background: var(--gold); transform: rotate(-45deg); }

/* ---------- section number badge ---------- */
.sn { position: absolute; right: var(--pad); top: clamp(40px, 6vw, 80px); font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.section--light .sn { color: var(--muted-dark); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hx__grid { grid-template-columns: 1fr; }
  .hx__visual { order: -1; height: 62svh; min-height: 420px; margin: -40px calc(var(--pad) * -1) -90px; }
  .hx { padding-top: 70px; align-items: flex-start; }
  .chip--1 { left: 4%; } .chip--2 { right: 4%; top: 46%; } .chip--3 { display: none; }
  .hx__seal { width: 92px; height: 92px; right: 6%; }
  .help2 { grid-template-columns: 1fr; }
  .help__frame { display: none; }
  .mag__foot { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cy { display: block; height: auto; padding: 0; }
  .cy__stage { perspective: none; height: auto; display: block; }
  .cy__stage::after { display: none; }
  .cy__ring { width: auto; height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 10px; transform: none !important; scrollbar-width: none; }
  .cy__ring::-webkit-scrollbar { display: none; }
  .cy__card { position: relative; inset: auto; flex: 0 0 76vw; transform: none !important; backface-visibility: visible; scroll-snap-align: center; filter: none !important; }
  .cy__card img { aspect-ratio: 596/1066; height: auto; }
  .cy__cap { display: block; padding: 16px 18px 20px; }
  .cy__cap b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; }
  .cy__cap small { display: block; color: var(--gold-2); letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; margin: 4px 0 10px; }
  .cy__cap p { font-size: 14px; color: rgba(244, 237, 227, .8); margin: 0 0 8px; }
  .cy__cap span { font-size: 13px; color: var(--gold-2); }
  .cy__panel { display: none; }
  .crown__big { font-size: clamp(54px, 17vw, 120px); }
  .book { --bw: 44vw; }
  .mag__pin { min-height: 0; }
}
@media (max-width: 700px) {
  .hx__title { font-size: clamp(46px, 13vw, 70px); }
  .hx__name { display: none; }
  .chip { font-size: 11px; padding: 9px 13px 9px 10px; }
  .chip i { width: 20px; height: 20px; font-size: 10px; }
  .crown__list li { font-size: 20px; }
  .crown__over .h2 { font-size: 34px; }
}

/* ---------- v3 tweaks ---------- */
.crown__media { clip-path: none !important; }
.book__mast { top: auto; bottom: 21%; }
.book__lines { bottom: 5%; }
.book { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.book__hint { display: none; text-align: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin: 0; }
.book__hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; margin-right: 6px; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
.only-mob { display: none; }
.reviews { align-items: flex-start; }
.lang {
  display: inline-grid; place-items: center; height: 46px; min-width: 46px; padding: 0 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(244, 237, 227, .32); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  transition: background .3s, color .3s;
}
@media (hover: hover) { .lang:hover, .lang:focus-visible { background: var(--ivory); color: var(--ink); } }
@media (max-width: 900px) {
  .only-desk { display: none; }
  .only-mob { display: inline; }
  .book__hint { display: block; }
}
@media (max-width: 700px) {
  .nav .lang { height: 40px; min-width: 40px; padding: 0 10px; }
}
.no-anim .book__cover { transform: rotateY(-180deg); }
.crown__big--t { top: auto; bottom: calc(6vh + clamp(64px, 13vw, 240px) * .92); }
.crown__big--b { bottom: 6vh; }
@media (max-width: 900px) {
  .crown__big--t { bottom: calc(5vh + clamp(54px, 17vw, 120px) * .92); }
  .crown__big--b { bottom: 5vh; }
  .book__hint { margin-top: 34px; }
}
.crown__big { text-shadow: 0 6px 40px rgba(14, 11, 9, .45); }

/* ---------- v4 tweaks ---------- */
/* language pill: clearly visible */
.lang { background: var(--gold); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(201, 165, 107, .7); }
@media (hover: hover) { .lang:hover, .lang:focus-visible { background: var(--ivory); color: var(--ink); } }

/* phone hero: photo-grey background all the way to the top (no black band) */
@media (max-width: 1100px) {
  .hx { background: linear-gradient(180deg, #2f2931 0%, #2f2931 50%, var(--bg) 78%); }
  .hx__bg { display: none; }
  .hx__frame { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .nav:not(.is-scrolled) { background: transparent; }
}

/* crown: never crop the crown */
.crown__media img { object-position: 50% 0%; transform-origin: 50% 0%; }
@media (max-width: 900px) {
  .crown__big { white-space: normal; font-size: clamp(40px, 12vw, 64px); line-height: .95; padding: 0 16px; }
  .crown__big--t { bottom: calc(5vh + 2.1em); }
  .crown__big--b { bottom: 5vh; }
  .crown__over { align-items: flex-end; padding-bottom: 4vh; }
  .crown__media::after { background: linear-gradient(0deg, rgba(14, 11, 9, .95) 0%, rgba(14, 11, 9, .8) 42%, rgba(14, 11, 9, 0) 68%); }
  .crown__over .h2 { font-size: 28px; }
  .crown__list { margin-top: 12px; }
  .crown__list li { padding: 9px 0; font-size: 18px; }
}

/* direction photos: whole photo visible, blurred copy fills the rest */
.dir__media { background: var(--bg-3); isolation: isolate; }
.dir__media::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--dir-img) center/cover no-repeat; filter: blur(28px) brightness(.55); }
.dir__media img { object-fit: contain !important; object-position: 50% 50% !important; }
@media (max-width: 1100px) {
  .dir__media { aspect-ratio: auto; }
  .dir__media img { position: relative; height: auto; max-height: 70vh; }
}

/* ---------- v5 tweaks ---------- */
/* cheap blurred backdrop: tiny pre-blurred image, no live blur filter */
.dir__media::before { inset: 0; filter: brightness(.6); }

/* phone hero: the photo itself runs to the top edge (no painted grey band) */
@media (max-width: 1100px) {
  .hx { background: var(--bg); padding-top: 0; }
  .hx__visual { margin: 0 calc(var(--pad) * -1) -90px; height: 66svh; }
  .hx__frame { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hx__frame img { object-position: 50% 0%; }
}

/* glass pill (same style as the hero chips) */
.pill-glass {
  background: rgba(14, 11, 9, .42); border: 1px solid rgba(244, 237, 227, .2);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); border-radius: 999px;
}
@media (max-width: 900px) {
  .crown__big { left: 0; right: 0; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: .12em .5em .2em; text-shadow: none;
    background: rgba(14, 11, 9, .42); border: 1px solid rgba(244, 237, 227, .2); border-radius: 999px;
    backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); }
  .crown__big--t { bottom: calc(5vh + 1.65em); }
}
.book__hint { width: max-content; margin: 34px auto 0; padding: 12px 22px 12px 16px; display: none; align-items: center; gap: 12px; font-size: 13px; }
.book__hint span { font-size: 26px; line-height: 1; color: var(--gold); }
@media (max-width: 900px) { .book__hint { display: flex; } }

/* touch screens: no sticky hover highlight, no text selection on buttons */
.btn, .lang, .fab__btn, .burger, .help__item, .partner, .plan { -webkit-tap-highlight-color: transparent; }
.btn, .lang { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (max-width: 1100px) { .hx__seal { top: 16%; right: 5%; } }

/* ---------- Mac / Safari performance ---------- */
html.is-mac .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 11, 9, .94); }
html.is-mac .mq { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 11, 9, .85); }
html.is-mac .dir { box-shadow: none; }
html.is-mac .dir__media img { transition: none; }
html.is-mac #gl { will-change: auto; }
/* Mac: no sticky stacking in directions (plain list, opaque background) */
html.is-mac .dir { position: relative; top: auto !important; }
html.is-mac .dir__media::before { display: none; }

/* no page scrollbar on desktop; scrolling itself still works */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }

/* book: flat planes apart and a fixed spine, so the seam can't flicker in Safari */
html.is-mac .book__page { transform: translateZ(-1px); }
html.is-mac .book__front { transform: translateZ(.5px); }
html.is-mac .book__back { transform: rotateY(180deg) translateZ(.5px); }
html.is-mac .book__inner::after { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #171214; transform: translateZ(2px); pointer-events: none; }

/* book: bigger on Mac only; short laptop screens get a tighter heading and quote to make room */
@media (min-width: 901px) {
  html.is-mac .book { --bw: min(460px, 38vw, calc((100vh - 400px) / 1.43)); }
}
@media (min-width: 901px) and (max-height: 860px) {
  html.is-mac .book { --bw: min(460px, 38vw, calc((100vh - 360px) / 1.43)); }
  html.is-mac .mag__pin { padding: 70px 0 12px; gap: 12px; }
  html.is-mac .mag__head .h2 { font-size: clamp(30px, 3.2vw, 44px); }
  html.is-mac .mag__head .lead, html.is-mac .mag__head p { font-size: 15px; margin-top: 6px; }
  html.is-mac .mag__head br { display: none; }
  html.is-mac .mag__quote { font-size: 17px; max-width: 900px; }
  html.is-mac .mag__foot .btn { padding-block: 12px; }
}
