/* Buse & Steve. Black tie, nineteen twenties: ink, ivory and gold; sharp edges, a few perfect circles. */
:root {
  --ink: #08080a;
  --ink-2: #111114;
  --ink-3: #1a1a1f;
  --ivory: #f4efe6;
  --ivory-2: #e6e0d5;
  --gold: #c8a45c;
  --gold-hi: #f0dca8;
  --gold-lo: #8a6a2c;
  --smoke: #aaa7a0;
  --line: rgba(200, 164, 92, 0.42);
  --line-soft: rgba(200, 164, 92, 0.2);
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Josefin Sans", "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 5vw, 76px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--ivory); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-variation-settings: "opsz" 11; font-size: clamp(17px, 0.45vw + 15px, 20px); line-height: 1.62; letter-spacing: 0.012em; background: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.locked { overflow: hidden; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: var(--gold-hi); text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.04; letter-spacing: -0.008em; }
h2 { font-size: clamp(2.7rem, 7vw, 6rem); }
h3 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
em { font-family: var(--serif); font-style: italic; }
/* every line set in the serif outside a heading */
.curtain__names span, .curtain__dear, .premise__line, .arts__amp span, .lexicon li span:first-child, .paths__intro, .step__text, .credo blockquote p, .invite__note, .bar__mark, .foot__mark, .frame figcaption em { font-weight: 500; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 400; }
.skip:focus { top: 12px; }

/* labels: tracked capitals, written in capitals so Turkish letters stay right */
.label, .sec-head__act, .role, .hero__eyebrow, .hero__cities, .step__label, .evet__eyebrow, .door__kicker, .door__tba, .invite__label, .foot__cities, .lexicon__heads, .bar__nav a, .bar__menu, .lang button, .btn, .curtain__names, figcaption span {
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.28em; line-height: 1.5;
}
.mono, .sec-head__layer, .hero__caption, .evet__gloss, .evet__out { font-family: var(--mono); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.04em; }

/* buttons: a sharp gold rule that fills */
.btn { appearance: none; background: transparent; color: var(--gold-hi); border: 1px solid var(--gold); padding: 17px 30px 15px; cursor: pointer; position: relative; transition: color 0.4s var(--ease), background 0.4s var(--ease); border-radius: 0; }
.btn:hover, .btn:focus-visible { background: var(--gold); color: var(--ink); }
.btn::before, .btn::after { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid var(--gold); background: var(--ink); transform: rotate(45deg); top: 50%; margin-top: -4px; }
.btn::before { left: -4px; } .btn::after { right: -4px; }

