:root {
  --burgundy: #7a1f2b;
  --burgundy-dark: #50151d;
  --burgundy-light: #a63f4e;
  --cream: #f7f0e3;
  --cream-dark: #eadcc4;
  --green: #27493c;
  --green-soft: #4b665a;
  --ink: #25211d;
  --muted: #6d665e;
  --white: #fffdf9;
  --line: rgba(61, 45, 30, 0.14);
  --shadow: 0 20px 60px rgba(61, 33, 24, 0.12);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }
.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; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--cream); color: var(--burgundy); padding: .7rem 1rem; border-radius: .35rem; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(255,253,249,.94); box-shadow: 0 8px 30px rgba(37,33,29,.08); backdrop-filter: blur(16px); }
.nav-shell { width: min(1260px, calc(100% - 48px)); height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: .72rem; align-items: center; text-decoration: none; color: var(--burgundy-dark); line-height: 1.05; }
.brand strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .15em; }
.brand em { display: block; margin-top: .12rem; font-family: var(--serif); font-size: 1.17rem; font-style: italic; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(122,31,43,.3); border-radius: 50%; background: rgba(247,240,227,.65); }
.brand-mark img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.main-menu { display: flex; align-items: center; gap: 2rem; }
.main-menu > a { position: relative; text-decoration: none; font-size: .94rem; font-weight: 600; color: var(--ink); }
.main-menu > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -.38rem; width: 100%; height: 2px; background: var(--burgundy); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-menu > a:hover::after, .main-menu > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-menu .nav-cta { padding: .7rem 1.05rem; border-radius: 100px; color: var(--white); background: var(--burgundy); transition: transform .2s, background .2s; }
.main-menu .nav-cta:hover { background: var(--burgundy-dark); transform: translateY(-2px); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--burgundy); transition: transform .25s, opacity .25s; }

