/* The public front door: navy and antique gold, taken from the logo. */
:root { --navy: #07162d; --navy-2: #0d2145; --gold: #d8b27a; --gold-hi: #f2dcab; --gold-lo: #a98350; --ink: #ece2cf; --muted: #9fb1cf; --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif; --sans: "Jost", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 300 17px/1.7 var(--sans); background: radial-gradient(1400px 800px at 50% -12%, #1d3965 0%, #0d2145 42%, var(--navy) 78%) no-repeat, var(--navy); -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--gold); color: var(--navy); border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* the quiet way in */
.top { position: absolute; top: 0; right: 0; padding: 22px clamp(18px, 4vw, 44px); z-index: 5; }
.signin { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; opacity: .4; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; transition: opacity .4s ease; }
.signin svg { width: 22px; height: 22px; flex: none; }
.signin span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s ease; }
.signin:hover, .signin:focus-visible { opacity: 1; }
.signin:hover span, .signin:focus-visible span { max-width: 120px; }
.signin:focus-visible, .cue:focus-visible, input:focus-visible, button:focus-visible, footer a:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 6px; }

main { display: block; }
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px clamp(18px, 5vw, 60px) 120px; position: relative; }
.logo { display: block; width: min(1040px, 96vw); height: auto; mix-blend-mode: screen; animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.tag { margin: clamp(10px, 2vw, 24px) 0 0; font: italic 400 clamp(24px, 3.4vw, 40px)/1.25 var(--serif); letter-spacing: .01em; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 1.6s .35s cubic-bezier(.2, .7, .2, 1) both; }
.lede { margin: 20px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); animation: rise 1.6s .6s cubic-bezier(.2, .7, .2, 1) both; }
.cue { position: absolute; bottom: 28px; left: 50%; width: 28px; height: 46px; margin-left: -14px; border: 1px solid rgba(216, 178, 122, .45); border-radius: 16px; opacity: .8; animation: rise 1.6s 1s both; }
.cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.500px; border-radius: 3px; background: var(--gold); animation: scroll 2.4s ease-in-out infinite; }

.invite { max-width: 720px; margin: 0 auto; padding: clamp(30px, 6vw, 70px) clamp(20px, 5vw, 40px) clamp(50px, 8vw, 90px); text-align: center; }
.rule { display: flex; align-items: center; gap: 18px; color: var(--gold); margin-bottom: 30px; }
.rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 178, 122, .7)); }
.rule i:last-child { background: linear-gradient(270deg, transparent, rgba(216, 178, 122, .7)); }
.rule svg { width: 28px; height: 28px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12.500px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; }
.invite h2 { margin: 0 0 18px; font: 500 clamp(30px, 4.2vw, 46px)/1.15 var(--serif); letter-spacing: .005em; color: var(--ink); }
.invite .body { margin: 0 auto 34px; max-width: 520px; color: var(--muted); }
.row { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
input[type="email"] { flex: 1; min-width: 0; padding: 16px 20px; border: 1px solid rgba(216, 178, 122, .4); border-radius: 999px; background: rgba(7, 22, 45, .55); color: var(--ink); font: 400 17px var(--sans); letter-spacing: .01em; transition: border-color .3s ease, background .3s ease; }
input[type="email"]::placeholder { color: rgba(159, 177, 207, .75); }
input[type="email"]:focus { outline: none; border-color: var(--gold-hi); background: rgba(7, 22, 45, .8); }
input[type="email"].bad { border-color: #e59a8f; }
button[type="submit"] { position: relative; padding: 16px 28px; border: 0; border-radius: 999px; cursor: pointer; font: 500 14px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: 0 10px 30px rgba(216, 178, 122, .25); transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; white-space: nowrap; }
button[type="submit"]:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(216, 178, 122, .38); }
button[type="submit"]:disabled { opacity: .6; cursor: default; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { margin: 16px 0 0; min-height: 26px; font-size: 14.500px; color: var(--muted); letter-spacing: .02em; }
.note.err { color: #f0b2a8; }
.thanks { padding: 10px 0 0; color: var(--gold); animation: rise 1s both; }
.thanks svg { width: 54px; height: 54px; }
.thanks h3 { margin: 12px 0 4px; font: italic 500 36px var(--serif); color: var(--gold-hi); }
.thanks p { margin: 0; color: var(--muted); }

.pillars { max-width: 1040px; margin: 0 auto; padding: 10px clamp(20px, 5vw, 40px) clamp(60px, 9vw, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.pillars article { padding-top: 22px; border-top: 1px solid rgba(216, 178, 122, .45); }
.pillars h3 { margin: 0 0 8px; font: 500 25px/1.2 var(--serif); color: var(--gold-hi); }
.pillars p { margin: 0; color: var(--muted); font-size: 16px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; padding: 26px clamp(20px, 5vw, 40px) 40px; border-top: 1px solid rgba(216, 178, 122, .2); color: rgba(159, 177, 207, .7); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
footer a { color: inherit; text-decoration: none; opacity: .6; transition: opacity .3s ease, color .3s ease; }
footer a:hover { opacity: 1; color: var(--gold); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scroll { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: .2; } }
@media (max-width: 720px) { .row { flex-direction: column; } button[type="submit"] { width: 100%; } .pillars { grid-template-columns: 1fr; } .cue { display: none; } .hero { min-height: auto; padding-top: 90px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .logo, .tag, .lede, .cue, .cue span, .thanks { animation: none; } .signin span, button[type="submit"], .signin { transition: none; } }