/* ---------- curtain */
.curtain { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; }
.js .curtain { display: grid; }
.curtain__half { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ink); transition: transform 1.15s cubic-bezier(0.7, 0, 0.2, 1); }
.curtain__half--l { left: 0; background-image: repeating-linear-gradient(90deg, transparent 0 46px, rgba(200, 164, 92, 0.1) 46px 47px), linear-gradient(90deg, #050506, #0d0d10 70%, #131317); border-right: 1px solid var(--line); }
.curtain__half--r { right: 0; background-image: repeating-linear-gradient(90deg, transparent 0 46px, rgba(200, 164, 92, 0.1) 46px 47px), linear-gradient(270deg, #050506, #0d0d10 70%, #131317); border-left: 1px solid var(--line); }
.curtain__card { position: relative; z-index: 2; text-align: center; padding: 24px; max-width: 560px; display: grid; justify-items: center; gap: 22px; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); max-height: 100svh; overflow: auto; }
.curtain__names { color: var(--ivory); margin: 0; font-size: 0.8rem; letter-spacing: 0.5em; padding-left: 0.5em; }
.curtain__names span { color: var(--gold); font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 1.1rem; padding: 0 0.35em; }
.curtain__dear { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.12; margin: 0 0 12px; color: var(--ivory); }
.curtain__note { margin: 0 auto; max-width: 30em; color: var(--ivory-2); }
.curtain__photo { width: 148px; height: 148px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; border: 1px solid var(--gold); padding: 5px; }
.curtain__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1) contrast(1.08); }
.curtain.is-open .curtain__half--l { transform: translateX(-101%); }
.curtain.is-open .curtain__half--r { transform: translateX(101%); }
.curtain.is-open .curtain__card { opacity: 0; transform: scale(1.04); pointer-events: none; }
.curtain.is-gone { display: none; }
.curtain-late .curtain:not(.is-held):not(.is-open) { display: none; } /* if the script never arrives, the page is still there */
.seal { width: clamp(150px, 26vw, 220px); aspect-ratio: 1; color: var(--gold); }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal--small { width: 92px; margin: 0 auto 18px; }

/* line art that draws itself. Strokes are non-scaling, so the dash is measured on screen:
   the script sets --s on each drawing to (shown width / viewBox width), and one dash of that
   length is the whole path. The dash exists only while the animation runs. */
.draws svg { opacity: 0; }
.draws.is-drawn svg { opacity: 1; }
.draws.is-drawn svg :is(path, circle, line, polyline, polygon, rect, ellipse):not([fill="currentColor"]) { animation: draw-on 2.4s cubic-bezier(0.65, 0, 0.2, 1) backwards; }
.draws.is-drawn svg :is(path, circle, polygon, rect)[fill="currentColor"] { animation: fade-on 0.7s 2.3s ease backwards; }
@keyframes draw-on { from { stroke-dasharray: var(--s, 1); stroke-dashoffset: var(--s, 1); } to { stroke-dasharray: var(--s, 1); stroke-dashoffset: 0; } }
@keyframes fade-on { from { opacity: 0; } to { opacity: 1; } }
.draws.is-drawn svg :is(#far, #rays, #nodes) :is(path, circle, line, polyline, polygon, rect, ellipse) { animation-delay: 0.45s; }
.draws.is-drawn svg :is(#mid, #letters, #links) :is(path, circle, line, polyline, polygon, rect, ellipse) { animation-delay: 0.9s; }
.draws.is-drawn svg #near :is(path, circle, line, polyline, polygon, rect, ellipse) { animation-delay: 1.35s; }
.curtain .draws.is-drawn svg :is(path, circle, line, polyline, polygon, rect, ellipse) { animation-duration: 1.1s; animation-delay: 0s; }
.curtain .draws.is-drawn svg :is(#letters) :is(path, circle, line, polyline, polygon, rect, ellipse) { animation-delay: 0.2s; }

/* ---------- top bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--pad); transition: transform 0.5s var(--ease), background 0.5s; }
.bar.is-solid { background: linear-gradient(rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0)); }
.bar.is-hidden { transform: translateY(-110%); }
.bar__mark, .foot__mark { display: inline-flex; align-items: center; gap: 9px; width: 54px; height: 54px; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--ivory); font-family: var(--serif); font-size: 1.02rem; line-height: 1; }
.bar__mark i, .foot__mark i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.bar__nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.bar__nav a { color: var(--ivory); padding: 10px 0; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0.34em; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.bar__nav a:hover::after, .bar__nav a:focus-visible::after { transform: scaleX(1); }
.bar__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); }
.lang button { appearance: none; background: transparent; border: 0; color: var(--ivory); padding: 11px 9px 9px 13px; cursor: pointer; min-width: 44px; border-radius: 0; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.bar__menu { display: none; appearance: none; background: transparent; border: 1px solid var(--line); color: var(--ivory); padding: 11px 10px 9px 14px; cursor: pointer; border-radius: 0; }

/* ---------- hero */
.hero { position: relative; min-height: 100svh; height: 100svh; overflow: hidden; isolation: isolate; background: radial-gradient(120% 80% at 50% 62%, #15130f 0%, #0b0b0d 46%, var(--ink) 78%); }
.hero__stage { position: absolute; inset: 0; z-index: 2; touch-action: pan-y; cursor: grab; }
.hero__stage:active { cursor: grabbing; }
.hero__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__names { position: absolute; inset: 0; z-index: 1; display: grid; align-items: center; padding: 0 var(--pad); pointer-events: none; }
.names { display: flex; align-items: baseline; justify-content: space-between; font-size: clamp(5rem, 12.6vw, 14.8rem); line-height: 0.86; letter-spacing: -0.03em; font-weight: 500; font-variation-settings: "opsz" 16; margin-top: -4vh; color: var(--ivory); }
.names__b, .names__s { display: block; }
.names__s { font-style: italic; }
.names__amp { font-style: italic; color: var(--gold); font-size: 0.42em; opacity: 0; width: 0; overflow: hidden; }
.hero__top { position: absolute; z-index: 3; top: clamp(90px, 12.5vh, 128px); left: 0; right: 0; text-align: center; pointer-events: none; display: grid; gap: 9px; }
.hero__eyebrow { margin: 0; color: var(--gold-hi); padding-left: 0.34em; }
.hero__foot { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: clamp(18px, 4vh, 40px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; pointer-events: none; }
.hero__caption { margin: 0; max-width: 25em; color: var(--ivory-2); line-height: 1.6; }
.hero__caption em { font-family: var(--mono); font-style: normal; color: var(--smoke); display: block; }
.hero__cities { margin: 0; color: var(--ivory); text-align: center; padding-left: 0.34em; }
.hero__scroll { justify-self: end; pointer-events: auto; color: var(--ivory); display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.3em; min-height: 44px; }
.hero__scroll span { text-transform: none; }
.hero__scroll i { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-hi); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.no-webgl::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(60vw, 60vh); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 50%; }

/* ---------- shared section furniture */
section { position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(14px, 3vw, 40px); padding: 0 var(--pad); margin-bottom: clamp(36px, 7vh, 84px); text-align: center; }
.sec-head__act, .sec-head__layer { margin: 0; display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.sec-head__act { color: var(--gold-hi); }
.sec-head__layer { color: var(--smoke); justify-content: flex-end; }
.sec-head__act::after, .sec-head__layer::before { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 20px; }
.fan { color: var(--gold); width: min(1100px, 100%); margin: 0 auto clamp(40px, 8vh, 90px); opacity: 0.9; }
.fan svg { width: 100%; height: auto; }
.frame { margin: 0; position: relative; padding: 10px; border: 1px solid var(--line); background: var(--ink-2); }
.frame::before, .frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); pointer-events: none; }
.frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.frame img { width: 100%; height: auto; object-fit: cover; filter: grayscale(1) contrast(1.06); background: var(--ink-3); }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- premise */
.premise { padding: clamp(90px, 18vh, 200px) var(--pad) clamp(80px, 14vh, 160px); text-align: center; }
.premise__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 84px); align-items: center; max-width: 1280px; margin: 0 auto; text-align: left; }
.premise__grid .frame img { aspect-ratio: auto; }
.premise__line { font-family: var(--serif); font-size: clamp(1.9rem, 3.35vw, 3.3rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.7em; }
.premise__sub { max-width: 30em; margin: 0; color: var(--ivory-2); }

/* ---------- two arts */
.arts { padding: clamp(60px, 10vh, 120px) 0 clamp(90px, 15vh, 170px); }
.arts__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); padding: 0 var(--pad); max-width: 1360px; margin: 0 auto; align-items: start; }
.art--s { margin-top: clamp(40px, 12vh, 140px); }
.art .frame img { aspect-ratio: 4 / 5; }
.ports { display: flex; justify-content: flex-end; gap: clamp(10px, 1.6vw, 22px); margin: calc(clamp(96px, 11vw, 150px) * -0.5) clamp(10px, 2vw, 26px) 0; position: relative; z-index: 2; }
.port { margin: 0; width: clamp(96px, 11vw, 150px); text-align: center; }
.port img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); padding: 5px; background: var(--ink); filter: grayscale(1) contrast(1.06); }
.port--film { width: clamp(128px, 14vw, 190px); }
.port--film canvas { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); padding: 5px; background: var(--ink); display: block; }
.port figcaption { font-family: var(--mono); font-weight: 400; font-size: 0.78rem; color: var(--ivory-2); margin-top: 6px; }
.role { color: var(--gold-hi); margin: 30px 0 10px; }
.art h3 { margin-bottom: 16px; }
.art p { max-width: 30em; color: var(--ivory-2); }
.art__link a { font-family: var(--sans); font-weight: 400; font-size: 0.76rem; letter-spacing: 0.28em; border-bottom: 1px solid var(--gold); padding: 12px 0 7px; display: inline-block; }
.art__link a:hover { color: var(--ivory); }
.arts__amp { align-self: center; display: grid; place-items: center; width: clamp(64px, 8vw, 118px); aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; position: relative; margin-top: clamp(80px, 22vh, 260px); }
.arts__amp::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-soft); border-radius: 50%; }
.arts__amp span { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 3.6rem); color: var(--gold-hi); line-height: 1; margin-top: -0.08em; }
.lexicon { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); position: relative; text-align: center; width: calc(100% - var(--pad) * 2); }
.lexicon::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-soft); pointer-events: none; }
.lexicon h3 { font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.lexicon__sub { color: var(--ivory-2); margin-bottom: 30px; }
.lexicon__heads { display: grid; grid-template-columns: 1fr 1fr; color: var(--gold-hi); margin-bottom: 14px; gap: 60px; }
.lexicon__heads span:first-child { text-align: right; } .lexicon__heads span:last-child { text-align: left; }
.lexicon ul { list-style: none; margin: 0; padding: 0; }
.lexicon li { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.lexicon li span:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); text-align: right; }
.lexicon li span:last-child { font-family: var(--mono); font-size: clamp(0.8rem, 1.5vw, 0.95rem); text-align: left; color: var(--gold-hi); }
.lexicon li i { height: 1px; background: var(--gold); margin: 0 12px; position: relative; }
.lexicon li i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -4px 0 0 -4px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ink); }

