:root{--black:#171613;--cream:#f4eddf;--gold:#c9a467;--muted:#b9b0a2;--ink:#27241f;--line:#d6cbb9;--serif:'DM Serif Display',Georgia,serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--black);color:var(--cream);font:13px/1.7 Manrope,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}svg{display:inline-block;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:5px}[hidden]{display:none!important}.eyebrow{font-size:9px;letter-spacing:2px;text-transform:uppercase;font-weight:400}
.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 75% 48%,#4a382317,transparent 52%),var(--black)}header{max-width:1400px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:25px 6%;gap:20px}header>.eyebrow{font-size:8px;letter-spacing:2.4px;color:var(--muted)}header a{font-size:9px;letter-spacing:.5px;border-bottom:1px solid #c9a46760;padding:9px 0}header a svg{width:14px;height:14px;margin-left:15px}.hero-inner{display:grid;grid-template-columns:1fr 1fr;max-width:1400px;margin:auto;align-items:center;padding:17px 6% 30px;min-height:610px}.hero-copy{z-index:1;padding:35px 0 50px}.school{color:var(--gold);font-size:9px;letter-spacing:2.4px}.hero h1{font:400 clamp(82px,9vw,136px)/.92 var(--serif);letter-spacing:-5px;margin:30px 0 25px}.hero h1 em{font-weight:400;color:#e0c18e}.hero-copy>p{font-size:12px;letter-spacing:.2px;color:var(--muted);margin:0 0 35px}.generation{display:flex;align-items:center;gap:17px}.generation>span{font-size:8px;letter-spacing:2px;text-transform:uppercase;writing-mode:vertical-rl;transform:rotate(180deg)}.generation strong{font:400 65px/1 var(--serif);letter-spacing:-2px;color:#eee2cc}.cap-stage{position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;height:590px}.graduation-cap{width:100%;height:100%;object-fit:contain;display:block;animation:cap-float 8s ease-in-out infinite;filter:drop-shadow(0 20px 18px #0005)}.stage-glow{position:absolute;inset:18% 0 8%;border-radius:50%;background:radial-gradient(ellipse,#b98d4229,transparent 65%);z-index:-1;animation:gold-breathe 8s ease-in-out infinite}.stage-ring{position:absolute;left:12%;right:7%;bottom:2%;height:100px;border:1px solid #bb96522b;border-radius:50%;z-index:-1;transform:rotate(-7deg)}.stage-ring:after{content:'';position:absolute;inset:11px -9px;border:1px solid #bb965212;border-radius:50%}.foil{position:absolute;inset:0;pointer-events:none;z-index:1}.foil i{position:absolute;top:20%;left:7%;width:4px;height:9px;background:#c6a674;opacity:0;animation:foil-drift 11s ease-in-out infinite}.foil i:nth-child(2){left:88%;top:12%;animation-delay:-4s;width:3px;height:6px}.foil i:nth-child(3){left:91%;top:65%;animation-delay:-8s}.foil i:nth-child(4){left:15%;top:83%;animation-delay:-2s;width:3px;height:5px}.foil i:nth-child(5){left:60%;top:6%;animation-delay:-6s;width:2px;height:7px}.hero-bottom{display:flex;align-items:center;justify-content:center;gap:25px;padding:2px 6% 30px;max-width:1400px;margin:auto}.hero-bottom>span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#c9a46750)}.hero-bottom>span:last-child{background:linear-gradient(90deg,#c9a46750,transparent)}.hero-bottom svg{width:32px;height:29px;color:var(--gold)}
.event-section{background:var(--cream);color:var(--ink);display:grid;grid-template-columns:.8fr 1.2fr;gap:95px;padding:71px max(8%,calc((100vw - 1060px)/2));align-items:center}.event-date{text-align:center;padding-right:55px;border-right:1px solid var(--line)}.event-date>.eyebrow{color:#786b59;font-size:8px}.event-date strong{display:block;font:400 127px/.95 var(--serif);letter-spacing:-7px;margin:24px 0 10px}.month{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:20px}.text-button{display:inline-flex;align-items:center;gap:18px;border:0;border-bottom:1px solid #9b7d486b;background:none;color:inherit;font-size:9px;letter-spacing:.4px;padding:9px 0}.text-button svg{width:15px;height:15px}.event-copy>.eyebrow{font-size:10px;color:#88652d;letter-spacing:1.7px}h2{font:400 48px/1.18 var(--serif);letter-spacing:-1.5px;margin:21px 0}.event-copy>p{font-size:12px;color:#766e63;margin:0 0 10px;line-height:1.9}.attire{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);display:flex;gap:14px;align-items:center}.attire-line{width:22px;height:22px;border:1px solid #ad8b53;transform:rotate(45deg);flex-shrink:0}.attire-line:before{content:'';display:block;margin:4px;border:1px solid #ad8b5370;width:12px;height:12px}.attire p{font-size:11px;margin:0}.attire .eyebrow{display:block;font-size:7px;letter-spacing:1px;color:#786b59;margin-bottom:4px}
.program-section{background:#e8deca;color:var(--ink);padding:44px 8% 49px;border-top:1px solid #bda98250}.program-section>h2{font-family:Manrope,sans-serif;text-align:center;letter-spacing:2px;font-size:8px;margin:0 0 31px;font-weight:400;line-height:1.7}.program{max-width:900px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.program article{text-align:center;position:relative}.program article+article:before{content:'';position:absolute;top:11px;bottom:7px;left:-15px;width:1px;background:#b5a18059}.icon-orbit{display:grid;place-items:center;width:65px;height:65px;border:1px solid #ac8e5f66;border-radius:50%;margin:0 auto 20px;position:relative}.icon-orbit:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#a47d3e;top:-2px;left:30px;transform-origin:2px 34px;animation:orbit 10s linear infinite}.program article:nth-child(2) .icon-orbit:after{animation-delay:-3.3s}.program article:nth-child(3) .icon-orbit:after{animation-delay:-6.6s}.icon-orbit svg{width:34px;height:32px;color:#94703b}.program time{font:400 26px var(--serif);display:block}.program h3{font-size:10px;font-weight:400;letter-spacing:.3px;margin:8px 0 0}
.rsvp{text-align:center;padding:82px 7% 78px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 85%,#6b4c2317,transparent 60%)}.rsvp>.eyebrow{font-size:8px;letter-spacing:2px;color:var(--gold)}.rsvp h2{font-size:clamp(42px,4.5vw,62px);line-height:1.2;margin:24px 0 32px}.rsvp h2 em{font-weight:400;color:#dec08f}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:50px;background:#d4b57f;border:1px solid #d4b57f;color:#231c12;padding:15px 25px;font-size:9px;letter-spacing:.5px;font-weight:600;transition:background .25s,transform .25s}.button:hover{background:#e7cda1;transform:translateY(-2px)}.button svg{width:16px;height:16px}.rsvp>p{font-size:9px;letter-spacing:.5px;color:var(--muted);margin:24px 0 0}.firework{position:absolute;width:90px;height:90px;color:#b68e50;left:9%;top:29%;opacity:.5;stroke-dasharray:17;stroke-dashoffset:17;animation:firework-bloom 8s ease-out infinite}.firework-right{left:auto;right:8%;width:60px;height:60px;top:53%;animation-delay:-4s}.closing{border-top:1px solid #c9a4672b;max-width:1100px;margin:auto;text-align:center;padding:36px 6% 33px}.closing p{font:400 27px/1.5 var(--serif);letter-spacing:-.5px;margin:0 0 18px}.closing p>span{color:var(--gold)}.closing>.eyebrow{font-size:7px;letter-spacing:2px;color:var(--muted)}footer{padding:20px 6%;border-top:1px solid #ffffff0f;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#aaa294;font-size:8px}footer button{border:0;border-bottom:1px solid #c9a46745;background:none;color:inherit;font-size:8px;padding:6px 0}
dialog{background:var(--cream);color:var(--ink);border:1px solid var(--gold);padding:34px;width:min(450px,90vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#080705bf;backdrop-filter:blur(5px)}dialog h2{font-size:35px;margin:18px 0 21px}dialog>.eyebrow{font-size:7px;color:#94703b}dialog p{font-size:12px}.close{float:right;background:none;border:0;color:inherit;font-size:25px;line-height:1;padding:0 0 12px 12px}.notice{background:#e4dac7;padding:12px;font-size:10px!important;color:#756b5e;margin-top:22px}label{font-size:10px;display:block;margin:17px 0 6px}input,select{width:100%;border:1px solid #bdaf96;padding:12px;background:#fffcf4;color:var(--ink)}form .button{width:100%;font-size:8px;gap:15px;margin-top:23px}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:10;border:1px solid var(--gold);background:#242017;color:var(--cream);font-size:11px;padding:13px 20px;max-width:90vw;width:max-content;text-align:center}
@keyframes cap-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-15px) rotate(2deg)}}@keyframes gold-breathe{0%,100%{opacity:.6}50%{opacity:1}}@keyframes foil-drift{0%,100%{opacity:0;transform:translateY(12px) rotate(0)}25%,70%{opacity:.6}90%{opacity:0;transform:translateY(-22px) rotate(100deg)}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes firework-bloom{0%,10%{stroke-dashoffset:17;opacity:0;scale:.7}35%,65%{stroke-dashoffset:0;opacity:.65;scale:1}95%,100%{stroke-dashoffset:0;opacity:0;scale:1.12}}
body.still *,body.still *:before,body.still *:after{animation:none!important;scroll-behavior:auto!important}
@media(max-width:1000px){.hero-inner{min-height:540px;padding-top:8px}.hero h1{font-size:clamp(66px,10vw,100px)}.cap-stage{height:490px}.generation strong{font-size:56px}.event-section{gap:60px;padding-inline:7%}.event-date{padding-right:30px}.event-copy h2{font-size:42px}.rsvp .firework{left:4%;width:60px;height:60px}.rsvp .firework-right{left:auto;right:4%;width:45px;height:45px}}
@media(max-width:600px){header{padding:17px 6%}header>.eyebrow{font-size:7px;letter-spacing:1.4px}header a{font-size:8px;padding:6px 0}header a svg{width:12px;height:12px;margin-left:9px}.hero-inner{grid-template-columns:1fr;padding:15px 6% 10px;min-height:0}.hero-copy{text-align:center;padding:9px 0 0}.school{font-size:8px;letter-spacing:1.8px}.hero h1{font-size:clamp(74px,22vw,88px);line-height:.92;letter-spacing:-4px;margin:23px 0 20px}.hero-copy>p{font-size:10px;margin:0 0 19px}.generation{justify-content:center;gap:12px}.generation>span{font-size:7px;letter-spacing:1.5px;writing-mode:horizontal-tb;transform:none}.generation strong{font-size:33px;letter-spacing:-1px}.cap-stage{height:340px;max-width:330px;width:100%;margin:12px auto 0}.graduation-cap{max-width:100%;height:100%;width:100%;object-fit:contain}.stage-ring{height:55px;bottom:3%;left:10%;right:10%}.hero-bottom{padding:5px 6% 25px;gap:20px}.hero-bottom svg{width:27px;height:24px}.event-section{grid-template-columns:1fr;gap:33px;padding:42px 9% 45px}.event-date{border-right:0;border-bottom:1px solid var(--line);padding:0 0 28px}.event-date>.eyebrow{font-size:7px}.event-date strong{font-size:101px;margin:15px 0 8px}.month{font-size:9px;letter-spacing:1.4px;margin-bottom:12px}.text-button{font-size:8px;gap:13px}.event-copy{text-align:center}.event-copy>.eyebrow{font-size:9px}.event-copy h2{font-size:41px;margin:18px 0 17px;line-height:1.2}.event-copy>p{font-size:11px}.attire{justify-content:center;text-align:left;padding-top:18px;margin-top:23px}.attire p{font-size:10px}.attire .eyebrow{font-size:6px}.attire-line{width:19px;height:19px}.attire-line:before{width:9px;height:9px;margin:4px}.program-section{padding:32px 6% 37px}.program-section>h2{font-size:7px;margin-bottom:25px}.program{gap:17px}.program article+article:before{left:-8px}.icon-orbit{width:50px;height:50px;margin-bottom:16px}.icon-orbit:after{left:23px;transform-origin:2px 26px}.icon-orbit svg{width:28px;height:27px}.program time{font-size:22px}.program h3{font-size:8px;margin-top:8px;letter-spacing:0}.rsvp{padding:52px 7% 54px}.rsvp>.eyebrow{font-size:7px;letter-spacing:1.3px}.rsvp h2{font-size:38px;letter-spacing:-1px;line-height:1.23;margin:20px 0 29px}.rsvp .firework{width:32px;height:32px;left:2%;top:17%}.rsvp .firework-right{width:27px;height:27px;right:2%;top:63%}.button{font-size:8px;padding:14px 22px;min-height:47px;gap:24px}.rsvp>p{font-size:8px;margin-top:22px}.closing{padding:28px 7% 25px}.closing p{font-size:24px;margin-bottom:16px}.closing>.eyebrow{font-size:6px}footer{font-size:7px;align-items:start;gap:15px;padding:17px 6%}footer button{font-size:7px;white-space:nowrap}dialog{padding:28px}dialog h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.foil{display:none}.firework{stroke-dashoffset:0;opacity:.3}}

/* Decorative, non-interactive cap toss over the bottom of the invitation. */
.cap-toss-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:30;contain:strict}
.tossed-cap{position:absolute;left:0;top:0;width:var(--cap-size);height:auto;opacity:0;pointer-events:none;will-change:transform,opacity;animation:graduation-cap-toss var(--flight-time) var(--flight-delay) both;filter:drop-shadow(0 5px 4px #0006)}
.tossed-cap svg{display:block;width:100%;height:auto;overflow:visible}
@keyframes graduation-cap-toss{
  0%{transform:translate3d(var(--start-x),var(--start-y),0) rotate(var(--start-angle));opacity:0;animation-timing-function:cubic-bezier(.15,.65,.3,1)}
  7%{opacity:1}
  48%{transform:translate3d(var(--peak-x),var(--peak-y),0) rotate(var(--peak-angle));opacity:1;animation-timing-function:cubic-bezier(.6,0,.85,.35)}
  86%{opacity:1}
  100%{transform:translate3d(var(--end-x),var(--start-y),0) rotate(var(--end-angle));opacity:0}
}
body.still .cap-toss-layer{display:none}
@media(prefers-reduced-motion:reduce){.cap-toss-layer{display:none!important}.tossed-cap{animation:none!important}}