.hero { min-height: 760px; height: 100svh; max-height: 980px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(#7a1f2b 0.6px, transparent .6px); background-size: 8px 8px; }
.hero-sky { position: absolute; inset: 0; background: radial-gradient(circle at 78% 23%, rgba(255,255,255,.85) 0 5%, transparent 20%), linear-gradient(180deg, #f4e8d7 0%, #f8f1e5 63%, #d9d2bf 100%); }
.mountain-scene { position: absolute; inset: auto 0 0; height: 72%; opacity: .98; }
.mountain-scene svg { width: 100%; height: 100%; }
.mountain-back { fill: #b6b6a2; }
.mountain-snow { fill: #e5dfcf; }
.mountain-front { fill: var(--green); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-top: 72px; }
.hero-copy { max-width: 750px; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--burgundy); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.hero h1 { max-width: 820px; margin: 1.2rem 0 1.25rem; font-family: var(--serif); font-size: clamp(3.25rem, 6.8vw, 6.85rem); line-height: .99; letter-spacing: -.055em; color: var(--burgundy-dark); text-wrap: balance; }
.hero-copy > p { max-width: 610px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #423b35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .78rem 1.3rem; border-radius: 100px; text-decoration: none; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--burgundy); box-shadow: 0 12px 30px rgba(122,31,43,.26); }
.button-primary:hover { background: var(--burgundy-dark); box-shadow: 0 16px 34px rgba(122,31,43,.32); }
.button-ghost { border: 1px solid rgba(80,21,29,.3); color: var(--burgundy-dark); background: rgba(255,253,249,.45); }
.button-ghost:hover { background: var(--white); }
.hero-photo-card { width: min(100%, 390px); justify-self: end; margin: 0; overflow: hidden; border: 8px solid rgba(255,253,249,.94); border-radius: 1.2rem; background: var(--white); box-shadow: 0 24px 70px rgba(48,31,24,.24); transform: rotate(1.4deg); }
.hero-photo-card > img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; object-position: center; }
.hero-photo-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem .8rem; color: var(--burgundy-dark); background: var(--white); font-size: .78rem; }
.hero-photo-card figcaption strong { font-family: var(--serif); font-size: .96rem; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: .2rem; color: rgba(255,255,255,.78); text-decoration: none; font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; transform: translateX(-50%); }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; animation: bob 1.8s ease-in-out infinite; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-heading { max-width: 760px; margin: 0 auto 3.4rem; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .events-header h2, .team-intro h2, .join-banner h2 { margin: .85rem 0 1.1rem; font-family: var(--serif); color: var(--burgundy-dark); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.section-heading h2, .events-header h2 { font-size: clamp(2.35rem, 4.6vw, 4.15rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { position: relative; min-height: 315px; padding: 2rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--white); transition: transform .28s, box-shadow .28s, border-color .28s; }
.feature-card:hover { transform: translateY(-8px); border-color: rgba(122,31,43,.28); box-shadow: var(--shadow); }
.feature-number { position: absolute; right: 1.4rem; top: 1.3rem; color: #b8aea1; font-family: var(--serif); font-size: .8rem; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--burgundy); background: var(--cream); font-family: var(--serif); font-size: 1.55rem; }
.feature-card h3 { margin: 2.3rem 0 .7rem; color: var(--green); font-family: var(--serif); font-size: 1.4rem; }
.feature-card p { margin: 0; color: var(--muted); }
.team-panel { margin-top: 1rem; padding: clamp(2.2rem, 6vw, 4.5rem); border-radius: 1.3rem; background: var(--green); color: var(--white); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; overflow: hidden; position: relative; }
.team-panel::before { content: ""; position: absolute; right: -90px; top: -115px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.03), 0 0 0 90px rgba(255,255,255,.025); }
.eyebrow-light { color: #e8d4bd; }
.team-intro h2, .join-banner h2 { color: var(--white); font-size: clamp(2rem, 3.8vw, 3.35rem); }
.team-intro p, .join-banner p { margin: 0; color: rgba(255,255,255,.7); }
.team-list { position: relative; display: grid; gap: .75rem; }
.person-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: .85rem; background: rgba(255,255,255,.07); backdrop-filter: blur(6px); }
.person-initials { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--cream); font-family: var(--serif); font-weight: 700; }
.person-card h3 { margin: 0; font-family: var(--serif); font-size: 1.1rem; }
.person-card p { margin: .08rem 0 0; color: rgba(255,255,255,.65); font-size: .87rem; }
.gallery-block { padding-top: clamp(4.5rem, 8vw, 7rem); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.6rem; }
.gallery-heading h2 { margin: .7rem 0 0; font-family: var(--serif); color: var(--burgundy-dark); font-size: clamp(2.15rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; }
.gallery-heading > p { max-width: 460px; margin: 0; color: var(--muted); }
.photo-gallery { display: grid; grid-template-columns: 1.35fr .85fr 1fr; grid-template-rows: 230px 230px; gap: .8rem; }
.gallery-item { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 1rem; background: var(--green); cursor: zoom-in; }
.gallery-item-wide { grid-column: 1 / 3; }
.gallery-item-tall { grid-column: 3; grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-item-tall img { object-position: center top; }
.gallery-item span { position: absolute; left: .8rem; bottom: .8rem; z-index: 2; padding: .4rem .7rem; border-radius: 100px; color: var(--white); background: rgba(35,29,25,.72); font-size: .75rem; font-weight: 700; backdrop-filter: blur(8px); }
.gallery-item::after { content: "＋"; position: absolute; right: .8rem; top: .8rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--burgundy); background: rgba(255,253,249,.9); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: scale(1); }
.gallery-hint { margin: .75rem 0 0; color: var(--muted); font-size: .75rem; text-align: right; }
.lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 1rem; color: var(--white); background: transparent; }
.lightbox::backdrop { background: rgba(22,18,16,.9); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; display: block; object-fit: contain; border-radius: .85rem; background: #171310; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.lightbox figcaption { padding: .75rem .25rem 0; color: rgba(255,255,255,.82); text-align: center; }
.lightbox-close { position: absolute; z-index: 2; right: -12px; top: -44px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--white); background: rgba(0,0,0,.35); font-size: 1.7rem; line-height: 1; cursor: pointer; }

.events-section { background: var(--cream); }
.events-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.events-header h2 { margin-bottom: 0; max-width: 650px; }
.filter-group { display: flex; gap: .35rem; padding: .3rem; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.52); }
.filter-button { border: 0; border-radius: 100px; padding: .62rem .9rem; color: var(--muted); background: transparent; font-weight: 700; cursor: pointer; transition: color .2s, background .2s; }
.filter-button:hover { color: var(--burgundy); }
.filter-button.is-active { color: var(--white); background: var(--burgundy); }
.event-list { display: grid; gap: .75rem; }
.event-card { display: grid; grid-template-columns: 115px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 1.05rem; background: var(--white); transition: transform .25s, box-shadow .25s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(65,43,30,.09); }
.event-card.is-hidden { display: none; }
.event-card time { min-height: 90px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: .8rem; color: var(--burgundy); background: var(--cream); }
.event-card time strong { font-family: var(--serif); font-size: 2.15rem; line-height: 1; }
.event-card time span { margin-top: .25rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.event-status { display: inline-flex; padding: .25rem .55rem; border-radius: 100px; color: var(--burgundy); background: rgba(122,31,43,.09); font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.event-status-past { color: var(--green); background: rgba(39,73,60,.09); }
.event-details h3 { margin: .35rem 0 .25rem; font-family: var(--serif); font-size: 1.35rem; color: var(--green); }
.event-details p { margin: 0; color: var(--muted); }
.calendar-button, .event-link { min-width: 190px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem .9rem; border: 1px solid rgba(122,31,43,.25); border-radius: 100px; color: var(--burgundy); background: transparent; text-decoration: none; font-size: .83rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.calendar-button:hover, .event-link:hover { color: var(--white); background: var(--burgundy); }
.calendar-button svg, .event-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.empty-events { padding: 2rem; border: 1px dashed var(--line); border-radius: 1rem; text-align: center; color: var(--muted); }
.join-banner { margin-top: 4.5rem; padding: clamp(2.2rem, 5vw, 4rem); border-radius: 1.3rem; background: var(--burgundy); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.join-banner > div { max-width: 720px; }
.join-banner h2 { margin-bottom: .65rem; }
.button-cream { flex: 0 0 auto; color: var(--burgundy); background: var(--cream); box-shadow: 0 12px 28px rgba(40,10,15,.2); }
.button-cream:hover { background: var(--white); }

.site-footer { position: relative; padding: 4.5rem 0 1.4rem; color: var(--cream); background: #221d19; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 3rem; align-items: start; }
.brand-footer { color: var(--cream); }
.brand-footer .brand-mark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.footer-note { max-width: 340px; color: rgba(255,255,255,.55); }
.footer-contact { display: flex; flex-direction: column; gap: .45rem; }
.footer-contact > span { color: rgba(255,255,255,.48); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.footer-contact a { text-decoration-color: rgba(255,255,255,.28); text-underline-offset: 3px; }
.social-links { display: flex; gap: 1rem; margin-top: .55rem; font-size: .9rem; }
.share-button { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; color: var(--cream); background: rgba(255,255,255,.05); cursor: pointer; }
.share-button:hover { background: rgba(255,255,255,.1); }
.share-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.42); font-size: .78rem; }
.footer-bottom a { color: inherit; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: .75rem 1rem; border-radius: .6rem; color: var(--white); background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 900px) {
  .shell, .nav-shell { width: min(100% - 32px, 720px); }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 6rem 2rem; background: var(--cream); opacity: 0; visibility: hidden; transform: translateY(-16px); transition: opacity .25s, visibility .25s, transform .25s; }
  .main-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-menu > a { font-family: var(--serif); font-size: 1.8rem; }
  .main-menu .nav-cta { padding: .75rem 1.3rem; color: var(--white); font-family: var(--sans); font-size: 1rem; }
  .hero { min-height: 820px; height: auto; max-height: none; padding: 130px 0 95px; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 0; }
  .hero h1 { max-width: 720px; font-size: clamp(3.25rem, 12vw, 5.5rem); }
  .hero-photo-card { width: min(86%, 420px); justify-self: start; margin-left: 5%; }
  .mountain-scene { height: 49%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .team-panel { grid-template-columns: 1fr; }
  .gallery-heading { align-items: start; flex-direction: column; }
  .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery-item-wide { grid-column: 1 / 3; }
  .gallery-item-tall { grid-column: 1; grid-row: 2 / 4; }
  .events-header { align-items: start; flex-direction: column; }
  .event-card { grid-template-columns: 100px 1fr; }
  .calendar-button, .event-link { grid-column: 2; justify-self: start; }
  .join-banner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .share-button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 580px) {
  .shell, .nav-shell { width: min(100% - 24px, 540px); }
  .nav-shell { height: 72px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: 760px; padding-top: 118px; }
  .hero h1 { font-size: clamp(2.85rem, 15vw, 4.2rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-photo-card { width: 100%; margin-left: 0; }
  .scroll-cue { display: none; }
  .hero-actions .button { width: 100%; }
  .section { padding: 4.5rem 0; }
  .feature-card { padding: 1.5rem; }
  .team-panel, .join-banner { padding: 1.55rem; }
  .photo-gallery { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .45rem; }
  .gallery-item { flex: 0 0 84%; height: 270px; scroll-snap-align: center; }
  .gallery-item-tall img { object-position: center 28%; }
  .gallery-hint { text-align: left; }
  .filter-group { width: 100%; }
  .filter-button { flex: 1; padding-inline: .5rem; }
  .event-card { grid-template-columns: 78px 1fr; gap: .9rem; padding: 1rem; }
  .event-card time { min-height: 78px; }
  .event-card time strong { font-size: 1.75rem; }
  .event-card time span { font-size: .63rem; }
  .calendar-button, .event-link { grid-column: 1 / -1; width: 100%; }
  .join-banner .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .share-button { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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