/* ---------- two paths */
.paths { padding: clamp(60px, 10vh, 120px) 0 0; background: linear-gradient(var(--ink), #0a0a0d 30%, var(--ink)); }
.paths__intro { text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2.1rem); padding: 0 var(--pad); margin: 0 auto; max-width: 24em; }
.paths__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 1500px; margin: 0 auto; padding: 0 var(--pad); }
.paths__globe { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.globe-box { width: min(100%, 82vh); aspect-ratio: 1; }
.globe-box canvas { width: 100%; height: 100%; }
.paths__steps { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.step { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; max-width: 25em; opacity: 0.28; transition: opacity 0.7s var(--ease); }
.step:first-child { margin-top: 6svh; } .step:last-child { margin-bottom: 12svh; }
.step.is-on { opacity: 1; }
/* the engagement: a long stretch of scroll, its words held in place while the globe draws it slowly */
.step--slow { min-height: 200svh; display: block; padding-bottom: 40svh; }
.step__hold { position: sticky; top: calc(50svh - 3.6em); }
.step__label { color: var(--gold-hi); margin: 0 0 16px; display: flex; align-items: center; gap: 14px; }
.step__label::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; flex: none; }
.step__text { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.22; letter-spacing: -0.008em; margin: 0; }

/* ---------- evet */
.evet { min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.evet canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.evet__text { position: relative; z-index: 2; text-align: center; pointer-events: none; }
.evet__eyebrow { color: var(--gold-hi); margin: 0 0 6px; padding-left: 0.34em; }
.evet__word { font-style: italic; font-size: clamp(4.6rem, 15vw, 10.5rem); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.evet__gloss { color: var(--ivory-2); margin: 10px 0 0; }
.evet__day { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--gold-hi); margin: 8px auto 0; line-height: 1.5; }
.evet__out { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(18px, 4vh, 40px); margin: 0; color: var(--smoke); }

/* ---------- the proposal, frame by frame, and the trip */
.shot img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.06); transition: filter 1.6s var(--ease); background: var(--ink-3); }
.shot.in-colour img, .shot:hover img, .shot:focus-within img { filter: grayscale(0.08) contrast(1.02); }
.frames { padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 120px); }
.frames__label { text-align: center; color: var(--gold-hi); font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.3em; margin: 0 0 clamp(28px, 5vh, 54px); padding: 0 var(--pad) 0 calc(var(--pad) + 0.3em); }
.frames__strip { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1500px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); }
.frames__strip .shot:nth-child(even) { margin-top: clamp(18px, 4vh, 46px); }
.frames__strip figure { margin: 0; border: 1px solid var(--line); padding: 6px; background: var(--ink-2); }
.frames__strip img { aspect-ratio: 2 / 3; object-fit: cover; }
.frames__strip figcaption { font-family: var(--mono); font-weight: 400; font-size: 0.78rem; color: var(--gold-hi); text-align: center; padding: 9px 0 3px; letter-spacing: 0.2em; }
.trip { padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 8vh, 90px); }
.trip__wall { columns: 3; column-gap: clamp(10px, 1.4vw, 22px); padding: 0 var(--pad); max-width: 1360px; margin: 0 auto; }
.trip__wall .shot { margin: 0 0 clamp(10px, 1.4vw, 22px); break-inside: avoid; border: 1px solid var(--line); padding: 6px; background: var(--ink-2); }

