/* Alberta Air Tours — site styles */
:root {
  --red: #c8191f;
  --red-dark: #9e1217;
  --ink: #16191d;
  --ink-2: #2b3036;
  --slate: #5b636d;
  --line: #e4e6e9;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --sky: #e9f2fb;
  --sky-deep: #0f2a44;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-style: italic; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; text-transform: uppercase; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(-20deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 26px; border-radius: 999px; white-space: nowrap;
  background: var(--red); color: #fff; text-decoration: none;
  border: 2px solid var(--red);
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200, 25, 31, .3); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-weight: 500; font-size: .95rem; color: var(--ink-2); text-decoration: none;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--red); }
.nav-links .nav-cta a { background: var(--red); color: #fff; margin-left: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.nav-links .nav-cta a:hover { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav-links .nav-cta a { margin: 14px 0 0; text-align: center; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: grid; align-items: end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,18,28,.15) 0%, rgba(10,18,28,0) 30%, rgba(10,18,28,.55) 65%, rgba(10,18,28,.85) 100%),
    linear-gradient(90deg, rgba(10,18,28,.45) 0%, rgba(10,18,28,0) 60%);
}
.hero__content { padding: 0 0 clamp(56px, 9vw, 110px); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 19ch; margin-bottom: .25em; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero h1 em { color: #fff; font-style: italic; background: linear-gradient(transparent 62%, var(--red) 62%, var(--red) 92%, transparent 92%); padding: 0 .1em; }
.hero p.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 40ch; opacity: .92; margin-bottom: 30px; }
.hero .eyebrow { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Event ribbon */
.ribbon { background: var(--ink); color: #fff; }
.ribbon .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 22px; }
.ribbon__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: #ff6b70; font-size: .95rem; }
.ribbon__title { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 1.7rem; text-transform: uppercase; line-height: 1.1; }
@media (min-width: 1100px) { .ribbon .wrap { flex-wrap: nowrap; } }
.ribbon__meta { display: flex; gap: 28px; flex-wrap: wrap; color: rgba(255,255,255,.8); font-size: .95rem; }
.ribbon__meta span { display: inline-flex; gap: 8px; align-items: center; }
.ribbon__meta svg { width: 18px; height: 18px; color: #ff6b70; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--mist { background: var(--mist); }
.section--sky { background: linear-gradient(180deg, var(--sky), #fff); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 1.15rem; color: var(--slate); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.mission { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.mission blockquote {
  margin: 0; font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; color: var(--ink);
}
.mission blockquote strong { color: var(--red); font-weight: 700; }
.mission__img { position: relative; }
.mission__img img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.mission__img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--red); border-radius: var(--radius); z-index: -1; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 56px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; }
.stat__num { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--red); }
.stat__label { color: var(--slate); font-size: .95rem; margin-top: 6px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pillars, .mission { grid-template-columns: 1fr; } }
.pillar {
  background: #fff; border-radius: var(--radius); padding: 34px 30px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform-origin: left; }
.pillar__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: var(--red); margin-bottom: 20px; }
.pillar__icon svg { width: 28px; height: 28px; }
.pillar ul { margin: 0; padding: 0; list-style: none; }
.pillar li { position: relative; padding-left: 24px; margin-bottom: 12px; color: var(--slate); font-size: .98rem; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--red); transform: skewX(-20deg); }
.pillar li strong { color: var(--ink); }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(158,18,23,.94) 0%, rgba(200,25,31,.85) 45%, rgba(22,25,29,.55) 100%); }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; max-width: 56ch; opacity: .95; }
.cta-band .eyebrow { color: #fff; }

/* Gallery strip */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery img:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } .gallery img { aspect-ratio: 1; } }

/* ---------- Page header ---------- */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(48px, 7vw, 80px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,28,.35), rgba(10,18,28,.78)); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { font-size: 1.2rem; max-width: 52ch; opacity: .9; margin: 14px 0 0; }
.page-hero .eyebrow { color: #fff; }

/* ---------- Prose ---------- */
.prose { font-size: 1.08rem; }
.prose p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 4.4rem; line-height: .8; padding: 6px 10px 0 0; color: var(--red);
}
.split { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.split aside img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split aside { position: static; grid-template-columns: 1fr 1fr; } }

