@font-face { font-family: 'Fredoka'; src: url('assets/fonts/Fredoka.ttf') format('truetype'); font-style: normal; font-weight: 300 700; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #111522;
  --deep: #1b2034;
  --blue: #244878;
  --violet: #8888b0;
  --lilac: #eeeafa;
  --white: #f4f2f1;
  --soft: #cbc8d9;
  --mint: #c8fff4;
  --line: rgba(160, 153, 194, .32);
  --serif: 'Fredoka', 'Trebuchet MS', sans-serif;
  --sans: 'Fredoka', 'Trebuchet MS', sans-serif;
  --mono: 'Fredoka', 'Trebuchet MS', sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { position: relative; max-width: 100%; margin: 0; overflow-x: clip; background: var(--night); color: var(--white); font: 16px/1.65 var(--serif); }
body.entry-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--night); background: var(--mint); }

.starfield { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; opacity: .94; background: url('assets/cosmos-background.svg') center calc(0px - var(--star-shift, 0px)) / max(100vw, 135vh) auto no-repeat; }
.nebula-overlay { position: fixed; z-index: 6; inset: 0; overflow: hidden; pointer-events: none; }
.nebula-overlay::before, .nebula-overlay::after { position: absolute; top: -55vh; width: min(46vw, 560px); height: 210vh; content: ''; opacity: .72; pointer-events: none; background: url('assets/nebula-clouds.svg') center / auto 210vh no-repeat; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.78) 13%, rgba(0,0,0,.66) 42%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-composite: intersect; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.78) 13%, rgba(0,0,0,.66) 42%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); -webkit-mask-composite: source-in; }
.nebula-overlay::before { left: 0; transform: translate3d(0, var(--nebula-left-shift, 0px), 0); }
.nebula-overlay::after { right: 0; background-position-y: 37%; transform: translate3d(0, var(--nebula-right-shift, 0px), 0) scaleX(-1); }
/* Each scene controls its own fixed positioning and stacking. Applying a generic
   position to direct children collapses the full-screen arrival scene to 0px. */

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 em, h2 em { color: var(--lilac); font-weight: 500; }
.section-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section-kicker, .project-meta, .product-topline, .work-foot, .footer-top > span, .back-top, .footer-bottom, .orbit-caption, .scroll-cue span { font: 10px/1.5 var(--mono); letter-spacing: .12em; }

/* The first view is an airlock over the site. */
.arrival-screen { display: none; }
.js .arrival-screen { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 48%, rgba(136,136,176,.24), transparent 52%), linear-gradient(180deg, rgba(18,16,28,.98) 0%, rgba(29,25,43,.9) 55%, rgba(20,19,31,.76) 100%); opacity: 1; visibility: visible; transition: opacity 500ms ease, visibility 500ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
.js .arrival-screen::before { position: absolute; z-index: -1; inset: 0; content: ''; opacity: .45; background: radial-gradient(1px 1px at 13% 19%, #fff 98%, transparent), radial-gradient(1px 1px at 72% 13%, #fff 98%, transparent), radial-gradient(2px 2px at 84% 37%, #c9f4ed 98%, transparent), radial-gradient(1px 1px at 31% 45%, #fff 98%, transparent), radial-gradient(1px 1px at 62% 53%, #fff 98%, transparent), radial-gradient(2px 2px at 22% 68%, #d9d3ff 98%, transparent), radial-gradient(1px 1px at 91% 71%, #fff 98%, transparent), radial-gradient(1px 1px at 43% 28%, #fff 98%, transparent); background-size: 100% 100%; }
.js .arrival-screen[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-3vh) scale(1.025); }
.arrival-content { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; padding: 0; text-align: center; pointer-events: none; }
.arrival-business-mark { position: absolute; top: 2%; left: 50%; width: clamp(100px, 10vw, 132px); height: clamp(100px, 10vw, 132px); object-fit: contain; filter: drop-shadow(0 0 22px rgba(199,243,239,.48)); transform: translateX(-50%); }
.arrival-kicker { position: absolute; top: clamp(132px, 14vh, 175px); left: 50%; width: 100%; margin: 0; color: var(--mint); font: 500 17px var(--serif); letter-spacing: .13em; transform: translateX(-50%); }
.arrival-content h1 { position: absolute; top: clamp(170px, 20vh, 240px); left: 50%; width: 100%; margin: 0; font: 600 clamp(34px, min(6.6vw, 8vh), 78px)/1.02 var(--serif); letter-spacing: .015em; text-shadow: 0 0 48px rgba(146,159,236,.3); transform: translateX(-50%); }
.arrival-content h1 em { color: #c8c3e8; font-style: normal; font-weight: 600; }
.arrival-seal { position: absolute; z-index: 4; top: 65vh; left: 50%; display: grid; width: min(610px, 82vw); aspect-ratio: 1.88; place-items: center; overflow: visible; border: 0; border-radius: 50%; background: transparent; box-shadow: none; transform: translate(-50%, -50%); pointer-events: none; }
.arrival-seal img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 20px rgba(5,10,23,.42)) drop-shadow(0 0 28px rgba(205,224,246,.22)); }
.arrival-moon { position: absolute; z-index: 1; bottom: -14vh; left: 50%; display: block; width: min(72vh, 90vw, 780px); aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(ellipse at 30% 20%, #f1f0fa 0, #d4d7ee 7%, #a49cbe 24%, #6d7199 48%, #3f4f7a 70%, #23233a 100%); box-shadow: 0 -28px 95px rgba(204,201,229,.27), inset -60px -22px 120px rgba(18,16,30,.66), inset 23px 8px 52px rgba(240,246,255,.3); color: #101932; cursor: pointer; font: inherit; appearance: none; transform: translateX(-50%); transition: filter .35s ease, box-shadow .35s ease; }
.arrival-moon:hover, .arrival-moon:focus-visible { filter: brightness(1.17); box-shadow: 0 -36px 125px rgba(200,243,239,.48), inset -38px -12px 105px rgba(5,10,28,.48), inset 26px 10px 65px rgba(248,251,255,.55), 0 0 80px rgba(200,243,239,.24); outline: 0; }
.arrival-moon::before { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 62% 73%, transparent 0 25%, rgba(11,20,45,.22) 68%, rgba(5,10,27,.65) 100%); content: ''; transition: opacity .22s ease; }
.arrival-moon:hover::before, .arrival-moon:focus-visible::before { opacity: .45; }
.arrival-moon::after { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 37% 18%, rgba(234,238,252,.09), transparent 16%), radial-gradient(ellipse at 72% 35%, rgba(31,42,74,.1), transparent 14%), radial-gradient(ellipse at 24% 66%, rgba(25,36,69,.1), transparent 19%), radial-gradient(ellipse at 63% 79%, rgba(229,232,247,.06), transparent 15%); content: ''; pointer-events: none; }
.moon-instruction { position: absolute; z-index: 3; top: 60%; left: 50%; display: grid; width: max-content; min-height: 53px; place-items: center; transform: translate(-50%, -50%); pointer-events: none; font: 600 19px/1 var(--serif); letter-spacing: .09em; }
.moon-hover-hint, .moon-enter-label { grid-area: 1 / 1; transition: opacity .3s ease, text-shadow .3s ease; }
.moon-hover-hint { opacity: .56; }
.moon-enter-label { opacity: 0; }
.moon-enter-label b { padding-left: 7px; font-size: 17px; }
.arrival-moon:hover .moon-hover-hint, .arrival-moon:focus-visible .moon-hover-hint { opacity: 0; }
.arrival-moon:hover .moon-enter-label, .arrival-moon:focus-visible .moon-enter-label { opacity: 1; text-shadow: 0 0 20px rgba(255,255,255,.65); }
.moon-crater { position: absolute; z-index: 1; border: 1px solid rgba(37,50,81,.14); border-radius: 50%; background: radial-gradient(ellipse at 38% 34%, rgba(239,243,255,.18), rgba(67,77,116,.12) 57%, rgba(24,34,66,.22)); box-shadow: inset 3px 4px 10px rgba(15,24,52,.15), -2px -2px 5px rgba(239,244,255,.13), 2px 3px 8px rgba(21,31,57,.09); opacity: .8; }
.crater-a { top: 25%; left: 18%; width: 9%; aspect-ratio: 1.12; transform: rotate(-17deg); }.crater-b { top: 35%; right: 19%; width: 6.5%; aspect-ratio: 1.04; }.crater-c { bottom: 23%; left: 37%; width: 5.5%; aspect-ratio: 1.15; transform: rotate(25deg); }.crater-d { top: 17%; right: 33%; width: 2.8%; aspect-ratio: 1; }

.site-header { position: sticky; z-index: 10; top: 0; display: flex; height: 78px; align-items: center; justify-content: space-between; padding: 0 max(32px, calc((100% - 1240px)/2)); border-bottom: 1px solid var(--line); background: rgba(7,13,31,.82); backdrop-filter: blur(16px); }
.brand { display: block; width: 140px; padding: 0; overflow: hidden; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); color: #e7e5f1; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { position: relative; padding: 10px 0; transition: color .2s; }
.main-nav a::after { position: absolute; right: 100%; bottom: 2px; left: 0; height: 1px; background: var(--mint); content: ''; transition: right .25s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--mint); }.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; }
.shrine-rail { position: fixed; z-index: 7; top: 50%; right: 25px; display: grid; gap: 13px; transform: translateY(-50%); }
.shrine-rail a { width: 9px; height: 9px; border: 1px solid rgba(226,224,240,.56); border-radius: 50%; background: rgba(8,13,32,.72); transition: transform .2s, background .2s, box-shadow .2s; }
.shrine-rail a:hover, .shrine-rail a.is-active { transform: scale(1.4); border-color: var(--mint); background: var(--mint); box-shadow: 0 0 12px rgba(200,243,239,.6); }