/* ---------- portrait */
.portrait { padding: clamp(70px, 12vh, 150px) var(--pad); }
.frame--wide { max-width: 1280px; margin: 0 auto; }
.frame--wide img { aspect-ratio: 16 / 10; }
.frame figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 4px 4px; color: var(--gold-hi); }
.frame figcaption em { color: var(--ivory); font-size: 1.15rem; }

/* ---------- two celebrations */
.acts { padding: clamp(70px, 12vh, 140px) 0 clamp(80px, 14vh, 160px); }
.acts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 56px); padding: 0 var(--pad); max-width: 1240px; margin: 0 auto; }
.door { border: 1px solid var(--line); padding: clamp(18px, 2.6vw, 36px); position: relative; text-align: center; background: linear-gradient(#0c0c0f, var(--ink)); }
.door::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-soft); pointer-events: none; }
.door__art { color: var(--gold); aspect-ratio: 3 / 4; margin-bottom: 26px; }
.door__art svg { width: 100%; height: 100%; }
.door__kicker { color: var(--gold-hi); margin: 0 0 12px; padding-left: 0.34em; }
.door h3 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: 16px; }
.door p { color: var(--ivory-2); max-width: 24em; margin-left: auto; margin-right: auto; }
.door .door__tba { color: var(--ink); background: var(--gold); display: inline-block; padding: 11px 16px 9px 20px; margin: 10px 0 8px; font-weight: 600; }

