/* Artemus & Eleanor — site styles */
:root {
  --ivory: #f8f4ec;
  --paper: #fffdf8;
  --ink: #2a2430;
  --ink-soft: #5d5462;
  --gold: #b38b4d;
  --gold-soft: #d9bd85;
  --gold-line: rgba(179, 139, 77, .35);
  --blue: #7f93ab;
  --night: #131016;
  --night-2: #1d1820;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(42, 36, 48, .35);
  --script: "Great Vibes", "Cormorant Garamond", cursive;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 17px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
  color: #fff;
}
.nav.solid, .nav.light { background: rgba(248, 244, 236, .92); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--gold-line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .ring { width: 38px; height: 38px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; font: 500 15px var(--serif); letter-spacing: .06em; opacity: .9; }
.brand .ring { border-color: var(--gold-soft); color: var(--gold-soft); }
.nav.solid .brand .ring, .nav.light .brand .ring { border-color: var(--gold); color: var(--gold); }
.brand span { font: 400 26px/1 var(--script); }
.links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.links a { text-decoration: none; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s; opacity: .85; }
.links a:hover, .links a[aria-current="page"] { opacity: 1; border-color: var(--gold-soft); }
.nav.solid .links a:hover, .nav.solid .links a[aria-current="page"], .nav.light .links a[aria-current="page"], .nav.light .links a:hover { border-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--ivory); color: var(--ink); padding: 8px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s; }
  .links.open { transform: none; opacity: 1; pointer-events: auto; }
  .links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--gold-line) !important; opacity: 1; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center;
  color: #fff; overflow: hidden; background: var(--night);
}
.hero .bg { position: absolute; inset: -4%; background: center/cover no-repeat; filter: saturate(.9); transform: scale(1.04); animation: drift 28s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 45%, rgba(19,16,22,.35) 0%, rgba(19,16,22,.72) 60%, rgba(19,16,22,.92) 100%),
  linear-gradient(180deg, rgba(19,16,22,.55), rgba(19,16,22,.1) 30%, rgba(19,16,22,.85)); }
@keyframes drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero .inner { position: relative; z-index: 1; padding: 120px 20px 80px; }
.eyebrow { font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 18px; }
.names { font: 400 clamp(64px, 12vw, 148px)/.95 var(--script); margin: 0; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.names .amp { display: inline-block; font-size: .55em; color: var(--gold-soft); margin: 0 .12em; transform: translateY(-.12em); }
.hero .sub { font: italic 400 clamp(20px, 2.6vw, 26px)/1.4 var(--serif); margin: 14px 0 0; opacity: .9; }
.dateline { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 34px 0 10px; font: 500 15px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.dateline::before, .dateline::after { content: ""; width: 56px; height: 1px; background: var(--gold-soft); opacity: .7; }
.place { font: 400 18px var(--serif); letter-spacing: .08em; opacity: .85; margin: 0; }

.countdown { display: flex; justify-content: center; gap: clamp(14px, 4vw, 40px); margin: 42px 0 44px; }
.countdown div { min-width: 64px; }
.countdown b { display: block; font: 300 clamp(36px, 6vw, 54px)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.countdown small { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.countdown.done { font: italic 26px var(--serif); }

.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; text-decoration: none; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, box-shadow .2s; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(135deg, #d9bd85, #b38b4d); color: #1d1820; box-shadow: 0 10px 30px -12px rgba(217,189,133,.8); }
.btn.ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.dark { background: var(--ink); color: var(--ivory); }
.btn.outline { border-color: var(--gold); color: var(--ink); }
.btn.outline:hover { background: var(--gold); color: #fff; }
.btn svg { width: 16px; height: 16px; }

.scroll-hint { position: absolute; z-index: 1; bottom: 26px; left: 50%; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--gold-soft), transparent); animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { opacity: .2; transform: translate(-50%, -6px); } 50% { opacity: .9; transform: translate(-50%, 4px); } }

/* ---------- page header (inner pages) ---------- */
.page-head { position: relative; padding: 150px 0 80px; text-align: center; color: #fff; background: var(--night); overflow: hidden; }
.page-head .bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .38; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,16,22,.5), rgba(19,16,22,.85)); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font: 400 clamp(46px, 8vw, 84px)/1.05 var(--script); margin: 6px 0 12px; }
.page-head p.lede { font: italic 400 21px/1.5 var(--serif); max-width: 640px; margin: 0 auto; opacity: .9; }
.crumbs { display: flex; justify-content: center; gap: 10px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-soft); margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "·"; margin-right: 10px; opacity: .7; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- sections ---------- */
section.block { padding: clamp(70px, 10vw, 120px) 0; }
section.block.alt { background: var(--paper); }
section.block.dark { background: var(--night); color: #f1ebe2; }
.heading { text-align: center; margin: 0 auto 54px; max-width: 680px; }
.heading .script { font: 400 clamp(40px, 6vw, 60px)/1.1 var(--script); color: var(--gold); margin: 0; }
.heading h2 { font: 400 clamp(30px, 4vw, 42px)/1.2 var(--serif); margin: 4px 0 14px; letter-spacing: .01em; }
.heading p { color: var(--ink-soft); margin: 0; }
section.dark .heading p { color: rgba(241,235,226,.75); }
.flourish { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px auto 0; color: var(--gold); }
.flourish::before, .flourish::after { content: ""; width: 70px; height: 1px; background: var(--gold-line); }
.flourish svg { width: 18px; height: 18px; }

/* event cards */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.event { position: relative; background: var(--paper); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 44px 34px 38px; text-align: center; box-shadow: var(--shadow); }
section.block.alt .event { background: var(--ivory); }
.event::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-line); border-radius: calc(var(--radius) - 6px); pointer-events: none; }
.event .icon { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--gold); }
.event .kind { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0; }
.event h3 { font: 500 30px/1.2 var(--serif); margin: 8px 0 6px; }
.event .time { font: 300 40px/1 var(--serif); margin: 18px 0 4px; }
.event .when { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; letter-spacing: .05em; }
.event .where { margin: 0 0 24px; }
.event .where strong { display: block; font: 500 20px var(--serif); }
.event .actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.event .actions .btn { padding: 11px 20px; font-size: 12px; }

/* timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: var(--gold-line); }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 44px; }
.timeline li::before { content: ""; position: absolute; left: 50%; top: 10px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); }
.timeline .t { text-align: right; font: 500 15px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.timeline .d h4 { margin: 0 0 4px; font: 500 24px/1.3 var(--serif); }
.timeline .d p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .timeline li::before { left: 7px; }
  .timeline .t { text-align: left; }
}

/* feature / split */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.15fr; }
.split.rev .media { order: 2; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev .media { order: 0; } }
.media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); aspect-ratio: 16 / 10; background: var(--night); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.media:hover img { transform: scale(1.04); }
.media .tag { position: absolute; left: 16px; top: 16px; background: rgba(19,16,22,.72); color: var(--gold-soft); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.media .play { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; }
.media .play span { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); color: #fff; transition: transform .25s, background .25s; }
.media .play:hover span { transform: scale(1.08); background: rgba(217,189,133,.35); }
.media .play svg { width: 28px; height: 28px; margin-left: 4px; }
.copy .script { font: 400 46px/1.1 var(--script); color: var(--gold); margin: 0; }
.copy h2 { font: 400 clamp(30px, 4vw, 40px)/1.2 var(--serif); margin: 4px 0 16px; }
.copy p { color: var(--ink-soft); }
section.dark .copy p { color: rgba(241,235,226,.78); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 10px; transform: rotate(45deg); background: var(--gold); }

/* worlds grid */
.worlds { display: grid; gap: 30px; }
.world { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--night-2); color: #f1ebe2; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); border: 1px solid rgba(217,189,133,.18); }
.world .media { border-radius: 0; box-shadow: none; aspect-ratio: auto; min-height: 360px; }
.world .body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.world .status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: #9fe0b5; margin-bottom: 12px; }
.world .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5ed38a; box-shadow: 0 0 0 4px rgba(94,211,138,.18); }
.world h3 { font: 400 40px/1.1 var(--serif); margin: 0 0 6px; }
.world .loc { color: var(--gold-soft); margin: 0 0 18px; font: italic 19px var(--serif); }
.world p { color: rgba(241,235,226,.78); margin: 0 0 22px; }
.world .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.world .meta li { font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(217,189,133,.35); color: var(--gold-soft); }
@media (max-width: 860px) { .world { grid-template-columns: 1fr; } .world .media { min-height: 230px; aspect-ratio: 16/10; } }

/* controls */
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.panel { background: var(--paper); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 30px; }
.panel h3 { display: flex; align-items: center; gap: 12px; font: 500 24px var(--serif); margin: 0 0 18px; }
.panel h3 svg { width: 26px; height: 26px; color: var(--gold); }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; margin: 0; }
.keys dt { white-space: nowrap; }
.keys dd { margin: 0; color: var(--ink-soft); font-size: 15px; }
kbd { display: inline-block; min-width: 30px; padding: 3px 9px; border-radius: 7px; border: 1px solid #cfc3ad; border-bottom-width: 3px; background: #fff; font: 500 13px var(--sans); text-align: center; color: var(--ink); }
.note { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: 15px; }

/* journey */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; text-align: center; }
.journey .step .num { font: 300 46px/1 var(--serif); color: var(--gold); }
.journey .step h4 { font: 500 22px var(--serif); margin: 10px 0 4px; }
.journey .step p { margin: 0; color: var(--ink-soft); }

/* quote band */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 760px; font: italic 400 clamp(24px, 3.4vw, 34px)/1.45 var(--serif); }
.quote cite { display: block; margin-top: 18px; font: normal 12px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* footer */
footer { background: var(--night); color: rgba(241,235,226,.7); text-align: center; padding: 60px 20px 50px; }
footer .sig { font: 400 44px/1 var(--script); color: var(--gold-soft); margin: 0 0 10px; }
footer p { margin: 4px 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
footer nav { display: flex; justify-content: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
footer nav a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: .8; }
footer nav a:hover { opacity: 1; color: var(--gold-soft); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .bg, .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
