/* SOLUNA: near black, charcoal, luminous white, silver, a hint of midnight blue. */
:root {
	--night: #07080b; --night-2: #0d0f14; --night-3: #14161b;
	--line: #1c1f26; --line-2: #2a2e37; --line-3: #3a3f4a;
	--text: #f4f5f7; --soft: #dfe3ea; --silver: #b9bec8; --muted: #9aa0ab;
	--sun: #f4f5f7; --sun-deep: #b9bec8; --moon: #b9bec8; --danger: #ffb4a8; --ok: #b9e6c9;
	--font-display: "Bodoni Moda", "Times New Roman", serif;
	--font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 0; --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--silver); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
.pad { padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 2000; padding: 10px 14px; background: var(--text); color: var(--night); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Buttons and fields */
.btn, .button, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
	background: var(--text); color: var(--night); border: 1px solid var(--text); border-radius: 0;
	font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover, .button:hover, input[type="submit"]:hover { background: var(--silver); border-color: var(--silver); color: var(--night); }
.btn-line { background: transparent; color: var(--text); border-color: #5b606b; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="file"], textarea, select {
	width: 100%; min-height: 52px; padding: 12px 16px; background: #0f1116; border: 1px solid var(--line-3); border-radius: 0; color: var(--text); font-size: 16px;
}
label { display: block; margin-bottom: 8px; font-size: 14px; }
label.check { display: flex; gap: 12px; align-items: flex-start; color: var(--silver); line-height: 1.5; }
label.check input { width: 22px; height: 22px; min-height: 0; margin: 0; flex: none; accent-color: var(--text); }
.form-note { padding: 14px; border: 1px solid var(--line-3); }
.form-note.is-error, .waitlist-note.is-error { color: var(--danger); }
.waitlist-form { display: flex; gap: 8px; }
.waitlist-form input[type="email"] { flex: 1; min-width: 0; }
.waitlist-form .btn { padding: 0 20px; }
.waitlist-note { margin: 10px 0 0; font-size: 14px; }

/* Header */
.announcement { margin: 0; padding: 10px 16px; text-align: center; font-size: 12px; letter-spacing: 0.08em; background: var(--text); color: var(--night); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: 0.3em; text-decoration: none; }
.custom-logo { max-height: 40px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: 8px 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 12px 0; font-size: 14px; text-decoration: none; }
.menu-toggle { display: none; min-height: 44px; background: none; border: 0; font-size: 14px; cursor: pointer; }
@media (max-width: 760px) {
	.menu-toggle { display: block; }
	.site-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-top: 8px; border-top: 1px solid var(--line); }
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav a { padding: 14px 0; font-size: 16px; }
}

/* Stars (used sparingly) */
.stars { background-image: radial-gradient(1.2px 1.2px at 7% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 19% 64%, #c9ced8 50%, transparent 52%), radial-gradient(1px 1px at 28% 31%, #8f95a3 50%, transparent 52%), radial-gradient(1.4px 1.4px at 41% 82%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 52% 9%, #c9ced8 50%, transparent 52%), radial-gradient(1px 1px at 58% 47%, #8f95a3 50%, transparent 52%), radial-gradient(1.2px 1.2px at 69% 71%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 77% 23%, #c9ced8 50%, transparent 52%), radial-gradient(1px 1px at 86% 56%, #8f95a3 50%, transparent 52%), radial-gradient(1.6px 1.6px at 93% 88%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 34% 95%, #8f95a3 50%, transparent 52%), radial-gradient(1px 1px at 12% 40%, #c9ced8 50%, transparent 52%); background-size: 560px 560px; }
@keyframes drift { to { background-position: 560px 280px; } }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(3deg); } }
.float { animation: floaty 11s ease-in-out infinite; }
.float + .float { animation-duration: 13s; animation-delay: -4s; }