/* ---------- the ivory page: what the two arts share */
.credo { padding: clamp(90px, 17vh, 200px) var(--pad); text-align: center; background: var(--ivory); color: var(--ink); position: relative; overflow: hidden; }
/* her rehearsal, printed onto the page: white becomes the paper, she is the ink */
.credo__film { position: absolute; right: max(-4vw, calc(50% - 850px)); top: 50%; height: 114%; width: auto; aspect-ratio: 1; transform: translateY(-50%); mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 98%); mask-image: radial-gradient(closest-side, #000 58%, transparent 98%); opacity: 0; transition: opacity 1.4s var(--ease); }
.credo__film.is-ready { opacity: 0.94; }
.credo__words { position: relative; z-index: 1; }
@media (min-width: 1000px) {
  .credo { text-align: left; }
  .credo__words { max-width: 1360px; margin: 0 auto; padding-right: min(47%, 660px); }
  .credo blockquote { margin: 0; }
  .credo blockquote p { font-size: clamp(2rem, 3.7vw, 3.7rem); }
}
@media (max-width: 999px) {
  .credo { padding-top: clamp(30px, 6vh, 60px); }
  .credo__film { position: relative; right: auto; top: auto; transform: none; display: block; height: auto; width: min(96vw, 560px); margin: 0 auto -6vw; left: 50%; translate: -50% 0; }
}
.credo__label { color: #5c4514; margin: 0 0 30px; font-weight: 600; padding-left: 0.3em; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.3em; }
.credo blockquote { margin: 0 auto; max-width: 1240px; }
.credo blockquote p { font-family: var(--serif); font-size: clamp(2rem, 5.1vw, 4.9rem); line-height: 1.06; letter-spacing: -0.022em; margin: 0; }
.credo blockquote em { display: block; margin-top: 0.42em; }
.credo ::selection { background: var(--ink); color: var(--ivory); }
.words { padding: clamp(80px, 14vh, 150px) 0; }

/* ---------- invitation */
.invite { padding: clamp(80px, 14vh, 170px) var(--pad); display: grid; place-items: center; }
.invite__card { max-width: 780px; width: 100%; border: 1px solid var(--line); padding: clamp(34px, 6vw, 76px) clamp(24px, 5vw, 70px); text-align: center; position: relative; }
.invite__card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-soft); pointer-events: none; }
.invite__label { color: var(--gold-hi); margin-bottom: 22px; padding-left: 0.34em; }
.invite h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-style: italic; line-height: 1.08; margin-bottom: 22px; }
.invite p { color: var(--ivory-2); max-width: 30em; margin-left: auto; margin-right: auto; }
.invite__note { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ivory) !important; }

