/* Virae: an engraved invitation at night. One champagne hairline travels down the centre of every page,
   framing each section like fine stationery, drawn as you scroll. */
:root {
  --navy: #010F30;        /* your site's navy */
  --gold: #D4B977;        /* champagne */
  --gold-dim: rgba(212, 185, 119, .38);
  --ivory: #F3EEE3;
  --mist: #98A1B8;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--navy); color: var(--ivory); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.06; text-wrap: balance; }
em { font-style: italic; color: var(--gold); }
.label { font-size: 10.5px; font-weight: 400; letter-spacing: .42em; text-transform: uppercase; color: var(--mist); }
.gold { color: var(--gold); }
.muted { color: var(--mist); }
.center { text-align: center; }

.btn { display: inline-block; font-size: 11px; font-weight: 400; letter-spacing: .36em; text-transform: uppercase; padding: 18px 40px; border: 1px solid var(--gold-dim); color: var(--gold); transition: border-color .6s ease, background .6s ease, color .6s ease; text-align: center; }
.btn:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.link { font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }
.link:hover { color: var(--ivory); }

/* nav */
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 30px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 26px; font-weight: 300; letter-spacing: .28em; text-transform: uppercase; }
.logo img { display: block; height: 84px; width: auto; }
footer .logo img { height: 72px; }
.links { display: flex; gap: 34px; align-items: center; }
.links a { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--mist); transition: color .4s; }
.links a:hover, .links a[aria-current="page"] { color: var(--ivory); }
.links .cta { color: var(--gold); }
nav .menu { display: none; }
@media (max-width: 860px) {
  .logo img { height: 60px; }
  nav .wrap { position: relative; z-index: 30; }
  nav .menu { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 0; padding: 0; cursor: pointer; position: relative; z-index: 31; }
  nav .menu span { display: block; width: 26px; height: 1.5px; background: var(--gold); transition: transform .4s, opacity .4s; }
  nav.open .menu span:first-child { transform: translateY(4.25px) rotate(45deg); }
  nav.open .menu span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .links { position: fixed; inset: 0; z-index: 30; flex-direction: column; justify-content: center; gap: 30px; background: var(--navy);
           opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  nav.open .links { opacity: 1; visibility: visible; }
  .links a { font-size: 13px; }
  .links .cta { margin-top: 12px; border: 1px solid var(--gold-dim); padding: 16px 30px; }
  nav.open .logo { position: relative; z-index: 31; }
  html.menu-open { overflow: hidden; }
}

/* page heads */
.head { text-align: center; }
.head .wrap { padding-block: 70px 30px; display: grid; gap: 24px; justify-items: center; }
.head h1 { font-size: clamp(44px, 6.4vw, 84px); }
.head p { color: var(--mist); max-width: 40ch; }

/* the line */
#journey { position: relative; overflow-x: clip; }
#thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
#thread path { fill: none; stroke: #D9BE7C; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px rgba(226,201,126,.9)) drop-shadow(0 0 7px rgba(226,201,126,.45)); }
#thread .fine { stroke-width: 1; opacity: .7; }
#thread .star { fill: rgba(212,185,119,0); transition: fill 1.2s ease; }
#thread .star.lit { fill: rgba(212,185,119,0); }
#thread image { opacity: 0; transition: opacity 1.4s ease, transform 1.4s ease; transform-box: fill-box; transform-origin: center; transform: scale(.6); }
#thread image.lit { opacity: 1; transform: scale(1); }
#pen { fill: #FFF3D6; filter: drop-shadow(0 0 4px rgba(212,185,119,.9)); }
#journey > section, #journey > div { position: relative; z-index: 1; }

/* ornament holders: empty spacers the line draws into */
.orn { height: 120px; }
.orn.rings { height: 150px; }
.orn.tall { height: 200px; }

/* framed groups (the line draws a border round them) */
.frame { max-width: 900px; margin: 0 auto; padding: 84px 44px; }
.frame.narrow { max-width: 680px; }
.portal { max-width: 500px; margin: 0 auto; padding: 160px 44px 84px; text-align: center; display: grid; gap: 18px; justify-items: center; }
@media (max-width: 600px) { .frame { padding: 64px 26px; } .portal { padding: 140px 30px 64px; } }

/* three-up steps */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.trio > div { display: grid; gap: 12px; justify-items: center; align-content: start; }
.num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.trio h3 { font-size: 29px; }
.trio p { color: var(--mist); font-size: 14.5px; max-width: 24ch; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 56px; } }

/* big statements */
.statement { text-align: center; display: grid; gap: 26px; justify-items: center; padding-block: 40px; }
.statement h2 { font-size: clamp(40px, 5.6vw, 70px); }
.statement p { color: var(--mist); max-width: 40ch; }
blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.2; max-width: 20ch; text-wrap: balance; }

/* small print row */
.scope { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.scope span { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory); }
.scope span.soon { color: var(--mist); }

/* packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pkg { padding: 10px 34px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.pkg ul { flex: 1; align-content: center; justify-items: center; width: 100%; }
.pkg .btn { margin-top: auto; }
.pkg + .pkg { border-left: 1px solid var(--gold-dim); }
.pkg h3 { font-size: clamp(22px, 2.5vw, 32px); white-space: nowrap; }
.pkg .amt { font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.pkg .was { font-size: 12px; letter-spacing: .2em; color: var(--mist); text-decoration: line-through; }
.pkg ul { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--mist); }
.pkg li.you { font-style: italic; opacity: .8; }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; gap: 56px; } .pkg + .pkg { border-left: 0; } }

/* comparison */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px 34px; align-items: baseline; max-width: 620px; margin: 0 auto; }
.compare .k { grid-column: 1 / -1; text-align: center; margin-top: 18px; }
.compare .a { text-align: right; color: var(--mist); font-family: var(--serif); font-size: 28px; }
.compare .b { text-align: left; font-family: var(--serif); font-size: 28px; color: var(--gold); }
.compare .vs { font-size: 10px; letter-spacing: .3em; color: var(--mist); text-transform: uppercase; }
.compare .h { font-size: 10.5px; letter-spacing: .38em; text-transform: uppercase; color: var(--mist); }
.compare .h.b { color: var(--gold); font-family: var(--sans); }

/* questions */
.faq { max-width: 720px; margin: 0 auto; }
details { border-bottom: 1px solid var(--gold-dim); padding: 24px 0; }
details:first-child { border-top: 1px solid var(--gold-dim); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; transition: transform .4s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mist); margin-top: 14px; max-width: 60ch; }

/* founder photo inside the portal */
.photo { display: block; width: 150px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 75px 75px 0 0; box-shadow: 0 0 0 1px rgba(217,190,124,.7), 0 0 18px rgba(226,201,126,.25); }

/* hero with film */
.hero { text-align: center; }
.hero .wrap { padding-block: 10px 30px; }
.hero .stage { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1200 / 1080; margin: 0 auto; }
.hero .stage video { position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 1200 / 640; background: #000; mix-blend-mode: screen; /* video is gold on black: black drops out, so the page navy (#010F30) shows through exactly */ }
.hero .stage .art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero .stage .art path { stroke: #D9BE7C; stroke-width: 4.5; filter: drop-shadow(0 0 3px rgba(226,201,126,.95)) drop-shadow(0 0 10px rgba(226,201,126,.5)); }
.hero .stage .art .fine { stroke-width: 2; opacity: .55; }
.hero .stage .art path.star { fill: #F2DC8C; stroke: none; stroke-dasharray: none; animation: starIn 1.8s ease forwards 3.4s; filter: drop-shadow(0 0 6px rgba(245,222,140,.95)) drop-shadow(0 0 18px rgba(245,222,140,.6)); }
.hero .art { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; overflow: visible; }
.hero .art path { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: draw var(--t, 1.4s) cubic-bezier(.45,.05,.3,1) forwards; animation-delay: var(--d, 0s); }
.hero .art .fine { stroke-width: .8; opacity: .7; }
.hero .art .d1 { --d: .2s; --t: .9s; }
.hero .art .d2 { --d: 1s; --t: 2.2s; }
.hero .art .d3 { --d: 1.8s; --t: 2s; }
.hero .art .d4 { --d: 2.9s; --t: .9s; }
.hero .art .d5 { --d: 3.6s; --t: 1.3s; }
.hero .art .d6 { --d: 4.3s; --t: 1.1s; }
.hero .art .d7 { --d: 4.6s; --t: 1.4s; }
.hero .art .d8 { --d: 5.4s; --t: 1.4s; }
.hero .art .d9 { --d: 6.3s; --t: .8s; }
.hero .art .star { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4) rotate(-20deg); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes starIn { to { opacity: 1; transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .hero .art path { animation: none; stroke-dashoffset: 0; } .hero .art .star { animation: none; opacity: 1; transform: none; } }
.hero h1 { font-size: clamp(44px, 6.6vw, 88px); margin-top: 8px; }
.hero .label { display: block; margin-top: 22px; }
.hero .btn { margin-top: 46px; }
.hero .alt { display: block; margin-top: 22px; font-size: 13px; color: var(--mist); }
.hero .alt a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }

.closing .wrap { padding-block: 40px 110px; display: grid; gap: 36px; justify-items: center; text-align: center; }
.closing h2 { font-size: clamp(40px, 5.6vw, 68px); }

footer .wrap { border-top: 1px solid rgba(212,185,119,.14); padding-block: 44px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; font-size: 13px; color: var(--mist); }
footer .col { display: grid; gap: 8px; align-content: start; }
footer .col b { font-weight: 400; font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
footer a:hover { color: var(--ivory); }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.hero .art .couple path { stroke-width: 1.05; }
.hero .art .couple .fine { stroke-width: .65; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; max-width: 480px; margin: 8px 0; }
.duo > div { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; padding: 0 18px; }
.duo > div + div { border-left: 1px solid var(--gold-dim); }
.duo .amt { font-family: var(--serif); font-size: clamp(40px,5vw,56px); line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.duo p { font-size: 14px; max-width: 18ch; margin: 0; }
.duo .label { white-space: nowrap; } @media (max-width: 480px) { .duo > div { padding: 0 10px; } .duo .label { letter-spacing: .22em; } }