main, footer { position: relative; z-index: 1; }
.hero { position: relative; display: grid; min-height: min(760px, calc(100svh - 78px)); grid-template-columns: 1fr .9fr; align-items: center; gap: 5vw; padding-top: 55px; padding-bottom: 88px; isolation: isolate; }
.hero::before { position: absolute; z-index: -1; right: -8%; bottom: 4%; width: 78%; height: 33%; border-top: 1px solid rgba(215,227,244,.26); border-radius: 50% 50% 0 0; background: linear-gradient(180deg, rgba(111,141,179,.22), rgba(18,31,60,.04)); content: ''; transform: rotate(-5deg); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 10px; }
.eyebrow { color: var(--mint); font: 10px var(--mono); letter-spacing: .18em; }
.eyebrow-star { padding-right: 9px; color: var(--violet); font-size: 16px; }
.hero h1 { margin: 25px 0 26px; font-size: clamp(60px, 8.5vw, 105px); text-shadow: 0 5px 40px rgba(105,126,190,.22); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 17px; padding: 12px 17px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; transition: transform .22s, color .22s, background .22s, border-color .22s; }
.button:hover { transform: translateY(-3px); }.button span, .text-link span { font-size: 16px; }
.button-primary { border-color: var(--mint); background: var(--mint); color: #111a37; }.button-primary:hover { background: #ecffff; }
.button-outline { color: var(--white); background: rgba(9,17,39,.5); }.button-outline:hover { border-color: var(--mint); color: var(--mint); }
.text-link { color: var(--white); font-size: 12px; transition: color .2s; }.text-link:hover { color: var(--mint); }.text-link span { margin-left: 5px; color: var(--violet); }
.hero-art { position: relative; width: min(100%, 460px); height: min(54vw, 530px); min-height: 360px; justify-self: end; padding: 10px; border: 1px solid rgba(200,243,239,.28); border-radius: 48% 48% 5px 5px; background: linear-gradient(180deg, rgba(33,53,91,.38), rgba(13,21,48,.55)); box-shadow: 0 0 65px rgba(102,145,191,.13), inset 0 0 50px rgba(125,166,202,.08); }
.hero-art::before { position: absolute; z-index: -1; inset: 23px -19px -21px 23px; border: 1px solid rgba(143,137,178,.26); border-radius: 48% 48% 4px 4px; content: ''; }
.hero-art::after { position: absolute; z-index: 2; right: -9%; bottom: 11%; left: -9%; height: 1px; background: linear-gradient(90deg, transparent, rgba(210,237,239,.58), transparent); content: ''; box-shadow: 0 0 18px rgba(200,243,239,.55); }
.hero-art img { display: block; width: 100%; height: 100%; border-radius: 47% 47% 2px 2px; object-fit: cover; object-position: center 24%; filter: saturate(.84); }
.moon-orbit { position: absolute; z-index: 3; width: 78px; height: 78px; border: 1px solid rgba(208,240,240,.55); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 54px; right: -40px; }.orbit-two { top: 28px; right: 16px; width: 22px; height: 22px; border: 0; background: var(--mint); box-shadow: 0 0 32px 8px rgba(208,240,240,.43); }
.art-label { position: absolute; bottom: 42px; left: -30px; display: flex; align-items: center; gap: 10px; padding: 12px 17px; border: 1px solid rgba(200,243,239,.32); background: #101a37; color: var(--white); font: 10px/1.3 var(--mono); letter-spacing: .12em; }
.label-star { color: var(--mint); font-size: 22px; }.orbit-caption { position: absolute; right: -45px; bottom: 18px; color: #c6c2de; font-size: 8px; writing-mode: vertical-rl; }
.scroll-cue { position: absolute; bottom: 10px; left: 0; display: flex; align-items: center; gap: 11px; color: var(--mint); font-size: 23px; }.scroll-cue span { color: #a99fb9; font-size: 8px; }

.events-section { position: relative; display: flex; min-height: 270px; flex-direction: column; justify-content: center; padding-block: 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.events-section::after { position: absolute; right: 10%; bottom: -1px; width: 42%; height: 80%; border: 1px solid rgba(200,243,239,.12); border-bottom: 0; border-radius: 50% 50% 0 0; content: ''; pointer-events: none; }
.section-kicker { display: flex; align-items: center; gap: 13px; color: #b6adc9; font-size: 9px; }
.section-kicker span:first-child { color: var(--mint); }
.events-section h2 { margin: 20px 0 0; font-size: clamp(32px, 5vw, 54px); }
.intro { position: relative; padding-top: 105px; padding-bottom: 75px; }
.intro::before { position: absolute; z-index: -1; top: 4%; right: -13%; width: 44vw; height: 44vw; max-height: 700px; max-width: 700px; border: 1px solid rgba(143,137,178,.1); border-radius: 50%; content: ''; box-shadow: 0 0 0 24px rgba(143,137,178,.025), 0 0 0 61px rgba(143,137,178,.02); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); padding: 40px 0 57px; }
.intro h2, .section-heading h2, .contact-grid h2 { margin: 0; font-size: clamp(44px, 6.2vw, 75px); }
.intro-copy { max-width: 620px; padding-top: 4px; color: #c9c4d3; font-size: 13px; line-height: 1.9; }
.intro-copy .lead { color: var(--white); font: 21px/1.5 var(--serif); }
.intro-copy h3 { margin: 28px 0 12px; color: var(--lilac); font: 500 24px var(--serif); }
.intro-copy ul { padding-left: 20px; }.intro-copy li { padding: 3px 0; }.intro-copy li ul { margin: 4px 0; }
.story-details { margin-top: 21px; padding-top: 13px; border-top: 1px solid var(--line); }
.story-details summary { color: var(--mint); font-size: 12px; cursor: pointer; list-style: none; }.story-details summary::-webkit-details-marker { display: none; }.story-details summary span { float: right; font-size: 17px; }.story-details[open] summary span { transform: rotate(45deg); }
.story-details p { margin: 13px 0 0; color: #c2bed0; font-size: 12px; line-height: 1.85; }
.interest-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--lilac); font: 9px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.interest-strip i { color: var(--mint); font-size: 12px; font-style: normal; }
.services-section { position: relative; padding-top: 92px; padding-bottom: 95px; }
.services-section::before { position: absolute; z-index: -1; top: 10%; left: -6%; width: 48%; height: 80%; border: 1px solid rgba(200,243,239,.12); border-radius: 48% 48% 0 0; content: ''; box-shadow: inset 0 0 48px rgba(111,148,195,.09), 0 0 50px rgba(111,148,195,.06); }
.services-section .section-heading { align-items: start; margin: 28px 0 40px; }
.services-section .section-heading h2 { color: var(--mint); font: 500 14px var(--mono); letter-spacing: .18em; }
.services-section .section-heading > p { max-width: 550px; margin: 0; color: #d0cadb; font-size: 13px; line-height: 2.1; }
.work-section { position: relative; overflow: hidden; padding: 104px 0 92px; border-block: 1px solid rgba(200,243,239,.15); background: linear-gradient(180deg, rgba(17,31,64,.95), rgba(10,16,37,.9)); }
.work-section::before { position: absolute; top: -35%; left: 50%; width: min(850px, 90vw); aspect-ratio: 1; border: 1px solid rgba(158,173,216,.1); border-radius: 50%; content: ''; box-shadow: 0 0 0 22px rgba(158,173,216,.018), 0 0 0 65px rgba(158,173,216,.016); transform: translateX(-50%); }
.work-section .section-wrap { position: relative; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin: 24px 0 38px; }
.section-heading h2 { margin-top: 20px; }.section-heading > p { max-width: 425px; margin: 0 0 3px; color: #c3bdce; font-size: 13px; line-height: 1.9; }
.project-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; }
.project-card { min-width: 0; padding: 9px; border: 1px solid rgba(200,243,239,.22); background: rgba(8,14,32,.57); box-shadow: 0 16px 48px rgba(0,0,0,.2); transform: translateY(0); transition: transform .35s, border-color .35s; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(200,243,239,.55); }
.project-image { height: 260px; overflow: hidden; background: #142548; }.project-feature .project-image { height: 360px; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }.project-card:hover .project-image img { transform: scale(1.035); }
.work-foot { display: flex; justify-content: flex-end; margin-top: 33px; padding-top: 17px; border-top: 1px solid var(--line); }
.work-foot .text-link { font: 12px var(--sans); }
.shop-section { position: relative; padding-top: 105px; padding-bottom: 106px; }
.shop-section::after { position: absolute; z-index: -1; top: 13%; left: -15%; width: 47vw; height: 47vw; border: 1px solid rgba(146,130,191,.11); border-radius: 50%; content: ''; box-shadow: 0 0 0 16px rgba(146,130,191,.025), 0 0 0 40px rgba(146,130,191,.018); }
.shop-heading { margin-bottom: 35px; }.shop-heading h2 { font-size: clamp(42px, 5.8vw, 69px); }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product-card { overflow: hidden; border: 1px solid rgba(200,243,239,.22); background: rgba(12,21,46,.88); box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.product-visual, .wax-visual { position: relative; display: grid; height: 320px; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 110%, rgba(188,220,238,.42), transparent 47%), linear-gradient(160deg, #1a2d55, #101932 70%); }
.product-visual::after { position: absolute; right: -10%; bottom: 5%; left: -10%; height: 31%; border-top: 1px solid rgba(231,240,245,.4); border-radius: 50%; content: ''; background: linear-gradient(180deg, rgba(168,191,212,.24), transparent); }
.product-visual img { z-index: 1; width: 86%; height: 87%; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0,0,0,.35)); }
.wax-visual { align-content: center; gap: 7px; background: radial-gradient(circle at 50% 42%, #354b7b, #151f43 56%, #0a1129 80%); color: var(--lilac); }
.wax-visual::before, .wax-visual::after { position: absolute; color: var(--mint); content: '✦'; opacity: .75; }.wax-visual::before { top: 22%; left: 20%; }.wax-visual::after { right: 23%; bottom: 23%; }
.wax-moon { color: var(--mint); font-size: 65px; line-height: 1; text-shadow: 0 0 32px rgba(200,243,239,.55); }
.wax-visual > span:not(.product-sticker) { text-align: center; font: 17px var(--serif); letter-spacing: .2em; }
.product-info { padding: 18px 21px 21px; }.product-topline { display: flex; justify-content: space-between; gap: 12px; color: #c2b7d2; font-size: 9px; }
.product-info h3 { margin: 9px 0 0; font: 500 24px var(--serif); }.product-info p { margin: 8px 0 0; color: #c0b8cc; font-size: 12px; }
.fantasy-section { position: relative; padding-top: 83px; padding-bottom: 83px; border-block: 1px solid var(--line); }
.fantasy-section::before { position: absolute; z-index: -1; right: -2%; bottom: -25%; width: 42vw; aspect-ratio: 1; border: 1px solid rgba(200,243,239,.09); border-radius: 50%; content: ''; box-shadow: 0 0 0 20px rgba(200,243,239,.018), 0 0 0 48px rgba(200,243,239,.014); }
.fantasy-section > h2 { margin: 24px 0 46px; font-size: clamp(40px, 6vw, 70px); }
.fantasy-section .section-heading { align-items: center; margin-bottom: 0; padding-top: 28px; border-top: 1px solid var(--line); }.fantasy-section .section-heading h2 { font-size: clamp(30px, 4.3vw, 48px); }
.contact-section { position: relative; padding: 96px 0; border-block: 1px solid rgba(200,243,239,.16); background: linear-gradient(180deg, rgba(15,29,60,.9), rgba(8,13,32,.95)); }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 70px; }.contact-grid h2 { margin: 24px 0 16px; }.contact-grid > div > p { max-width: 440px; color: #c5bdcf; font-size: 13px; }
.email-link { display: inline-block; margin-top: 15px; padding-bottom: 6px; border-bottom: 1px solid rgba(200,243,239,.42); color: var(--mint); font: 500 18px var(--serif); }.email-link span { padding-left: 12px; font: 14px var(--sans); }
.contact-form { padding: 29px; border: 1px solid rgba(200,243,239,.23); background: rgba(8,15,35,.6); box-shadow: 0 18px 60px rgba(0,0,0,.18); }.contact-form p { margin: 0; color: #ddd8e7; font: 19px/1.6 var(--serif); }
.site-footer { padding: 26px max(32px, calc((100% - 1120px)/2)) 18px; }
.footer-top, .footer-bottom, .footer-bottom > div { display: flex; align-items: center; justify-content: space-between; gap: 17px; }
.footer-logo { display: block; width: 135px; padding: 0; }.footer-logo img { display: block; width: 100%; height: auto; }
.footer-brandmarks { display: flex; align-items: center; gap: 12px; }.business-mark { display: block; width: 90px; height: 90px; object-fit: contain; }
.footer-top > span { color: #c9c1d5; font-size: 8px; }.back-top { color: var(--mint); font-size: 8px; }
.footer-bottom { margin-top: 21px; padding-top: 15px; border-top: 1px solid var(--line); color: #a49bb4; font-size: 8px; letter-spacing: .04em; }.footer-bottom > div { gap: 17px; }.footer-bottom a:hover { color: var(--mint); }.footer-bottom > span:last-child { font-family: var(--mono); letter-spacing: .07em; }

/* Store information follows the same journey, with copy kept intact. */
.policies-page { width: min(850px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0 90px; }
.policies-page h1 { margin: 12px 0 30px; font-size: clamp(44px, 7vw, 76px); }
.policy-block { position: relative; margin-bottom: 46px; padding: 0 0 45px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.policy-block:last-child { border-bottom: 0; }
.policy-block h1 { margin: 0 0 18px; }.policy-block h2 { margin: 33px 0 14px; color: var(--lilac); font-size: clamp(26px, 4vw, 39px); }
.policy-block h3 { margin: 19px 0 5px; color: var(--mint); font: 500 17px var(--serif); }
.policy-block > p, .policy-block li p { color: #c8c1d2; font-size: 13px; line-height: 1.9; }
.policy-block ol { padding-left: 22px; }.policy-block li { padding-left: 5px; color: var(--mint); }.policy-block li p { margin: 0; }
.policy-block a { color: var(--mint); text-decoration: underline; text-decoration-color: rgba(200,243,239,.35); text-underline-offset: 3px; }
.faq-item { padding: 16px 0; border-top: 1px solid var(--line); }.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { color: var(--white); font: 500 19px var(--serif); cursor: pointer; list-style: none; }.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { float: right; color: var(--mint); content: '+'; font: 18px var(--sans); }.faq-item[open] summary::after { content: '−'; }
.faq-item p { max-width: 740px; margin: 12px 0 0; color: #c5bdcf; font-size: 12px; line-height: 1.9; }
.policy-nav { gap: clamp(8px, 2vw, 24px); }.policy-nav a { font-size: 9px; }

@media (max-width: 900px) {
  .site-header { padding-inline: 24px; }.main-nav { gap: 15px; font-size: 9px; }
  .section-wrap { width: min(100% - 48px, 760px); }.hero { min-height: 650px; gap: 26px; }.hero-art { height: 48vw; min-height: 360px; }
  .intro-grid { gap: 40px; }.project-feature .project-image { height: 310px; }.project-image { height: 230px; }
  .contact-grid { gap: 38px; }.site-footer { padding-inline: 24px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }.section-wrap { width: calc(100% - 40px); }
  .arrival-content { padding-bottom: 0; }.arrival-business-mark { top: 2%; width: clamp(100px, 26vw, 118px); height: clamp(100px, 26vw, 118px); }.arrival-kicker { top: clamp(122px, 15vh, 138px); font-size: 15px; letter-spacing: .08em; }.arrival-content h1 { top: clamp(170px, 21vh, 190px); font-size: clamp(35px, 8.8vw, 46px); }.arrival-seal { top: 63vh; width: min(260px, 82vw); }.arrival-moon { bottom: -6vh; width: min(62vh, 108vw, 520px); }.moon-instruction { top: 60%; font-size: 16px; }
  .site-header { height: 68px; padding-inline: 18px; }.brand { width: 116px; }.menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: rgba(8,13,32,.7); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--white); transition: transform .2s; }.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px 21px 16px; border-bottom: 1px solid var(--line); background: rgba(8,15,35,.97); font-size: 11px; }
  .main-nav.is-open { display: flex; }.main-nav a { padding: 11px 1px; border-bottom: 1px solid rgba(198,190,230,.11); }.main-nav a::after { display: none; }
  .shrine-rail { right: 9px; gap: 12px; }.shrine-rail a { width: 7px; height: 7px; }
  .hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 36px; padding-top: 62px; padding-bottom: 68px; }.hero-copy { padding: 0; }.eyebrow { font-size: 8px; }.hero h1 { margin: 21px 0 22px; font-size: clamp(62px, 17vw, 88px); }.hero-actions { gap: 17px; flex-wrap: wrap; }.button { min-height: 45px; }.hero-art { width: 84%; height: min(105vw, 430px); min-height: 315px; align-self: center; margin-right: 9px; }.art-label { bottom: 27px; left: -19px; }.orbit-caption { right: -24px; }.scroll-cue { bottom: 1px; }
  .events-section { min-height: 220px; }.events-section::after { right: -12%; width: 65%; }
  .intro { padding-top: 73px; padding-bottom: 56px; }.intro-grid { grid-template-columns: 1fr; gap: 22px; padding: 31px 0 37px; }.intro h2, .section-heading h2, .contact-grid h2 { font-size: clamp(43px, 12vw, 61px); }.intro-copy { font-size: 12px; }.intro-copy .lead { font-size: 19px; }
  .interest-strip { justify-content: center; flex-wrap: wrap; gap: 10px; padding: 14px 4px; font-size: 7px; }.interest-strip i { font-size: 9px; }
  .services-section { padding-block: 68px; }.services-section .section-heading { display: block; margin: 21px 0 30px; }.services-section .section-heading > p { margin-top: 20px; font-size: 12px; }
  .work-section { padding: 72px 0 64px; }.section-heading { display: block; margin: 22px 0 25px; }.section-heading > p { margin-top: 16px; font-size: 12px; }.project-grid { grid-template-columns: 1fr; gap: 17px; }.project-card { padding: 7px; }.project-feature .project-image, .project-image { height: 245px; }.work-foot { justify-content: flex-start; }
  .shop-section { padding-top: 76px; padding-bottom: 72px; }.shop-heading { margin-bottom: 23px; }.shop-grid { grid-template-columns: 1fr; gap: 17px; }.product-visual, .wax-visual { height: 275px; }.product-info { padding: 16px 16px 19px; }
  .fantasy-section { padding-block: 65px; }.fantasy-section > h2 { margin: 23px 0 35px; font-size: clamp(37px, 10.5vw, 57px); }.fantasy-section .section-heading { display: flex; align-items: center; gap: 20px; }.fantasy-section .section-heading h2 { margin: 0; font-size: clamp(25px, 7vw, 38px); }
  .contact-section { padding: 69px 0; }.contact-grid { grid-template-columns: 1fr; gap: 29px; }.contact-form { padding: 21px; }.contact-form p { font-size: 17px; }
  .site-footer { padding: 20px 18px 16px; }.footer-top { flex-wrap: wrap; }.footer-logo { width: 112px; }.business-mark { width: 68px; height: 68px; }.footer-top > span, .back-top { font-size: 7px; }.footer-bottom { flex-wrap: wrap; row-gap: 10px; font-size: 7px; }.footer-bottom > div { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 13px; }.footer-bottom > span:last-child { margin-left: auto; }
  .policies-page { width: calc(100% - 40px); padding: 48px 0 65px; }.policy-nav { position: static; display: flex; width: auto; flex-direction: row; flex-wrap: wrap; gap: 4px 11px; padding: 0; border: 0; background: transparent; }.policy-nav a { padding: 7px 0; font-size: 7px; }.policy-block { padding-bottom: 32px; }.policy-block > p, .policy-block li p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Room-based site: each destination is a separate full-screen chamber. */
body[data-experience="shrine"] { width: 100%; height: 100vh; height: 100dvh; overflow: hidden; }
.scene[hidden] { display: none !important; }
.scene.is-active { display: flex; animation: enter-room 520ms cubic-bezier(.18,.75,.24,1) both; }
@keyframes enter-room { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.scene.is-active.crystal-arrival { animation: crystal-arrival 1180ms cubic-bezier(.45,0,.25,1) both; }
@keyframes crystal-arrival { 0%, 48% { opacity: 0; transform: scale(.99); animation-timing-function: cubic-bezier(.45,0,.25,1); } 100% { opacity: 1; transform: scale(1); } }
.scene.is-active.crystal-arrived { animation: none; }
.js .arrival-screen { z-index: 50; }
.scene.arrival-screen.is-active { display: grid; animation: arrival-materialize 1400ms cubic-bezier(.42,0,.58,1) both; }
@keyframes arrival-materialize { from { opacity: 0; } to { opacity: 1; } }
.scene.arrival-screen.is-leaving { display: grid; }
.js .arrival-screen.is-leaving { opacity: 0; visibility: visible; pointer-events: none; transform: translateY(-1vh); transition: opacity 900ms cubic-bezier(.42,0,.58,1), transform 900ms cubic-bezier(.2,.7,.2,1); }
.arrival-skyline { z-index: -1; }
.atrium-screen, .room-screen { position: fixed; z-index: 20; inset: 0; width: 100%; height: 100vh; height: 100dvh; overflow: auto; background-color: var(--night); background-image: radial-gradient(ellipse at 50% 48%, rgba(136,136,176,.19), transparent 52%), url('assets/cosmos-background.svg'), linear-gradient(145deg, rgba(17,21,34,.93), rgba(27,32,52,.91)); background-position: center, center calc(0px - var(--star-shift, 0px)), center; background-size: auto, max(100vw, 135vh) auto, auto; background-repeat: no-repeat; }
.atrium-screen::before, .room-screen::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 10% 80%, rgba(36,72,120,.22), transparent 28%), radial-gradient(circle at 89% 18%, rgba(136,136,176,.19), transparent 24%); content: ''; pointer-events: none; }
.atrium-screen { flex-direction: column; overflow: hidden; isolation: isolate; }
.atrium-screen::after { display: none; }
.atrium-moon { position: absolute; z-index: 0; top: 58%; left: 50%; width: min(115vw, 120vh, 1380px); aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(205,202,229,.2); border-radius: 50%; background: radial-gradient(ellipse at 30% 20%, #f1f0fa 0, #d4d7ee 7%, #a49cbe 24%, #6d7199 48%, #3f4f7a 70%, #23233a 100%); box-shadow: 0 -28px 95px rgba(204,201,229,.23), inset -60px -22px 120px rgba(18,16,30,.56), inset 23px 8px 52px rgba(240,246,255,.24); opacity: .53; transform: translate(-50%, -50%); pointer-events: none; }
.atrium-moon::before { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 62% 73%, transparent 0 25%, rgba(11,20,45,.22) 68%, rgba(5,10,27,.65) 100%); content: ''; }
.atrium-moon::after { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 37% 18%, rgba(234,238,252,.09), transparent 16%), radial-gradient(ellipse at 72% 35%, rgba(31,42,74,.1), transparent 14%), radial-gradient(ellipse at 24% 66%, rgba(25,36,69,.1), transparent 19%), radial-gradient(ellipse at 63% 79%, rgba(229,232,247,.06), transparent 15%); content: ''; }
.atrium-moon .moon-crater { opacity: .45; }
.atrium-header { position: relative; z-index: 3; display: flex; align-items: center; gap: 22px; padding: 18px clamp(20px, 4vw, 66px); border-bottom: 1px solid rgba(198,190,230,.24); background: rgba(20,18,30,.5); }
.atrium-brand { display: block; width: 110px; padding: 0; border: 0; background: transparent; filter: drop-shadow(0 0 12px rgba(200,243,239,.25)); }.atrium-brand img { display: block; width: 100%; }
.atrium-heading { flex: 1; }.atrium-heading > span { color: var(--mint); font: 9px var(--mono); letter-spacing: .22em; }.atrium-heading h1 { margin: 3px 0 0; color: var(--white); font: 500 clamp(17px, 2vw, 24px) var(--serif); letter-spacing: .06em; }
.atrium-business-mark { width: 90px; height: 90px; object-fit: contain; }
.atrium-stage { position: relative; display: grid; flex: 1; min-height: 0; place-items: center; isolation: isolate; }
.atrium-title { position: absolute; z-index: 4; bottom: 17%; left: 50%; margin: 0; color: #f0eefb; font: 500 clamp(18px, 1.8vw, 23px) var(--serif); letter-spacing: .05em; text-align: center; text-shadow: 0 1px 9px rgba(8, 11, 34, .85); transform: translateX(-50%); }
.shrine-architecture { position: absolute; z-index: 2; top: 44%; left: 50%; width: min(94vw, 1260px); height: min(82vh, 920px); min-width: 300px; min-height: 380px; transform: translate(-50%, -50%); opacity: .9; }
.torii-gate { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px rgba(168,174,220,.23)); }
.torii-gate .gate-outline { fill: url(#gate-crystal); stroke: rgba(204,204,236,.55); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.torii-gate .gate-facets { fill: url(#gate-prism); }
.torii-gate .gate-facets path:nth-child(2) { opacity: .65; }
.torii-gate .gate-facets path:nth-child(3) { opacity: .8; }
.torii-gate .gate-detail { fill: none; stroke: rgba(224,226,249,.32); stroke-width: .85; stroke-linecap: round; stroke-linejoin: round; }
.torii-gate .gate-prism-edges { fill: none; stroke: rgba(216,239,250,.29); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.shrine-steps { position: absolute; right: 1%; bottom: 4%; left: 1%; height: 1px; border-top: 1px solid rgba(217,213,232,.38); box-shadow: 0 9px 0 rgba(184,180,215,.15); }
.chamber-map { --chamber-cell-height: clamp(124px, 18vh, 170px); position: relative; z-index: 4; display: grid; width: min(880px, calc(100% - 56px)); grid-auto-rows: var(--chamber-cell-height); grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); margin-top: 30px; }
.chamber { position: relative; display: grid; min-height: var(--chamber-cell-height); place-items: center; overflow: hidden; padding: 15px 18px; border: 1px solid rgba(190,185,219,.58); background: linear-gradient(145deg, rgba(79,78,119,.78), rgba(24,22,39,.9)); clip-path: var(--shard-shape); box-shadow: 0 13px 30px rgba(0,0,0,.25), inset 0 0 34px rgba(184,180,215,.16); filter: drop-shadow(0 0 0 rgba(218,221,255,0)); transform: rotate(calc(var(--shard-turn, 0deg) + var(--shard-tilt, 0deg))); transition: transform .32s cubic-bezier(.2,.75,.25,1), background .32s, filter .32s; }
.chamber-rotated { width: var(--chamber-cell-height); height: var(--chamber-cell-height); min-height: 0; align-self: center; justify-self: center; }
.chamber-about { --shard-turn: 90deg; --shard-tilt: -2deg; --content-turn: -88deg; --shard-shape: polygon(50% 0, 100% 50%, 52% 100%, 0 52%); --facet-shape: polygon(50% 0, 82% 50%, 50% 54%, 20% 18%); }
.chamber-services { --shard-tilt: 1.4deg; --counter-tilt: -1.4deg; --shard-shape: polygon(36% 0, 100% 38%, 70% 100%, 0 66%, 19% 21%); --facet-shape: polygon(36% 0, 76% 38%, 45% 58%, 19% 21%); }
.chamber-portfolio { --shard-turn: 90deg; --shard-tilt: -1.7deg; --content-turn: -88.3deg; --shard-shape: polygon(57% 0, 100% 57%, 62% 100%, 0 43%, 28% 4%); --facet-shape: polygon(57% 0, 80% 51%, 44% 50%, 28% 4%); }
.chamber-shop { --shard-tilt: 2.2deg; --counter-tilt: -2.2deg; --shard-shape: polygon(43% 0, 100% 44%, 80% 88%, 45% 100%, 0 58%, 16% 16%); --facet-shape: polygon(43% 0, 81% 38%, 48% 57%, 16% 16%); }
.chamber-contact { --shard-turn: 90deg; --shard-tilt: -1.2deg; --content-turn: -88.8deg; --shard-shape: polygon(48% 0, 93% 34%, 100% 61%, 54% 100%, 0 59%, 20% 15%); --facet-shape: polygon(48% 0, 75% 39%, 44% 56%, 20% 15%); }
.chamber-fantasy { --shard-tilt: 1.8deg; --counter-tilt: -1.8deg; --shard-shape: polygon(31% 0, 100% 50%, 75% 82%, 48% 100%, 0 45%, 12% 17%); --facet-shape: polygon(31% 0, 75% 50%, 42% 58%, 12% 17%); }
.chamber-policies { --shard-tilt: -2.1deg; --counter-tilt: 2.1deg; --shard-shape: polygon(52% 0, 100% 44%, 80% 93%, 36% 100%, 0 58%, 18% 18%); --facet-shape: polygon(52% 0, 79% 44%, 44% 57%, 18% 18%); }
.chamber::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(132deg, rgba(224,226,255,.26), transparent 34%, rgba(120,144,201,.1) 55%, transparent 75%), linear-gradient(43deg, transparent 49.4%, rgba(224,226,255,.16) 49.8%, transparent 50.3%); clip-path: var(--facet-shape); content: ''; pointer-events: none; transition: opacity .3s; }
.chamber::after { position: absolute; top: -50%; left: -35%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(239,240,255,.38), transparent); content: ''; opacity: 0; transform: translateX(0) rotate(18deg); transition: transform .5s, opacity .2s; pointer-events: none; }
.chamber:hover, .chamber:focus-visible { z-index: 2; background: linear-gradient(145deg, rgba(136,136,176,.98), rgba(48,48,78,.98)); filter: drop-shadow(0 0 12px rgba(220,220,249,.76)) drop-shadow(0 0 30px rgba(136,136,176,.48)); transform: translateY(-4px) scale(1.055) rotate(calc(var(--shard-turn, 0deg) + var(--shard-tilt, 0deg))); outline: 0; }
.chamber:hover::before, .chamber:focus-visible::before { opacity: 1.7; }.chamber:hover::after, .chamber:focus-visible::after { transform: translateX(350%) rotate(18deg); opacity: 1; }
.chamber-number { position: absolute; z-index: 1; top: 24%; left: 24%; color: #d3cfea; font: 500 11px var(--serif); letter-spacing: .12em; transform: rotate(calc(var(--content-turn, 0deg) + var(--counter-tilt, 0deg))); }.chamber-name { position: absolute; z-index: 1; top: 52%; left: 50%; width: 72%; max-width: 72%; color: var(--white); font: 500 14px/1.3 var(--serif); letter-spacing: .035em; text-align: center; text-shadow: 0 1px 12px rgba(6,9,25,.55); transform: translate(-50%, -50%) rotate(calc(var(--content-turn, 0deg) + var(--counter-tilt, 0deg))); }.chamber-icon { position: absolute; top: 13%; left: 50%; color: var(--lilac); font-size: 28px; text-shadow: 0 0 18px rgba(217,216,255,.68); transform: translateX(-50%) rotate(calc(var(--content-turn, 0deg) + var(--counter-tilt, 0deg))); }.chamber-arrow { position: absolute; right: 24%; bottom: 19%; color: var(--lilac); font-size: 16px; transform: rotate(calc(var(--content-turn, 0deg) + var(--counter-tilt, 0deg))); }
.chamber-rotated .chamber-number { top: 58%; left: 24%; }
.chamber-rotated .chamber-arrow { top: 22%; right: 28%; bottom: auto; }
.chamber-rotated .chamber-icon { top: 50%; left: 13%; transform: translateY(-50%) rotate(calc(var(--content-turn, 0deg) + var(--counter-tilt, 0deg))); }
.chamber-transition-shard { position: fixed !important; z-index: 120 !important; display: grid !important; margin: 0 !important; overflow: hidden !important; border-color: rgba(203,207,235,.55) !important; background: radial-gradient(ellipse at 50% 45%, #676b8f 0%, #4b5278 22%, #2e375f 55%, #171b31 100%) !important; clip-path: var(--shard-shape) !important; box-shadow: 0 0 22px rgba(167,174,218,.32), 0 0 65px rgba(100,115,170,.22), inset 0 0 40px rgba(198,207,233,.18) !important; transform-origin: center !important; will-change: transform, opacity; pointer-events: none !important; }
.chamber-transition-shard::before { clip-path: none !important; background: linear-gradient(132deg, rgba(225,227,250,.24), transparent 34%, rgba(146,170,225,.12) 55%, transparent 75%), linear-gradient(43deg, transparent 49.4%, rgba(225,227,250,.2) 49.8%, transparent 50.3%) !important; }
.moon-return { position: absolute; z-index: 4; right: 24px; bottom: 20px; border: 0; background: transparent; color: #b6adc9; font: 9px var(--mono); letter-spacing: .1em; cursor: pointer; }.moon-return span { padding-right: 7px; color: var(--mint); }

.room-screen { display: block; z-index: 30; overflow-x: hidden; scroll-behavior: smooth; }
/* Let long rooms use the shared fixed starfield. A second, page-sized star SVG
   on the scrolling scene creates a visible horizontal boundary as it drifts. */
.room-screen {
  background-color: rgba(17, 21, 34, .52);
  background-image: radial-gradient(ellipse at 50% 48%, rgba(136, 136, 176, .12), transparent 52%), linear-gradient(145deg, rgba(17, 21, 34, .48), rgba(27, 32, 52, .52));
  background-position: center, center;
  background-size: auto, auto;
  background-repeat: no-repeat;
}
.room-screen::before {
  display: block;
  inset: -35vh -20vw;
  background:
    radial-gradient(ellipse 36vw 48vh at 21.5% 68%, rgba(36,72,120,.3) 0%, rgba(36,72,120,.17) 46%, rgba(36,72,120,.07) 72%, transparent 100%),
    radial-gradient(ellipse 44vw 62vh at 78% 31%, rgba(136,136,176,.14) 0%, rgba(136,136,176,.07) 52%, transparent 100%);
}
.room-header { position: sticky; z-index: 5; top: 0; display: grid; height: 72px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgba(7,13,31,.88); backdrop-filter: blur(15px); }
.room-back { justify-self: start; padding: 8px 0; border: 0; background: none; color: var(--mint); font: 9px var(--mono); letter-spacing: .1em; cursor: pointer; }.room-back:hover { color: #fff; }
.room-coordinate { color: #a8a0bd; font: 8px var(--mono); letter-spacing: .16em; }.room-mark { justify-self: end; }.room-mark img { width: 56px; height: 56px; object-fit: contain; }
.room-body { width: min(1120px, calc(100% - 68px)); min-height: calc(100dvh - 72px); margin: 0 auto; padding: clamp(42px, 7vh, 83px) 0 105px; }
.room-title-block { display: flex; flex-direction: column; justify-content: center; }.room-kicker { display: block; color: var(--mint); font: 10px var(--mono); letter-spacing: .19em; }.room-title-block h1, .portfolio-intro h1, .shop-intro h1, .contact-room h1 { margin: 18px 0 0; font-size: clamp(46px, 7vw, 83px); }
.about-room { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: clamp(30px, 7vw, 100px); }.about-room .room-title-block { position: sticky; top: 150px; padding-top: 18px; }.about-room .room-title-block h1 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.055em; white-space: nowrap; }.about-character { display: block; width: min(100%, 340px); height: auto; max-height: 46vh; margin: 24px auto 0; object-fit: contain; object-position: center; filter: drop-shadow(0 14px 25px rgba(5, 9, 24, .32)); }.room-copy { max-width: 710px; color: #c9c4d3; font-size: 13px; line-height: 1.9; }.room-copy .lead { color: #f3f1f5; font: 21px/1.55 var(--serif); }.room-copy h2 { margin: 28px 0 12px; color: var(--lilac); font-size: 29px; }.room-copy ul { padding-left: 19px; }.room-copy li { margin: 5px 0; }.lore-fold { margin-top: 25px; padding-top: 14px; border-top: 1px solid var(--line); }.lore-fold summary { color: var(--mint); cursor: pointer; list-style: none; }.lore-fold summary::-webkit-details-marker { display: none; }.lore-fold summary span { float: right; }.lore-fold[open] summary span { transform: rotate(45deg); }
.room-next { position: sticky; z-index: 6; bottom: 15px; display: flex; width: max-content; align-items: center; gap: 18px; margin: -80px clamp(18px, 4vw, 64px) 15px auto; padding: 13px 17px; border: 1px solid rgba(200,243,239,.5); background: rgba(8,15,35,.92); color: var(--mint); font: 9px var(--mono); letter-spacing: .1em; cursor: pointer; backdrop-filter: blur(10px); }.room-next:hover { background: #c8f3ef; color: #101932; }.room-next span { font-size: 15px; }
.services-room { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8vw; }.services-room .room-title-block h1 { color: var(--lilac); font: 500 clamp(34px, 6vw, 68px)/1.02 var(--serif); letter-spacing: -.035em; }
.service-panel { position: relative; isolation: isolate; padding: clamp(30px, 4.5vw, 52px) clamp(36px, 5vw, 58px); background: linear-gradient(145deg, rgba(133,128,168,.48), rgba(46,55,96,.88) 38%, rgba(14,22,48,.96) 78%, rgba(70,100,125,.55)); clip-path: polygon(5% 0, 95% 0, 100% 3%, 100% 97%, 95% 100%, 5% 100%, 0 97%, 0 3%); filter: drop-shadow(0 18px 34px rgba(0,0,0,.34)); }
.service-panel::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 12% 4%, rgba(245,244,255,.19), transparent 37%), linear-gradient(145deg, transparent 77%, rgba(192,236,239,.16)); content: ''; pointer-events: none; }
.service-panel::after { position: absolute; z-index: -1; inset: 7px; border: 1px solid rgba(220,228,255,.35); clip-path: polygon(5% 0, 95% 0, 100% 3%, 100% 97%, 95% 100%, 5% 100%, 0 97%, 0 3%); content: ''; pointer-events: none; }
.service-panel p { margin-bottom: 12px; color: #f0edf6; font: 17px/1.5 var(--serif); }.service-constellation { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; margin: 27px 0; padding: 16px 0; border-block: 1px solid rgba(213,219,246,.24); color: #e5dfff; font: 13px var(--serif); }.service-constellation i { color: #c8f3ef; font-style: normal; }
.services-room .room-cta { position: relative; isolation: isolate; display: inline-flex; min-height: 58px; align-items: center; justify-content: center; gap: 16px; padding: 14px 30px; background: linear-gradient(135deg, #e6ddf5, #aeb5df 42%, #7cc4cb); clip-path: polygon(12% 0, 86% 0, 100% 50%, 88% 100%, 13% 100%, 0 50%); color: #171a36; font: 600 14px var(--serif); letter-spacing: .02em; text-decoration: none; filter: drop-shadow(0 7px 14px rgba(4,8,24,.36)); transition: transform .22s ease, filter .22s ease, background .22s ease; }.services-room .room-cta::before { position: absolute; z-index: -1; inset: 2px; background: linear-gradient(135deg, rgba(255,255,255,.48), transparent 42%, rgba(255,255,255,.14)); clip-path: polygon(12% 0, 86% 0, 100% 50%, 88% 100%, 13% 100%, 0 50%); content: ''; pointer-events: none; }.services-room .room-cta:hover, .services-room .room-cta:focus-visible { background: linear-gradient(135deg, #fff, #d2d3f0 42%, #a3e5df); filter: drop-shadow(0 0 13px rgba(200,243,239,.55)) drop-shadow(0 8px 18px rgba(4,8,24,.36)); transform: translateY(-3px) scale(1.025); outline: none; }.services-room .room-cta span { color: #39456d; }
.portfolio-room { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px 6vw; }.portfolio-intro h1 { margin-bottom: 24px; }.portfolio-intro p { max-width: 520px; color: #d1cbd9; font-size: 13px; line-height: 1.9; }.portfolio-gallery { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 13px; }.portfolio-gallery figure { margin: 0; padding: 7px; border: 1px solid rgba(200,243,239,.28); background: rgba(8,15,35,.75); transform: rotate(-2deg); }.portfolio-gallery figure:nth-child(2) { margin-top: 62px; transform: rotate(2deg); }.portfolio-gallery img { display: block; width: 100%; height: clamp(180px, 28vh, 320px); object-fit: cover; }.portfolio-gallery figcaption { padding: 9px 5px 4px; color: var(--mint); font: 9px var(--mono); letter-spacing: .07em; }.portfolio-room > .room-cta { grid-column: 1 / -1; justify-self: start; }
.shop-room { padding-top: 42px; }.shop-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }.shop-intro h1 { font-size: clamp(42px, 6vw, 68px); }.shop-intro > p { max-width: 250px; margin-bottom: 4px; color: #bdb6ca; font: 10px/1.8 var(--mono); }.shop-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }.shop-object { display: grid; grid-template-columns: 1fr .7fr; min-height: 330px; overflow: hidden; border: 1px solid rgba(200,243,239,.23); background: rgba(9,16,36,.83); }.object-window { position: relative; display: grid; min-height: 295px; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 52% 110%, rgba(184,220,239,.42), transparent 50%), linear-gradient(150deg,#1c315c,#0c1735); }.object-window::after { position: absolute; right: -15%; bottom: 7%; left: -15%; height: 30%; border-top: 1px solid rgba(225,239,246,.45); border-radius: 50%; background: linear-gradient(rgba(174,202,223,.22),transparent); content: ''; }.object-window img { z-index: 1; width: 92%; height: 90%; object-fit: contain; }.wax-object .object-window { align-content: center; gap: 9px; color: var(--lilac); font: 16px var(--serif); letter-spacing: .2em; text-align: center; }.object-caption { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; border-left: 1px solid var(--line); }.object-caption > span { color: #bcb3cb; font: 8px var(--mono); letter-spacing: .1em; }.object-caption h2 { margin: 0; font: 500 22px/1.25 var(--serif); }
.contact-room { position: relative; display: flex; min-height: calc(100dvh - 72px); flex-direction: column; align-items: flex-start; justify-content: center; }.contact-room h1 { margin-bottom: 22px; }.contact-room > p { max-width: 510px; color: #d1cbd9; font-size: 14px; }.contact-email { margin: 5px 0 16px; color: var(--mint); font: 23px var(--serif); }.contact-email span { padding-left: 10px; font: 15px var(--sans); }.contact-lore { max-width: 460px; margin-top: 26px; font-family: var(--serif); font-size: 18px !important; }.business-seal { position: absolute; right: 4%; bottom: 5%; width: min(31vw, 340px); opacity: .2; transition: opacity .25s, transform .25s; }.business-seal:hover { opacity: .7; transform: rotate(5deg) scale(1.03); }.business-seal img { width: 100%; image-rendering: pixelated; }

.room-screen.scene.is-active { display: block; }
.room-screen h1, .room-screen h2, .room-screen h3, .atrium-screen h1 { font-family: var(--serif); }
.atrium-screen.scene.is-active { display: flex; }
.atrium-screen.scene.is-active.shrine-entry { animation: shrine-entry 900ms cubic-bezier(.42,0,.58,1) both; }
.atrium-screen.scene.is-active.shrine-arrived { animation: none; }
@keyframes shrine-entry { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.atrium-event { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 17px; border-bottom: 1px solid rgba(198,190,230,.16); color: #d6d2e1; font: 9px var(--mono); letter-spacing: .08em; }.atrium-event span { color: var(--mint); }
.atrium-stage { flex: 1; }
.atrium-footer { position: absolute; z-index: 5; right: 20px; bottom: 13px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #aaa3bb; font: 7px var(--mono); letter-spacing: .06em; }.atrium-footer a { color: var(--mint); }.atrium-footer a:hover { color: #fff; }
.fantasy-content { position: relative; display: flex; flex-direction: column; justify-content: center; }.fantasy-content h1 { margin: 22px 0 0; font-size: clamp(43px, 7vw, 83px); }.fantasy-divider { width: min(720px, 70%); height: 1px; margin: 44px 0 32px; background: linear-gradient(90deg, var(--mint), transparent); box-shadow: 0 0 18px rgba(200,243,239,.4); }.fantasy-bottom { display: flex; align-items: center; gap: 40px; }.fantasy-bottom h2 { margin: 0; color: var(--lilac); font: 500 clamp(25px, 4vw, 42px) var(--serif); }.fantasy-content::after { position: absolute; z-index: -1; right: 2%; bottom: 6%; width: min(35vw, 410px); aspect-ratio: 1; border: 1px solid rgba(200,243,239,.26); border-radius: 50%; content: ''; box-shadow: 0 0 0 22px rgba(200,243,239,.035), 0 0 0 60px rgba(200,243,239,.02), inset 0 0 80px rgba(120,160,203,.12); }

@media(max-width: 760px) {
  .atrium-header { gap: 12px; padding: 13px 17px; }.atrium-brand { width: 85px; }.atrium-business-mark { width: 72px; height: 72px; }.atrium-heading h1 { font-size: 16px; }.atrium-heading > span { font-size: 7px; }
  .chamber-map { --chamber-cell-height: clamp(108px, 16vh, 138px); width: calc(100% - 34px); grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 27px; }.chamber { min-height: var(--chamber-cell-height); padding: 10px 11px; }.chamber-rotated { width: var(--chamber-cell-height); height: var(--chamber-cell-height); }.chamber-name { top: 53%; width: 69%; max-width: 69%; font-size: 9px; }.chamber-number { top: 25%; left: 23%; font-size: 8px; }.chamber-icon { top: 13%; font-size: 21px; }.chamber-arrow { right: 23%; bottom: 20%; }
  .shrine-architecture { top: 46%; width: min(100vw, 720px); height: min(84vh, 720px); opacity: .76; }.atrium-title { top: 2.5%; font-size: 17px; }.moon-return { right: 12px; bottom: 9px; font-size: 7px; }
  .room-header { height: 68px; grid-template-columns: 1fr auto 1fr; padding-inline: 13px; }.room-back { font-size: 8px; }.room-coordinate { font-size: 7px; }.room-mark img { width: 56px; height: 56px; }.room-body { width: calc(100% - 38px); min-height: calc(100dvh - 68px); padding-top: 39px; padding-bottom: 95px; }
  .about-room, .services-room, .portfolio-room { grid-template-columns: 1fr; gap: 25px; }.about-room .room-title-block { position: static; padding: 0; }.about-room .room-title-block h1 { font-size: clamp(25px, 7.1vw, 34px); }.about-character { width: min(100%, 350px); height: auto; max-height: 38vh; margin: 18px auto 0; object-position: center; }.room-title-block h1, .portfolio-intro h1, .shop-intro h1, .contact-room h1 { font-size: clamp(42px, 11vw, 65px); }.room-copy { font-size: 12px; }.room-copy .lead { font-size: 18px; }.room-copy h2 { font-size: 25px; }.about-room .inner-paths a { min-height: 96px; padding: 16px 24px; font-size: 14px; }.about-room .inner-paths a > span { right: 18%; bottom: 16%; font-size: 16px; }.room-next { margin-top: -77px; margin-right: 12px; bottom: 9px; font-size: 8px; }
  .services-room .room-title-block h1 { font-size: 42px; }.service-panel { padding: 21px 18px; }.service-panel p { font-size: 15px; }.service-constellation { justify-content: flex-start; font-size: 8px; }
  .portfolio-gallery { gap: 10px; }.portfolio-gallery figure:nth-child(2) { margin-top: 25px; }.portfolio-gallery img { height: 210px; }.portfolio-intro p { font-size: 12px; }
  .shop-intro { display: block; margin-bottom: 24px; }.shop-intro > p { margin-top: 16px; }.shop-gallery { grid-template-columns: 1fr; gap: 14px; }.shop-object { min-height: 245px; grid-template-columns: 1fr .68fr; }.object-window { min-height: 230px; }.object-caption { padding: 12px; }.object-caption h2 { font-size: 18px; }
  .contact-room { min-height: calc(100dvh - 61px); }.business-seal { right: 1%; bottom: 3%; width: 45vw; }.contact-lore { font-size: 16px !important; }
  .atrium-event { min-height: 34px; gap: 9px; font-size: 7px; }.atrium-stage { min-height: calc(100dvh - 165px); overflow-y: auto; align-content: center; }.chamber-map { margin-bottom: 54px; }.shrine-architecture { pointer-events: none; }.atrium-footer { right: 10px; bottom: 8px; left: 10px; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 6px; text-align: center; }.moon-return { bottom: 39px; }
  .fantasy-content { padding-top: 52px; }.fantasy-content h1 { font-size: clamp(38px, 10vw, 59px); }.fantasy-divider { margin: 33px 0 24px; }.fantasy-bottom { align-items: flex-start; flex-direction: column; gap: 17px; }.fantasy-content::after { right: -18%; bottom: 10%; width: 55vw; }
}

@media (max-height: 800px) and (min-width: 681px) {
  .arrival-business-mark { width: clamp(112px, 16vh, 132px); height: clamp(112px, 16vh, 132px); }
  .arrival-kicker { top: clamp(138px, 19vh, 148px); }
  .arrival-content h1 { top: clamp(175px, 22vh, 190px); font-size: clamp(34px, 7vh, 54px); }
  .arrival-seal { top: 64vh; width: min(500px, 76vw); }
  .moon-instruction { top: 60%; }
}

/* Readability scale: keep the brand type while lifting small copy and controls. */
body { font-size: 18px; }
.intro-copy, .room-copy, .portfolio-intro p, .product-info p, .contact-room > p, .story-details p, .services-section .section-heading > p, .section-heading > p, .contact-grid > div > p, .policy-block > p, .policy-block li p, .faq-item p { font-size: 17px; }
.story-details summary, .lore-fold summary { font-size: 16px; }
.main-nav, .section-kicker, .project-meta, .product-topline, .work-foot, .footer-top > span, .back-top, .footer-bottom, .orbit-caption, .scroll-cue span, .eyebrow, .art-label, .interest-strip, .atrium-heading > span, .atrium-title, .atrium-event, .chamber-number, .moon-return, .room-back, .room-kicker, .room-next, .portfolio-gallery figcaption, .object-caption > span, .shop-intro > p, .policy-nav a { font-size: 12px; }
.room-coordinate { font-size: 11px; }
.button, .text-link { font-size: 14px; }
.atrium-footer { font-size: 10px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .intro-copy, .room-copy, .portfolio-intro p, .product-info p, .contact-room > p, .story-details p, .services-section .section-heading > p, .section-heading > p, .contact-grid > div > p, .policy-block > p, .policy-block li p, .faq-item p { font-size: 16px; }
  .main-nav, .section-kicker, .project-meta, .product-topline, .work-foot, .footer-top > span, .back-top, .footer-bottom, .orbit-caption, .scroll-cue span, .eyebrow, .art-label, .interest-strip, .atrium-heading > span, .atrium-title, .atrium-event, .chamber-number, .moon-return, .room-back, .room-kicker, .room-next, .portfolio-gallery figcaption, .object-caption > span, .shop-intro > p, .policy-nav a { font-size: 11px; }
  .room-coordinate { font-size: 10px; }
  .button, .text-link { font-size: 14px; }
  .atrium-footer { font-size: 9px; }
  .chamber-name { font-size: 13px; }
}

.atrium-stage { padding-bottom: 88px; }
.moon-return { bottom: 96px; }
.atrium-footer { display: grid; grid-template-columns: minmax(155px, 1fr) auto minmax(220px, 1fr); align-items: end; gap: 16px; font-size: 11px; }
.atrium-policy-link { justify-self: end; text-align: right; }
.atrium-socials, .footer-socials { display: grid; justify-items: center; gap: 7px; }
.atrium-social-title, .footer-social-title { color: #d7d1e2; font-size: 12px; letter-spacing: .07em; text-align: center; }
.social-link-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 13px; }
.social-link-list a { color: var(--mint); font-size: 12px; line-height: 1.35; }
.social-link-list a:hover, .social-link-list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { align-items: flex-start; gap: 30px; }
.footer-bottom .footer-policy-links { display: flex; flex-wrap: wrap; gap: 10px 17px; }
.footer-bottom .footer-socials { flex: 1; justify-items: end; }
.footer-socials .social-link-list { justify-content: flex-end; }

@media (max-width: 760px) {
  .atrium-stage { padding-bottom: 112px; }
  .moon-return { bottom: 142px; }
  .atrium-footer { grid-template-columns: 1fr; justify-items: center; gap: 7px; }
  .atrium-socials { order: 0; }
  .atrium-policy-link { order: 1; justify-self: center; text-align: center; }
  .atrium-copyright { order: 2; }
  .social-link-list { gap: 6px 10px; }
  .footer-bottom { flex-direction: column; align-items: center; }
  .footer-bottom .footer-policy-links { justify-content: center; }
  .footer-bottom .footer-socials { flex: auto; justify-items: center; width: 100%; }
  .footer-socials .social-link-list { justify-content: center; }
}

@media (max-width: 760px) {
  .shrine-architecture { width: min(100vw, 720px); height: min(84vh, 720px); min-width: 0; min-height: 0; opacity: .76; }
  .atrium-moon { top: 56%; width: min(130vw, 100vh, 840px); }
  .atrium-title { bottom: 16%; font-size: clamp(15px, 3vw, 18px); }
}

/* The seven destinations meet as facets of one crystal beneath the torii. */
.chamber-map {
  --chamber-cell-height: auto;
  top: 109px;
  width: min(620px, calc(100vw - 100px));
  height: min(53vh, 485px);
  min-height: 390px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 29% 38% 33%;
  gap: 2px;
  margin-top: -6px;
  filter: drop-shadow(0 15px 28px rgba(4, 8, 29, .55)) drop-shadow(0 0 28px rgba(184, 180, 215, .17));
}
.chamber-map::before {
  position: absolute;
  inset: -7px;
  background: rgba(198, 196, 229, .38);
  clip-path: polygon(50% 0, 88% 13%, 100% 50%, 75% 87%, 50% 100%, 25% 87%, 0 50%, 12% 13%);
  content: '';
  pointer-events: none;
}
.chamber-map .chamber {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 9px;
  transform: none;
  background: linear-gradient(145deg, rgba(110, 112, 158, .9), rgba(32, 35, 70, .96));
}
.chamber-map .chamber:nth-child(1) { grid-column: 1 / 4; grid-row: 1; clip-path: polygon(100% 0, 100% 100%, 0 100%, 23% 36%); }
.chamber-map .chamber:nth-child(2) { grid-column: 4 / 7; grid-row: 1; clip-path: polygon(0 0, 77% 36%, 100% 100%, 0 100%); }
.chamber-map .chamber:nth-child(3) { grid-column: 1 / 3; grid-row: 2; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12% 50%); }
.chamber-map .chamber:nth-child(4) { grid-column: 3 / 5; grid-row: 2; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.chamber-map .chamber:nth-child(5) { grid-column: 5 / 7; grid-row: 2; clip-path: polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%); }
.chamber-map .chamber:nth-child(6) { grid-column: 1 / 4; grid-row: 3; clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 65%); }
.chamber-map .chamber:nth-child(7) { grid-column: 4 / 7; grid-row: 3; clip-path: polygon(0 0, 100% 0, 80% 65%, 0 100%); }
.chamber-map .chamber:hover, .chamber-map .chamber:focus-visible {
  transform: scale(1.055);
}
.chamber-map .chamber-number { top: 15%; left: 18%; font-size: 12px; transform: none; }
.chamber-map .chamber-name { top: 56%; width: 78%; max-width: 78%; font-size: clamp(14px, 1.35vw, 17px); line-height: 1.2; transform: translate(-50%, -50%); }
.chamber-map .chamber-icon { top: 20%; left: 50%; font-size: 26px; transform: translateX(-50%); }
.chamber-map .chamber-arrow { top: auto; right: 17%; bottom: 14%; font-size: 18px; transform: none; }
.chamber-map .chamber:nth-child(1) .chamber-number { left: 73%; }
.chamber-map .chamber:nth-child(2) .chamber-number { left: 23%; }
.chamber-map .chamber:nth-child(2) .chamber-icon, .chamber-map .chamber:nth-child(2) .chamber-name { left: 43%; }
.chamber-map .chamber:nth-child(2) .chamber-arrow { right: auto; left: 17%; }
.chamber-map .chamber:nth-child(6) .chamber-icon, .chamber-map .chamber:nth-child(6) .chamber-name { left: 59%; }
.chamber-map .chamber:nth-child(7) .chamber-icon, .chamber-map .chamber:nth-child(7) .chamber-name { left: 41%; }
.chamber-map .chamber:nth-child(6) .chamber-icon, .chamber-map .chamber:nth-child(7) .chamber-icon { top: 12%; }
.chamber-map .chamber:nth-child(6) .chamber-name, .chamber-map .chamber:nth-child(7) .chamber-name { top: 54%; width: 63%; max-width: 63%; }
.chamber-map .chamber:nth-child(7) .chamber-name { font-size: clamp(13px, 1.2vw, 16px); }
.chamber-map .chamber:nth-child(7) .chamber-number { right: 18%; left: auto; }
.chamber-map .chamber:nth-child(7) .chamber-arrow { right: auto; left: 17%; }

@media (max-width: 760px) {
  .chamber-map { top: 67px; width: min(500px, calc(100vw - 34px)); height: min(50vh, 430px); min-height: 350px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin-top: 12px; margin-bottom: 62px; }
  .chamber-map .chamber { padding: 5px; }
  .chamber-map .chamber-name { width: 84%; max-width: 84%; font-size: clamp(11px, 2.4vw, 14px); }
  .chamber-map .chamber-number { top: 13%; font-size: 10px; }
  .chamber-map .chamber-icon { top: 17%; font-size: 21px; }
  .chamber-map .chamber-arrow { bottom: 12%; font-size: 15px; }
  .chamber-map .chamber:nth-child(7) .chamber-name { font-size: clamp(10px, 2.1vw, 13px); }
}

.inner-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 35px; }
.inner-paths a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 68px; padding: 17px; border: 1px solid rgba(184,180,215,.42); background: rgba(54,55,91,.48); color: #f2edf8; font: 15px var(--serif); text-decoration: none; transition: background .2s, transform .2s; }
.inner-paths a:hover, .inner-paths a:focus-visible { background: rgba(104,104,150,.65); transform: translateY(-3px); }
.inner-paths span { color: var(--mint); }
.about-room .inner-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-room .inner-paths a { position: relative; display: grid; min-height: 112px; place-items: center; overflow: hidden; padding: 20px 32px; background: linear-gradient(145deg, rgba(132,133,180,.84), rgba(55,60,104,.94) 53%, rgba(24,30,58,.98)); clip-path: var(--story-crystal); filter: drop-shadow(0 9px 12px rgba(4,8,25,.38)); font-size: 17px; text-align: center; transition: transform .25s ease, filter .25s ease, background .25s ease; }
.about-room .inner-paths a:nth-child(1) { --story-crystal: polygon(50% 0, 100% 35%, 82% 100%, 14% 88%, 0 30%); }
.about-room .inner-paths a:nth-child(2) { --story-crystal: polygon(18% 0, 88% 10%, 100% 68%, 55% 100%, 0 73%); }
.about-room .inner-paths a:nth-child(3) { --story-crystal: polygon(8% 12%, 78% 0, 100% 58%, 69% 100%, 0 82%); }
.about-room .inner-paths a:nth-child(4) { --story-crystal: polygon(22% 0, 100% 28%, 86% 86%, 32% 100%, 0 42%); }
.about-room .inner-paths a::before { position: absolute; inset: 0; background: linear-gradient(132deg, rgba(236,237,255,.3), transparent 36%, rgba(147,167,221,.1) 58%, transparent 76%), linear-gradient(42deg, transparent 49.4%, rgba(230,236,255,.18) 49.8%, transparent 50.3%); content: ''; pointer-events: none; }
.about-room .inner-paths a > span { position: absolute; z-index: 1; right: 22%; bottom: 19%; color: #dffbf8; font-size: 18px; }
.about-room .inner-paths a:hover, .about-room .inner-paths a:focus-visible { background: linear-gradient(145deg, rgba(165,166,208,.92), rgba(70,77,127,.98) 53%, rgba(29,37,72,.99)); filter: drop-shadow(0 0 12px rgba(197,206,245,.48)) drop-shadow(0 10px 15px rgba(4,8,25,.4)); transform: translateY(-4px) scale(1.025); }
.archive-body { width: min(1080px, calc(100% - 48px)); }
.archive-body h1 { margin: 14px 0 34px; color: var(--white); font: 500 clamp(42px, 7vw, 80px)/1.08 var(--serif); }
.archive-prose { max-width: 780px; margin-inline: auto; }
.archive-prose p, .archive-card p, .contact-location { color: #e0dce8; font-size: 17px; line-height: 1.75; }
.archive-prose p { margin: 0 0 1.4em; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 40px; }
.archive-card { min-width: 0; padding: clamp(20px, 3vw, 31px); border: 1px solid rgba(184,180,215,.4); background: linear-gradient(135deg, rgba(57,59,96,.77), rgba(18,21,43,.85)); box-shadow: inset 0 0 35px rgba(184,180,215,.08); }
.archive-card > span { color: var(--mint); font: 12px var(--serif); letter-spacing: .05em; }
.archive-card h2 { margin: 13px 0; color: #f4effa; font: 500 clamp(21px, 2.5vw, 29px)/1.25 var(--serif); }
.archive-card strong { display: block; margin: 20px 0; color: #d9d2ed; font-size: 19px; }
.archive-card a, .archive-card summary, .archive-action { color: var(--mint); font-size: 15px; cursor: pointer; }
.archive-card details { margin-top: 18px; }
.archive-card details p { font-size: 16px; }
.archive-card a { display: inline-block; margin-top: 9px; }
.archive-link { color: inherit; text-decoration: none; transition: transform .25s, background .25s; }
.archive-link:hover, .archive-link:focus-visible { transform: translateY(-5px); background: rgba(91,91,137,.85); }
.archive-link b { color: var(--mint); font-size: 14px; }
.archive-filter { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: var(--mint); font-size: 16px; }
.archive-filter select, .archive-form input, .archive-form select, .archive-form textarea { min-width: 0; width: 100%; padding: 12px 14px; border: 1px solid rgba(184,180,215,.6); border-radius: 3px; background: #222640; color: #fff; font: 16px var(--serif); }
.archive-filter select { width: min(300px, 100%); }
.archive-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 800px; margin: 28px 0 50px; }
.archive-form label { display: grid; align-content: start; gap: 8px; color: #e9e5f0; font-size: 16px; }
.archive-form label:has(textarea), .archive-form button, .archive-form .form-note { grid-column: 1 / -1; }
.archive-form button { justify-self: start; cursor: pointer; }
.form-note { color: #cac4d6; font-size: 14px; line-height: 1.6; }
.contact-room { display: block; min-height: auto; padding-bottom: 130px; }
.contact-room > h2 { color: var(--mint); font: 500 28px var(--serif); }
.contact-grid-deep { width: 100%; margin-top: 20px; }
.contact-grid-deep .archive-card { padding: 22px; }
.contact-grid-deep .archive-card a { display: block; }
.contact-location a { color: var(--mint); }
.contact-room .business-seal { width: 200px; opacity: .13; }
@media (max-width: 700px) {
  .inner-paths, .archive-grid, .archive-form { grid-template-columns: 1fr; }
  .archive-form label:has(textarea), .archive-form button, .archive-form .form-note { grid-column: 1; }
  .archive-body { width: calc(100% - 34px); }
  .archive-filter { align-items: stretch; flex-direction: column; }
  .contact-room .business-seal { display: none; }
}

/* Keep Games text fully readable: faceting belongs to the crystal surface, not to its text. */
#games .games-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
  margin: 0 auto 32px;
}
#games .games-intro-copy { min-width: 0; }
#games .games-intro-copy h1 { max-width: 760px; overflow-wrap: anywhere; }
#games .games-intro { max-width: 700px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
#games .games-character {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 245px;
  justify-items: center;
  align-content: end;
  gap: 8px;
  margin: 0;
  padding: 13px 20px 11px;
  background: transparent;
}
#games .games-character::before { position: absolute; z-index: -1; inset: 0; border: 1px solid rgba(200,243,239,.3); background: linear-gradient(145deg, rgba(171, 164, 206, .2), rgba(55, 66, 110, .24) 52%, rgba(18, 28, 54, .18)); clip-path: polygon(22% 0, 78% 0, 100% 23%, 92% 82%, 75% 100%, 15% 95%, 0 67%, 5% 20%); content: ''; }
#games .games-character img { display: block; width: 100%; max-height: 285px; object-fit: contain; object-position: center bottom; }
#games .games-character figcaption { color: var(--mint); font: 11px var(--mono); letter-spacing: .09em; text-align: center; }
#games .game-crystal summary { position: relative; min-height: 260px; overflow: visible; clip-path: none; }
#games .game-crystal h2 { overflow-wrap: anywhere; }
#games .game-tagline,
#games .game-genres,
#games .game-open { overflow-wrap: anywhere; }
#games .game-details { min-width: 0; }
#games .game-details p { overflow-wrap: anywhere; }
#games .game-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 18px 0 14px;
  padding: 5px;
  background: linear-gradient(135deg, rgba(224, 226, 255, .7), rgba(122, 137, 183, .72) 48%, rgba(200, 243, 239, .64));
  clip-path: polygon(13% 0, 86% 0, 100% 20%, 95% 82%, 79% 100%, 13% 94%, 0 69%, 5% 18%);
}
#games .game-media img { display: block; width: 100%; height: 100%; object-fit: contain; background: rgba(7, 12, 27, .9); }
#games .game-media figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 760px) {
  #games .games-intro-layout { grid-template-columns: minmax(0, 1fr) minmax(140px, 220px); gap: 16px; }
  #games .games-character { min-height: 205px; padding-inline: 10px; }
  #games .games-character img { max-height: 220px; }
}
@media (max-width: 560px) {
  #games .games-intro-layout { grid-template-columns: minmax(0, 1fr); }
  #games .games-character { width: min(100%, 310px); min-height: 190px; justify-self: center; }
  #games .games-character img { max-height: 220px; }
  #games .game-crystal summary { padding-inline: 26px; }
  #games .game-details { margin-inline: 12px; padding-inline: 10px; }
}

/* The Galaxies and its two destinations use faceted crystal surfaces throughout. */
#galaxies .archive-grid { gap: clamp(22px, 4vw, 42px); margin-top: 36px; }
#galaxies .archive-card {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 62px);
  border: 0;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
  transition: transform .28s ease, filter .28s ease;
}
#galaxies .archive-card::before,
#galaxies .archive-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  clip-path: polygon(19% 0, 79% 0, 100% 24%, 91% 82%, 72% 100%, 13% 94%, 0 66%, 5% 22%);
}
#galaxies .archive-card:nth-child(2)::before,
#galaxies .archive-card:nth-child(2)::after { clip-path: polygon(12% 9%, 69% 0, 100% 31%, 96% 76%, 77% 100%, 19% 92%, 0 55%, 5% 23%); }
#galaxies .archive-card::before { background: linear-gradient(145deg, rgba(183, 176, 218, .72), rgba(77, 84, 132, .9) 48%, rgba(22, 29, 58, .97)); filter: drop-shadow(0 14px 22px rgba(4, 8, 25, .35)); }
#galaxies .archive-card::after { inset: 1px; background: linear-gradient(135deg, rgba(239, 242, 255, .28), transparent 34%, rgba(200, 243, 239, .1) 57%, transparent 78%), linear-gradient(39deg, transparent 49.6%, rgba(231, 239, 255, .19) 50%, transparent 50.4%); }
#galaxies .archive-card > * { position: relative; z-index: 1; }
#galaxies .archive-card > span { font-size: 14px; }
#galaxies .archive-card h2 { max-width: 390px; margin: 16px 0 30px; font-size: clamp(25px, 3vw, 36px); }
#galaxies .archive-card b { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font: 14px var(--mono); letter-spacing: .1em; }
#galaxies .archive-card:hover,
#galaxies .archive-card:focus-visible { filter: drop-shadow(0 0 17px rgba(200, 243, 239, .42)) drop-shadow(0 14px 22px rgba(4, 8, 25, .36)); transform: translateY(-5px) scale(1.025); outline: 0; }
#galaxies .archive-card:hover::before,
#galaxies .archive-card:focus-visible::before { background: linear-gradient(145deg, rgba(210, 204, 237, .9), rgba(105, 115, 169, .96) 48%, rgba(29, 40, 75, .99)); }
#galaxies .archive-card:nth-child(2) b { width: calc(100% - 18px); }

#games .archive-form {
  position: relative;
  z-index: 0;
  max-width: 940px;
  margin: 38px auto 50px;
  padding: clamp(34px, 5vw, 58px);
  isolation: isolate;
}
#games .archive-form::before,
#games .archive-form::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  clip-path: polygon(8% 0, 91% 0, 100% 13%, 97% 87%, 88% 100%, 7% 100%, 0 85%, 3% 12%);
}
#games .archive-form::before { background: linear-gradient(145deg, rgba(145, 140, 184, .68), rgba(60, 68, 113, .86) 44%, rgba(17, 24, 49, .96)); filter: drop-shadow(0 13px 21px rgba(4, 8, 25, .36)); }
#games .archive-form::after { inset: 1px; background: linear-gradient(135deg, rgba(239, 242, 255, .22), transparent 34%, rgba(200, 243, 239, .08) 58%, transparent 78%), linear-gradient(39deg, transparent 49.7%, rgba(231, 239, 255, .12) 50%, transparent 50.3%); }

#games .archive-form input,
#games .archive-form select,
#games .archive-form textarea,
#anime .archive-filter select {
  border: 1px solid rgba(200, 243, 239, .48);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(89, 91, 134, .56), rgba(23, 29, 56, .9));
  box-shadow: inset 0 0 24px rgba(200, 243, 239, .045);
  clip-path: polygon(7% 0, 93% 0, 100% 27%, 96% 83%, 90% 100%, 5% 100%, 0 74%, 3% 20%);
}
#games .archive-form input,
#games .archive-form select,
#anime .archive-filter select { min-height: 51px; padding-inline: 21px; }
#games .archive-form textarea { min-height: 128px; padding: 16px 22px; }
#games .archive-form input:focus,
#games .archive-form select:focus,
#games .archive-form textarea:focus,
#anime .archive-filter select:focus { outline: 2px solid var(--mint); outline-offset: 3px; filter: drop-shadow(0 0 7px rgba(200, 243, 239, .5)); }
#games .archive-form .button-primary {
  min-height: 56px;
  padding: 13px 30px;
  border: 0;
  background: linear-gradient(135deg, #e5def7, #b7b5df 46%, #8bd0cf);
  clip-path: polygon(12% 0, 87% 0, 100% 50%, 88% 100%, 11% 100%, 0 50%);
  color: #171a36;
  font: 600 13px var(--mono);
  letter-spacing: .06em;
  filter: drop-shadow(0 7px 12px rgba(4, 8, 25, .3));
  transition: transform .2s ease, filter .2s ease;
}
#games .archive-form .button-primary:hover,
#games .archive-form .button-primary:focus-visible { background: linear-gradient(135deg, #f5f0ff, #d0d0f0 46%, #b2f3ea); filter: drop-shadow(0 0 12px rgba(200, 243, 239, .5)); transform: translateY(-2px); }

#anime .archive-filter { width: min(520px, 100%); margin: 0 auto 34px; }
#anime .archive-filter select { width: 100%; }
#anime .archive-grid { gap: 23px; }

/* Each game opens as a faceted crystal tile; the surrounding form shares the same cut-stone treatment. */
#games .games-intro { max-width: 760px; margin: 0 auto 32px; color: var(--muted); font-size: 19px; text-align: center; }
#games .games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 34px); align-items: start; }
#games .game-crystal {
  --game-cut: polygon(13% 0, 83% 0, 100% 20%, 95% 78%, 79% 100%, 14% 96%, 0 70%, 5% 19%);
  position: relative;
  z-index: 0;
  min-width: 0;
  isolation: isolate;
  background: transparent;
  filter: drop-shadow(0 12px 17px rgba(4, 8, 25, .28));
  transition: transform .24s ease, filter .24s ease;
}
#games .game-crystal:nth-child(3n + 2) { --game-cut: polygon(18% 0, 87% 4%, 100% 30%, 92% 82%, 73% 100%, 7% 91%, 0 35%); }
#games .game-crystal:nth-child(3n) { --game-cut: polygon(8% 6%, 73% 0, 100% 24%, 97% 73%, 83% 96%, 18% 100%, 0 64%); }
#games .game-crystal::before,
#games .game-crystal::after { position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none; clip-path: var(--game-cut); }
#games .game-crystal::before { background: linear-gradient(145deg, rgba(198, 190, 229, .9), rgba(108, 117, 172, .94) 42%, rgba(26, 34, 69, .98)); }
#games .game-crystal::after { inset: 1.5px; background: linear-gradient(138deg, rgba(248, 244, 255, .24), transparent 31%, rgba(200, 243, 239, .09) 58%, transparent 80%), linear-gradient(35deg, transparent 49.65%, rgba(225, 232, 255, .13) 50%, transparent 50.35%); }
#games .game-crystal summary { min-height: 260px; padding: 29px 32px 31px; clip-path: var(--game-cut); cursor: pointer; list-style: none; }
#games .game-crystal summary::-webkit-details-marker { display: none; }
#games .game-crystal summary::marker { content: ''; }
#games .game-index { display: inline-block; color: var(--mint); font: 12px var(--mono); letter-spacing: .08em; }
#games .game-crystal h2 { margin: 18px 0 8px; color: var(--white); font: 600 clamp(23px, 2.1vw, 30px)/1.15 var(--serif); }
#games .game-tagline { margin: 0 0 12px; color: var(--white); font-size: 17px; line-height: 1.5; }
#games .game-genres { margin: 0; color: var(--mint); font-size: 14px; line-height: 1.65; }
#games .game-open { display: flex; justify-content: space-between; align-items: center; margin-top: 23px; color: var(--white); font: 12px var(--mono); letter-spacing: .08em; }
#games .game-open b { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(200,243,239,.55); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); font-size: 17px; font-weight: 400; }
#games .game-crystal:hover,
#games .game-crystal:focus-within { transform: translateY(-4px); filter: drop-shadow(0 0 14px rgba(200, 243, 239, .28)) drop-shadow(0 14px 20px rgba(4, 8, 25, .34)); }
#games .game-crystal[open] .game-open b { transform: rotate(45deg); }
#games .game-details { margin: -12px 23px 24px; padding: 18px 20px 8px; border-top: 1px solid rgba(200,243,239,.35); color: var(--white); }
#games .game-details h3 { margin: 0 0 10px; color: var(--mint); font: 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
#games .game-details p { margin: 0 0 13px; font-size: 16px; line-height: 1.7; }
#games .games-submission { max-width: 1040px; margin: 64px auto 16px; text-align: center; }
#games .games-submission h2 { margin: 12px 0; color: var(--white); font: 600 clamp(28px, 3vw, 38px) var(--serif); }
#games .games-submission > p { margin: 0; color: var(--muted); font-size: 18px; }
#games .games-submission .archive-form { margin-bottom: 0; text-align: left; }
#games .archive-form ::placeholder { color: rgba(239, 242, 255, .76); opacity: 1; }
#games .archive-form .form-note { font-size: 16px; }
#games .games-submission .games-message { grid-column: 1 / -1; }
@media (max-width: 980px) { #games .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  #games .games-grid { grid-template-columns: 1fr; gap: 19px; }
  #games .game-crystal summary { min-height: 0; padding: 27px 31px 27px; }
  #games .game-crystal h2 { font-size: 27px; }
  #games .games-submission { margin-top: 42px; padding: 32px 22px; }
}
#anime .anime-card {
  position: relative;
  z-index: 0;
  min-height: 225px;
  padding: 36px 39px;
  border: 0;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
  transition: transform .24s ease, filter .24s ease;
}
#anime .anime-card::before,
#anime .anime-card::after { position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none; clip-path: polygon(8% 0, 92% 0, 100% 17%, 96% 83%, 88% 100%, 8% 100%, 0 79%, 3% 19%); }
#anime .anime-card:nth-child(4n + 2)::before,
#anime .anime-card:nth-child(4n + 2)::after { clip-path: polygon(14% 0, 87% 0, 100% 25%, 94% 100%, 12% 94%, 0 70%, 5% 16%); }
#anime .anime-card:nth-child(4n + 3)::before,
#anime .anime-card:nth-child(4n + 3)::after { clip-path: polygon(6% 9%, 82% 0, 100% 28%, 97% 83%, 82% 100%, 0 91%, 3% 28%); }
#anime .anime-card:nth-child(4n)::before,
#anime .anime-card:nth-child(4n)::after { clip-path: polygon(10% 0, 94% 7%, 100% 77%, 84% 100%, 7% 94%, 0 31%); }
#anime .anime-card::before { background: linear-gradient(145deg, rgba(136, 132, 174, .63), rgba(62, 69, 112, .84) 48%, rgba(19, 26, 52, .95)); filter: drop-shadow(0 9px 14px rgba(4, 8, 25, .3)); }
#anime .anime-card::after { inset: 1px; background: linear-gradient(132deg, rgba(240, 241, 255, .21), transparent 36%, rgba(200, 243, 239, .08) 60%, transparent 78%); }
#anime .anime-card > * { position: relative; z-index: 1; }
#anime .anime-card > span { display: block; margin-bottom: 9px; color: #dffbf8; font-size: 14px; line-height: 1.5; }
#anime .anime-card h2 { overflow-wrap: anywhere; }
#anime .anime-card:hover { filter: drop-shadow(0 0 12px rgba(200, 243, 239, .32)); transform: translateY(-3px); }
@media (max-width: 700px) {
  #galaxies .archive-card { min-height: 250px; padding: 36px 39px; }
  #games .archive-form { gap: 14px; padding: 35px 36px; }
  #anime .anime-card { min-height: 0; padding: 34px 38px; }
}

/* Faceted frame for Saki's original transparent About artwork. */
.about-character-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.5;
  margin: 24px auto 0;
  overflow: hidden;
  clip-path: polygon(50% 0, 87% 10%, 100% 39%, 89% 77%, 58% 100%, 13% 90%, 0 49%, 11% 13%);
  background: linear-gradient(135deg, #e8e1ff, #a89acb 24%, #c8f3ef 49%, #8479b4 72%, #ddd7f3);
  filter: drop-shadow(0 14px 25px rgba(5, 9, 24, .38));
}
.about-character-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 49.4%, rgba(235, 245, 255, .23) 49.8%, transparent 50.2%), linear-gradient(28deg, transparent 67%, rgba(226, 233, 255, .13) 67.3%, transparent 67.7%);
  content: '';
  pointer-events: none;
}
.about-character-frame .about-character {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  max-height: none;
  margin: 0;
  clip-path: polygon(50% 2%, 86% 12%, 98% 40%, 87% 76%, 58% 98%, 14% 88%, 2% 49%, 12% 15%);
  object-fit: contain;
}
@media (max-width: 700px) {
  .about-character-frame { width: min(100%, 390px); margin-top: 18px; }
}

/* Keep the portrait transparent inside a thin crystal outline. */
.about-character-frame {
  overflow: visible;
  clip-path: none;
  background: transparent;
}
.about-character-frame .about-character {
  inset: 2.5%;
  width: 95%;
  height: 95%;
  clip-path: none;
  object-fit: contain;
}
.crystal-frame-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(200, 243, 239, .26));
}

.about-character-frame {
  width: min(calc(100% + 72px), 480px);
  margin-left: -36px;
}
.about-character-frame .about-character {
  inset: 1%;
  width: 98%;
  height: 98%;
}
@media (max-width: 700px) {
  .about-character-frame {
    width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
  }
}

.about-character-frame {
  width: min(calc(100% + 90px), 520px);
  margin-left: -45px;
}
.about-character-frame::after {
  display: none;
  content: none;
}
.about-character-frame .about-character {
  clip-path: polygon(50% 2%, 86% 12%, 98% 40%, 87% 76%, 58% 98%, 14% 88%, 2% 49%, 12% 15%);
}
@media (max-width: 700px) {
  .about-character-frame {
    width: min(100%, 390px);
    margin-inline: auto;
  }
}

@media (min-width: 701px) {
  .about-room { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); }
  .about-character-frame {
    width: min(calc(100% + 64px), 660px);
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .about-room { grid-template-columns: 1fr; }
  .about-character-frame { width: min(100%, 390px); margin-inline: auto; }
}

/* Give Saki a faceted crystal inlay while keeping her transparent artwork in front. */
.about-character-frame::before {
  position: absolute;
  z-index: 0;
  inset: 2.5%;
  clip-path: polygon(50% 0, 87% 10%, 100% 39%, 89% 77%, 58% 100%, 13% 90%, 0 49%, 11% 13%);
  background:
    linear-gradient(145deg, transparent 0 43%, rgba(231, 242, 255, .18) 43.4%, transparent 44%),
    linear-gradient(34deg, transparent 0 67%, rgba(200, 243, 239, .14) 67.4%, transparent 68%),
    radial-gradient(ellipse at 50% 85%, rgba(149, 207, 220, .28), transparent 48%),
    linear-gradient(140deg, rgba(225, 221, 247, .54), rgba(95, 102, 151, .75) 43%, rgba(38, 52, 93, .84) 72%, rgba(159, 164, 201, .55));
  content: '';
  filter: drop-shadow(0 0 14px rgba(170, 189, 233, .2));
  pointer-events: none;
}
.about-character-frame .about-character { z-index: 1; }
.about-character-frame .crystal-frame-lines { z-index: 2; }

/* Make the lore disclosure's plus an unmistakable crystal control. */
.lore-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #dffbf8;
}
.lore-fold summary span {
  display: grid;
  float: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  clip-path: polygon(50% 0, 100% 38%, 79% 100%, 19% 92%, 0 42%);
  background: linear-gradient(145deg, rgba(237, 233, 255, .96), rgba(146, 153, 204, .95) 48%, rgba(128, 207, 207, .9));
  box-shadow: 0 0 14px rgba(177, 192, 239, .26);
  color: #202847;
  font: 700 22px/1 var(--sans);
  text-shadow: 0 1px rgba(255,255,255,.45);
  filter: drop-shadow(0 4px 8px rgba(5, 9, 28, .48));
  transition: transform .28s ease, filter .28s ease, background .28s ease;
}
.lore-fold summary:hover span,
.lore-fold summary:focus-visible span {
  background: linear-gradient(145deg, #fff, #d6e6f7 48%, #c8f3ef);
  filter: drop-shadow(0 0 10px rgba(200, 243, 239, .7));
}
.lore-fold[open] summary span { transform: rotate(45deg); }

/* Give Fresh Coffee posts the irregular shard silhouettes used in the Games gallery. */
.blog-crystal {
  --blog-crystal-cut: polygon(16% 2%, 57% 0, 82% 8%, 100% 26%, 94% 49%, 100% 76%, 76% 100%, 45% 93%, 17% 100%, 0 78%, 7% 51%, 0 24%);
  isolation: isolate;
  padding: 3px clamp(52px, 6vw, 78px);
  clip-path: var(--blog-crystal-cut);
  background: linear-gradient(138deg, rgba(238, 242, 255, .94), rgba(173, 193, 227, .86) 52%, rgba(200, 243, 239, .9));
  filter: drop-shadow(0 0 5px rgba(196, 215, 250, .25)) drop-shadow(0 13px 22px rgba(2, 5, 19, .42));
}
.blog-crystal-two {
  --blog-crystal-cut: polygon(13% 0, 68% 4%, 100% 20%, 93% 47%, 100% 75%, 73% 100%, 43% 93%, 14% 100%, 0 72%, 8% 48%, 0 20%);
}
.blog-crystal::before,
.blog-crystal::after {
  z-index: 0;
  inset: 3px;
  clip-path: var(--blog-crystal-cut);
}
.blog-crystal::before {
  background: linear-gradient(145deg, #50557f 0%, #3b426e 52%, #252e54 100%);
}
.blog-crystal::after {
  border: 0;
  background:
    linear-gradient(138deg, rgba(233, 236, 255, .24), transparent 34%, rgba(200, 243, 239, .13) 58%, transparent 78%),
    linear-gradient(42deg, transparent 49.6%, rgba(231, 239, 255, .2) 50%, transparent 50.4%);
  opacity: .9;
}
.blog-crystal:hover,
.blog-crystal:focus-visible {
  background: linear-gradient(138deg, #fff, #dbe4f4 52%, #d8fbf6);
  filter: drop-shadow(0 0 9px rgba(210, 235, 255, .68)) drop-shadow(0 16px 25px rgba(2, 5, 19, .45));
}
.blog-crystal:hover::before,
.blog-crystal:focus-visible::before {
  background: linear-gradient(145deg, #626891 0%, #444d7b 52%, #2e3a63 100%);
}
@media (max-width: 700px) {
  .blog-crystal { padding-inline: clamp(48px, 11vw, 70px); }
}

/* Shape both Fresh Coffee feeds as varied, faceted crystals. */
.signal-crystal {
  --signal-crystal-cut: polygon(14% 0, 31% 4%, 45% 0, 61% 4%, 76% 0, 91% 6%, 100% 17%, 94% 31%, 100% 43%, 93% 56%, 100% 69%, 94% 83%, 85% 100%, 66% 96%, 50% 100%, 33% 96%, 15% 100%, 0 87%, 6% 73%, 0 60%, 6% 48%, 0 36%, 6% 23%, 0 11%);
  isolation: isolate;
  padding: 42px clamp(52px, 6vw, 66px) 40px;
  clip-path: var(--signal-crystal-cut);
  background: linear-gradient(135deg, rgba(238, 242, 255, .95), rgba(184, 218, 240, .72) 54%, rgba(200, 243, 239, .92));
  filter: drop-shadow(0 0 8px rgba(196, 215, 250, .32)) drop-shadow(0 14px 24px rgba(2, 5, 19, .42));
}
.signal-youtube {
  --signal-crystal-cut: polygon(9% 0, 25% 4%, 42% 0, 58% 4%, 77% 0, 93% 7%, 100% 20%, 94% 35%, 100% 50%, 94% 66%, 100% 81%, 86% 100%, 67% 96%, 49% 100%, 31% 96%, 13% 100%, 0 85%, 6% 69%, 0 53%, 6% 37%, 0 21%);
}
.signal-crystal::before {
  z-index: 0;
  inset: 3px;
  clip-path: var(--signal-crystal-cut);
  border: 0;
  background:
    linear-gradient(137deg, rgba(237, 239, 255, .2), transparent 34%, rgba(200, 243, 239, .09) 62%, transparent 80%),
    linear-gradient(145deg, #50557f 0%, #3b426e 52%, #252e54 100%);
}
.signal-crystal > * { position: relative; z-index: 1; }
.signal-crystal > .signal-facets { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.signal-crystal h3 { padding-inline: 0; }
.signal-bluesky h3 { padding-left: clamp(20px, 3vw, 38px); }
.signal-bluesky > .signal-link { left: clamp(20px, 3vw, 38px); }
@media (max-width: 620px) {
  .signal-crystal { padding: 36px clamp(38px, 9vw, 48px) 34px; }
  .signal-bluesky h3 { padding-left: 0; }
  .signal-bluesky > .signal-link { left: 0; }
}

/* Service links are small cut stones to match the main crystal navigation. */
.services-room { grid-template-columns: 1fr; align-content: start; gap: 25px; }
.services-room .room-title-block h1 { max-width: 100%; font-size: clamp(36px, 5.1vw, 64px); line-height: 1.08; overflow-wrap: anywhere; }
.services-room .service-panel { display: grid; gap: 30px; padding: clamp(32px, 5vw, 56px); }
.service-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 28px; }
.service-intro > span { grid-column: 1 / -1; margin-bottom: 5px; color: #d9d2ed; font: 12px var(--mono); letter-spacing: .15em; }
.service-intro p { margin: 0; }
.service-crystal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-crystal { position: relative; isolation: isolate; display: flex; width: 100%; min-width: 0; min-height: 226px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px 48px 30px; overflow: hidden; border: 0; appearance: none; background: linear-gradient(145deg, rgba(150,143,183,.86), rgba(74,81,129,.95) 45%, rgba(23,34,67,.99)); clip-path: polygon(15% 0, 84% 0, 100% 28%, 92% 100%, 15% 94%, 0 70%, 5% 20%); color: #f5f1fb; cursor: pointer; font: inherit; text-align: left; filter: drop-shadow(0 10px 18px rgba(2,6,23,.34)); transition: transform .24s ease, filter .24s ease, background .24s ease; }
.service-crystal:nth-child(2) { clip-path: polygon(8% 13%, 77% 0, 100% 25%, 94% 84%, 75% 100%, 0 78%, 4% 34%); }
.service-crystal:nth-child(3) { clip-path: polygon(14% 0, 95% 8%, 100% 72%, 83% 100%, 19% 94%, 0 68%, 6% 20%); }
.service-crystal:nth-child(4) { clip-path: polygon(7% 8%, 82% 0, 100% 32%, 91% 88%, 69% 100%, 0 79%, 4% 25%); }
.service-crystal::before { position: absolute; z-index: 0; inset: 0; background: radial-gradient(ellipse at 14% 0%, rgba(250,249,255,.31), transparent 52%), linear-gradient(145deg, transparent 71%, rgba(200,243,239,.12)); content: ''; pointer-events: none; }
.service-crystal > * { position: relative; z-index: 1; }
.service-crystal > span { color: #dffffb; font: 11px var(--mono); letter-spacing: .13em; }
.service-crystal > .service-crystal-title { max-width: 100%; margin: 17px 0 10px; color: #fff; font: 500 clamp(22px, 2.4vw, 29px)/1.18 var(--serif); letter-spacing: 0; overflow-wrap: anywhere; }
.service-crystal strong { margin-bottom: 18px; color: #dffffb; font: 600 19px/1.25 var(--serif); }
.service-crystal-action { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 21px; background: linear-gradient(135deg, #e6ddf5, #aeb5df 45%, #7cc4cb); clip-path: polygon(10% 0, 89% 0, 100% 50%, 88% 100%, 12% 100%, 0 50%); color: #171a36 !important; font: 600 13px/1.25 var(--mono) !important; letter-spacing: .01em !important; }
.service-crystal-action i { color: #39456d; font-size: 16px; font-style: normal; }
.service-crystal:hover, .service-crystal:focus-visible { background: linear-gradient(145deg, rgba(177,169,207,.94), rgba(91,104,151,.98) 45%, rgba(31,48,83,.99)); filter: drop-shadow(0 0 12px rgba(200,243,239,.3)) drop-shadow(0 12px 20px rgba(2,6,23,.34)); transform: translateY(-3px); outline: 2px solid rgba(200,243,239,.86); outline-offset: 3px; }
.service-inquiry-note { margin: -9px 0 0; color: #e0dce8; font: 14px/1.6 var(--serif); }
.services-room .room-cta { justify-self: start; width: max-content; max-width: 100%; }
.services-followup { width: min(360px, 100%); }
.services-room + .room-next { position: relative; bottom: auto; margin: 18px clamp(18px, 4vw, 64px) 18px auto; }
.services-room .inner-paths { gap: 12px; margin-top: 30px; }
.services-room .inner-paths a { position: relative; isolation: isolate; min-height: 82px; padding: 18px 25px; overflow: hidden; border: 0; background: linear-gradient(145deg, rgba(158,151,190,.82), rgba(75,82,132,.94) 48%, rgba(27,37,71,.98)); clip-path: polygon(15% 0, 84% 0, 100% 34%, 91% 100%, 17% 94%, 0 62%, 5% 19%); color: #f8f5ff; font-size: 15px; filter: drop-shadow(0 8px 12px rgba(3,7,23,.32)); transition: transform .24s ease, filter .24s ease, background .24s ease; }
.services-room .inner-paths a:nth-child(2) { clip-path: polygon(8% 15%, 77% 0, 100% 25%, 94% 83%, 75% 100%, 0 76%); }
.services-room .inner-paths a::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 16% 0%, rgba(249,248,255,.28), transparent 52%), linear-gradient(135deg, transparent 46%, rgba(200,243,239,.12) 58%, transparent 72%); content: ''; pointer-events: none; }
.services-room .inner-paths a > span { position: relative; z-index: 1; flex: 0 0 auto; color: #dffffb; }
.services-room .inner-paths a:hover, .services-room .inner-paths a:focus-visible { background: linear-gradient(145deg, rgba(192,186,221,.96), rgba(105,120,166,.98) 48%, rgba(41,59,94,.99)); filter: drop-shadow(0 0 13px rgba(200,243,239,.5)) drop-shadow(0 10px 15px rgba(3,7,23,.34)); transform: translateY(-3px) scale(1.025); outline: none; }
@media (max-width: 760px) {
  .services-room .service-panel { padding: 28px 30px; }
  .service-intro { grid-template-columns: 1fr; gap: 8px; }
  .service-intro > span { grid-column: auto; }
  .service-crystal-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-crystal { min-height: 210px; padding: 30px 40px 27px; }
  .service-panel p { font-size: 16px; }
  .service-crystal > .service-crystal-title { font-size: 24px; }
  .service-crystal-action { font-size: 12px !important; }
  .services-room .inner-paths a { min-height: 76px; padding: 16px 21px; font-size: 13px; }
  .services-room .room-cta { max-width: 100%; padding-inline: 25px; font-size: 13px; }
}

.service-dialog { position: fixed; inset: 0; width: min(1080px, calc(100vw - 36px)); max-width: none; max-height: min(88dvh, 920px); margin: auto; padding: clamp(28px, 4vw, 52px); overflow: auto; border: 1px solid rgba(224, 225, 255, .72); background: radial-gradient(ellipse at 14% 0%, rgba(120, 111, 163, .32), transparent 48%), linear-gradient(145deg, #242743, #101629 65%, #17162c); clip-path: polygon(3% 0, 95% 0, 100% 7%, 100% 91%, 96% 100%, 4% 100%, 0 93%, 0 9%); color: #f5f1fb; box-shadow: 0 24px 90px rgba(0, 0, 0, .56), inset 0 0 34px rgba(205, 214, 255, .1); }
.service-dialog::backdrop { background: rgba(3, 6, 18, .78); backdrop-filter: blur(7px); }
.service-dialog-close { position: sticky; z-index: 3; top: 0; float: right; display: grid; width: 48px; height: 48px; place-items: center; margin: -16px -12px 0 12px; border: 1px solid rgba(217, 226, 255, .68); background: linear-gradient(140deg, #a69dc4, #64739f 58%, #4a557d); clip-path: polygon(24% 0, 76% 0, 100% 24%, 100% 76%, 76% 100%, 24% 100%, 0 76%, 0 24%); color: white; cursor: pointer; font: 34px/1 var(--serif); }
.service-dialog-close:hover, .service-dialog-close:focus-visible { filter: drop-shadow(0 0 12px rgba(200, 243, 239, .65)); outline: 2px solid #c8f3ef; outline-offset: 3px; }
.service-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr); gap: clamp(26px, 4vw, 48px); clear: both; }
.service-detail-copy { min-width: 0; }
.service-detail-copy > .room-kicker { color: #c8f3ef; font: 12px var(--mono); letter-spacing: .13em; }
.service-detail-copy h2 { margin: 13px 0 10px; color: #fff; font: 500 clamp(30px, 4vw, 46px)/1.08 var(--serif); overflow-wrap: anywhere; }
.service-detail-summary { margin: 0 0 22px; color: #e5def5; font: 19px/1.5 var(--serif); }
.service-detail-description { color: #f1eef8; font: 17px/1.65 var(--serif); }
.service-detail-description p { margin: 0 0 17px; white-space: normal; }
.service-detail-inquiry { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding: 14px 25px; background: linear-gradient(135deg, #e6ddf5, #aeb5df 45%, #7cc4cb); clip-path: polygon(7% 0, 92% 0, 100% 50%, 92% 100%, 7% 100%, 0 50%); color: #171a36; font: 600 13px/1.35 var(--mono); text-decoration: none; }
.service-detail-inquiry:hover, .service-detail-inquiry:focus-visible { filter: drop-shadow(0 0 12px rgba(200, 243, 239, .5)); outline: 2px solid rgba(200, 243, 239, .9); outline-offset: 3px; }
.service-example-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 16px; }
.service-example-gallery figure { min-width: 0; margin: 0; padding: 8px; background: linear-gradient(145deg, rgba(213, 212, 245, .82), rgba(102, 128, 168, .72) 50%, rgba(122, 202, 205, .66)); clip-path: polygon(14% 0, 87% 0, 100% 15%, 96% 88%, 84% 100%, 13% 96%, 0 79%, 4% 15%); }
.service-example-gallery figure:nth-child(2n) { clip-path: polygon(9% 8%, 82% 0, 100% 18%, 94% 84%, 80% 100%, 0 88%, 3% 23%); }
.service-example-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; clip-path: polygon(13% 0, 88% 0, 100% 14%, 96% 87%, 84% 100%, 13% 96%, 0 80%, 4% 16%); }
.service-example-open img { display: block; width: 100%; height: 190px; object-fit: contain; background: rgba(7, 12, 28, .74); transition: filter .2s ease, transform .2s ease; }
.service-example-open:hover img, .service-example-open:focus-visible img { filter: brightness(1.16) drop-shadow(0 0 10px rgba(200,243,239,.45)); transform: scale(1.035); }
.service-example-open:focus-visible { outline: 2px solid #c8f3ef; outline-offset: 4px; }
.service-example-gallery figcaption { padding: 7px 9px 3px; color: #ece9f6; font: 11px/1.4 var(--mono); text-align: center; }
.service-detail-no-gallery { grid-template-columns: minmax(0, 1fr) minmax(200px, .6fr); align-items: center; }
.service-example-note { padding: 28px; border: 1px solid rgba(200,243,239,.28); background: linear-gradient(140deg, rgba(114, 124, 169, .24), rgba(30, 42, 75, .3)); color: #d9d2ed; font: 16px/1.5 var(--serif); clip-path: polygon(9% 0, 92% 0, 100% 18%, 95% 88%, 82% 100%, 0 82%, 3% 18%); }
.service-image-viewer { position: fixed; inset: 0; display: none; width: min(94vw, 1180px); max-width: none; max-height: 94dvh; margin: auto; padding: clamp(25px, 4vw, 48px); overflow: auto; border: 1px solid rgba(224,225,255,.8); background: radial-gradient(ellipse at 50% 0%, rgba(128, 124, 172, .32), transparent 60%), linear-gradient(145deg, #1e233e, #080d1c 72%); clip-path: polygon(4% 0, 95% 0, 100% 8%, 100% 92%, 95% 100%, 4% 100%, 0 92%, 0 8%); color: #f5f1fb; box-shadow: 0 24px 90px rgba(0, 0, 0, .68); }
.service-image-viewer[open] { display: flex; align-items: center; justify-content: center; }
.service-image-viewer::backdrop { background: rgba(2, 5, 16, .9); backdrop-filter: blur(9px); }
.service-image-viewer-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(217, 226, 255, .68); background: linear-gradient(140deg, #a69dc4, #64739f 58%, #4a557d); clip-path: polygon(24% 0, 76% 0, 100% 24%, 100% 76%, 76% 100%, 24% 100%, 0 76%, 0 24%); color: white; cursor: pointer; font: 34px/1 var(--serif); }
.service-image-viewer-close:hover, .service-image-viewer-close:focus-visible { filter: drop-shadow(0 0 12px rgba(200, 243, 239, .65)); outline: 2px solid #c8f3ef; outline-offset: 3px; }
.service-image-viewer-zoom, .service-image-viewer-play { position: absolute; z-index: 2; bottom: 15px; min-height: 44px; padding: 11px 23px; border: 1px solid rgba(217,226,255,.72); background: linear-gradient(135deg, #e6ddf5, #aeb5df 45%, #7cc4cb); clip-path: polygon(9% 0, 90% 0, 100% 50%, 90% 100%, 9% 100%, 0 50%); color: #171a36; cursor: pointer; font: 600 12px/1.2 var(--mono); }
.service-image-viewer-zoom { right: 16px; }
.service-image-viewer-play { left: 16px; }
.service-image-viewer-play[hidden] { display: none; }
.service-image-viewer-play[aria-pressed="true"] { background: linear-gradient(135deg, #c4eef0, #aab6df 48%, #ded5f0); }
.service-image-viewer-zoom:hover, .service-image-viewer-zoom:focus-visible, .service-image-viewer-play:hover, .service-image-viewer-play:focus-visible { filter: drop-shadow(0 0 12px rgba(200,243,239,.58)); outline: 2px solid #c8f3ef; outline-offset: 3px; }
.service-image-viewer-image { display: block; flex: 0 0 auto; width: min(78vw, 1000px, var(--viewer-image-width, 1000px)); max-width: 100%; max-height: min(84dvh, var(--viewer-image-height, 84dvh)); object-fit: contain; cursor: zoom-in; transition: width .22s ease; }
.service-image-viewer.is-zoomed .service-image-viewer-image { width: min(120vw, 1500px, calc(var(--viewer-image-width, 750px) * 2)); max-width: none; max-height: calc(var(--viewer-image-height, 500px) * 2); cursor: zoom-out; }
@media (max-width: 760px) {
  .service-dialog { width: calc(100vw - 20px); max-height: 92dvh; padding: 30px 26px; }
  .service-detail, .service-detail-no-gallery { grid-template-columns: 1fr; gap: 24px; }
  .service-dialog-close { margin: -13px -8px 0 10px; }
  .service-detail-summary { font-size: 18px; }
  .service-detail-description { font-size: 16px; }
  .service-example-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-example-open img { height: 150px; }
  .service-image-viewer { width: calc(100vw - 14px); max-height: 96dvh; padding: 35px 18px; }
  .service-image-viewer-image { width: min(84vw, var(--viewer-image-width, 84vw)); max-height: min(86dvh, var(--viewer-image-height, 86dvh)); }
  .service-image-viewer.is-zoomed .service-image-viewer-image { width: min(135vw, calc(var(--viewer-image-width, 67.5vw) * 2)); max-height: calc(var(--viewer-image-height, 43dvh) * 2); }
  .service-image-viewer-zoom { right: 11px; bottom: 10px; min-height: 42px; padding-inline: 18px; }
  .service-image-viewer-play { left: 11px; bottom: 10px; min-height: 42px; padding-inline: 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .service-crystal, .service-dialog-close, .service-image-viewer-close, .service-image-viewer-zoom, .service-image-viewer-play, .service-image-viewer-image, .service-example-open img { transition: none; } }

/* Room-to-room navigation takes the form of a small cut crystal. */
.room-next {
  position: sticky;
  isolation: isolate;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid rgba(218, 224, 255, .76);
  background: linear-gradient(145deg, rgba(149, 143, 181, .92), rgba(74, 79, 122, .96) 48%, rgba(37, 43, 76, .98));
  clip-path: polygon(7% 0, 91% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  color: #f4f0ff;
  box-shadow: inset 0 0 18px rgba(220, 230, 255, .2), 0 8px 24px rgba(3, 7, 23, .3);
  transition: transform .24s ease, filter .24s ease, background .24s ease;
}
.room-next::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: linear-gradient(135deg, rgba(246, 247, 255, .24), transparent 34%, rgba(200, 243, 239, .12) 58%, transparent 80%);
  clip-path: polygon(7% 0, 91% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  content: '';
  pointer-events: none;
}
.room-next:hover, .room-next:focus-visible {
  background: linear-gradient(145deg, rgba(195, 190, 225, .98), rgba(111, 119, 165, .98) 48%, rgba(59, 71, 112, .99));
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(210, 224, 255, .72)) drop-shadow(0 0 25px rgba(200, 243, 239, .24));
  transform: translateY(-3px) scale(1.035);
  outline: none;
}
.room-next span { color: #d5fffa; }

/* The coffee archive is a pair of faceted entries, with each article in its own room. */
.blog-screen .archive-body { max-width: 1080px; }
.blog-screen, .blog-article-screen { left: 0; right: auto; width: 100%; max-width: 100%; overflow-x: clip; }
.blog-screen::before, .blog-article-screen::before { content: ''; }
.blog-visible .nebula-overlay::before,
.blog-visible .nebula-overlay::after {
  background-size: 100% 210vh;
  opacity: .52;
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: add;
  -webkit-mask-composite: source-over;
}
.blog-intro { margin: -20px 0 8px; color: #c8f3ef; font: 13px var(--mono); letter-spacing: .14em; }
.social-signals { max-width: 1080px; margin: clamp(62px, 8vw, 100px) auto 20px; }
.signals-heading { max-width: 690px; margin: 0 auto 28px; text-align: center; }
.signals-heading h2 { margin: 7px 0 12px; color: #f4effa; font: 500 clamp(31px, 4vw, 48px)/1.12 var(--serif); }
.signals-heading > p, .signals-note { color: #d6d0df; font: 17px/1.6 var(--serif); }
.signals-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.signal-crystal { position: relative; min-width: 0; padding: 42px clamp(52px, 6vw, 66px) 40px; overflow: hidden; background: linear-gradient(145deg, rgba(218, 212, 246, .22) 0 13%, transparent 13.5% 100%), linear-gradient(35deg, transparent 0 58%, rgba(122, 184, 198, .2) 58.5% 76%, transparent 76.5% 100%), linear-gradient(145deg, #68638b, #2d3052 48%, #11172f); clip-path: polygon(14% 0, 31% 4%, 45% 0, 61% 4%, 76% 0, 91% 6%, 100% 17%, 94% 31%, 100% 43%, 93% 56%, 100% 69%, 94% 83%, 85% 100%, 66% 96%, 50% 100%, 33% 96%, 15% 100%, 0 87%, 6% 73%, 0 60%, 6% 48%, 0 36%, 6% 23%, 0 11%); }
.signal-crystal::before { position: absolute; inset: 3px; background: linear-gradient(145deg, rgba(218, 212, 246, .22) 0 13%, transparent 13.5% 100%), linear-gradient(35deg, transparent 0 58%, rgba(122, 184, 198, .2) 58.5% 76%, transparent 76.5% 100%), linear-gradient(135deg, rgba(239, 241, 255, .18), transparent 33%, rgba(198, 243, 239, .09) 58%, transparent 77%), linear-gradient(145deg, #68638b, #2d3052 48%, #11172f); clip-path: var(--signal-crystal-cut); content: ''; pointer-events: none; }
.signal-crystal::after { position: absolute; inset: 5% 6%; z-index: 0; border: 1px solid rgba(221, 229, 255, .52); clip-path: var(--signal-crystal-cut); content: ''; pointer-events: none; }
.signal-crystal h3 { position: relative; margin: 0 0 20px; color: #f4effa; font: 500 24px/1.25 var(--serif); }
.signal-crystal h3 span { color: #d3cce0; font: 14px/1.4 var(--mono); }
.bluesky-feed { position: relative; display: grid; gap: 16px; }
.bluesky-post { position: relative; isolation: isolate; display: flex; min-width: 0; flex-direction: column; padding: 22px clamp(22px, 3vw, 30px) 24px; overflow: hidden; background: linear-gradient(145deg, rgba(104, 99, 139, .83), rgba(45, 48, 82, .94) 48%, rgba(17, 23, 47, .98)); clip-path: polygon(9% 0, 91% 0, 100% 8%, 100% 92%, 91% 100%, 9% 100%, 0 92%, 0 8%); text-align: center; transition: background .28s ease, filter .28s ease, transform .28s ease; }
.bluesky-post::before, .youtube-video::before { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(239, 241, 255, .2), transparent 33%, rgba(198, 243, 239, .09) 58%, transparent 77%); content: ''; pointer-events: none; }
.bluesky-post::after, .youtube-video::after { position: absolute; inset: 9% 12%; z-index: 0; border: 1px solid rgba(221, 229, 255, .2); clip-path: inherit; content: ''; pointer-events: none; }
.bluesky-post > *, .youtube-video > * { position: relative; z-index: 1; }
.bluesky-post:hover, .bluesky-post:focus-within { background: linear-gradient(145deg, rgba(150, 145, 183, .92), rgba(68, 72, 116, .97) 48%, rgba(23, 31, 60, .99)); filter: drop-shadow(0 0 13px rgba(200, 243, 239, .38)); transform: translateY(-3px); }
.bluesky-post time { color: #c8f3ef; font: 12px var(--mono); }
.bluesky-post p { margin: 9px 0 11px; color: #eeeaf4; font: 21.33px/1.55 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.bluesky-images { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 14px; }
.bluesky-images a { display: block; min-width: 0; overflow: hidden; background: rgba(9, 14, 32, .58); clip-path: polygon(7% 0, 93% 0, 100% 10%, 100% 90%, 93% 100%, 7% 100%, 0 90%, 0 10%); }
.bluesky-images a:only-child { grid-column: 1 / -1; }
.bluesky-images img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.bluesky-post a, .signal-link { position: relative; display: inline-block; color: #c8f3ef; font: 12px var(--mono); letter-spacing: .05em; text-decoration: none; }
.bluesky-post > a:hover { color: #c8f3ef; text-decoration: none; }
.bluesky-post a:hover, .signal-link:hover, .bluesky-post a:focus-visible, .signal-link:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.signal-link { margin-top: 20px; }
.feed-status { position: relative; min-height: 3em; color: #ddd8e7; font: 16px/1.55 var(--serif); }
.signal-bluesky { --signal-crystal-cut: polygon(12% 0, 88% 0, 100% 13%, 94% 27%, 100% 43%, 95% 58%, 100% 73%, 93% 88%, 83% 100%, 17% 100%, 6% 88%, 0 73%, 5% 58%, 0 43%, 6% 27%, 0 13%); grid-column: 1 / -1; width: min(100%, 860px); justify-self: center; padding: 66px clamp(82px, 9vw, 96px) 66px; clip-path: var(--signal-crystal-cut); }
.signal-bluesky::before { background: radial-gradient(ellipse at 50% 0%, rgba(210, 226, 255, .16), transparent 42%), linear-gradient(145deg, rgba(218, 212, 246, .22) 0 13%, transparent 13.5% 100%), linear-gradient(35deg, transparent 0 58%, rgba(122, 184, 198, .2) 58.5% 76%, transparent 76.5% 100%), linear-gradient(135deg, rgba(239, 241, 255, .18), transparent 33%, rgba(198, 243, 239, .09) 58%, transparent 77%), linear-gradient(145deg, #68638b, #2d3052 48%, #11172f); }
.signal-bluesky h3 { padding-left: 0; text-align: left; }
.signal-bluesky > .signal-crystal-button { display: block; width: max-content; max-width: 100%; margin: 26px auto 0; }
.signal-crystal-button { padding: 14px 31px; clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%); background: linear-gradient(140deg, rgba(143, 140, 182, .84), rgba(54, 65, 108, .92)); color: #f4effa; filter: drop-shadow(0 0 9px rgba(200, 243, 239, .16)); transition: filter .2s ease, transform .2s ease; }
.signal-crystal-button:hover, .signal-crystal-button:focus-visible { color: #fff; filter: drop-shadow(0 0 14px rgba(200, 243, 239, .42)); transform: translateY(-2px); outline: none; }
.signal-youtube { --signal-crystal-cut: polygon(9% 0, 25% 4%, 42% 0, 58% 4%, 77% 0, 93% 7%, 100% 20%, 94% 35%, 100% 50%, 94% 66%, 100% 81%, 86% 100%, 67% 96%, 49% 100%, 31% 96%, 13% 100%, 0 85%, 6% 69%, 0 53%, 6% 37%, 0 21%); grid-column: 1 / -1; width: min(100%, 1080px); justify-self: center; padding: 58px clamp(64px, 7vw, 82px); clip-path: var(--signal-crystal-cut); }
.signal-youtube, .signal-youtube * { text-shadow: 0 2px 4px rgba(4, 8, 24, .82), 0 0 10px rgba(4, 8, 24, .28); }
.signal-youtube > h3 { position: relative; z-index: 1; isolation: isolate; width: fit-content; max-width: 100%; margin: 0 0 22px -18px; padding: 10px 26px 12px; }
.signal-youtube > h3::before { position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 23%, 17% 0, 75% 0, 100% 42%, 86% 100%, 11% 82%); background: linear-gradient(140deg, rgba(224, 218, 248, .27), rgba(134, 157, 194, .14) 58%, rgba(200, 243, 239, .22)); content: ''; }
.signal-youtube > .youtube-recent { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: visible; }
.youtube-recent::before { display: none; }
.youtube-panel-facets { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; clip-path: var(--signal-crystal-cut); pointer-events: none; }
.youtube-action-facets { position: relative; display: flex; align-items: stretch; width: max-content; max-width: 100%; margin-top: 23px; isolation: isolate; }
.signal-youtube .signal-crystal-button { position: relative; flex: 0 1 auto; margin: 0; padding: 18px clamp(26px, 3vw, 36px); clip-path: polygon(0 22%, 24% 0, 100% 13%, 91% 76%, 70% 100%, 0 82%); background: linear-gradient(145deg, rgba(217, 213, 246, .42), rgba(122, 153, 192, .32) 54%, rgba(103, 176, 185, .38)); color: #f4effa; filter: none; text-align: center; transition: background .22s ease, color .22s ease, transform .22s ease; }
.signal-youtube .signal-crystal-button + .signal-crystal-button { z-index: 1; margin-left: -8px; clip-path: polygon(8% 13%, 100% 0, 100% 82%, 72% 100%, 0 84%, 9% 49%); background: linear-gradient(145deg, rgba(166, 190, 224, .36), rgba(112, 124, 176, .34) 55%, rgba(202, 194, 232, .4)); }
.signal-youtube .signal-crystal-button::after { position: absolute; inset: 5px; border: 1px solid rgba(226, 245, 255, .32); clip-path: inherit; content: ''; pointer-events: none; }
.signal-youtube .signal-crystal-button:hover, .signal-youtube .signal-crystal-button:focus-visible { z-index: 2; background: linear-gradient(145deg, rgba(239, 237, 255, .42), rgba(155, 184, 217, .34) 54%, rgba(169, 226, 223, .38)); color: #fff; filter: none; transform: translateY(-2px); }
.youtube-video { position: relative; isolation: isolate; z-index: 1; display: flex; min-width: 0; flex-direction: column; padding: 24px clamp(32px, 3.2vw, 38px) 28px; overflow: hidden; background: transparent; color: #f4effa; text-decoration: none; text-shadow: 0 2px 8px rgba(5, 8, 24, .88); transform-origin: center; transition: color .22s ease, transform .24s ease, background .24s ease, clip-path .24s ease; }
.youtube-video:nth-of-type(2), .youtube-video:nth-of-type(3) { background: transparent; }
.youtube-video::before { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(248, 245, 255, .08), transparent 30%, rgba(200, 243, 239, .045) 65%, transparent 100%); content: ''; pointer-events: none; }
.youtube-video::after { display: none; }
.youtube-video:hover, .youtube-video:focus-visible { z-index: 3; color: #fff; background: linear-gradient(145deg, rgba(222, 216, 248, .96), rgba(104, 119, 174, .98) 48%, rgba(39, 62, 102, .99)); clip-path: polygon(10% 0, 88% 0, 100% 15%, 94% 50%, 100% 85%, 88% 100%, 12% 100%, 0 85%, 6% 50%, 0 15%); transform: translateY(-5px) scale(1.035); outline: none; }
.youtube-video:nth-of-type(2):hover, .youtube-video:nth-of-type(2):focus-visible { background: linear-gradient(145deg, rgba(204, 232, 242, .98), rgba(91, 145, 177, .99) 48%, rgba(34, 69, 108, 1)); }
.youtube-video:nth-of-type(3):hover, .youtube-video:nth-of-type(3):focus-visible { background: linear-gradient(145deg, rgba(226, 215, 246, .98), rgba(117, 105, 166, .99) 48%, rgba(49, 61, 111, 1)); }
.youtube-video:hover::before, .youtube-video:focus-visible::before { background: linear-gradient(135deg, rgba(255, 255, 255, .31), transparent 36%, rgba(200, 243, 239, .17) 70%, transparent 100%); }
.youtube-video:hover::after, .youtube-video:focus-visible::after { position: absolute; inset: 8px; z-index: 0; display: block; border: 1px solid rgba(237, 251, 255, .68); clip-path: inherit; content: ''; pointer-events: none; }
.youtube-video:hover img, .youtube-video:focus-visible img { filter: brightness(1.06); }
.youtube-video img { transition: filter .22s ease; }
.youtube-video img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; clip-path: polygon(5% 0, 95% 0, 100% 12%, 100% 88%, 95% 100%, 5% 100%, 0 88%, 0 12%); }
.youtube-video > span { margin-top: 13px; color: #c8f3ef; font: 11px var(--mono); letter-spacing: .06em; }
.youtube-feed-status { position: relative; margin: 14px 0 0; color: #ddd8e7; font: 14px/1.5 var(--serif); }
.youtube-feed-status[hidden] { display: none; }
.youtube-video strong { margin-top: 8px; font: 500 16px/1.4 var(--serif); }
.youtube-video b { margin-top: auto; padding-top: 15px; color: #c8f3ef; font: 11px var(--mono); letter-spacing: .04em; }
.signal-bluesky, .signal-bluesky * { text-shadow: 0 2px 4px rgba(4, 8, 24, .82), 0 0 10px rgba(4, 8, 24, .28); }
.signal-bluesky > h3 { position: relative; z-index: 1; isolation: isolate; width: fit-content; max-width: 100%; margin: 0 0 22px -18px; padding: 10px 26px 12px; }
.signal-bluesky > h3::before { position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 23%, 17% 0, 75% 0, 100% 42%, 86% 100%, 11% 82%); background: linear-gradient(140deg, rgba(224, 218, 248, .27), rgba(134, 157, 194, .14) 58%, rgba(200, 243, 239, .22)); content: ''; }
.signal-bluesky > .bluesky-feed { position: static; display: grid; gap: 0; overflow: visible; }
.signal-bluesky .bluesky-post { position: relative; isolation: isolate; z-index: 1; margin: 0; padding: 24px clamp(32px, 3.2vw, 38px) 28px; overflow: visible; background: transparent; clip-path: none; text-align: center; transform-origin: center; transition: color .22s ease, transform .24s ease, background .24s ease, clip-path .24s ease; }
.signal-bluesky .bluesky-post::before { inset: 0; background: linear-gradient(135deg, rgba(248, 245, 255, .08), transparent 30%, rgba(200, 243, 239, .045) 65%, transparent 100%); opacity: .72; }
.signal-bluesky .bluesky-post::after { display: none; }
.signal-bluesky .bluesky-post:hover, .signal-bluesky .bluesky-post:focus-within { z-index: 3; background: linear-gradient(145deg, rgba(190, 184, 224, .52), rgba(94, 119, 166, .46) 50%, rgba(54, 91, 124, .52)); clip-path: polygon(10% 0, 88% 2%, 100% 15%, 96% 49%, 100% 84%, 87% 100%, 12% 98%, 0 84%, 5% 50%, 0 15%); transform: translateY(-4px) scale(1.025); }
.signal-bluesky .bluesky-post:hover::before, .signal-bluesky .bluesky-post:focus-within::before { background: linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 36%, rgba(200, 243, 239, .16) 70%, transparent 100%); opacity: 1; }
.signal-bluesky .bluesky-post time { color: #c8f3ef; }
.signal-bluesky .bluesky-post p { margin: 9px 0 11px; }
.signal-bluesky .bluesky-images { gap: 10px; margin: 14px auto; }
.signal-bluesky .bluesky-images a { background: rgba(9, 14, 32, .5); clip-path: polygon(5% 0, 94% 0, 100% 13%, 97% 88%, 91% 100%, 7% 100%, 0 86%, 3% 12%); }
.signal-bluesky > .signal-crystal-button { position: relative; display: block; width: max-content; max-width: 100%; margin: 22px auto 0; padding: 18px clamp(26px, 3vw, 36px); clip-path: polygon(0 22%, 24% 0, 100% 13%, 91% 76%, 70% 100%, 0 82%); background: linear-gradient(145deg, rgba(217, 213, 246, .42), rgba(122, 153, 192, .32) 54%, rgba(103, 176, 185, .38)); color: #f4effa; filter: none; text-align: center; transition: background .22s ease, color .22s ease, transform .22s ease; }
.signal-bluesky > .signal-crystal-button::after { position: absolute; inset: 5px; border: 1px solid rgba(226, 245, 255, .32); clip-path: inherit; content: ''; pointer-events: none; }
.signal-bluesky > .signal-crystal-button:hover, .signal-bluesky > .signal-crystal-button:focus-visible { background: linear-gradient(145deg, rgba(239, 237, 255, .42), rgba(155, 184, 217, .34) 54%, rgba(169, 226, 223, .38)); color: #fff; filter: none; transform: translateY(-2px); }
.youtube-caption { position: relative; margin: 17px 0 0; color: #ddd8e7; font: 16px/1.55 var(--serif); }
.youtube-playlist-link { display: inline-block; }
.signals-note { margin: 24px auto 0; text-align: center; font-size: 14px; }
.signals-note a { color: #c8f3ef; }
.blog-grid { align-items: stretch; gap: clamp(18px, 3vw, 34px); }
.blog-crystal {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px) clamp(62px, 6vw, 78px);
  overflow: hidden;
  border: 0;
  background: linear-gradient(145deg, rgba(104, 99, 139, .83), rgba(45, 48, 82, .94) 48%, rgba(17, 23, 47, .98));
  clip-path: polygon(16% 0, 88% 0, 100% 17%, 100% 77%, 86% 100%, 12% 100%, 0 78%, 0 22%);
  color: inherit;
  text-decoration: none;
  filter: drop-shadow(0 13px 22px rgba(2, 5, 19, .42));
  transition: transform .28s ease, filter .28s ease, background .28s ease;
}
.blog-crystal-two { clip-path: polygon(13% 0, 86% 0, 100% 24%, 96% 80%, 76% 100%, 12% 92%, 0 64%, 4% 25%); }
.blog-crystal::before, .blog-crystal::after { position: absolute; inset: 0; content: ''; pointer-events: none; }
.blog-crystal::before { background: linear-gradient(135deg, rgba(239, 241, 255, .23), transparent 33%, rgba(198, 243, 239, .1) 58%, transparent 77%); }
.blog-crystal::after { inset: 9% 12%; border: 1px solid rgba(221, 229, 255, .22); clip-path: inherit; }
.blog-crystal:hover, .blog-crystal:focus-visible { background: linear-gradient(145deg, rgba(150, 145, 183, .92), rgba(68, 72, 116, .97) 48%, rgba(23, 31, 60, .99)); filter: drop-shadow(0 0 14px rgba(204, 220, 255, .48)) drop-shadow(0 16px 28px rgba(2, 5, 19, .42)); transform: translateY(-5px) scale(1.015); outline: none; }
.blog-crystal > * { position: relative; z-index: 1; }
.blog-crystal > span { color: #d7f8f3; font: 12px var(--mono); letter-spacing: .07em; }
.blog-crystal h2 { max-width: 590px; font-size: clamp(23px, 2.7vw, 34px); }
.blog-crystal p { max-width: 510px; }
.blog-crystal b { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 15px; color: var(--mint); font: 13px var(--mono); letter-spacing: .09em; }
.blog-crystal b i { font-size: 21px; font-style: normal; }
.blog-article { max-width: 900px; }
.blog-article h1 { max-width: 900px; margin-bottom: 32px; font-size: clamp(34px, 5.5vw, 64px); line-height: 1.16; }
.blog-article .archive-prose { max-width: 780px; }
.blog-article .archive-prose h2 { margin: 2em 0 .8em; color: var(--lilac); font: 500 clamp(23px, 3vw, 32px)/1.25 var(--serif); }
.blog-article .archive-prose a { color: var(--mint); overflow-wrap: anywhere; }
.blog-post-art { position: relative; width: min(100%, 640px); margin: clamp(30px, 5vw, 54px) auto; }
.blog-post-art img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 0 22px rgba(185, 170, 235, .22)); }
.blog-post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.blog-post-art polygon { fill: none; stroke: rgba(213, 233, 255, .76); stroke-width: 1.15; vector-effect: non-scaling-stroke; }
.blog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; max-width: 780px; margin: 45px auto 54px; padding: 19px 0; border-block: 1px solid rgba(200, 243, 239, .2); }
.crystal-action { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 25px; border: 0; clip-path: polygon(12% 0, 87% 0, 100% 50%, 86% 100%, 10% 100%, 0 48%); background: linear-gradient(140deg, rgba(143, 140, 182, .92), rgba(54, 65, 108, .97)); color: #f4f0ff; font: 13px var(--mono); letter-spacing: .05em; cursor: pointer; transition: filter .2s, transform .2s, background .2s; }
.crystal-action:hover, .crystal-action:focus-visible, .crystal-action.is-selected { background: linear-gradient(140deg, #b9addd, #657eaf); filter: drop-shadow(0 0 10px rgba(200, 243, 239, .45)); transform: translateY(-2px); outline: none; }
.blog-feedback { flex: 1 1 100%; min-height: 1.4em; color: #c8f3ef; font: 13px/1.5 var(--serif); overflow-wrap: anywhere; }
.blog-comments { max-width: 780px; margin: 0 auto; }
.blog-comments > h2 { color: #f4effa; font: 500 clamp(27px, 4vw, 38px)/1.2 var(--serif); }
.comment-storage-note { color: #bcb6c8; font: 14px/1.6 var(--serif); }
.comment-form { display: grid; gap: 17px; margin: 25px 0 34px; }
.comment-form label { display: grid; gap: 9px; color: var(--mint); font: 12px var(--mono); letter-spacing: .06em; }
.comment-form input, .comment-form textarea { width: 100%; padding: 15px 21px; border: 0; border-radius: 0; clip-path: polygon(5% 0, 95% 0, 100% 24%, 96% 100%, 3% 96%, 0 21%); background: linear-gradient(130deg, rgba(92, 94, 132, .58), rgba(21, 28, 52, .9)); box-shadow: inset 0 0 0 1px rgba(200, 243, 239, .28); color: #fff; font: 17px/1.6 var(--serif); }
.comment-form textarea { resize: vertical; }
.comment-form input:focus-visible, .comment-form textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.comment-list { display: grid; gap: 20px; }
.saved-comment { padding: 7px 20px 16px; border-left: 2px solid rgba(200, 243, 239, .45); background: linear-gradient(90deg, rgba(67, 74, 110, .3), transparent 85%); }
.saved-comment h3 { margin: 0 0 8px; color: var(--mint); font: 13px var(--mono); }
.saved-comment p { margin: 0; color: #e0dce8; font: 16px/1.7 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .blog-grid { gap: 14px; }
  .blog-crystal { min-height: 300px; padding: 34px clamp(45px, 11vw, 70px); }
  .blog-crystal h2 { font-size: clamp(21px, 6vw, 28px); }
  .blog-article h1 { font-size: clamp(32px, 9vw, 48px); }
  .blog-actions { gap: 9px; }
  .crystal-action { padding-inline: 20px; }
}
@media (max-width: 980px) {
  .signals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-youtube { grid-column: 1 / -1; max-width: 1080px; width: 100%; justify-self: center; }
}
@media (max-width: 620px) {
  .signals-grid { grid-template-columns: minmax(0, 1fr); }
  .signal-youtube { grid-column: auto; }
  .signal-crystal { padding-inline: clamp(30px, 9vw, 42px); }
  .signal-crystal.signal-bluesky { padding: 58px clamp(48px, 12vw, 60px); }
  .youtube-recent { grid-template-columns: minmax(0, 1fr); }
  .youtube-action-facets { flex-direction: column; width: 100%; gap: 4px; }
  .signal-youtube .signal-crystal-button + .signal-crystal-button { margin-left: 0; }
  .youtube-panel-facets g:last-child { display: none; }
  .signals-heading > p { font-size: 16px; }
}
@media (min-width: 621px) and (max-width: 760px) {
  .youtube-recent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .youtube-panel-facets g:last-child { display: none; }
}
@media (max-width: 480px) {
  .youtube-recent { grid-template-columns: minmax(0, 1fr); }
}
/* Final Games readability + source artwork pass: faceting stays on the crystal surface, not on its text. */
#games .game-crystal { overflow: visible; }
#games .game-crystal summary { position: relative; min-height: 0; overflow: visible; clip-path: none; padding: 22px clamp(22px, 2.8vw, 34px) 30px; }
#games .game-cover { width: 100%; aspect-ratio: 1.9 / 1; margin: 0 auto 20px; padding: 3px; background: linear-gradient(135deg, rgba(242,239,255,.92), rgba(146,154,204,.86) 48%, rgba(200,243,239,.78)); clip-path: polygon(13% 0, 84% 0, 100% 20%, 96% 78%, 80% 100%, 14% 96%, 0 69%, 5% 18%); }
#games .game-cover img { display: block; width: 100%; height: 100%; object-fit: cover; background: rgba(8, 13, 30, .95); clip-path: polygon(13% 0, 84% 0, 100% 20%, 96% 78%, 80% 100%, 14% 96%, 0 69%, 5% 18%); }
#games .game-index { line-height: 1.6; }
#games .game-crystal h2 { line-height: 1.2; }
#games .game-tagline, #games .game-genres, #games .game-open { overflow-wrap: anywhere; }
#games .game-details { overflow-wrap: anywhere; }
#games .game-media { position: relative; isolation: isolate; }
#games .game-media img { clip-path: polygon(13% 0, 86% 0, 100% 20%, 95% 82%, 79% 100%, 13% 94%, 0 69%, 5% 18%); }
@media (max-width: 620px) {
  #games .game-crystal summary { padding: 20px 25px 28px; }
  #games .game-cover { aspect-ratio: 1.8 / 1; margin-bottom: 17px; }
  #games .game-details { margin-inline: 10px; padding-inline: 12px; }
}
/* Narrow-screen header: keep the coordinate between the back control and shrine mark. */
@media (max-width: 560px) {
  .room-header { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 9px; padding-inline: 12px; }
  .room-back { max-width: 100%; white-space: nowrap; font-size: 8px; letter-spacing: .04em; }
  .room-coordinate { min-width: 0; text-align: center; font-size: 7px; line-height: 1.35; letter-spacing: .07em; overflow-wrap: anywhere; }
  .room-mark img { width: 42px; height: 42px; }
}
@media (max-width: 760px) {
  .room-next { position: relative; bottom: auto; margin: 24px 19px 30px auto; }
}


/* Games page: full-size original character art and scrollable, media-rich crystal details. */
#games .games-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 auto 44px; text-align: center; }
#games .games-intro-copy { width: 100%; }
#games .games-intro-copy h1 { max-width: 900px; margin-inline: auto; }
#games .games-character { width: min(100%, 744px); justify-self: center; min-height: 0; margin: 0; padding: 0; background: none; }
#games .games-character::before { content: none; }
#games .games-character img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; }
#games .games-prompt { max-width: 850px; margin: clamp(46px, 7vw, 78px) auto 13px; color: #e7e2f2; font: 19px/1.55 var(--serif); text-align: center; text-wrap: balance; }
#games .games-submission { margin-top: 0; }
#games .games-submission > h2 { margin: 0 0 18px; }
#games .games-submission .game-index { display: none; }
.game-dialog { position: fixed; inset: 0; width: min(1120px, calc(100vw - 30px)); max-width: none; max-height: min(91dvh, 1040px); margin: auto; padding: clamp(28px, 4vw, 50px); overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(224, 225, 255, .74); background: radial-gradient(ellipse at 18% 0%, rgba(120, 111, 163, .32), transparent 48%), linear-gradient(145deg, #242743, #101629 65%, #17162c); clip-path: polygon(3% 0, 95% 0, 100% 7%, 100% 91%, 96% 100%, 4% 100%, 0 93%, 0 9%); color: #f5f1fb; box-shadow: 0 24px 90px rgba(0,0,0,.56), inset 0 0 34px rgba(205,214,255,.1); }
.game-dialog[open] { display: block; }
.game-dialog::backdrop { background: rgba(3, 6, 18, .8); backdrop-filter: blur(7px); }
.game-dialog-close { position: sticky; top: 0; }
.game-dialog-body { clear: both; max-width: 100%; }
.game-dialog-kicker { display: block; margin: 5px 0 12px; color: #c8f3ef; font: 12px/1.5 var(--mono); letter-spacing: .11em; }
.game-dialog-body > h2 { max-width: 900px; margin: 8px 0 24px; color: #f8f5ff; font: 600 clamp(30px, 4.6vw, 52px)/1.1 var(--serif); overflow-wrap: anywhere; }
.game-dialog-prose { max-width: 930px; color: #eeeaf5; font: 18px/1.72 var(--serif); overflow-wrap: anywhere; }
.game-dialog-prose p { margin: 0 0 17px; }
.game-dialog-prose h3, .game-dialog-gallery > h3 { margin: 30px 0 11px; color: #d7f8f3; font: 600 clamp(22px, 3vw, 30px)/1.2 var(--serif); overflow-wrap: anywhere; }
.game-dialog-gallery { margin-top: 40px; }
.game-dialog-gallery > p { margin: 0 0 18px; color: #d6d0df; font: 16px/1.5 var(--serif); }
.game-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.game-gallery-crystal { position: relative; display: block; min-width: 0; width: 100%; aspect-ratio: 16 / 10; padding: 4px; overflow: hidden; border: 0; background: linear-gradient(135deg, rgba(242,239,255,.92), rgba(146,154,204,.86) 48%, rgba(200,243,239,.78)); clip-path: polygon(13% 0, 84% 0, 100% 20%, 96% 78%, 80% 100%, 14% 96%, 0 69%, 5% 18%); cursor: zoom-in; transition: filter .2s, transform .2s; }
.game-gallery-crystal:hover, .game-gallery-crystal:focus-visible { filter: drop-shadow(0 0 14px rgba(200,243,239,.46)); transform: scale(1.025); outline: 2px solid #c8f3ef; outline-offset: 3px; }
.game-gallery-crystal img { display: block; width: 100%; height: 100%; object-fit: contain; background: rgba(8,13,30,.93); clip-path: inherit; }
#games .games-upload-note { color: #d1cbdf; font: 14px/1.5 var(--serif); }
#games .games-file-input { min-height: 56px; padding: 10px 18px; color: #f2eff8; }
#games .games-donation { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 12px; margin: 0; padding: 20px; border: 1px solid rgba(200,243,239,.4); clip-path: polygon(5% 0, 95% 0, 100% 16%, 97% 84%, 91% 100%, 6% 100%, 0 82%, 3% 18%); }
#games .games-donation legend { max-width: 100%; padding: 0 10px; color: #d7f8f3; font: 600 17px/1.5 var(--serif); }
#games .games-donation label { display: inline-flex; min-width: 92px; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 8px 18px; clip-path: polygon(13% 0, 87% 0, 100% 50%, 87% 100%, 13% 100%, 0 50%); background: linear-gradient(140deg, rgba(143,140,182,.72), rgba(54,65,108,.88)); cursor: pointer; }
#games .games-donation input { width: 18px; height: 18px; min-height: 0; padding: 0; clip-path: none; accent-color: #c8f3ef; }
@media (max-width: 760px) {
  #games .games-character { width: min(100%, 560px); }
  .game-dialog { width: calc(100vw - 16px); max-height: 94dvh; padding: 30px 24px; }
  .game-dialog-prose { font-size: 17px; line-height: 1.65; }
  .game-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
}
@media (max-width: 480px) {
  #games .games-character { width: 100%; }
  #games .games-prompt { font-size: 17px; }
  .game-dialog { padding: 26px 19px; }
  .game-dialog-prose { font-size: 16px; }
  .game-gallery-grid { grid-template-columns: minmax(0, 1fr); }
  #games .games-donation { padding-inline: 13px; }
}

#games .games-recommendation, #games .games-message { grid-column: 1 / -1; }
#games .games-file-input::file-selector-button { margin-right: 12px; padding: 9px 16px; border: 0; clip-path: polygon(13% 0, 87% 0, 100% 50%, 87% 100%, 13% 100%, 0 50%); background: linear-gradient(140deg, #d7d2eb, #9faace 52%, #8bd0cf); color: #171a36; cursor: pointer; }

#games .games-donation { display: grid; grid-column: 1 / -1; gap: 10px; margin: 0; padding: 22px clamp(21px, 4vw, 36px); clip-path: polygon(7% 0, 92% 0, 100% 25%, 96% 80%, 87% 100%, 8% 100%, 0 74%, 3% 20%); background: linear-gradient(145deg, rgba(133,126,172,.42), rgba(41,49,83,.7) 55%, rgba(18,25,49,.85)); }
.games-donation-link { justify-self: start; max-width: 100%; padding: 14px clamp(22px, 4vw, 34px); clip-path: polygon(8% 0, 91% 0, 100% 50%, 91% 100%, 8% 100%, 0 50%); background: linear-gradient(135deg, #e5def7, #b7b5df 46%, #8bd0cf); color: #171a36; font: 600 13px/1.45 var(--mono); text-decoration: none; overflow-wrap: anywhere; }
.games-donation-link:hover, .games-donation-link:focus-visible { filter: drop-shadow(0 0 12px rgba(200,243,239,.55)); outline: 2px solid #c8f3ef; outline-offset: 3px; }
#games .games-donation p { margin: 0; color: #ded9e9; font: 15px/1.5 var(--serif); }
/* Games constellation: ten playable facets build one crystal pillar beside Saki. */
#games .games-page-heading { max-width: 920px; margin: 0 auto clamp(26px, 4vw, 48px); text-align: center; }
#games .games-page-heading h1 { margin: 14px 0 0; color: var(--white); font: 500 clamp(42px, 7vw, 80px)/1.08 var(--serif); }
#games .games-showcase { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(260px, .78fr); align-items: center; gap: clamp(22px, 4vw, 54px); width: min(1180px, 100%); margin: 0 auto; }
#games .games-pillar { position: relative; isolation: isolate; min-width: 0; padding: 14px clamp(12px, 2vw, 24px) 22px; }
#games .games-pillar::before, #games .games-pillar::after { position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none; clip-path: polygon(28% 0, 72% 0, 100% 11%, 95% 83%, 69% 100%, 31% 100%, 5% 83%, 0 11%); }
#games .games-pillar::before { background: linear-gradient(145deg, rgba(198,190,229,.92), rgba(108,117,172,.88) 24%, rgba(37,48,91,.94) 72%, rgba(200,243,239,.48)); filter: drop-shadow(0 0 30px rgba(180,177,225,.36)) drop-shadow(0 20px 28px rgba(4,8,25,.42)); }
#games .games-pillar::after { inset: 2px; background: radial-gradient(ellipse at 50% 12%, rgba(229,241,255,.34), transparent 48%), linear-gradient(145deg, rgba(166,172,213,.9), rgba(83,94,147,.94) 55%, rgba(149,171,204,.88)); }
#games .games-grid { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; align-items: stretch; }
#games .game-crystal { min-width: 0; }
#games .game-crystal summary { display: flex; min-height: 224px; height: 100%; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2vw, 26px); }
#games .game-cover { width: 100%; height: clamp(74px, 8vw, 112px); margin-bottom: 14px; overflow: hidden; clip-path: polygon(14% 0, 86% 0, 100% 25%, 94% 82%, 77% 100%, 12% 93%, 0 68%, 5% 20%); }
#games .game-cover img { width: 100%; height: 100%; object-fit: cover; }
#games .game-index { font-size: 11px; }
#games .game-crystal h2 { margin: 10px 0 6px; font-size: clamp(19px, 1.75vw, 26px); }
#games .game-tagline { font-size: 15px; line-height: 1.38; }
#games .game-genres { font-size: 12px; line-height: 1.45; }
#games .game-open { width: 100%; margin-top: auto; padding-top: 14px; font-size: 10px; }
#games .games-character { position: sticky; top: 102px; display: block; width: 100%; max-width: 440px; min-width: 0; justify-self: center; align-self: start; margin: 28px 0 0; padding: 0; background: none; }
#games .games-character::before { content: none; }
#games .games-character img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; filter: drop-shadow(0 0 24px rgba(197,206,245,.2)); }
@media (max-width: 820px) {
  #games .games-showcase { grid-template-columns: minmax(0, 1.2fr) minmax(190px, .72fr); gap: 12px; }
  #games .games-pillar { padding: 12px 12px 18px; }
  #games .game-crystal summary { min-height: 205px; }
  #games .games-character { max-width: 360px; }
}
@media (max-width: 620px) {
  #games .games-showcase { grid-template-columns: 1fr; gap: 20px; }
  #games .games-pillar { order: 1; padding: 12px 12px 18px; }
  #games .games-character { position: relative; top: auto; order: 0; width: min(78%, 340px); margin: 0 auto; }
  #games .games-grid { gap: 2px; }
  #games .game-crystal summary { min-height: 205px; padding: 18px 16px; }
  #games .game-crystal h2 { font-size: clamp(18px, 5vw, 22px); }
  #games .game-tagline { font-size: 14px; }
  #games .game-genres { font-size: 11px; }
}
@media (max-width: 390px) {
  #games .games-pillar { padding-inline: 13px; }
  #games .game-crystal summary { padding-inline: 13px; }
  #games .game-cover { height: 70px; }
}
/* Connected game facets share one continuous crystal body, as on the Sandō map. */
#games .games-pillar { overflow: hidden; border: 2px solid rgba(224,230,255,.76); clip-path: polygon(14% 0, 86% 0, 100% 8%, 100% 92%, 84% 100%, 16% 100%, 0 92%, 0 8%); background: linear-gradient(145deg, rgba(173,177,218,.96), rgba(80,91,145,.98) 48%, rgba(149,171,204,.96)); filter: drop-shadow(0 0 28px rgba(180,177,225,.36)) drop-shadow(0 20px 28px rgba(4,8,25,.42)); }
#games .games-pillar::before, #games .games-pillar::after { display: none; }
#games .games-grid { gap: 2px; padding: 2px; background: rgba(218,225,255,.72); }
#games .game-crystal { isolation: auto; background: linear-gradient(145deg, rgba(47,55,99,.97), rgba(25,33,66,.98)); box-shadow: none; filter: none; transform: none; }
#games .game-crystal::before, #games .game-crystal::after { display: none; }
#games .game-crystal summary { position: relative; height: 100%; clip-path: none; overflow: hidden; background: linear-gradient(140deg, rgba(110,116,166,.22), transparent 48%, rgba(200,243,239,.06)); transition: background .2s ease, filter .2s ease; }
#games .game-crystal summary::after { position: absolute; z-index: 0; inset: 0; content: ''; pointer-events: none; background: linear-gradient(135deg, transparent 49.7%, rgba(225,232,255,.16) 50%, transparent 50.3%), linear-gradient(35deg, transparent 59.7%, rgba(225,232,255,.09) 60%, transparent 60.3%), linear-gradient(150deg, rgba(237,242,255,.08), transparent 32%); }
#games .game-crystal summary > * { position: relative; z-index: 1; }
#games .game-crystal:nth-child(4n + 2) summary::after { background: linear-gradient(45deg, transparent 47.7%, rgba(225,232,255,.15) 48%, transparent 48.3%), linear-gradient(145deg, transparent 68.7%, rgba(225,232,255,.09) 69%, transparent 69.3%), linear-gradient(20deg, rgba(237,242,255,.07), transparent 38%); }
#games .game-crystal:nth-child(4n + 3) summary::after { background: linear-gradient(155deg, transparent 42.7%, rgba(225,232,255,.15) 43%, transparent 43.3%), linear-gradient(25deg, transparent 72.7%, rgba(225,232,255,.09) 73%, transparent 73.3%), linear-gradient(120deg, rgba(237,242,255,.07), transparent 38%); }
#games .game-crystal:nth-child(4n) summary::after { background: linear-gradient(35deg, transparent 54.7%, rgba(225,232,255,.15) 55%, transparent 55.3%), linear-gradient(135deg, transparent 78.7%, rgba(225,232,255,.09) 79%, transparent 79.3%), linear-gradient(170deg, rgba(237,242,255,.07), transparent 38%); }
#games .game-crystal:hover, #games .game-crystal:focus-within { filter: none; transform: none; }
#games .game-crystal:hover summary, #games .game-crystal:focus-within summary { background-color: rgba(205,222,255,.1); filter: brightness(1.18); }
@media (max-width: 620px) {
  #games .games-pillar { clip-path: polygon(10% 0, 90% 0, 100% 6%, 100% 94%, 88% 100%, 12% 100%, 0 94%, 0 6%); }
}
/* Keep the game areas as joined faces of one gem; remove the tile-box seams. */
#games .games-pillar { background: linear-gradient(145deg, rgba(151,155,199,.98), rgba(75,86,137,.99) 48%, rgba(127,150,183,.98)); }
#games .games-grid { gap: 0; padding: 0; background: transparent; }
#games .game-crystal { background: transparent; }
#games .game-crystal summary { background: linear-gradient(142deg, rgba(238,241,255,.08), transparent 38%, rgba(199,240,240,.06) 72%, transparent); }
#games .game-crystal:nth-child(3n + 2) summary { background: linear-gradient(35deg, rgba(224,236,255,.08), transparent 42%, rgba(197,237,239,.07) 75%, transparent); }
#games .game-crystal:nth-child(3n) summary { background: linear-gradient(150deg, rgba(224,236,255,.06), transparent 40%, rgba(197,237,239,.09) 78%, transparent); }
#games .game-crystal summary::after { background: linear-gradient(135deg, transparent 49.7%, rgba(232,239,255,.32) 50%, transparent 50.3%), linear-gradient(32deg, transparent 66.7%, rgba(219,232,255,.2) 67%, transparent 67.3%), linear-gradient(145deg, rgba(245,246,255,.14), transparent 30%); }
#games .game-crystal:nth-child(4n + 2) summary::after { background: linear-gradient(45deg, transparent 47.7%, rgba(232,239,255,.32) 48%, transparent 48.3%), linear-gradient(145deg, transparent 68.7%, rgba(219,232,255,.2) 69%, transparent 69.3%), linear-gradient(20deg, rgba(245,246,255,.12), transparent 38%); }
#games .game-crystal:nth-child(4n + 3) summary::after { background: linear-gradient(155deg, transparent 42.7%, rgba(232,239,255,.32) 43%, transparent 43.3%), linear-gradient(25deg, transparent 72.7%, rgba(219,232,255,.2) 73%, transparent 73.3%), linear-gradient(120deg, rgba(245,246,255,.12), transparent 38%); }
#games .game-crystal:nth-child(4n) summary::after { background: linear-gradient(35deg, transparent 54.7%, rgba(232,239,255,.32) 55%, transparent 55.3%), linear-gradient(135deg, transparent 78.7%, rgba(219,232,255,.2) 79%, transparent 79.3%), linear-gradient(170deg, rgba(245,246,255,.12), transparent 38%); }
#games .game-crystal summary { background: transparent; }
#games .game-crystal:nth-child(3n + 2) summary, #games .game-crystal:nth-child(3n) summary { background: transparent; }
/* Draw the shared facets across the pillar itself so no game row has a box edge. */
#games .games-pillar { background: linear-gradient(145deg, transparent 49.7%, rgba(244,246,255,.34) 50%, transparent 50.3%), linear-gradient(35deg, transparent 64.7%, rgba(228,239,255,.2) 65%, transparent 65.3%), linear-gradient(155deg, transparent 71.7%, rgba(228,239,255,.2) 72%, transparent 72.3%), radial-gradient(ellipse at 32% 14%, rgba(246,242,255,.26), transparent 28%), radial-gradient(ellipse at 76% 42%, rgba(198,243,239,.13), transparent 34%), linear-gradient(145deg, #8d91bc, #4d5a8b 50%, #718bad); }
#games .game-crystal summary { background: transparent; }
#games .game-crystal summary::after { display: none; }
/* Irregular crystal silhouette and hand-drawn, shared jagged seams. */
#games .games-pillar { clip-path: polygon(31% 0, 66% 2%, 77% 5%, 96% 8%, 100% 17%, 96% 29%, 100% 42%, 96% 56%, 100% 69%, 94% 82%, 100% 90%, 84% 97%, 70% 100%, 37% 98%, 24% 100%, 8% 94%, 0 86%, 4% 72%, 0 57%, 5% 44%, 0 32%, 7% 19%, 2% 11%, 17% 6%); border: 0; padding: 26px clamp(38px, 5vw, 56px) 34px; }
#games .games-pillar::after { display: block; position: absolute; z-index: 0; inset: 0; background: url("assets/games-pillar-facets.svg") center / 100% 100% no-repeat; content: ''; opacity: .85; pointer-events: none; }
#games .games-grid { z-index: 1; }
#games .game-crystal { background: transparent; }
#games .game-crystal summary { isolation: isolate; overflow: visible; background: transparent; }
#games .game-crystal summary::before { position: absolute; z-index: 0; inset: 4% 3%; clip-path: polygon(17% 5%, 58% 0, 91% 18%, 100% 52%, 81% 92%, 44% 100%, 8% 78%, 0 37%); background: linear-gradient(135deg, rgba(228,221,255,.42), rgba(170,187,235,.18) 44%, rgba(200,243,239,.3)); content: ''; opacity: 0; filter: drop-shadow(0 0 8px rgba(200,243,239,.42)); transition: opacity .2s ease; pointer-events: none; }
#games .game-crystal:nth-child(3n + 2) summary::before { clip-path: polygon(11% 0, 71% 7%, 100% 31%, 88% 79%, 59% 100%, 17% 89%, 0 46%); }
#games .game-crystal:nth-child(3n) summary::before { clip-path: polygon(27% 0, 86% 11%, 100% 59%, 73% 96%, 31% 100%, 0 72%, 9% 24%); }
#games .game-crystal:hover summary::before, #games .game-crystal:focus-within summary::before { opacity: 1; }
#games .game-crystal:hover summary, #games .game-crystal:focus-within summary { filter: none; background: transparent; }
/* A mask-cut ring follows the same polygon as the button face. */
#games .game-crystal summary { isolation: isolate; }
#games .game-crystal summary::before { filter: none; }
#games .game-crystal summary::after {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 2px;
  clip-path: var(--button-cut);
  background: linear-gradient(135deg, rgba(248,249,255,.98), rgba(194,222,241,.92) 55%, rgba(218,250,247,.98));
  content: '';
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
#games .game-crystal summary > * { position: relative; z-index: 2; }
/* Use one vector contour for both the crystal face and its visible border. */
#games .game-crystal { --button-cut: polygon(16% 2%, 57% 0, 83% 7%, 100% 25%, 94% 50%, 100% 76%, 76% 100%, 45% 93%, 17% 100%, 0 77%, 7% 51%, 0 24%); }
#games .game-crystal:nth-child(3n + 2), #games .game-crystal:nth-child(3n) { --button-cut: polygon(16% 2%, 57% 0, 83% 7%, 100% 25%, 94% 50%, 100% 76%, 76% 100%, 45% 93%, 17% 100%, 0 77%, 7% 51%, 0 24%); }
#games .game-crystal summary::after {
  padding: 0;
  clip-path: none;
  background: url("assets/game-button-outline.svg") center / 100% 100% no-repeat;
  -webkit-mask: none;
  mask: none;
}
#games .game-crystal:nth-child(n) summary::after { background: url("assets/game-button-outline.svg") center / 100% 100% no-repeat; }
/* Scale Saki to 300% on desktop, behind the game pillar so its copy stays clear. */
@media (min-width: 821px) {
  #games .games-showcase { isolation: isolate; }
  #games .games-pillar { z-index: 1; }
  #games .games-character { z-index: 0; transform: scale(3); transform-origin: center top; pointer-events: none; }
}
@media (max-width: 820px) {
  #games .games-character { transform: scale(1.35); transform-origin: center top; pointer-events: none; }
}
@media (max-width: 620px) {
  #games .games-character { transform: none; pointer-events: auto; }
}
#games .game-crystal:focus-within summary { outline: none; }
#games .game-crystal:focus-within summary::before { opacity: 1; box-shadow: inset 0 0 0 2px rgba(234,244,255,.9); }
@media (max-width: 820px) {
  #games .games-pillar { padding: 24px 34px 30px; }
}
@media (max-width: 620px) {
  #games .games-pillar { padding: 24px 29px 28px; clip-path: polygon(27% 0, 68% 2%, 85% 7%, 100% 13%, 96% 29%, 100% 47%, 94% 66%, 100% 83%, 86% 95%, 67% 100%, 36% 98%, 15% 100%, 0 91%, 5% 72%, 0 53%, 6% 34%, 0 16%, 15% 7%); }
}
@media (max-width: 390px) {
  #games .games-pillar { padding-inline: 23px; }
}
#games .games-pillar { --pillar-cut: polygon(31% 0, 66% 2%, 77% 5%, 96% 8%, 100% 17%, 96% 29%, 100% 42%, 96% 56%, 100% 69%, 94% 82%, 100% 90%, 84% 97%, 70% 100%, 37% 98%, 24% 100%, 8% 94%, 0 86%, 4% 72%, 0 57%, 5% 44%, 0 32%, 7% 19%, 2% 11%, 17% 6%); overflow: visible; clip-path: none; background: none; filter: none; }
#games .games-pillar::before, #games .games-pillar::after { position: absolute; inset: 0; clip-path: var(--pillar-cut); pointer-events: none; }
#games .games-pillar::before { display: block; z-index: 0; background: linear-gradient(145deg, rgba(151,155,199,.98), rgba(75,86,137,.99) 48%, rgba(127,150,183,.98)); filter: drop-shadow(0 0 25px rgba(180,177,225,.36)) drop-shadow(0 20px 28px rgba(4,8,25,.42)); content: ''; }
#games .games-pillar::after { z-index: 1; }
#games .games-grid { z-index: 2; }
#games .game-crystal:focus-within summary::before { opacity: 1; box-shadow: none; filter: drop-shadow(0 0 4px rgba(234,244,255,.9)); }
@media (max-width: 620px) {
 #games .games-pillar { --pillar-cut: polygon(27% 0, 68% 2%, 85% 7%, 100% 13%, 96% 29%, 100% 47%, 94% 66%, 100% 83%, 86% 95%, 67% 100%, 36% 98%, 15% 100%, 0 91%, 5% 72%, 0 53%, 6% 34%, 0 16%, 15% 7%); }
}
/* Keep the generated facets aligned to one exact border; inset every game face inside it. */
#games .games-pillar { padding: clamp(78px, 7vw, 104px) clamp(92px, 15%, 132px) 104px; }
#games .games-pillar::before, #games .games-pillar::after { clip-path: polygon(31% 0, 66% 2%, 77% 5%, 96% 8%, 100% 17%, 96% 29%, 100% 42%, 96% 56%, 100% 69%, 94% 82%, 100% 90%, 84% 97%, 70% 100%, 37% 98%, 24% 100%, 8% 94%, 0 86%, 4% 72%, 0 57%, 5% 44%, 0 32%, 7% 19%, 2% 11%, 17% 6%); }
#games .games-pillar::after { background-size: 100% 100%; background-position: center; }
#games .game-crystal summary::before { inset: 7% 5%; clip-path: polygon(17% 5%, 59% 0, 83% 9%, 100% 30%, 88% 53%, 98% 79%, 70% 100%, 42% 91%, 14% 100%, 0 72%, 8% 48%, 0 24%); }
#games .game-crystal:nth-child(3n + 2) summary::before { clip-path: polygon(14% 0, 72% 7%, 100% 25%, 91% 46%, 100% 74%, 73% 100%, 42% 89%, 12% 98%, 0 68%, 9% 38%, 0 17%); }
#games .game-crystal:nth-child(3n) summary::before { clip-path: polygon(27% 0, 83% 5%, 100% 28%, 90% 52%, 100% 84%, 63% 100%, 36% 89%, 6% 100%, 0 69%, 11% 41%, 2% 17%); }
#games .game-cover { clip-path: polygon(14% 0, 71% 3%, 87% 12%, 100% 35%, 91% 64%, 98% 82%, 77% 100%, 28% 96%, 12% 100%, 0 78%, 8% 55%, 0 28%); }
@media (max-width: 820px) { #games .games-pillar { padding-inline: 13%; } }
@media (max-width: 620px) {
  #games .games-pillar { --pillar-cut: polygon(27% 0, 68% 2%, 85% 7%, 100% 13%, 96% 29%, 100% 47%, 94% 66%, 100% 83%, 86% 95%, 67% 100%, 36% 98%, 15% 100%, 0 91%, 5% 72%, 0 53%, 6% 34%, 0 16%, 15% 7%); padding: 70px 20% 80px; }
  #games .games-pillar::before, #games .games-pillar::after { clip-path: var(--pillar-cut); }
  #games .games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) { #games .games-pillar { padding-inline: 18%; } }
#games .games-pillar { padding: clamp(100px, 8vw, 120px) 17% 120px; }
@media (max-width: 820px) { #games .games-pillar { padding-inline: 15%; } }
/* Improve contrast and scale the game content up within the faceted outline. */
#games .games-pillar::before { background: radial-gradient(ellipse at 30% 12%, rgba(198,190,229,.2), transparent 30%), radial-gradient(ellipse at 80% 66%, rgba(200,243,239,.1), transparent 33%), linear-gradient(145deg, #4a4d76 0%, #302f58 34%, #252a4c 68%, #454b72 100%); }
#games .games-pillar::after { opacity: .95; }
#games .game-crystal summary { padding: 20px clamp(14px, 1.6vw, 20px) 23px; color: #fbf9ff; text-shadow: 0 1px 3px rgba(8,12,32,.7); }
#games .game-cover { height: clamp(112px, 10vw, 140px); margin-bottom: 18px; }
#games .game-cover img { clip-path: none; object-fit: cover; }
#games .game-index { color: #d8fffa; font-size: 13px; font-weight: 600; text-shadow: 0 1px 3px rgba(7,11,29,.85); }
#games .game-crystal h2 { margin: 12px 0 9px; color: #fff; font-size: clamp(23px, 2vw, 28px); line-height: 1.16; text-shadow: 0 2px 4px rgba(4,8,25,.85); }
#games .game-tagline { color: #fff; font-size: 17px; line-height: 1.48; text-shadow: 0 1px 3px rgba(4,8,25,.85); }
#games .game-genres { color: #d8fffa; font-size: 14px; line-height: 1.52; text-shadow: 0 1px 3px rgba(4,8,25,.9); }
#games .game-open { color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 3px rgba(4,8,25,.85); }
@media (max-width: 620px) {
  #games .games-pillar { padding: 70px 20% 80px; }
  #games .game-cover { height: clamp(130px, 36vw, 190px); }
  #games .game-crystal summary { padding: 21px 18px 24px; }
  #games .game-crystal h2 { font-size: 26px; }
  #games .game-tagline { font-size: 17px; }
  #games .game-genres { font-size: 14px; }
}

/* Give the artwork and copy room to breathe inside the games crystal. */
#games .games-showcase { grid-template-columns: minmax(0, 1.62fr) minmax(270px, .78fr); gap: clamp(20px, 3vw, 38px); }
#games .games-pillar { padding: clamp(128px, 10vw, 148px) 14% 118px; }
#games .game-crystal summary { min-height: 0; padding: 24px clamp(16px, 1.8vw, 24px) 28px; }
#games .game-cover { height: clamp(128px, 11vw, 154px); margin-bottom: 17px; }
#games .game-index { font-size: 14px; }
#games .game-crystal h2 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; overflow-wrap: anywhere; }
#games .game-tagline { font-size: 18px; line-height: 1.5; }
#games .game-genres { font-size: 15px; line-height: 1.55; }
#games .game-open { font-size: 13px; }
@media (max-width: 820px) {
  #games .games-showcase { grid-template-columns: minmax(0, 1.45fr) minmax(210px, .72fr); gap: 16px; }
  #games .games-pillar { padding-inline: 12%; }
  #games .game-crystal summary { padding-inline: 15px; }
  #games .game-cover { height: clamp(112px, 15vw, 138px); }
  #games .game-tagline { font-size: 17px; }
  #games .game-genres { font-size: 14px; }
}
@media (max-width: 620px) {
  #games .games-showcase { grid-template-columns: 1fr; gap: 20px; }
  #games .games-pillar { padding: 82px 14% 96px; }
  #games .games-grid { grid-template-columns: 1fr; }
  #games .game-crystal summary { padding: 22px clamp(18px, 6vw, 30px) 26px; }
  #games .game-cover { height: clamp(150px, 44vw, 220px); }
  #games .game-crystal h2 { font-size: clamp(25px, 7vw, 31px); }
  #games .game-tagline { font-size: 18px; }
  #games .game-genres { font-size: 15px; }
}
@media (max-width: 390px) {
  #games .games-pillar { padding-inline: 12%; }
  #games .game-crystal summary { padding-inline: 16px; }
}

/* Separate readable crystal buttons from the text-safe outer pillar facets. */
#games .games-pillar::after { opacity: 1; }
#games .games-grid { gap: 3px; }
#games .game-crystal {
  --button-cut: polygon(16% 2%, 57% 0, 83% 7%, 100% 25%, 94% 50%, 100% 76%, 76% 100%, 45% 93%, 17% 100%, 0 77%, 7% 51%, 0 24%);
  padding: 2px;
  clip-path: var(--button-cut);
  background: linear-gradient(135deg, rgba(238,242,255,.95), rgba(186,220,240,.68) 54%, rgba(200,243,239,.9));
  filter: drop-shadow(0 0 5px rgba(196,215,250,.25));
}
#games .game-crystal:nth-child(3n + 2) { --button-cut: polygon(13% 0, 68% 4%, 100% 20%, 93% 47%, 100% 75%, 73% 100%, 43% 93%, 14% 100%, 0 72%, 8% 48%, 0 20%); }
#games .game-crystal:nth-child(3n) { --button-cut: polygon(21% 1%, 79% 0, 100% 26%, 92% 51%, 100% 83%, 65% 100%, 36% 93%, 7% 100%, 0 70%, 9% 43%, 2% 18%); }
#games .game-crystal summary {
  height: auto;
  min-height: 100%;
  padding: 24px clamp(18px, 2vw, 26px) 28px;
  clip-path: var(--button-cut);
  background: linear-gradient(145deg, #42466f 0%, #30365e 58%, #252e54 100%);
  text-shadow: 0 1px 3px rgba(5,9,25,.82);
}
#games .game-crystal summary::before {
  inset: 0;
  clip-path: var(--button-cut);
  background: linear-gradient(135deg, rgba(226,221,255,.28), rgba(170,187,235,.1) 48%, rgba(200,243,239,.22));
  filter: none;
}
#games .game-crystal:hover, #games .game-crystal:focus-within { filter: drop-shadow(0 0 8px rgba(210,235,255,.68)); }
#games .game-crystal:hover summary, #games .game-crystal:focus-within summary { background: linear-gradient(145deg, #50547f 0%, #39436c 58%, #2b395f 100%); }
@media (max-width: 620px) {
  #games .game-crystal summary { padding: 24px clamp(20px, 7vw, 34px) 30px; }
}

/* Trace the exact clipped button silhouette; avoid offset nested polygons. */
#games .game-crystal { padding: 0; clip-path: none; background: none; filter: none; }
#games .game-crystal summary {
  clip-path: var(--button-cut);
  filter: drop-shadow(0 0 1px rgba(242,246,255,.95)) drop-shadow(0 0 2px rgba(190,221,242,.55));
}
#games .game-crystal summary::before { inset: 0; clip-path: var(--button-cut); }
#games .game-crystal:hover, #games .game-crystal:focus-within { filter: none; }
#games .game-crystal:hover summary, #games .game-crystal:focus-within summary { filter: brightness(1.14) drop-shadow(0 0 2px rgba(225,244,255,.95)) drop-shadow(0 0 8px rgba(196,226,255,.45)); }
/* Put the face and its outline on a dedicated clipped layer, away from text. */
#games .game-crystal summary { clip-path: none; filter: none; background: transparent; }
#games .game-crystal summary::before {
  z-index: 0;
  inset: 0;
  clip-path: var(--button-cut);
  background: linear-gradient(145deg, #42466f 0%, #30365e 58%, #252e54 100%);
  opacity: 1;
  filter: drop-shadow(0 0 1px rgba(242,246,255,.95)) drop-shadow(0 0 2px rgba(190,221,242,.55));
}
#games .game-crystal:hover summary::before, #games .game-crystal:focus-within summary::before {
  background: linear-gradient(145deg, #565b87 0%, #39436c 58%, #2b395f 100%);
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(225,244,255,.95)) drop-shadow(0 0 8px rgba(196,226,255,.45));
}
#games .game-crystal:hover summary, #games .game-crystal:focus-within summary { filter: none; background: transparent; }

/* Keep Saki's enlarged figure behind the recommendation copy and form. */
#games .games-prompt,
#games .games-submission {
  position: relative;
  z-index: 2;
}

/* The lower points of each crystal narrow around the action row. */
#games .game-open {
  box-sizing: border-box;
  padding-left: clamp(8px, 1vw, 12px);
  padding-right: 14%;
  gap: 12px;
}
#games .game-open b {
  flex: 0 0 31px;
  margin-right: clamp(4px, 1vw, 10px);
}

/* Give the recommendation copy a faceted backing over Saki's artwork. */
#games .games-prompt,
#games .games-submission > h2 {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  padding: 16px clamp(28px, 5vw, 56px);
  color: #fbf9ff;
  text-shadow: 0 2px 8px rgba(7, 10, 28, .95), 0 0 16px rgba(200, 243, 239, .22);
}
#games .games-prompt::before,
#games .games-submission > h2::before,
#games .games-prompt::after,
#games .games-submission > h2::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  clip-path: polygon(7% 8%, 63% 8%, 72% 0, 94% 3%, 100% 29%, 97% 72%, 88% 100%, 15% 100%, 3% 86%, 0 32%);
}
#games .games-prompt::before,
#games .games-submission > h2::before {
  z-index: -2;
  background: linear-gradient(135deg, rgba(231, 229, 255, .96), rgba(179, 201, 236, .88) 48%, rgba(200, 243, 239, .92));
  filter: drop-shadow(0 0 11px rgba(190, 211, 255, .36));
}
#games .games-prompt::after,
#games .games-submission > h2::after {
  z-index: -1;
  inset: 2px;
  background: linear-gradient(135deg, rgba(20, 29, 57, .97), rgba(44, 49, 82, .94) 55%, rgba(24, 38, 62, .97));
}
#games .games-prompt { margin-inline: auto; }
#games .games-submission > h2 { margin: 0 auto 22px; }

/* Shape the full recommendation panel like a faceted crystal, not a clipped card. */
#games .archive-form {
  --form-crystal: polygon(8% 0, 43% 0, 50% 4%, 57% 0, 92% 0, 100% 12%, 96% 25%, 100% 39%, 96% 53%, 100% 68%, 96% 83%, 100% 91%, 87% 100%, 56% 97%, 50% 100%, 44% 97%, 13% 100%, 0 90%, 4% 76%, 0 61%, 4% 46%, 0 31%, 4% 15%);
  padding-inline: clamp(72px, 8vw, 100px);
}
#games .archive-form::before,
#games .archive-form::after {
  clip-path: var(--form-crystal);
}
#games .archive-form::before {
  background: linear-gradient(145deg, rgba(232, 232, 255, .94), rgba(151, 169, 216, .82) 42%, rgba(187, 231, 234, .9));
  filter: drop-shadow(0 0 15px rgba(185, 203, 255, .34)) drop-shadow(0 16px 24px rgba(4, 8, 25, .4));
}
#games .archive-form::after {
  inset: 2px;
  background:
    radial-gradient(ellipse at 8% 8%, rgba(222, 225, 255, .14), transparent 28%),
    radial-gradient(ellipse at 96% 88%, rgba(200, 243, 239, .1), transparent 26%),
    linear-gradient(135deg, rgba(239, 242, 255, .13), transparent 34%, rgba(200, 243, 239, .055) 58%, transparent 78%),
    linear-gradient(145deg, rgba(67, 72, 116, .96), rgba(34, 42, 76, .98) 58%, rgba(21, 31, 60, .98));
}
@media (max-width: 700px) {
  #games .archive-form { padding: 40px clamp(40px, 9vw, 64px) 48px; }
}

/* Let the games read as luminous faces of one continuous crystal pillar. */
#games .games-pillar::before {
  background:
    radial-gradient(ellipse at 24% 8%, rgba(218, 212, 246, .2), transparent 30%),
    radial-gradient(ellipse at 78% 58%, rgba(198, 243, 239, .12), transparent 34%),
    linear-gradient(145deg, #68638b 0%, #454669 35%, #2d3052 68%, #11172f 100%);
}
#games .games-grid { gap: 1px; }
#games .game-crystal { z-index: 1; transition: z-index 0s; }
#games .game-crystal summary {
  min-height: 100%;
  clip-path: none;
  background: transparent;
  transform-origin: center;
  transition: transform .24s ease, color .22s ease;
}
#games .game-crystal summary::before {
  inset: 1px;
  clip-path: var(--button-cut);
  background: linear-gradient(145deg, rgba(218, 212, 246, .2), rgba(122, 153, 192, .11) 54%, rgba(103, 176, 185, .16));
  opacity: .68;
  filter: none;
  transition: opacity .22s ease, background .22s ease;
}
#games .game-crystal:nth-child(3n + 2) summary::before {
  background: linear-gradient(145deg, rgba(200, 243, 239, .18), rgba(112, 145, 176, .12) 55%, rgba(104, 99, 139, .2));
}
#games .game-crystal:nth-child(3n) summary::before {
  background: linear-gradient(145deg, rgba(224, 218, 248, .2), rgba(134, 157, 194, .12) 55%, rgba(122, 184, 198, .17));
}
#games .game-crystal summary::after { display: none; }
#games .game-crystal:hover, #games .game-crystal:focus-within { z-index: 4; }
#games .game-crystal:hover summary, #games .game-crystal:focus-within summary { transform: translateY(-4px) scale(1.025); }
#games .game-crystal:hover summary::before, #games .game-crystal:focus-within summary::before {
  background: linear-gradient(145deg, rgba(224, 218, 248, .48), rgba(134, 157, 194, .34) 54%, rgba(169, 226, 223, .38));
  opacity: 1;
}
#games .games-pillar, #games .games-pillar * { text-shadow: 0 2px 4px rgba(4, 8, 24, .82), 0 0 10px rgba(4, 8, 24, .28); }
@media (prefers-reduced-motion: reduce) {
  #games .game-crystal summary, #games .game-crystal summary::before { transition: none; }
  #games .game-crystal:hover summary, #games .game-crystal:focus-within summary { transform: none; }
}

/* Crystal-cut frame and inset light planes for the game detail popups. */
.game-dialog {
  --dialog-cut: polygon(12% 0, 88% 0, 100% 12%, 96% 37%, 100% 50%, 96% 63%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 4% 63%, 0 50%, 4% 37%, 0 12%);
  border: 2px solid transparent;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(218, 212, 246, .22), transparent 40%),
    radial-gradient(ellipse at 90% 85%, rgba(103, 176, 185, .1), transparent 34%),
    linear-gradient(145deg, #454463, #252744 49%, #11172f);
  border-image: linear-gradient(135deg, rgba(224, 218, 248, .92), rgba(134, 157, 194, .84) 52%, rgba(200, 243, 239, .9)) 1;
  padding-inline: clamp(58px, 7vw, 82px);
  clip-path: var(--dialog-cut);
  color: #f5f1fb;
  text-shadow: 0 2px 4px rgba(4, 8, 24, .82), 0 0 10px rgba(4, 8, 24, .28);
}
.game-dialog::before {
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid rgba(221, 229, 255, .22);
  clip-path: var(--dialog-cut);
  content: '';
  pointer-events: none;
}
.game-dialog > * { position: relative; z-index: 1; }
.game-dialog-close { z-index: 3; clip-path: polygon(18% 0, 76% 0, 100% 24%, 94% 76%, 73% 100%, 23% 94%, 0 70%, 5% 23%); }
.game-dialog-body > h2 {
  width: fit-content;
  max-width: 100%;
  padding: 12px clamp(20px, 3vw, 32px) 15px;
  clip-path: polygon(0 18%, 13% 0, 79% 4%, 100% 21%, 95% 79%, 83% 100%, 12% 94%, 0 77%);
  background: linear-gradient(140deg, rgba(218, 212, 246, .32), rgba(122, 153, 192, .2) 56%, rgba(103, 176, 185, .24));
  text-shadow: 0 2px 5px rgba(4, 8, 24, .9), 0 0 12px rgba(4, 8, 24, .32);
}
.game-dialog-prose h3, .game-dialog-gallery > h3 {
  width: fit-content;
  max-width: 100%;
  padding: 8px clamp(16px, 2vw, 24px) 10px;
  clip-path: polygon(0 18%, 14% 0, 84% 5%, 100% 25%, 96% 78%, 83% 100%, 12% 94%, 0 76%);
  background: linear-gradient(140deg, rgba(218, 212, 246, .2), rgba(122, 153, 192, .12) 56%, rgba(103, 176, 185, .18));
  text-shadow: 0 2px 4px rgba(4, 8, 24, .88), 0 0 10px rgba(4, 8, 24, .3);
}
.game-gallery-crystal {
  --gallery-cut: polygon(13% 0, 84% 0, 100% 20%, 96% 78%, 80% 100%, 14% 96%, 0 69%, 5% 18%);
  clip-path: var(--gallery-cut);
  background: linear-gradient(135deg, rgba(224, 218, 248, .9), rgba(134, 157, 194, .75) 54%, rgba(200, 243, 239, .86));
  transition: filter .22s ease, transform .22s ease, background .22s ease;
}
.game-gallery-crystal:nth-child(8n + 2) { --gallery-cut: polygon(8% 5%, 74% 0, 100% 26%, 94% 85%, 78% 100%, 11% 94%, 0 64%, 4% 22%); }
.game-gallery-crystal:nth-child(8n + 3) { --gallery-cut: polygon(20% 0, 88% 4%, 100% 36%, 94% 78%, 79% 100%, 8% 92%, 0 25%); }
.game-gallery-crystal:nth-child(8n + 4) { --gallery-cut: polygon(12% 0, 83% 6%, 100% 18%, 94% 59%, 100% 91%, 22% 100%, 0 82%, 6% 31%); }
.game-gallery-crystal:nth-child(8n + 5) { --gallery-cut: polygon(4% 16%, 18% 0, 87% 4%, 100% 22%, 94% 73%, 78% 100%, 12% 91%, 0 66%); }
.game-gallery-crystal:nth-child(8n + 6) { --gallery-cut: polygon(16% 0, 75% 0, 100% 34%, 91% 88%, 72% 100%, 5% 91%, 0 27%); }
.game-gallery-crystal:nth-child(8n + 7) { --gallery-cut: polygon(10% 7%, 89% 0, 100% 17%, 96% 71%, 83% 100%, 17% 95%, 0 78%, 5% 25%); }
.game-gallery-crystal:nth-child(8n) { --gallery-cut: polygon(23% 0, 91% 8%, 100% 43%, 92% 92%, 11% 100%, 0 77%, 8% 23%); }
.game-gallery-crystal img { clip-path: var(--gallery-cut); }
.game-gallery-crystal[data-has-animation]::after { position: absolute; right: 9%; bottom: 10%; z-index: 2; display: grid; width: 30px; height: 27px; place-items: center; clip-path: polygon(20% 0, 80% 0, 100% 30%, 88% 100%, 12% 100%, 0 30%); background: linear-gradient(135deg, #e6ddf5, #aeb5df 48%, #7cc4cb); color: #171a36; content: '▶'; font: 11px/1 var(--mono); text-shadow: none; }
.game-gallery-crystal:hover, .game-gallery-crystal:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-3px) scale(1.025);
  outline: 2px solid rgba(200, 243, 239, .82);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .game-dialog { --dialog-cut: polygon(13% 0, 87% 0, 100% 10%, 95% 35%, 100% 50%, 95% 65%, 100% 90%, 87% 100%, 13% 100%, 0 90%, 5% 65%, 0 50%, 5% 35%, 0 10%); padding-inline: clamp(36px, 8vw, 50px); }
}

/* Recess and color the scroll track; soften the information at the crystal's lower edge. */
.game-dialog {
  display: flex;
  height: min(91dvh, 1040px);
  overflow: hidden;
}
.game-dialog:not([open]) { display: none; }
.game-dialog[open] { display: flex; }
.game-dialog-content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-right: 16px;
  padding: 16px 18px 36px 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 243, 239, .88) rgba(200, 243, 239, .12);
}
.game-dialog-content::-webkit-scrollbar { width: 12px; }
.game-dialog-content::-webkit-scrollbar-track { margin-block: 12px; background: rgba(200, 243, 239, .1); clip-path: polygon(25% 0, 75% 0, 100% 9%, 78% 91%, 52% 100%, 0 88%); }
.game-dialog-content::-webkit-scrollbar-thumb { border: 3px solid #252744; background: linear-gradient(180deg, #d6d0f1, #8da9ce 54%, #9ce2df); clip-path: polygon(25% 0, 75% 0, 100% 12%, 74% 88%, 50% 100%, 0 86%); }
.game-dialog-content::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f2efff, #afc6e7 54%, #c8f3ef); }
.game-dialog-close { position: absolute; top: 30px; right: clamp(104px, 10vw, 120px); margin: 0; float: none; }
.game-dialog::after {
  position: absolute;
  z-index: 2;
  inset: auto 18px 2px;
  height: 112px;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(37, 39, 68, .24) 42%, rgba(25, 29, 54, .96) 100%),
    radial-gradient(ellipse at 28% 84%, rgba(195, 186, 235, .2), transparent 62%),
    radial-gradient(ellipse at 76% 88%, rgba(150, 215, 220, .16), transparent 60%);
  content: '';
  pointer-events: none;
}
@media (max-width: 760px) {
  .game-dialog { height: 94dvh; max-height: 94dvh; }
  .game-dialog-content { margin-right: 10px; padding-right: 12px; }
  .game-dialog-close { top: 20px; right: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-dialog-content::-webkit-scrollbar-thumb { scroll-behavior: auto; }
}