/* ---------- curtain call: the two arts dance together */
.call { height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 80% at 50% 66%, #15130f 0%, #0b0b0d 46%, var(--ink) 78%); }
.call__stage { position: absolute; inset: 0; z-index: 1; }
.call__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.call__text { position: absolute; z-index: 2; top: clamp(64px, 10vh, 110px); left: 0; right: 0; text-align: center; pointer-events: none; padding: 0 var(--pad); }
.call__label { color: var(--gold-hi); font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.3em; margin: 0 0 12px; padding-left: 0.3em; }
.call h2 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); }

/* ---------- one screen at a time (js/pager.js) */
html.paged { scroll-behavior: auto; overscroll-behavior: none; scrollbar-width: none; }
html.paged::-webkit-scrollbar { display: none; }
html.paged body { touch-action: pan-x pinch-zoom; overscroll-behavior: none; }
html.paged .curtain__card { touch-action: pan-y; }
/* short sections fill the screen */
.paged .premise, .paged .credo, .paged .words, .paged .frames, .paged .invite { min-height: 100svh; display: grid; align-content: center; }
.paged .premise { padding-top: 9svh; padding-bottom: 6svh; }
.paged .fan { margin-bottom: clamp(20px, 4svh, 50px); }
.paged .words > .lexicon, .paged .frames > * { width: 100%; }
.paged .words > .lexicon { width: calc(100% - var(--pad) * 2); }
/* on the globe every step is a screen; the engagement is slowed by the pager, not by distance */
.paged .step--slow { min-height: 76svh; display: flex; padding-bottom: 0; }
.paged .step__hold { position: static; }
/* the menu and the buttons stay out of sight until the pointer moves or the screen is tapped */
html.paged .bar { transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
html.paged.pg-top .bar, html.paged.pg-ui.pg-bar .bar, html.paged .bar.is-menu, html.paged .bar:focus-within { transform: none; opacity: 1; pointer-events: auto; }
html.paged:not(.pg-top) .bar { background: linear-gradient(rgba(8, 8, 10, 0.94) 0 55%, rgba(8, 8, 10, 0)); }
.totop { position: fixed; z-index: 60; right: var(--pad); bottom: clamp(18px, 4svh, 36px); width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--gold); background: rgba(8, 8, 10, 0.6); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.totop::before { content: ""; width: 11px; height: 11px; border-left: 1px solid var(--gold-hi); border-top: 1px solid var(--gold-hi); transform: translateY(3px) rotate(45deg); }
.totop::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--line-soft); border-radius: 50%; }
html.paged.pg-ui:not(.pg-top) .totop, html.paged:not(.pg-top) .totop:focus-visible { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--gold); }
.totop:hover::before { border-color: var(--ink); }
@media (min-width: 861px) {
  .paged .evet__out { right: auto; left: var(--pad); }
  .paged .premise__grid .frame { justify-self: center; width: fit-content; }
  .paged .premise__grid .frame img { max-height: 58svh; width: auto; max-width: 100%; }
}
@media (max-width: 860px) {
  .paged .step--slow { min-height: 62svh; padding-top: 6svh; padding-bottom: 0; display: flex; }
  .paged .premise { align-content: center; padding-top: 7svh; padding-bottom: 4svh; }
  .paged .premise__grid { gap: 20px; }
  .paged .premise__grid .frame { justify-self: center; width: fit-content; }
  .paged .premise__grid .frame img { max-height: 44svh; width: auto; max-width: 100%; }
  .paged .premise__line { font-size: clamp(1.5rem, 6.2vw, 1.9rem); }
}

/* ---------- foot */
.foot { padding: 60px var(--pad) 46px; text-align: center; border-top: 1px solid var(--line-soft); display: grid; justify-items: center; gap: 22px; }
.foot__cities { margin: 0; color: var(--ivory); padding-left: 0.34em; }
.foot__colophon { margin: 0; color: var(--smoke); font-size: 0.92rem; }
.foot__colophon a { display: inline-block; padding: 8px 0 3px; }
.foot__colophon a { color: var(--gold-hi); border-bottom: 1px solid var(--gold-lo); }

