:root {
  --navy: #173f65;
  --navy-strong: #102f4d;
  --blue: #2e75b6;
  --blue-bright: #3d8bd2;
  --blue-soft: #d6e4f0;
  --blue-pale: #eef5fb;
  --gold: #bf7600;
  --gold-soft: #fff1cf;
  --green: #315d23;
  --green-soft: #e2f0df;
  --teal: #007c83;
  --teal-soft: #d9f1f2;
  --red: #b4232c;
  --red-soft: #fbe5e7;
  --ink: #182033;
  --muted: #586477;
  --line: #d8e0e9;
  --surface: #ffffff;
  --background: #f5f8fb;
  --shadow-sm: 0 8px 24px rgba(22, 52, 80, 0.08);
  --shadow-lg: 0 24px 70px rgba(13, 45, 72, 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 4px solid #f7b84b;
  outline-offset: 3px;
  border-radius: 4px;
}

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: #fff; color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow-light { color: #d7eaff; }
.eyebrow-gold { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 63, 101, 0.97);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}

.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { font-size: 1.55rem; line-height: 1; font-weight: 900; letter-spacing: -0.05em; }
.brand-copy { display: grid; line-height: 1.05; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.45); }
.brand-copy strong { font-size: 0.9rem; }
.brand-copy small { margin-top: 4px; font-size: 0.67rem; letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.primary-navigation { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links a { min-height: 48px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 12px; color: #eaf4fc; text-decoration: none; font-size: .92rem; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.13); }
.nav-links a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: #f7b84b; }
.account-actions { display: flex; align-items: center; gap: 12px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.account-link { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; color: white; text-decoration: none; font-weight: 700; }
.text-button, .text-button-link { border: 0; background: transparent; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.text-button:hover, .text-button-link:hover { color: #fff; text-decoration: underline; }
.inline-form { display: inline-flex; margin: 0; }
.nav-toggle { display: none; margin-left: auto; min-width: 52px; min-height: 52px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: transparent; color: #fff; align-items: center; justify-content: center; gap: 8px; }
.menu-close { display: none; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(46,117,182,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); color: #fff; background: var(--navy); box-shadow: 0 12px 24px rgba(31,78,121,.24); }
.button-small { min-height: 44px; padding: 9px 16px; font-size: .88rem; border-radius: 11px; }
.button-light { background: #fff; color: var(--navy); box-shadow: none; }
.button-light:hover { color: var(--navy); background: var(--blue-soft); }
.button-outline { border-color: currentColor; background: transparent; color: var(--blue); box-shadow: none; }
.button-outline:hover { border-color: var(--navy); background: var(--navy); }
.button-gold { background: var(--gold); }
.button-danger { background: var(--red); }
.button-wide { width: 100%; }

.demo-notice { background: #fff5dc; border-bottom: 1px solid #e8c77e; color: #5d4105; font-size: .9rem; }
.demo-notice .shell { min-height: 46px; display: flex; align-items: center; gap: 9px; }
.flash-region { padding-top: 18px; }
.flash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; }
.flash + .flash { margin-top: 10px; }
.flash-success { border-color: #8abe80; background: var(--green-soft); color: #244719; }
.flash-error { border-color: #e4a4a9; background: var(--red-soft); color: #7e1820; }
.flash-info { border-color: #a9c8e5; background: var(--blue-pale); color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.15) 0 2px, transparent 3px) 0 0/25px 25px,
    linear-gradient(122deg, var(--navy-strong) 0%, var(--navy) 48%, var(--blue) 100%);
}
.hero::after { content: ""; position: absolute; right: -10%; bottom: -55%; width: 48vw; height: 48vw; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; min-height: 520px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding-block: 76px; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2.6rem, 5vw, 5.25rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 900; }
.hero h1 span { color: #cfe6f8; }
.hero-copy > p:not(.eyebrow) { max-width: 660px; margin: 24px 0 30px; color: #e8f3fc; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .button-light { color: var(--navy); }
.hero-actions .button-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.community-visual { position: relative; min-height: 350px; display: grid; place-items: center; }
.community-ring { width: min(330px, 78vw); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 24px rgba(255,255,255,.05), 0 30px 70px rgba(0,0,0,.18); }
.community-ring::before, .community-ring::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.community-ring::before { width: 64px; height: 64px; left: 5%; top: 7%; }
.community-ring::after { width: 38px; height: 38px; right: 5%; bottom: 15%; }
.visual-card { width: 220px; padding: 24px; border-radius: 24px; background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); text-align: center; transform: rotate(-3deg); }
.visual-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 22px; background: var(--gold-soft); color: var(--gold); }
.visual-icon .icon { width: 34px; height: 34px; }
.visual-card strong { display: block; font-size: 1.25rem; }
.visual-card span { display: block; color: var(--muted); font-size: .86rem; }

.stats-strip { position: relative; z-index: 3; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; min-width: 0; padding: 28px 20px; text-align: center; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat strong { display: block; color: var(--blue); font-size: 1.75rem; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; }

.section { padding-block: 76px; }
.section-white { background: #fff; }
.section-blue { background: var(--blue-pale); }
.section-gold { background: linear-gradient(135deg, #fff8e8, var(--gold-soft)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.13; letter-spacing: -.03em; font-weight: 900; }
.section-heading p { max-width: 680px; margin: 8px 0 0; color: var(--muted); }
.section-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: var(--tone, var(--blue)); }
.feature-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 20px; color: var(--tone, var(--blue)); background: color-mix(in srgb, var(--tone, var(--blue)) 13%, white); }
.feature-icon .icon { width: 31px; height: 31px; }
.feature-card h3 { margin: 0; color: var(--navy); font-size: 1.3rem; font-weight: 900; }
.feature-card p { color: var(--muted); }
.feature-card .card-link { margin-top: auto; display: flex; align-items: center; gap: 8px; color: var(--tone, var(--blue)); font-weight: 800; }
.tone-blue { --tone: var(--blue); }
.tone-green { --tone: var(--green); }
.tone-teal { --tone: var(--teal); }
.tone-red { --tone: var(--red); }
.tone-gold { --tone: var(--gold); }

.event-list { display: grid; gap: 16px; }
.event-card { display: grid; grid-template-columns: 112px 1fr auto; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.event-date { display: grid; align-content: center; justify-items: center; padding: 18px; background: var(--tone, var(--blue)); color: #fff; text-align: center; }
.tone-gold .event-date { color: #1b0e00; }
.event-date strong { font-size: 2rem; line-height: 1; }
.event-date span { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.event-content { padding: 20px 24px; }
.event-content h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.15rem; font-weight: 900; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .86rem; }
.event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-content p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.event-action { min-width: 190px; display: grid; place-items: center; padding: 20px; border-left: 1px solid var(--line); }
.rsvp-active { background: var(--green); }

.discount-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.discount-mini { padding: 22px; border: 1px solid #e4be6f; border-radius: 16px; background: rgba(255,255,255,.78); }
.discount-mini strong { display: block; color: #7c4a00; }
.discount-mini span { display: block; margin-top: 8px; color: var(--ink); font-size: .86rem; }

.page-hero { position: relative; overflow: hidden; padding-block: 62px; background: linear-gradient(120deg, var(--navy-strong), var(--navy) 60%, var(--blue)); color: #fff; }
.page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -170px; border: 55px solid rgba(255,255,255,.08); border-radius: 50%; }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 900; }
.page-hero p { max-width: 720px; margin: 14px 0 0; color: #e2eff9; font-size: 1.08rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-pill { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; text-decoration: none; }
.filter-pill:hover, .filter-pill[aria-current="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }

.calendar-panel { margin-bottom: 34px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.calendar-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-header h2 { margin: 0; color: var(--navy); font-size: 1.4rem; font-weight: 900; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-day, .calendar-weekday { min-height: 74px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-weekday { min-height: auto; background: var(--blue-soft); color: var(--navy); font-size: .78rem; font-weight: 800; text-align: center; }
.calendar-day.has-event { background: var(--blue-pale); }
.calendar-marker { width: 26px; height: 26px; display: grid; place-items: center; margin: 5px 0 0 auto; border-radius: 50%; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 900; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.content-card-header { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--tone, var(--blue)); color: #fff; }
.content-card-header h2, .content-card-header h3 { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 900; }
.category-badge { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--tone, var(--blue)); font-size: .73rem; font-weight: 900; }
.tone-blue .category-badge { color: var(--navy); }
.tone-gold .category-badge { color: #6f3f00; background: #fff; }
.content-card-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.deal { margin: 0 0 20px; color: var(--ink); font-weight: 800; }
.detail-list { display: grid; gap: 14px; margin: 0 0 22px; }
.detail-list div { display: grid; gap: 2px; }
.detail-list dt { color: var(--muted); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.detail-list dd { margin: 0; }
.content-card-body .button { margin-top: auto; align-self: flex-start; }
.service-card .content-card-header { justify-content: flex-start; }
.service-card .feature-icon { flex: 0 0 auto; width: 52px; height: 52px; margin: 0; border-radius: 16px; background: rgba(255,255,255,.18); color: #fff; }
.service-card .content-card-header div:last-child span { display: block; color: #fff; opacity: 1; font-size: .8rem; font-weight: 700; }
.service-card.tone-gold .content-card-header h2,
.service-card.tone-gold .content-card-header div:last-child span { color: #1b0e00; }

.form-page { padding-block: 70px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 36px; align-items: start; }
.form-card { padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-card-narrow { width: min(100%, 650px); margin-inline: auto; }
.form-card h1, .form-card h2 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; }
.form-intro { margin: 8px 0 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 7px; margin-bottom: 20px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 800; }
.field small { color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 15px; border: 2px solid #cbd5df; border-radius: 11px; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(46,117,182,.16); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 80px; }
.password-toggle { position: absolute; right: 8px; top: 7px; min-height: 40px; padding: 5px 11px; border: 0; border-radius: 8px; background: var(--blue-pale); color: var(--navy); font-size: .78rem; font-weight: 800; }
.form-links { margin-top: 22px; text-align: center; }
.side-panel { padding: 28px; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.side-panel h2 { color: #fff; font-size: 1.4rem; font-weight: 900; }
.side-panel p { color: #dceaf6; }
.benefit-list { display: grid; gap: 18px; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: flex-start; gap: 12px; }
.benefit-list .icon { margin-top: 4px; color: #f7b84b; }
.demo-credentials { margin-top: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.08); font-size: .83rem; }
.demo-credentials code { display: block; color: #fff; overflow-wrap: anywhere; }

.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; }
.profile-summary { padding: 30px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.profile-avatar { width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 28px; background: rgba(255,255,255,.12); }
.profile-avatar .icon { width: 42px; height: 42px; }
.profile-summary h1 { margin: 0; color: #fff; font-size: 1.55rem; font-weight: 900; }
.profile-summary p { color: #dceaf6; overflow-wrap: anywhere; }
.profile-content { display: grid; gap: 22px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.panel h2 { margin: 0 0 18px; color: var(--navy); font-size: 1.4rem; font-weight: 900; }
.empty-state { padding: 34px; border: 2px dashed #b9c9d8; border-radius: var(--radius); background: var(--blue-pale); color: var(--muted); text-align: center; }
.discount-warning { margin-bottom: 24px; }
.consent-field label, .preference-list label { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; }
.consent-field input, .preference-list input { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--blue); }
.preference-list { display: grid; gap: 16px; margin-bottom: 24px; }
.danger-panel { border-color: #e4a4a9; background: #fffafa; }
.danger-panel h2 { color: var(--red); }
.footer-link { color: #fff; }
.compact-events .event-content { align-self: center; }

.site-footer { padding: 58px 0 24px; background: var(--navy-strong); color: #dceaf6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 55px; }
.brand-footer { color: #fff; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 1rem; font-weight: 900; }
.site-footer p { max-width: 420px; font-size: .9rem; }
.footer-links, .contact-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .contact-list a { color: #dceaf6; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: 4px; color: #82bae6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: #a9c1d5; font-size: .78rem; }

.admin-shell { min-height: calc(100vh - 128px); display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { padding: 32px 20px; background: var(--navy); color: #fff; }
.admin-sidebar h2 { margin: 0 10px 25px; color: #fff; font-size: 1.2rem; }
.admin-nav { display: grid; gap: 8px; }
.admin-nav a { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: #e9f4fc; text-decoration: none; font-weight: 800; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.admin-content { min-width: 0; padding: 38px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.admin-header h1 { margin: 0; color: var(--navy); font-size: 2rem; font-weight: 900; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.metric { padding: 24px; border: 1px solid var(--line); border-top: 6px solid var(--tone, var(--blue)); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.metric strong { display: block; color: var(--tone, var(--blue)); font-size: 2rem; }
.metric span { color: var(--muted); font-size: .82rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: var(--blue-soft); color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table tr:last-child td { border-bottom: 0; }
.admin-list-panel { margin-top: 24px; }

@media (max-width: 1050px) {
  .nav-toggle { display: inline-flex; }
  .primary-navigation { position: fixed; inset: 82px 0 auto; max-height: calc(100vh - 82px); display: none; overflow-y: auto; padding: 24px 20px 32px; background: var(--navy-strong); box-shadow: var(--shadow-lg); }
  .primary-navigation.is-open { display: block; }
  .nav-links, .account-actions { display: grid; gap: 8px; }
  .nav-links a { padding-inline: 18px; }
  .account-actions { margin-top: 18px; padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.17); }
  .nav-toggle[aria-expanded="true"] .menu-open { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-close { display: block; }
  .hero-grid { grid-template-columns: 1fr .6fr; gap: 30px; }
  .feature-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .discount-row { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .side-panel { order: -1; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 74px; }
  .primary-navigation { inset-block-start: 74px; max-height: calc(100vh - 74px); }
  .brand-copy { display: none; }
  .nav-toggle span { display: none; }
  .demo-notice .shell { padding-block: 9px; align-items: flex-start; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 56px; }
  .hero h1 { width: 100%; max-width: 100%; font-size: clamp(2.35rem, 11.5vw, 3.2rem); letter-spacing: -.045em; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .community-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-block: 54px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .feature-grid, .card-grid, .discount-row { grid-template-columns: 1fr; }
  .feature-card { min-height: 290px; }
  .event-card { grid-template-columns: 86px 1fr; }
  .event-action { grid-column: 1 / -1; min-width: 0; padding: 14px; border-top: 1px solid var(--line); border-left: 0; }
  .event-action .button { width: 100%; }
  .calendar-panel { padding: 16px; }
  .calendar-day, .calendar-weekday { padding: 4px; }
  .calendar-day { min-height: 58px; }
  .calendar-weekday { min-height: auto; font-size: .66rem; }
  .calendar-marker { width: 20px; height: 20px; font-size: .62rem; }
  .form-page { padding-block: 45px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 18px 14px; }
  .admin-sidebar h2 { margin-bottom: 12px; }
  .admin-nav { display: flex; overflow-x: auto; }
  .admin-nav a { flex: 0 0 auto; }
  .admin-content { padding: 26px 14px; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .demo-notice, .site-footer, .button, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .page-hero { padding-block: 20px; background: #fff; color: #000; }
  .event-card, .content-card, .panel { box-shadow: none; break-inside: avoid; }
}
