/* =============================================================
   Circle City Rotary - Public Stylesheet
   Mobile-first, modern, accessible. Rotary brand palette.
   ============================================================= */

:root {
  /* Rotary brand palette */
  --royal:      #17458F;   /* Rotary royal blue */
  --royal-dark: #0f2f63;
  --azure:      #0067C8;
  --sky:        #00A2E0;
  --gold:       #F7A81B;
  --gold-soft:  #F9C846;
  --cardinal:   #E0241B;   /* fire accent */
  --ice:        #5BC8E8;   /* ice accent */

  /* Neutrals */
  --ink:        #14213d;
  --body:       #374151;
  --muted:      #6b7280;
  --line:       #e5e7eb;
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;
  --bg-tint:    #eef3fb;

  --radius:     16px;
  --radius-sm:  10px;
  --shadow-sm:  0 1px 3px rgba(20,33,61,.08), 0 1px 2px rgba(20,33,61,.06);
  --shadow:     0 10px 30px rgba(20,33,61,.10);
  --shadow-lg:  0 24px 60px rgba(20,33,61,.16);

  --maxw:       1200px;
  --header-h:   76px;

  --font-head:  'Sora', 'Poppins', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--azure); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--royal); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
  color: var(--azure); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--royal); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--royal-dark); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-soft); color: var(--royal-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--royal { background: var(--royal); color: #fff; }
.btn--royal:hover { background: var(--royal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn--ghost:hover { background: var(--royal); color: #fff; }
.btn--light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--royal); }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn--lg { font-size: 1.08rem; padding: 1em 2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img, .brand svg { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); color: var(--royal); font-size: 1.06rem; font-weight: 700; }
.brand-text span { font-size: .7rem; color: var(--muted); }

.nav-links { display: none; list-style: none; gap: .35rem; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink);
  padding: .55rem .8rem; border-radius: 8px; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--royal); background: var(--bg-tint); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 10px; border-radius: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--royal); border-radius: 3px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(-120%); transition: transform .35s var(--ease);
  z-index: 99; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px; }
.mobile-menu a {
  display: block; padding: 14px 16px; font-family: var(--font-head); font-weight: 500;
  color: var(--ink); border-radius: 10px;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--bg-tint); color: var(--royal); }
.mobile-menu .btn { margin: 10px; width: calc(100% - 20px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal) 45%, var(--azure) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(247,168,27,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(0,162,224,.4), transparent 60%);
}
.hero-inner {
  position: relative;
  padding-top: clamp(64px, 11vw, 140px);
  padding-bottom: clamp(56px, 9vw, 120px);
  max-width: 760px;
}
.hero h1 { color: #fff; margin-bottom: .4em; overflow-wrap: break-word; word-wrap: break-word; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 54ch; }
.hero .btn-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-wheel {
  position: absolute; right: -80px; bottom: -80px; width: 360px; height: 360px;
  opacity: .12; animation: spin 60s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .hero-wheel { width: 220px; height: 220px; right: -70px; bottom: -70px; opacity: .10; }
}
.trust-bar {
  position: relative; display: flex; flex-wrap: wrap; gap: 8px 28px;
  padding: 16px 0; color: rgba(255,255,255,.85); font-size: .92rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.trust-bar i { color: var(--gold-soft); margin-right: .4rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/10; background: var(--bg-tint); position: relative; overflow: hidden; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--royal); background: linear-gradient(135deg, var(--bg-tint), #fff);
  font-size: 2.4rem;
}
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: .82rem; color: var(--gold); font-weight: 600; font-family: var(--font-head); letter-spacing: .03em; }
.card-body h3 { margin: .3rem 0 .5rem; }
.card-body p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

.badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .3em .75em;
  border-radius: 999px; font-size: .75rem; font-weight: 600; font-family: var(--font-head);
  background: var(--bg-tint); color: var(--royal);
}
.badge i { font-size: .8em; }

