:root {
  --wine: #26050e;
  --dark: #160308;
  --cream: #f5e8d4;
  --gold: #d3a85e;
  --muted: #c5aa9a;
  --rule: rgba(224, 185, 132, .24);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body { margin: 0; background: var(--dark); color: var(--cream); font: 400 14px/1.75 var(--sans); }
main { overflow: hidden; }
@supports (overflow: clip) { main { overflow: clip; } }
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .96; }
h2 { font-size: clamp(3.7rem, 7vw, 7.5rem); letter-spacing: -.035em; }
em { font-weight: 400; }
::selection { color: var(--dark); background: var(--gold); }
:focus-visible { outline: 2px solid #f1ce86; outline-offset: 5px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 16px; background: var(--cream); color: var(--dark); transform: translateY(-160%); }
.skip:focus { transform: none; }
.eyebrow { color: var(--gold); font: 600 .65rem/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px clamp(22px, 5vw, 76px); background: linear-gradient(180deg, rgba(20, 2, 8, .76), transparent); }
.brand { text-decoration: none; font: 600 1.15rem/1 var(--serif); letter-spacing: .28em; color: #e7c779; }
.brand span { display: block; margin-top: 6px; font: 500 .49rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #d9c5b1; }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 45px); padding-top: 6px; }
.site-header nav a { text-decoration: none; color: #f3e5d4; font-size: .61rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: color .25s; }
.site-header nav a:hover { color: var(--gold); }
.section-wrap { width: min(1280px, calc(100% - 12vw)); margin: 0 auto; }
.opening { position: relative; min-height: 230vh; background: radial-gradient(ellipse at 50% 40%, #500c1c 0%, #2c0510 48%, #170308 100%); }
.opening-sticky { position: sticky; top: 0; height: 100vh; min-height: 540px; overflow: hidden; }
.opening-sticky::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,2,7,.25), transparent 25%, transparent 70%, rgba(20,2,7,.45)); }
#jewel-canvas, .art-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
#jewel-canvas { opacity: 0; }
.canvas-ready #jewel-canvas { opacity: 1; }
.canvas-ready .art-fallback { opacity: 0; }
.art-fallback { display: grid; place-items: center; transition: opacity .3s; }
.art-fallback::before { content: ''; width: min(54vw, 520px); height: min(54vw, 520px); border: clamp(24px, 5vw, 60px) ridge #ac7737; border-radius: 50%; transform: rotate(-24deg) scaleX(.9); box-shadow: 0 0 80px #d3983f55, inset 0 0 40px #d3983f55; }
.fallback-gem { position: absolute; width: min(20vw, 190px); aspect-ratio: 1; background: radial-gradient(circle at 30% 25%, #f5a4a4, #a90c2a 25%, #4f0715 65%, #e8a44c); clip-path: polygon(50% 0, 89% 19%, 100% 50%, 50% 100%, 0 50%, 11% 19%); box-shadow: 0 0 50px #cc1738; }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px 20px; z-index: 2; text-shadow: 0 2px 32px rgba(24, 0, 4, .85); }
.hero-copy .eyebrow { color: #f4debd; }
.hero-copy h1 { font-size: clamp(4.5rem, 15vw, 14rem); letter-spacing: .065em; margin: 18px 0 12px; }
.hero-subtitle { font: 400 clamp(1.35rem, 2.2vw, 2.3rem)/1.2 var(--serif); color: #f0d7b4; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; margin-top: 32px; border: 1px solid #e7c779; padding: 14px 23px; text-decoration: none; text-shadow: none; font: 600 .67rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: #e7c779; color: var(--dark); transition: background .25s, color .25s; }
.hero-link span, .text-link span, .primary-link span { margin-left: 12px; }
.hero-link:hover, .primary-link:hover { background: var(--gold); color: var(--dark); }
.hero-caption { position: absolute; left: 6vw; bottom: 10%; z-index: 2; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; }
.hero-caption span { color: var(--gold); font-size: .61rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.hero-caption em { font: italic 1.75rem/1.2 var(--serif); color: var(--cream); }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 9px; white-space: nowrap; color: #d1b3a5; font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; pointer-events: none; }
.scroll-hint i { display: block; width: 1px; height: 35px; background: linear-gradient(var(--gold), transparent); }
.manifesto { padding: clamp(120px, 17vw, 240px) 0; text-align: center; }
.manifesto .statement { max-width: 930px; margin: 32px auto; font: 400 clamp(2.4rem, 5vw, 5.3rem)/1.1 var(--serif); letter-spacing: -.025em; }
.manifesto .statement em { color: var(--gold); }
.section-note { max-width: 510px; margin: 0 auto; color: var(--muted); line-height: 1.9; }
.ornament { display: block; margin-top: 64px; color: var(--gold); font-size: 1.5rem; }
.pieces { padding: 50px 0 150px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-heading h2 { margin-top: 16px; }
.section-heading > p { max-width: 340px; color: var(--muted); }
.piece-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3.2vw, 48px); }
.piece:nth-child(2) { margin-top: 65px; }
.piece:nth-child(3) { margin-top: 130px; }
.piece-image { height: clamp(260px, 37vw, 520px); overflow: hidden; background: #3a0c17; }
.piece-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.piece:hover img { transform: scale(1.07); }
.piece:nth-child(1) img { object-position: 52% center; }
.piece:nth-child(2) img { object-position: center; }
.piece:nth-child(3) img { object-position: center; }
.piece-meta { display: flex; align-items: baseline; gap: 18px; margin: 25px 0 8px; }
.piece-meta span { color: var(--gold); font-size: .6rem; letter-spacing: .15em; }
.piece h3 { font-size: clamp(2rem, 2.7vw, 3rem); color: #e8ceac; }
.piece > p, .image-note { color: #c5aa9a; font-size: .72rem; }
.image-note { margin-top: 45px; }
.closeup { height: 210vh; position: relative; background: #100205; }
.closeup-sticky { position: sticky; top: 0; height: 100vh; min-height: 540px; overflow: hidden; }
.closeup-image { position: absolute; inset: 0; overflow: hidden; }
.closeup-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,1,6,.86), rgba(30,2,8,.35) 48%, rgba(18,1,5,.05)), linear-gradient(0deg, #180308b5, transparent 40%); }
.closeup-image img { height: 100%; object-fit: cover; object-position: center; }
.closeup-copy { position: absolute; z-index: 1; left: 6vw; bottom: 15%; width: min(570px, 70%); }
.closeup-copy h2 { margin: 20px 0 24px; }
.closeup-copy > p:last-child { max-width: 360px; color: #e3cfc1; }
.scene-progress { position: absolute; z-index: 2; left: 6vw; right: 6vw; bottom: 40px; height: 1px; background: #e3c79c55; }
.scene-progress span { display: block; background: var(--gold); width: 0; height: 2px; }
.approach { display: grid; grid-template-columns: 1fr .8fr; gap: 12%; padding: 190px 0; }
.approach-title h2 { margin: 24px 0 30px; }
.approach-title > p:not(.eyebrow) { max-width: 420px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 28px; color: #f2d3a0; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid var(--gold); font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.text-link:hover { color: #fff; }
.steps { border-top: 1px solid var(--rule); }
.steps article { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.steps article > span { color: var(--gold); font-size: .65rem; letter-spacing: .15em; }
.steps h3 { margin-bottom: 10px; color: #f2d7b2; font-size: 2rem; }
.steps p { max-width: 360px; color: var(--muted); font-size: .78rem; }
.light-story { --scene-glow:#5e0b21; --gem-light:#f65270; --gem-mid:#a7072d; --gem-deep:#390510; --gem-glow:#fa174f91; height: 170vh; background: radial-gradient(ellipse at 68% 50%, var(--scene-glow), #2b0510 45%, #160308 85%); }
.light-story[data-tone="gold"] { --scene-glow:#65451e; --gem-light:#ffe3a2; --gem-mid:#c58d36; --gem-deep:#573317; --gem-glow:#dfaa4f91; }
.light-story[data-tone="diamond"] { --scene-glow:#3d3544; --gem-light:#fff; --gem-mid:#a8b7c9; --gem-deep:#394251; --gem-glow:#ccdfffa0; }
.light-sticky { height: 100vh; min-height: 540px; position: sticky; top: 0; display: flex; align-items: center; padding: 6vw; overflow: hidden; }
.light-orbit { position: absolute; right: 8%; top: 50%; width: min(45vw, 600px); aspect-ratio: 1; transform: translateY(-50%) rotate(-18deg); border: 1px solid #e8b76470; border-radius: 50%; box-shadow: 0 0 110px #c30b3440, inset 0 0 110px #c30b342b; }
.light-orbit::before, .light-orbit::after { content: ''; position: absolute; inset: 8%; border: 1px solid #c9804b88; border-radius: 50%; transform: rotate(65deg) scaleX(.6); }
.light-orbit::after { transform: rotate(-65deg) scaleX(.6); }
.light-core { position: absolute; inset: 27%; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ffe6c3, var(--gem-light) 14%, var(--gem-mid) 40%, var(--gem-deep) 70%); box-shadow: 0 0 70px var(--gem-glow); transition: box-shadow .6s; }
.light-copy { position: relative; z-index: 1; width: min(540px, 52%); text-shadow: 0 2px 10px #160308; }
.light-copy h2 { margin: 22px 0 26px; }
.light-copy > p:not(.eyebrow) { color: #e0c3b4; max-width: 400px; }
.light-options:not([hidden]) { display: block; margin-top: 24px; }
.light-options > p { color: #e3c9b1; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.light-options > p span { color: #c5aa9a; }
.tone-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tone-buttons button { padding: 9px 13px; border: 1px solid var(--rule); background: rgba(25,2,8,.75); color: var(--cream); font: 600 .6rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.tone-buttons button[aria-pressed="true"], .tone-buttons button:hover { border-color: var(--gold); color: var(--dark); background: var(--gold); }
.commission { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding: 180px 0; align-items: center; }
.commission h2 { margin: 20px 0 30px; }
.commission > div:first-child > p:not(.eyebrow) { color: var(--muted); max-width: 430px; }
.commission .small-note, .small-note { margin-top: 20px; color: #bea498; font-size: .7rem; }
.calculator { padding: clamp(25px, 4vw, 52px); border: 1px solid var(--rule); background: linear-gradient(145deg, #370914, #20040c); }
.calculator label { display: flex; flex-direction: column; gap: 20px; color: var(--gold); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.calculator output { color: var(--cream); font: 400 clamp(3.5rem, 5vw, 5.5rem)/1 var(--serif); letter-spacing: 0; }
input[type=range] { width: 100%; accent-color: var(--gold); margin: 32px 0 8px; cursor: pointer; }
input[type=range]:disabled { cursor: not-allowed; }
.range-ends { display: flex; justify-content: space-between; color: #bda496; font-size: .62rem; }
.calculator dl { margin-top: 40px; border-top: 1px solid var(--rule); }
.calculator dl div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--rule); padding: 18px 0; color: #e8d4c6; }
.calculator dd { font: 500 1.75rem/1 var(--serif); color: var(--gold); }
.finale { position: relative; isolation: isolate; overflow: hidden; padding: 180px 24px; text-align: center; background: #24040d; }
.finale-glow { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(75vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #d5a35b33; border-radius: 50%; background: radial-gradient(circle, #86152c80 0, #36071170 45%, transparent 70%); box-shadow: 0 0 100px #a50b2d26; }
.finale h2 { margin: 25px 0; }
.finale > p:not(.eyebrow) { color: #d6bbad; }
.primary-link { display: inline-block; margin-top: 36px; border: 1px solid var(--gold); padding: 18px 28px; text-decoration: none; color: #f4d8a8; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: background .25s, color .25s; }
.finale .secondary { margin-top: 25px; font-size: .72rem; }
.secondary a { text-underline-offset: 4px; }
.footer { padding: 80px 6vw 25px; background: #100206; }
.footer-brand { font: 500 clamp(3rem, 8vw, 8rem)/1 var(--serif); letter-spacing: .1em; text-decoration: none; color: #d8b576; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 35px 0; }
.footer-nav a { color: #e0c4ae; font-size: .68rem; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer > p:not(.footer-bottom) { max-width: 820px; color: #bda79b; font-size: .68rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule); margin-top: 45px; padding-top: 22px; color: #ad8e7c; font-size: .57rem; letter-spacing: .16em; }

@media (max-width: 760px) {
  .site-header { padding: 21px 20px; align-items: center; }
  .brand { font-size: .95rem; }
  .brand span { font-size: .42rem; }
  .site-header nav { gap: 13px; padding: 0; }
  .site-header nav a { font-size: .5rem; letter-spacing: .08em; }
  .section-wrap { width: calc(100% - 42px); }
  .opening { min-height: 200vh; }
  .opening-sticky, .closeup-sticky, .light-sticky { min-height: 520px; }
  .hero-copy h1 { font-size: clamp(3.65rem, 15vw, 7rem); letter-spacing: .03em; }
  .hero-subtitle { max-width: 260px; }
  .hero-caption { left: 22px; bottom: 13%; }
  .hero-caption em { font-size: 1.35rem; }
  .scroll-hint { bottom: 20px; }
  .manifesto { padding: 130px 0; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading > p { margin-top: 22px; }
  .piece-grid { grid-template-columns: 1fr; gap: 48px; }
  .piece:nth-child(2), .piece:nth-child(3) { margin-top: 0; }
  .piece-image { height: min(110vw, 480px); }
  .pieces { padding-bottom: 100px; }
  .closeup { height: 170vh; }
  .closeup-copy { left: 22px; bottom: 14%; width: calc(100% - 44px); }
  .closeup-image::after { background: linear-gradient(0deg, #170308e8, #17030840 65%); }
  .scene-progress { left: 22px; right: 22px; bottom: 30px; }
  .approach, .commission { grid-template-columns: 1fr; gap: 60px; padding: 120px 0; }
  .light-sticky { align-items: end; padding: 22px 22px 15vh; }
  .light-orbit { width: 85vw; right: -15%; top: 37%; opacity: .35; }
  .light-copy { width: 100%; }
  .light-copy h2 { font-size: clamp(3.4rem, 11vw, 5.3rem); }
  .finale { padding: 140px 22px; }
}
@media (max-width: 360px) {
  .site-header nav { gap: 9px; }
  .site-header nav a { font-size: .46rem; }
  .brand span { display: none; }
  h2 { font-size: 3.35rem; }
}
@media (max-height: 520px) {
  .opening-sticky { min-height: 100svh; }
  .hero-copy { padding: 70px 20px 50px; }
  .hero-copy h1 { margin: 8px 0; font-size: clamp(3rem, 11vw, 5rem); }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-link { min-height: 48px; margin-top: 16px; }
  .scroll-hint { bottom: 10px; gap: 4px; }
  .scroll-hint i { height: 16px; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .light-story { height: auto; }
  .light-sticky { position: relative; min-height: 100vh; height: auto; padding: 100px 22px 50px; }
  .light-copy h2 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .opening, .closeup, .light-story { height: auto; min-height: 0; }
  .opening-sticky, .closeup-sticky, .light-sticky { position: relative; height: 100vh; }
}
html:not(.motion-ready) .opening, html:not(.motion-ready) .closeup, html:not(.motion-ready) .light-story { height: auto; min-height: 0; }
html:not(.motion-ready) .opening-sticky, html:not(.motion-ready) .closeup-sticky, html:not(.motion-ready) .light-sticky { position: relative; height: 100vh; }