/* ---------- phones and small tablets */
@media (max-width: 860px) {
  .bar { padding: 12px var(--pad); }
  .bar.is-solid { background: linear-gradient(rgba(8, 8, 10, 0.97) 0 62%, rgba(8, 8, 10, 0)); }
  .fan { overflow: hidden; }
  .fan svg { width: 190%; max-width: none; margin-left: -45%; }
  .bar__mark { width: 46px; height: 46px; font-size: 0.9rem; gap: 7px; }
  .bar__menu { display: inline-block; }
  .bar__nav { position: fixed; inset: 0; background: rgba(8, 8, 10, 0.97); flex-direction: column; align-items: center; justify-content: center; gap: 30px; transform: translateY(-102%); transition: transform 0.6s var(--ease); visibility: hidden; }
  .bar__nav a { font-size: 0.95rem; letter-spacing: 0.42em; padding: 14px 0 14px 0.42em; }
  .bar.is-menu .bar__nav { transform: none; visibility: visible; }
  .bar__tools { position: relative; z-index: 2; }
  .hero__names { display: block; padding: 0; }
  .names { position: absolute; left: var(--pad); right: var(--pad); top: clamp(128px, 18.5svh, 176px); bottom: clamp(140px, 20svh, 190px); display: flex; flex-direction: column; justify-content: space-between; font-size: clamp(4.4rem, 24vw, 8rem); line-height: 0.84; margin: 0; }
  .names__s { align-self: flex-end; }
  .hero__top { top: clamp(72px, 10svh, 92px); gap: 6px; }
  .hero__eyebrow, .hero__cities { font-size: 0.75rem; letter-spacing: 0.24em; }
  .hero__caption { font-size: 0.75rem; max-width: 19em; }
  .hero__scroll i { height: 34px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-head__act, .sec-head__layer { justify-content: center; }
  .sec-head__act::before, .sec-head__layer::after { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 20px; }
  .premise__grid { grid-template-columns: 1fr; text-align: center; }
  .premise__sub { margin: 0 auto; }
  .arts__grid { grid-template-columns: 1fr; }
  .art--s { margin-top: 0; }
  .arts__amp { margin: 6px auto; }
  .lexicon__heads { gap: 44px; }
  .lexicon li { grid-template-columns: 1fr 44px 1fr; }
  .lexicon li i { margin: 0 8px; }
  .paths__inner { display: block; padding: 0; }
  .paths__globe { height: 52svh; top: 0; z-index: 3; background: linear-gradient(var(--ink) 0 86%, rgba(8, 8, 10, 0)); margin-top: 20px; }
  .globe-box { width: min(92vw, 48svh); }
  .paths__steps { padding: 0 var(--pad); }
  .step { min-height: 62svh; justify-content: flex-start; padding-top: 6svh; max-width: none; }
  .step--slow { min-height: 150svh; padding-top: 0; padding-bottom: 36svh; }
  .step__hold { top: 58svh; }
  .step:first-child { margin-top: 0; } .step:last-child { margin-bottom: 0; min-height: 56svh; }
  .acts__grid { grid-template-columns: 1fr; }
  /* each city is one swipe on a phone (pager.js data-stop-each), so the whole card fits a screen with room around it */
  .door { padding: 18px 20px 20px; }
  .door__art { aspect-ratio: auto; height: min(30svh, 260px); margin-bottom: 14px; }
  .door__kicker { margin-bottom: 8px; }
  .door h3 { font-size: clamp(2.3rem, 11vw, 3rem); margin-bottom: 10px; }
  .door .door__tba { margin: 8px 0 2px; }
  .frames__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .frames__strip::-webkit-scrollbar { display: none; }
  .frames__strip .shot { flex: 0 0 64vw; scroll-snap-align: center; }
  .frames__strip .shot:nth-child(even) { margin-top: 0; }
  .trip__wall { columns: 2; }
  .evet__out { left: 0; right: 0; text-align: center; }
  .frame--wide img { aspect-ratio: 4 / 5; }
  .frame figcaption { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .curtain__half, .curtain__card { transition-duration: 0.01s; }
  .draws.is-drawn svg * { animation: none !important; }
  .hero__scroll i::after { animation: none; }
  .step { opacity: 1; }
}