.award {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
  background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 4px); padding: 32px; margin-top: 56px;
}
.award img { border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; }
.award h3 { color: #fff; font-style: italic; text-transform: uppercase; font-size: 1.9rem; }
.award p { color: rgba(255,255,255,.82); margin: 0; }
@media (max-width: 640px) { .award { grid-template-columns: 1fr; } .award img { max-width: 200px; } }

.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.timeline li { border-top: 3px solid var(--red); padding-top: 14px; }
.timeline b { display: block; font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.timeline span { color: var(--slate); font-size: .95rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.member {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--mist); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.member h3 { margin: 0; font-size: 1.6rem; }
.member__role { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: .9rem; color: var(--red); margin-bottom: 10px; }
.member__teaser { color: var(--slate); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.member button {
  margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer;
  font: 600 .95rem var(--body); color: var(--ink); display: inline-flex; gap: 8px; align-items: center;
}
.member button:hover { color: var(--red); }
.member button svg { width: 16px; height: 16px; transition: transform .2s; }
.member button:hover svg { transform: translateX(3px); }
.member template { display: none; }

dialog.bio {
  border: 0; padding: 0; border-radius: 18px; width: min(760px, 100% - 32px); max-height: min(88vh, 900px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
dialog.bio::backdrop { background: rgba(10,18,28,.6); backdrop-filter: blur(3px); }
.bio__head { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: end; padding: 28px 28px 0; }
.bio__head img { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; }
.bio__head h2 { margin: 0; font-size: 2.4rem; }
.bio__body { padding: 24px 28px 32px; color: var(--ink-2); }
.bio__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.bio__close:hover { background: var(--line); }
@media (max-width: 560px) { .bio__head { grid-template-columns: 1fr; } .bio__head img { width: 120px; height: 120px; } }

/* ---------- Tour page ---------- */
.event-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .event-grid { grid-template-columns: 1fr; } }
.event-card { position: sticky; top: 110px; background: var(--ink); color: #fff; border-radius: 18px; padding: 30px; }
.event-card h3 { color: #fff; font-style: italic; text-transform: uppercase; font-size: 1.8rem; }
.event-card dl { margin: 0 0 24px; display: grid; gap: 14px; }
.event-card dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: #ff8a8e; }
.event-card dd { margin: 0; font-weight: 500; }
.event-card .btn { width: 100%; justify-content: center; }
.event-card small { display: block; margin-top: 14px; color: rgba(255,255,255,.65); text-align: center; }

.note { display: flex; gap: 14px; background: #fff7e6; border: 1px solid #f6d58e; border-radius: 12px; padding: 16px 18px; margin: 28px 0; color: #6b4a00; }
.note svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 40px; padding: 0; list-style: none; }
.highlights li { display: flex; gap: 14px; align-items: flex-start; background: var(--mist); border-radius: 12px; padding: 16px; font-size: .97rem; }
.highlights .ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--red); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.highlights .ico svg { width: 20px; height: 20px; }

.schedule { list-style: none; margin: 18px 0 32px; padding: 0; border-left: 2px solid var(--line); }
.schedule li { position: relative; padding: 0 0 22px 28px; }
.schedule li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.schedule time { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.schedule span { color: var(--slate); }

.signoff { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; font-style: italic; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--ink); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: var(--red); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--slate); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd4da; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,25,31,.12); }
.field .hint { font-size: .85rem; color: var(--slate); margin-top: 6px; }
.fieldset-title { grid-column: 1 / -1; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.3rem; color: var(--ink); border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-top: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; background: var(--mist); border-radius: 10px; padding: 14px 16px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }
.check label { margin: 0; font-weight: 400; color: var(--ink-2); }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-points { display: grid; gap: 16px; margin-top: 28px; }
.contact-point { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.contact-point:hover { border-color: var(--red); background: #fffafa; color: var(--ink); }
.contact-point .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.contact-point .ico svg { width: 22px; height: 22px; }
.contact-point small { display: block; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; }
.site-footer h4 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

@media (max-width: 700px) {
  .mission__img::before { inset: 10px -8px -10px 8px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
html, body { overflow-x: clip; }

/* ---------- Schedule ---------- */
.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; }

.sched-toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 10px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button { font: 600 .95rem var(--body); border: 0; background: none; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--slate); }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.sched-search { flex: 1 1 280px; position: relative; display: flex; align-items: center; }
.sched-search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--slate); pointer-events: none; }
.sched-search input { width: 100%; font: inherit; font-size: 1rem; padding: 11px 14px 11px 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.sched-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,25,31,.12); }
.sched-toggle { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: .95rem; cursor: pointer; user-select: none; }
.sched-toggle input { width: 18px; height: 18px; accent-color: var(--red); }
.sched-count { color: var(--slate); font-size: .9rem; margin: 6px 0 24px; min-height: 1.4em; }

.sched-month { margin-bottom: 40px; }
.sched-month h2 { font-size: 1.6rem; position: sticky; top: 76px; z-index: 2; background: var(--mist); padding: 10px 0; margin: 0 0 8px; }
.sched-month__items { display: grid; gap: 14px; }

.ev { display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow .2s, border-color .2s; }
.ev:hover { box-shadow: var(--shadow); }
.ev--featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), var(--shadow); background: linear-gradient(90deg, #fff6f6, #fff 40%); }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink); color: #fff; padding: 10px 0; height: fit-content; line-height: 1; text-align: center; }
.ev--featured .ev-date { background: var(--red); }
.ev-date__mon { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .8; }
.ev-date__day { font-family: var(--display); font-weight: 700; font-size: 2.2rem; margin: 4px 0 2px; }
.ev-date__wd { font-size: .75rem; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.ev-body { min-width: 0; }
.ev-title { font-size: 1.5rem; margin: 2px 0 8px; }
.ev-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-badges:empty { display: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.badge svg { width: 12px; height: 12px; }
.badge--aat { background: var(--red); color: #fff; }
.badge--code { background: var(--sky-deep); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.badge--muted { background: var(--mist); color: var(--slate); }
.ev-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--slate); font-size: .95rem; }
.ev-meta li { display: flex; gap: 8px; align-items: flex-start; }
.ev-meta svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--red); }
.ev-meta a { color: inherit; text-decoration-color: var(--line); overflow-wrap: anywhere; }
.ev-meta a:hover { color: var(--red); }
.ev-desc { margin-top: 10px; }
.ev-desc summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink); width: fit-content; }
.ev-desc > div { margin-top: 8px; padding: 12px 14px; background: var(--mist); border-radius: 10px; font-size: .95rem; overflow-wrap: anywhere; }
.ev-desc ul, .ev-desc ol { padding-left: 1.2em; margin: .4em 0; }
.ev-actions { align-self: start; }
.ev-actions a { white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; text-decoration: none; }
.ev-actions svg { width: 16px; height: 16px; }
.ev-actions a:hover { border-color: var(--red); }
@media (max-width: 760px) { .ev { grid-template-columns: 60px 1fr; } .ev-actions { grid-column: 2; } }
@media (max-width: 560px) { .ev { gap: 4px 14px; padding: 16px; } .ev-date__day { font-size: 1.8rem; } .ev-title { font-size: 1.3rem; } }

.ev-empty { background: #fff; border: 1px dashed #cfd4da; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--slate); }
.ev-empty p:last-child { margin: 0; }
.ev-skeleton { display: grid; gap: 14px; }
.ev-skeleton div { height: 96px; border-radius: var(--radius); background: linear-gradient(90deg, #eceff2 25%, #f6f7f9 50%, #eceff2 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

.upcoming { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .upcoming { grid-template-columns: 1fr; } }
.ev-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ev-mini { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.ev-mini .ev-date { padding: 8px 0; }
.ev-mini .ev-date__day { font-size: 1.7rem; }
.ev-mini.ev--featured { border-color: var(--red); background: linear-gradient(90deg, #fff6f6, #fff 50%); }
.ev-mini__title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); line-height: 1.15; margin-top: 4px; }
.ev-mini__meta { color: var(--slate); font-size: .9rem; }
.upcoming .ev-skeleton div { height: 84px; }