/* ---------- Feature / icon blocks ---------- */
.feature { text-align: center; padding: 8px; }
.feature .ico {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--azure));
  box-shadow: var(--shadow-sm);
}
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Split / about ---------- */
.split { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
.quote {
  border-left: 4px solid var(--gold); padding: 8px 0 8px 22px; margin: 24px 0;
  font-family: var(--font-head); font-style: italic; color: var(--ink); font-size: 1.2rem;
}
.quote cite { display: block; font-size: .9rem; color: var(--muted); font-style: normal; margin-top: .5rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--royal); line-height: 1; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Event / calendar ---------- */
.event-row {
  display: flex; gap: 18px; align-items: flex-start; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.date-chip {
  flex: 0 0 auto; width: 72px; text-align: center; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.date-chip .d { background: var(--royal); color: #fff; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; padding: 6px 0; }
.date-chip .m { background: #fff; color: var(--royal); font-size: .8rem; font-weight: 600; text-transform: uppercase; padding: 4px 0; letter-spacing: .05em; }
.event-row .meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.event-row .meta i { color: var(--azure); margin-right: .35rem; }

/* Calendar grid */
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.calendar-head h2 { margin: 0; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--royal); font-size: 1rem; }
.cal-nav button:hover { background: var(--bg-tint); }
.calendar {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.calendar th { background: var(--royal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem; padding: 10px 4px; text-transform: uppercase; letter-spacing: .04em; }
.calendar td { border: 1px solid var(--line); vertical-align: top; height: 96px; width: 14.28%; padding: 6px; position: relative; }
.calendar td.other { background: var(--bg-soft); color: var(--muted); }
.calendar td.today { background: #fff7e6; }
.calendar .daynum { font-weight: 600; font-size: .85rem; color: var(--ink); }
.calendar .ev {
  display: block; margin-top: 4px; font-size: .72rem; background: var(--bg-tint);
  color: var(--royal); border-left: 3px solid var(--gold); border-radius: 4px;
  padding: 2px 5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.calendar .ev:hover { background: var(--gold); color: var(--royal-dark); }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 2; column-gap: 16px; }
.gallery-grid .gitem { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; position: relative; background:#000; }
.gallery-grid img, .gallery-grid video { width: 100%; transition: transform .4s var(--ease), opacity .3s; }
.gallery-grid .gitem:hover img { transform: scale(1.06); }
.gallery-grid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s; }
.gallery-grid .gitem:hover .cap { opacity: 1; }
.gallery-grid .vidbadge { position:absolute; top:10px; right:10px; background:rgba(0,0,0,.6); color:#fff; border-radius:50%; width:34px; height:34px; display:grid; place-items:center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,15,30,.92); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; display: grid; place-items: center;
}
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: rgba(255,255,255,.28); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--cardinal); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azure); box-shadow: 0 0 0 4px rgba(0,103,200,.12); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--muted); }
.check input { width: auto; margin-top: 3px; }
.form-msg { display: none; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .95rem; }
.form-msg.show { display: block; }
.form-msg.success { background: #e8f7ee; color: #1b7a44; border: 1px solid #b9e6cb; }
.form-msg.error { background: #fdeaea; color: #b3261e; border: 1px solid #f3c2c0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- FAQ accordion ---------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform .25s var(--ease); color: var(--azure); }
.faq[open] summary i { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Fire & Ice theme ---------- */
.fi-hero { background: linear-gradient(120deg, #b3201a 0%, #e0241b 35%, #1f6fb0 70%, #0f4c81 100%); }
.fi-hero::before { background: radial-gradient(700px 400px at 80% 0%, rgba(255,210,120,.5), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(91,200,232,.5), transparent 60%); opacity:.7; }
.fi-flames { color: var(--gold-soft); }
.fi-ice { color: var(--ice); }

/* ---------- Members roster ---------- */
.roster { columns: 2; column-gap: 24px; }
.roster li { break-inside: avoid; padding: 6px 0; list-style: none; color: var(--ink); border-bottom: 1px dashed var(--line); }
.board-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.board-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.board-card .pos { font-size: .82rem; color: var(--gold); font-weight: 600; font-family: var(--font-head); }
.board-card .nm { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* ---------- People / member photo cards ---------- */
.people-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.person-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person-card .avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: block; border: 4px solid var(--bg-tint); }
.person-card .avatar-ph { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--royal), var(--azure)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; }
.person-card .nm { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.person-card .pos { color: var(--gold); font-weight: 600; font-family: var(--font-head); font-size: .85rem; margin-top: 2px; }
.person-card .bio { color: var(--muted); font-size: .92rem; margin-top: 10px; }
@media (min-width: 720px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Donate cards ---------- */
.pay-options { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.pay-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.pay-btn:hover { border-color: var(--azure); transform: translateY(-2px); box-shadow: var(--shadow); }
.pay-btn i { font-size: 1.3rem; }
.pay-btn.stripe i { color: #635bff; }
.pay-btn.square i { color: #000; }
.pay-btn.paypal i { color: #0070ba; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--royal), var(--azure)); color: #fff; border-radius: var(--radius); padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--royal-dark); color: rgba(255,255,255,.8); padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand img, .footer-brand svg { width: 54px; height: 54px; margin-bottom: 12px; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; font-size: 1.1rem; transition: .25s var(--ease); }
.social-row a:hover { background: var(--gold); color: var(--royal-dark); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Page header strip ---------- */
.page-hero { background: linear-gradient(135deg, var(--royal-dark), var(--royal)); color: #fff; padding: clamp(56px, 9vw, 96px) 0 clamp(36px, 6vw, 60px); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-60px; bottom:-60px; width:240px; height:240px; background:url('../img/logo.svg') center/contain no-repeat; opacity:.1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 60ch; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.breadcrumbs a { color: rgba(255,255,255,.9); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
@media (min-width: 860px) { .order-2 { order: 2; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state i { font-size: 2.4rem; color: var(--line); margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 3; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .gallery-grid { columns: 4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
