:root {
  --paper: #ffffff;
  --ink: #46382a;
  --gold: #b39a78;
  --gold-deep: #86693f;
  --line: #e9dfd0;
  --wax: #6b4fb3;
  --wax-deep: #4c3590;
  --olive: #6f8245;
  --blush: #fbf6f1;
  --serif: "Baskervville", "Baskerville", "Libre Baskerville", Georgia, serif;
  --caps: "Baskervville SC", "Baskervville", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --greek: "GFS Didot", "Baskervville", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
a { color: var(--wax-deep); }
:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; border-radius: 4px; }

.script { font-family: var(--script); font-weight: 400; color: var(--gold-deep); line-height: 1.15; }
.sc { font-family: var(--caps); letter-spacing: .14em; color: var(--gold-deep); font-size: .95rem; line-height: 1.7; }
.it { font-style: italic; color: var(--gold-deep); }
.star { width: 18px; height: 18px; fill: var(--gold); display: block; margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 8px max(14px, env(safe-area-inset-left)) 8px max(14px, env(safe-area-inset-right));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-links {
  display: flex; gap: 20px; flex: 1; min-width: 0;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  padding-right: 24px;
}
.bar-links::-webkit-scrollbar { display: none; }
.bar-links a {
  font-family: var(--caps); letter-spacing: .1em; font-size: .9rem;
  color: var(--gold-deep); text-decoration: none; padding: 10px 0;
}
.bar-links a:hover { color: var(--wax-deep); }
.lang { display: flex; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button {
  font: inherit; font-size: .85rem; line-height: 1; color: var(--gold-deep);
  background: none; border: 0; border-radius: 999px; padding: 9px 12px; cursor: pointer;
}
.lang .full { display: none; }
.lang .short { font-family: var(--caps); letter-spacing: .08em; }
.lang button[aria-pressed="true"] { background: var(--wax); color: #fff; }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 16px; justify-items: center;
  padding: 12px 16px 34px;
}
.arch {
  position: relative; width: min(100%, 470px);
  container-type: inline-size;
}
.arch img { width: 100%; border-radius: 3px; box-shadow: 0 18px 40px -18px rgba(92, 66, 30, .45); }
.arch-text {
  position: absolute; left: 18.5%; right: 18.5%; top: 29.5%; bottom: 11.5%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1.6cqw;
}
.arch-text .star { width: 4.4cqw; height: 4.4cqw; margin-bottom: 1cqw; }
.arch-text .sc { font-size: 2.9cqw; letter-spacing: .16em; line-height: 1.6; }
.arch-text .sc.small { font-size: 2.6cqw; }
.arch-text h1 { font-size: 8.7cqw; white-space: nowrap; margin: .5cqw 0; }
.amp { font-family: var(--serif); font-style: italic; font-size: .62em; padding: 0 .12em; }
.arch-text .nova { font-size: 10cqw; }
.arch-text .it { font-size: 3.5cqw; line-height: 1.45; margin-top: 1cqw; }

.hero-side { width: min(100%, 470px); display: grid; gap: 18px; align-content: center; }
.live { text-align: center; padding: 4px 6px 0; }
.live-kicker { font-family: var(--caps); letter-spacing: .14em; font-size: .9rem; color: var(--wax-deep); }
.live-kicker:empty { display: none; }
.live-kicker.on::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--wax); margin-right: 9px; vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
.live-head { font-size: 1.6rem; line-height: 1.25; margin-top: 2px; text-wrap: balance; }
.live-sub { color: var(--gold-deep); font-style: italic; margin-top: 2px; line-height: 1.4; text-wrap: balance; }
@keyframes pulse { 50% { opacity: .25; } }

.actions { display: grid; gap: 10px; }
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 12px 18px;
  font-family: var(--serif); font-size: 1.02rem; line-height: 1.25; text-decoration: none;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--gold); border-radius: 999px;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--blush); border-color: var(--gold-deep); }