/* Homepage */
.cover { width: 100%; height: 100%; object-fit: cover; background: #e9eaec; }
.hero-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.hero-photos a { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.hero-photos img { object-position: center 22%; transition: transform 0.8s var(--ease); }
.hero-photos a:hover img { transform: scale(1.03); }
.hero-bar { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; padding-block: 36px 72px; }
.hero-bar h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; margin-bottom: 12px; }
.hero-bar p { margin: 0; font-size: 18px; color: var(--silver); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.block { padding-block: 24px 96px; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.block-head h2, .about h2 { font-size: clamp(30px, 3vw, 42px); margin: 0; }
.block-head a { font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 20px; }
.card { display: block; text-decoration: none; }
.card-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #e9eaec; }
.card-media.wide { aspect-ratio: 3 / 2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card-media.is-piece { background: radial-gradient(ellipse at 50% 45%, #101a30, #0a0c12 75%); border: 1px solid var(--line); }
.card-media.is-piece img { object-fit: contain; padding: 12%; }
.card:hover .card-media img { transform: scale(1.03); }
.card-name { display: block; margin: 14px 0 4px; font-size: 16px; }
.card-meta { display: block; color: var(--silver); font-size: 14px; }
.card-cta { display: block; margin-top: 6px; font-size: 14px; text-decoration: underline; }
.jewelry-band { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: center; padding-block: 88px; background-color: #0a0c12; border-block: 1px solid var(--line); }
.band-copy { flex: 1 1 340px; min-width: 0; }
.band-copy h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 18px; }
.band-copy p { max-width: 30em; color: var(--silver); font-size: 17px; margin-bottom: 28px; }
.band-pieces { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 8%; }
.band-pieces img { width: 36%; max-width: 260px; }
.band-pieces img + img { margin-top: 48px; }
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: end; padding-block: 96px; }
.story-a { grid-column: span 5; aspect-ratio: 4 / 5; }
.story-b { grid-column: span 3; aspect-ratio: 3 / 5; }
.story-copy { grid-column: span 4; padding: 0 0 8px 20px; }
.story-copy h2 { font-size: clamp(30px, 3vw, 42px); }
.story-copy p { color: var(--silver); }
.mag-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.submit-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 28px; border: 1px solid var(--line-2); text-decoration: none; }
.submit-tile .big { font-family: var(--font-display); font-size: 28px; line-height: 1.15; }
.about { display: flex; flex-wrap: wrap; gap: 24px 72px; padding-block: 96px; border-top: 1px solid var(--line); }
.about h2 { flex: 0 1 260px; }
.about div { flex: 1 1 380px; min-width: 0; max-width: 40em; font-size: 18px; color: var(--soft); }
@media (max-width: 760px) {
	.story { grid-template-columns: 1fr; }
	.story-a, .story-b, .story-copy { grid-column: auto; padding-left: 0; }
	.story-b { aspect-ratio: 4 / 5; }
	.hero-bar { padding-block: 28px 48px; }
}

/* Constellation */
.const-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; padding-block: 40px 24px; }
.const-head h1 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1; }
.const-intro { max-width: 28em; color: var(--silver); }
.const-intro p:last-child { margin: 0; }
.sky { position: relative; height: min(720px, 86svh); overflow: hidden; background: radial-gradient(ellipse 70% 60% at 48% 45%, #0f182b, var(--night) 75%); border-block: 1px solid var(--line); }
.sky-field { position: absolute; inset: -10%; animation: drift 180s linear infinite; transition: transform 1.2s var(--ease); }
.sky-inner { position: absolute; inset: 8.33%; }
.piece { position: absolute; transform: translate(-50%, -50%); padding: 0; background: none; border: 0; cursor: pointer; width: 150px; }
.piece.size-l { width: 220px; } .piece.size-xl { width: 310px; }
.piece-float { display: block; animation: floaty 11s ease-in-out var(--d, 0s) infinite; }
.piece img { width: 100%; filter: drop-shadow(0 0 22px rgba(210, 222, 255, 0.28)); transition: transform 0.6s var(--ease); }
.piece:hover img, .piece:focus-visible img { transform: scale(1.05) rotate(3deg); }
.piece-label { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); white-space: nowrap; padding: 8px 12px; background: rgba(7, 8, 11, 0.88); border: 1px solid var(--line-2); font-size: 13px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.piece:hover .piece-label, .piece:focus-visible .piece-label { opacity: 1; }
.sky.has-open .piece:not(.is-open) { opacity: 0.35; }
.piece-panel { position: absolute; top: 20px; right: 20px; bottom: 20px; width: min(380px, calc(100% - 40px)); padding: 20px; overflow: auto; background: var(--night-2); border: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 12px; }
.piece-panel[hidden] { display: none; }
.piece-panel h2 { margin: 0; font-size: 26px; line-height: 1.15; }
.piece-panel p { margin: 0; }
.panel-close { align-self: flex-end; min-height: 44px; background: none; border: 0; text-decoration: underline; font-size: 14px; cursor: pointer; }
.panel-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.panel-tag, .panel-label { font-size: 14px; color: var(--silver); }
.panel-price { font-size: 18px; }
.panel-desc { color: var(--muted); font-size: 14px; }
.piece-panel .waitlist-form { flex-direction: column; }
.piece-panel .btn { width: 100%; }
.const-list { padding-block: 56px 88px; }
.const-list h2 { font-size: 28px; }
.const-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.const-list a { display: flex; align-items: center; gap: 18px; min-height: 88px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.const-list img { width: 64px; height: 64px; object-fit: contain; }
.const-list .name { flex: 1; }
.const-list .meta { font-size: 14px; color: var(--silver); }
@media (max-width: 760px) {
	.sky { height: 620px; }
	.piece, .piece.size-l { width: 110px; } .piece.size-xl { width: 180px; }
	.piece-panel { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; max-height: 92%; }
}

/* Magazine */
.mag-head { padding-block: 48px 40px; border-bottom: 1px solid var(--line); }
.mag-head h1 { margin: 0; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; }
.mag-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 20px; align-items: start; padding-block: 48px 96px; }
.feature { text-decoration: none; display: block; grid-column: span 6; }
.feature.f1 { grid-column: span 7; } .feature.f2 { grid-column: span 5; margin-top: 120px; }
.feature.f3 { grid-column: span 4; } .feature.f4 { grid-column: span 8; margin-top: 64px; }
.feature-media { display: block; overflow: hidden; background: var(--night-3); aspect-ratio: 4 / 5; }
.feature.f3 .feature-media { aspect-ratio: 1; } .feature.f4 .feature-media { aspect-ratio: 16 / 9; }
.feature.f5 .feature-media, .feature.f6 .feature-media { aspect-ratio: 4 / 3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.feature:hover img { transform: scale(1.03); }
.feature-cap { display: flex; gap: 14px; align-items: baseline; margin-top: 12px; color: var(--silver); font-size: 15px; }
.feature-cap .num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--text); }
.mag-grid .empty { grid-column: 1 / -1; color: var(--silver); }
.submit { display: flex; flex-wrap: wrap; gap: 32px 80px; padding-block: 88px; background: var(--night-2); border-block: 1px solid var(--line); }
.submit > div { flex: 1 1 340px; min-width: 0; }
.submit h2 { font-size: clamp(32px, 3.6vw, 52px); }
.submit > div > p { color: var(--silver); max-width: 28em; }
.story-form p { margin-bottom: 16px; }
.story-page header { padding-block: 40px; }
.story-page h1 { font-size: clamp(44px, 6vw, 92px); line-height: 0.98; margin: 20px 0 16px; }
.crumb { font-size: 14px; color: var(--silver); }
.standfirst { max-width: 36em; font-size: 18px; color: var(--silver); }
.lead img { width: 100%; max-height: 80svh; object-fit: cover; }
.story-body { max-width: calc(40em + 2 * var(--gutter)); padding-block: 64px 96px; font-size: 18px; line-height: 1.7; color: var(--soft); }
@media (max-width: 760px) { .mag-grid { grid-template-columns: 1fr; } .feature, .feature.f1, .feature.f2, .feature.f3, .feature.f4 { grid-column: auto; margin-top: 0; } }

/* Pages */
.page-wrap { max-width: calc(820px + 2 * var(--gutter)); padding-block: 56px 96px; }
.page-wrap.is-wide { max-width: none; }
.page-wrap > h1 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 32px; }
.entry-content a { text-decoration: underline; }
.entry-content img { margin-block: 24px; }

/* Rewards */
.rewards { margin-top: 40px; max-width: 560px; }
.rewards h2 { font-size: 28px; }
.rewards p { color: var(--silver); }
.rewards-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.rewards-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.rewards-list .earned { font-weight: 600; letter-spacing: 0.06em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; justify-content: space-between; }
.footer-signup { flex: 1 1 280px; min-width: 0; max-width: 380px; }
.footer-signup p { font-size: 15px; }
.site-footer nav { min-width: 120px; }
.site-footer nav a { display: block; padding: 6px 0; color: var(--silver); text-decoration: none; font-size: 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-h { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.copyright { margin: 48px 0 0; font-size: 13px; color: var(--muted); }

/* Entrance */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 1000; background: #050608; }
html.intro-on .intro:not(.is-ready) { animation: intro-failsafe 0.5s ease 4s forwards; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.intro.is-out { opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-skip { position: absolute; top: 20px; right: 20px; z-index: 2; min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--silver); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.intro-enter:focus, .intro-enter:focus-visible { outline: none; }
.intro-enter { position: absolute; left: 50%; top: calc(50% - 30px); width: min(420px, 80vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: none; border: 0; cursor: pointer; z-index: 2; -webkit-tap-highlight-color: transparent; }
.intro-foot { position: absolute; left: 0; right: 0; bottom: max(56px, env(safe-area-inset-bottom)); text-align: center; pointer-events: none; transition: opacity 0.3s; }
.intro-word { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: 0.56em; padding-left: 0.56em; }
.intro-hint { margin: 16px 0 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); }
.intro.is-warping .intro-foot, .intro.is-warping .intro-skip { opacity: 0; }
html.is-arriving .site { animation: arrive 1s ease-out both; }
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
