:root {
  --maroon: #7b1022;
  --maroon-deep: #4d0714;
  --gold: #f2c14d;
  --gold-pale: #f8e5a5;
  --cream: #fff8e8;
  --paper: #fffdf6;
  --ink: #2c1914;
  --muted: #725f57;
  --line: rgba(77, 7, 20, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
body::before { position: fixed; inset: 0; z-index: -1; background-image: radial-gradient(rgba(123, 16, 34, 0.08) 0.7px, transparent 0.7px); background-size: 9px 9px; content: ""; pointer-events: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1f6feb; outline-offset: 3px; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.7rem 1rem; background: white; color: var(--maroon); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 var(--gutter); border-bottom: 1px solid rgba(242, 193, 77, 0.3); background: rgba(77, 7, 20, 0.96); color: var(--cream); }
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 1.35rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 1.05rem; line-height: 1.1; letter-spacing: 0.04em; }
.brand small { margin-top: 0.15rem; color: var(--gold-pale); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a { color: var(--cream); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta { padding: 0.7rem 1rem; border: 1px solid var(--gold); color: var(--gold); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: white; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); min-height: calc(100vh - 76px); overflow: hidden; background: var(--maroon); color: var(--cream); }
.hero__pattern { position: absolute; inset: 0; opacity: 0.18; background-image: linear-gradient(30deg, transparent 47%, var(--gold) 48%, var(--gold) 49%, transparent 50%), linear-gradient(-30deg, transparent 47%, var(--gold) 48%, var(--gold) 49%, transparent 50%); background-size: 44px 76px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero__copy { position: relative; z-index: 2; align-self: center; padding: clamp(5rem, 10vw, 8rem) var(--gutter) clamp(9rem, 15vw, 12rem); padding-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2)); }
.eyebrow { margin: 0 0 1rem; color: var(--maroon); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.hero .eyebrow, .updates-section .eyebrow, .closing .eyebrow { color: var(--gold); }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 7.5vw, 7.4rem); font-weight: 400; line-height: 0.88; letter-spacing: -0.055em; }
.hero h1 span { display: block; color: var(--gold); font-size: 0.42em; font-style: italic; letter-spacing: 0.03em; }
.hero__year { margin: 1.25rem 0 0; color: var(--gold-pale); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: 0.45em; }
.hero__intro { max-width: 590px; margin: 1.4rem 0 0; color: #f8e9dc; font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero__actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.8rem 1.3rem; border: 1px solid transparent; border-radius: 2px; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; }
.button--gold { background: var(--gold); color: var(--maroon-deep); }
.button--gold:hover { background: var(--gold-pale); }
.button--maroon { background: var(--maroon); color: white; }
.button--maroon:hover { background: var(--maroon-deep); }
.button--full { width: 100%; }
.text-link { color: var(--cream); font-size: 0.88rem; font-weight: 700; text-underline-offset: 5px; }

.hero__art { position: relative; z-index: 2; display: grid; place-items: center; min-height: 620px; color: var(--gold); }
.hero__art::before, .hero__art::after { position: absolute; width: 12px; height: 12px; border: 1px solid var(--gold); content: ""; transform: rotate(45deg); }
.hero__art::before { top: 16%; left: 10%; }
.hero__art::after { right: 13%; bottom: 24%; }
.sun-disc { position: absolute; width: min(38vw, 450px); aspect-ratio: 1; border: 1px solid rgba(242, 193, 77, 0.45); border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(242, 193, 77, 0.13) 0 3deg, transparent 3deg 9deg); }
.sun-disc::after { position: absolute; inset: 11%; border: 1px solid rgba(242, 193, 77, 0.3); border-radius: 50%; content: ""; }
.hero__art svg { position: relative; width: min(35vw, 390px); filter: drop-shadow(0 18px 24px rgba(37, 0, 8, 0.3)); }
.hero__art .ornament, .hero__art .hand, .hero__art .lotus { stroke-width: 3; }
.hero__art .crown, .hero__art .ear, .hero__art .face, .hero__art .body { stroke-width: 5; }
.hero__art .eye, .hero__art .tilak, .hero__art .tusk, .hero__art .trunk { stroke-width: 7; }
.hero__art .jewel { fill: var(--gold); }
.hero__mantra { position: absolute; bottom: 14%; font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.22em; }
.event-ribbon { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; width: min(var(--max-width), calc(100% - 2 * var(--gutter))); margin: 0 auto; background: var(--cream); color: var(--ink); }
.event-ribbon > div { padding: 1.25rem 1.5rem; border-right: 1px solid var(--line); }
.event-ribbon > div:last-child { border-right: 0; }
.event-ribbon span, .event-ribbon strong { display: block; }
.event-ribbon span { color: var(--maroon); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.event-ribbon strong { margin-top: 0.25rem; font-family: var(--serif); font-size: 1rem; }
.event-ribbon .countdown { background: var(--gold); }

.section { padding: clamp(5rem, 9vw, 8rem) var(--gutter); }
.section > * { width: min(var(--max-width), 100%); margin-right: auto; margin-left: auto; }
.section-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2, .schedule-intro h2, .registration-copy h2, .closing h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.04em; }
.section-heading > p, .schedule-intro > p, .registration-copy > p { max-width: 540px; margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { position: relative; min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.category-card::after { position: absolute; right: -35px; bottom: -35px; width: 130px; height: 130px; border-radius: 50%; background: var(--card-accent); content: ""; opacity: 0.22; }
.category-card--coral { --card-accent: #e85d4a; }
.category-card--blue { --card-accent: #3676b8; }
.category-card--lilac { --card-accent: #8556a8; }
.category-card--green { --card-accent: #27835c; }
.category-card--saffron { --card-accent: #df9226; }
.category-card--aqua { --card-accent: #238e91; }
.category-card__number { color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; }
.category-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 2rem 0 1.25rem; border: 1px solid var(--card-accent); border-radius: 50%; color: var(--card-accent); font-family: var(--serif); font-size: 1.5rem; }
.category-card h3 { max-width: 240px; margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.category-card p { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.9rem; }

.schedule-section, .registration-section { display: grid; grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 7rem); width: min(var(--max-width), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-right: 0; padding-left: 0; border-top: 1px solid var(--line); }
.schedule-section > *, .registration-section > * { width: auto; margin: 0; }
.schedule-intro, .registration-copy { align-self: start; }
.schedule-intro > p, .registration-copy > p { margin-top: 1.5rem; }
.date-stamp { display: grid; width: 210px; margin-top: 2.5rem; padding: 1.4rem; border: 1px solid var(--maroon); color: var(--maroon); text-align: center; }
.date-stamp span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.date-stamp strong { font-family: var(--serif); font-size: 5rem; font-weight: 400; line-height: 1; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; padding: 1.45rem 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { color: var(--maroon); font-size: 0.83rem; font-weight: 800; }
.timeline h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.timeline p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.88rem; }

.updates-section { background: var(--maroon-deep); color: var(--cream); }
.section-heading--light > p { color: #dcbfc2; }
.updates-layout { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: clamp(2rem, 6vw, 5rem); }
.updates-list { border-top: 1px solid rgba(248, 229, 165, 0.25); }
.update { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(248, 229, 165, 0.25); }
.update time { color: var(--gold-pale); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.update span { color: var(--gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.update h3 { margin: 0.25rem 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.update p { margin: 0; color: #dcbfc2; font-size: 0.9rem; }
.updates-signup { align-self: start; padding: 2rem; border: 1px solid rgba(248, 229, 165, 0.35); }
.updates-signup h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.updates-signup > p:not(.eyebrow) { margin: 0.7rem 0 1.5rem; color: #dcbfc2; font-size: 0.88rem; }
.updates-signup label { display: block; margin: 0.8rem 0 0.35rem; color: var(--gold-pale); font-size: 0.75rem; font-weight: 700; }
.updates-signup input { width: 100%; min-height: 46px; padding: 0.7rem; border: 1px solid rgba(248, 229, 165, 0.35); border-radius: 0; background: rgba(255, 255, 255, 0.07); color: white; }
.updates-signup .button { margin-top: 1rem; }

.registration-section { grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); border-top: 0; }
.registration-copy { position: sticky; top: 120px; }
.registration-notes { display: grid; gap: 1rem; margin-top: 2rem; }
.registration-notes > div { display: grid; grid-template-columns: 30px 1fr; gap: 0.7rem; }
.registration-notes span { color: var(--maroon); font-weight: 900; }
.registration-notes p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.registration-notes strong { color: var(--ink); }
.help-card { display: grid; margin-top: 2rem; padding: 1.25rem; border-left: 4px solid var(--gold); background: #f9efd1; font-size: 0.86rem; }
.help-card p { margin: 0; color: var(--muted); }
.help-card strong { margin-bottom: 0.6rem; color: var(--maroon); }
.help-card a { overflow-wrap: anywhere; }
.registration-form { padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); background: white; }
.form-heading { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.form-heading > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--maroon); color: var(--gold); font-family: var(--serif); }
.form-heading p, .form-heading h3 { margin: 0; }
.form-heading p { color: var(--maroon); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.form-heading h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
fieldset { margin: 0; padding: 2rem 0; border: 0; border-bottom: 1px solid var(--line); }
legend { width: 100%; margin-bottom: 1rem; color: var(--maroon); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid--spaced { margin-top: 1.25rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.35rem; color: var(--ink); font-size: 0.76rem; font-weight: 800; }
.field label span { color: var(--maroon); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.75rem; border: 1px solid #cdbfba; border-radius: 0; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .updates-signup input:focus { border-color: var(--maroon); outline: 2px solid rgba(123, 16, 34, 0.15); outline-offset: 0; }
.field-help { margin: -0.75rem 0 1rem; color: var(--muted); font-size: 0.8rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.check-grid label { display: flex; align-items: center; gap: 0.7rem; min-height: 52px; padding: 0.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--maroon); }
.consent { display: flex; align-items: flex-start; gap: 0.7rem; margin: 1.5rem 0; color: var(--muted); font-size: 0.8rem; cursor: pointer; }
.consent input { flex: 0 0 auto; margin-top: 0.2rem; }
.form-footnote { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.72rem; text-align: center; }
.honeypot { position: absolute; left: -9999px; }

.closing { display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: end; gap: 3rem; padding: clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--max-width)) / 2)); background: var(--maroon); color: var(--cream); }
.closing h2 { max-width: 800px; }
.closing > p { margin: 0; color: var(--gold-pale); text-align: right; }
.footer { display: flex; justify-content: space-between; padding: 1.25rem max(var(--gutter), calc((100vw - var(--max-width)) / 2)); background: var(--maroon-deep); color: #dcbfc2; font-size: 0.75rem; }
.footer p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: var(--maroon); color: var(--cream); text-align: center; }
.thanks-card { width: min(620px, 100%); padding: clamp(2rem, 7vw, 5rem); border: 1px solid rgba(242, 193, 77, 0.55); background: var(--maroon-deep); }
.thanks-symbol { display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 1.5rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 2.4rem; }
.thanks-card h1 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 400; line-height: 1; }
.thanks-card > p:not(.eyebrow) { max-width: 440px; margin: 1rem auto 2rem; color: var(--gold-pale); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid rgba(242, 193, 77, 0.3); background: var(--maroon-deep); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 0.7rem 0; }
  .site-nav .nav-cta { padding: 0.7rem; text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 2rem; }
  .hero__art { min-height: 520px; }
  .hero__art svg { width: min(70vw, 370px); }
  .sun-disc { width: min(78vw, 430px); }
  .event-ribbon { position: relative; grid-template-columns: 1fr 1fr; width: 100%; }
  .event-ribbon .countdown { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-section, .registration-section { grid-template-columns: 1fr; gap: 3rem; }
  .registration-copy { position: static; }
  .updates-layout { grid-template-columns: 1fr; }
  .updates-signup { max-width: 520px; margin: 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .brand strong { font-size: 0.9rem; }
  .brand small { font-size: 0.58rem; }
  .brand__mark { width: 38px; height: 38px; }
  .site-nav { top: 68px; }
  .hero { min-height: auto; }
  .hero__copy { padding-top: 4rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero__art { min-height: 430px; }
  .hero__mantra { bottom: 9%; }
  .event-ribbon, .section-heading, .closing { grid-template-columns: 1fr; }
  .event-ribbon .countdown { grid-column: auto; }
  .event-ribbon > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading, .closing { gap: 1.5rem; }
  .category-grid, .form-grid, .check-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 230px; }
  .timeline li, .update { grid-template-columns: 1fr; gap: 0.5rem; }
  .date-stamp { width: 100%; }
  .registration-form { margin-right: calc(var(--gutter) * -0.45); margin-left: calc(var(--gutter) * -0.45); }
  .form-heading { align-items: flex-start; }
  .closing > p { text-align: left; }
  .footer { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