.btn-wax { background: var(--wax); border-color: var(--wax); color: #fff; }
.btn-wax:hover { background: var(--wax-deep); border-color: var(--wax-deep); color: #fff; }
.btn.next { background: var(--wax); border-color: var(--wax); color: #fff; order: -1; }

/* ---------- ribbon ---------- */
.ribbon {
  position: relative; height: 34px; margin: 26px 0 30px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(107,79,179,.78), rgba(107,79,179,.5) 45%, rgba(76,53,144,.72));
  box-shadow: 0 6px 14px -8px rgba(76, 53, 144, .6);
}
.ribbon svg {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px;
  transform: translate(-50%, -50%) rotate(-8deg);
  filter: drop-shadow(0 5px 6px rgba(50, 30, 100, .4));
}

/* ---------- sections ---------- */
.sec { max-width: 640px; margin: 0 auto; padding: 46px 20px; }
.sec.wide { max-width: 1040px; }
.sec > h2 { font-size: clamp(2.7rem, 11vw, 3.6rem); text-align: center; margin-bottom: 6px; }
.lede { text-align: center; }
.sub {
  font-family: var(--caps); letter-spacing: .14em; font-size: 1.05rem; color: var(--gold-deep);
  text-align: center; margin: 42px 0 10px;
}
.prose { margin-top: 26px; display: grid; gap: 14px; }
.note { font-style: italic; color: var(--gold-deep); text-align: center; text-wrap: balance; max-width: 34em; margin-inline: auto; }
.gap { text-align: center; }
.gap p { font-style: italic; color: var(--gold-deep); }

/* timeline */
.timeline { list-style: none; margin: 34px auto 0; padding: 0; max-width: 460px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 113px; top: 14px; bottom: 30px; width: 1px; background: var(--gold);
}
.timeline li { display: grid; grid-template-columns: 92px 1fr; column-gap: 42px; padding: 0 0 30px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 103px; top: 4px; width: 21px; height: 21px;
  background: var(--paper);
  -webkit-mask: none;
}
.timeline li::after {
  content: ""; position: absolute; left: 105px; top: 6px; width: 17px; height: 17px; background: var(--gold);
  clip-path: polygon(50% 0, 59.6% 33.3%, 93.3% 25%, 69.2% 50%, 93.3% 75%, 59.6% 66.7%, 50% 100%, 40.4% 66.7%, 6.7% 75%, 30.8% 50%, 6.7% 25%, 40.4% 33.3%);
}
.timeline li.now::after { background: var(--wax); transform: scale(1.35); }
.timeline time, .timeline .when {
  text-align: right; font-family: var(--caps); letter-spacing: .08em; color: var(--gold-deep); font-size: 1rem; padding-top: 1px;
}
.timeline .when { font-family: var(--serif); font-style: italic; letter-spacing: 0; }
.timeline h3 { font-size: 1.3rem; line-height: 1.3; }
.timeline li.now h3 { color: var(--wax-deep); }
.timeline p { color: var(--gold-deep); font-size: 1rem; line-height: 1.45; margin-top: 2px; }

/* envelope liner */
.liner {
  width: min(100%, 520px); margin: 18px auto 0;
  clip-path: polygon(52% 12%, 96.5% 82%, 96.5% 100%, 3% 100%, 3% 81%);
  margin-top: -18px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent 99%); mask-image: linear-gradient(#000 78%, transparent 99%);
}

/* notched card, after the details card in the suite */
.card {
  --n: 26px;
  margin: 26px auto 0; max-width: 480px; padding: 30px 26px;
  text-align: center; display: grid; gap: 10px; justify-items: center;
  background:
    radial-gradient(circle at 0 0, transparent var(--n), var(--gold) var(--n) calc(var(--n) + 1px), var(--paper) calc(var(--n) + 1.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--gold) var(--n) calc(var(--n) + 1px), var(--paper) calc(var(--n) + 1.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--gold) var(--n) calc(var(--n) + 1px), var(--paper) calc(var(--n) + 1.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--gold) var(--n) calc(var(--n) + 1px), var(--paper) calc(var(--n) + 1.5px)) 100% 100% / 51% 51% no-repeat;
  position: relative;
  filter: drop-shadow(0 10px 18px rgba(92, 66, 30, .13));
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid var(--gold);
  clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) 2px, 100% 2px, 100% var(--n), 100% calc(100% - var(--n)), 100% 100%, calc(100% - var(--n)) 100%, var(--n) 100%, 0 100%, 0 calc(100% - var(--n)), 0 var(--n), 2px var(--n), 2px 2px, var(--n) 2px);
  -webkit-mask:
    linear-gradient(#000 0 0) var(--n) 0 / calc(100% - 2 * var(--n)) 100% no-repeat,
    linear-gradient(#000 0 0) 0 var(--n) / 100% calc(100% - 2 * var(--n)) no-repeat;
          mask:
    linear-gradient(#000 0 0) var(--n) 0 / calc(100% - 2 * var(--n)) 100% no-repeat,
    linear-gradient(#000 0 0) 0 var(--n) / 100% calc(100% - 2 * var(--n)) no-repeat;
  clip-path: none;
}
.card .sc { font-size: 1.02rem; }
.card .it { font-size: 1.2rem; line-height: 1.45; }
.card-p { font-size: 1.02rem; text-wrap: pretty; margin-top: 6px; }
.facts { display: flex; justify-content: center; gap: 26px; margin: 10px 0 4px; }
.facts dt { font-style: italic; color: var(--gold-deep); font-size: .95rem; }
.facts dd { margin: 0; font-size: 1.15rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 8px 0 6px; width: 100%; }
.row .btn { flex: 1 1 130px; min-height: 48px; }

/* the order of service */
.rite { list-style: none; counter-reset: rite; margin: 22px 0 0; padding: 0; display: grid; gap: 22px; }
.rite li { counter-increment: rite; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 14px; }
.rite li::before {
  content: counter(rite, upper-roman); grid-row: span 2;
  font-family: var(--caps); color: var(--gold); font-size: 1.15rem; text-align: right; padding-top: 2px;
}
.rite h4 { font-size: 1.3rem; line-height: 1.3; }
.rite p { margin-top: 2px; }
.rite + .note { margin-top: 26px; }

/* Nova's name */
.name-plate {
  margin: 28px auto 0; max-width: 500px; text-align: center; padding: clamp(84px, 25vw, 120px) 30px 40px;
  border: 1px solid var(--gold); border-radius: 250px 250px 26px 26px;
  outline: 1px solid var(--gold); outline-offset: 5px;
  display: grid; gap: 8px;
}
.name-plate .big { font-size: clamp(2.3rem, 9.5vw, 3.1rem); margin: 6px 0; }
.greek { font-family: var(--greek); font-size: 2rem; letter-spacing: .22em; color: var(--wax-deep); margin-top: 4px; padding-left: .22em; line-height: 1.3; }

/* questions */
.search { display: block; margin-top: 24px; }
.search input {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--gold); border-radius: 999px; padding: 13px 22px; min-height: 52px;
}
.search input::placeholder { color: var(--gold-deep); font-style: italic; opacity: .85; }
.faq { margin-top: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 34px 16px 0; position: relative; font-size: 1.15rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 12px; color: var(--gold-deep); font-size: 1.5rem; line-height: 1.2;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; }
.empty { text-align: center; font-style: italic; color: var(--gold-deep); padding: 22px 0; }

/* the suite */
.suite { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 4vw, 44px); align-items: center; margin: 30px auto 0; max-width: 760px; padding: 0 6px; }
.suite img { box-shadow: 0 16px 34px -14px rgba(92, 66, 30, .4); border-radius: 2px; }
.suite img:first-child { transform: rotate(-2deg); }
.suite img:last-child { transform: rotate(1.6deg) translateY(18px); }
.flatlay { margin: 64px auto 0; border-radius: 6px; }

.sec.contact { text-align: center; display: grid; gap: 14px; justify-items: center; padding-top: 30px; }
.contact-line { font-size: 1.3rem; line-height: 1.4; text-wrap: balance; }
.contact-tel { min-width: 220px; font-size: 1.2rem; letter-spacing: .04em; }

footer { text-align: center; padding: 34px 20px calc(56px + env(safe-area-inset-bottom)); display: grid; gap: 4px; justify-items: center; }
.foot-seal { width: 70px; height: 70px; transform: rotate(7deg); margin-bottom: 10px; }
footer .script { font-size: 2.6rem; }

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  .bar { padding-inline: 32px; }
  .lang .full { display: inline; }
  .lang .short { display: none; }
  .bar-links { gap: 34px; mask-image: none; -webkit-mask-image: none; }
  .hero {
    grid-template-columns: minmax(0, 520px) minmax(0, 420px);
    justify-content: center; align-items: center; column-gap: clamp(40px, 7vw, 110px);
    padding: 44px 32px 56px;
  }
  .arch { width: min(100%, 520px, calc((100vh - 150px) * .731)); justify-self: end; }
  .hero-side { justify-self: start; gap: 30px; }
  .live { text-align: left; padding: 0; }
  .live-head { font-size: 2.3rem; }
  .live-sub { font-size: 1.2rem; }
  .sec { padding-block: 64px; }
  .ribbon { margin-block: 20px 40px; }
}

/* one orchestrated entrance, in the arch */
@media (prefers-reduced-motion: no-preference) {
  .arch-text > * { opacity: 0; animation: rise .9s ease forwards; }
  .arch-text > :nth-child(1) { animation-delay: .15s; }
  .arch-text > :nth-child(2) { animation-delay: .3s; }
  .arch-text > :nth-child(3) { animation-delay: .5s; animation-duration: 1.3s; }
  .arch-text > :nth-child(4) { animation-delay: .95s; }
  .arch-text > :nth-child(5) { animation-delay: 1.1s; animation-duration: 1.3s; }
  .arch-text > :nth-child(6) { animation-delay: 1.5s; }
  .arch-text > :nth-child(7) { animation-delay: 1.65s; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-kicker.on::before { animation: none; }
}

@media print {
  .bar, .actions, .search, .ribbon { display: none; }
  .faq details > p { display: block; }
}
