/* =========================================================
   Fastelavnsklubben Enigheden — stylesheet
   Palette: oxblood / parchment / brass / ink
   Type: Fraunces (display serif) + Inter (body)
   ========================================================= */
:root {
  --oxblood: #7a1f2b;
  --oxblood-deep: #5c141d;
  --brass: #c08a3e;
  --brass-soft: #d8a85a;
  --ink: #241a16;
  --ink-soft: #4a3b34;
  --parchment: #f6eedd;
  --parchment-2: #efe3c9;
  --cream-card: #fffaf0;
  --line: #e0d2b4;
  --dark: #241714;
  --dark-2: #2f1e19;
  --shadow: 0 18px 50px -24px rgba(36, 20, 16, .55);
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--oxblood); }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.04; margin: 0; letter-spacing: -.01em; }

.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .98rem;
  padding: .85em 1.6em; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary { background: var(--oxblood); color: #fff; box-shadow: 0 10px 24px -12px var(--oxblood); }
.btn--primary:hover { background: var(--oxblood-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(1rem, 4vw, 2.2rem);
  background: rgba(246,238,221,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__logo { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; border: 1px solid var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.12rem; color: var(--oxblood-deep); }
.brand__text em { font-style: normal; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

.primary-nav { display: flex; align-items: center; gap: .3rem; }
.primary-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .5em .8em; border-radius: 8px; transition: background .15s, color .15s; }
.primary-nav a:hover { background: var(--parchment-2); color: var(--oxblood-deep); }
.nav-cta { background: var(--oxblood); color: #fff !important; padding: .55em 1.1em !important; border-radius: 999px !important; }
.nav-cta:hover { background: var(--oxblood-deep) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--oxblood-deep); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(90vh, 760px); display: flex; align-items: center; isolation: isolate; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: grayscale(.15) contrast(1.05); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(36,20,16,.35) 0%, rgba(36,20,16,.55) 45%, rgba(66,17,24,.82) 100%),
    radial-gradient(120% 90% at 20% 20%, rgba(0,0,0,.25), transparent 60%);
}
.hero__inner { width: min(var(--maxw), 92%); margin-inline: auto; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero__eyebrow { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-soft); font-weight: 600; margin: 0 0 1rem; }
.hero__title { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero__title span { color: var(--brass-soft); font-style: italic; font-weight: 500; }
.hero__lead { max-width: 40ch; font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 1.4rem 0 2rem; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__ribbon {
  position: absolute; right: 0; bottom: 1.6rem; z-index: 2;
  background: var(--brass); color: var(--ink); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; padding: .5em 1.4em .5em 1.1em;
  box-shadow: var(--shadow); border-radius: 6px 0 0 6px;
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream { background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-2) 100%); }
.section--dark { background: var(--dark); color: #f3e7d4; }
.section-head { max-width: 42rem; margin: 0 0 2.6rem; }
.section-head--light { color: #f3e7d4; }
.kicker { display: inline-block; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--oxblood); margin-bottom: .7rem; position: relative; padding-left: 2.4rem; }
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.8rem; height: 2px; background: var(--brass); }
.section-head--light .kicker { color: var(--brass-soft); }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
.section-sub { font-size: 1.05rem; color: var(--ink-soft); margin-top: .8rem; }
.section-head--light .section-sub { color: rgba(243,231,212,.8); }

/* ---------- Feature (aktuelt) ---------- */
#eventsList { display: grid; gap: 1.3rem; }
.events-empty { background: var(--cream-card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--ink-soft); font-style: italic; }
.feature__img { margin: 0 0 1.1rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.feature__img img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.feature__date--tba { background: var(--ink-soft); }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 4vw, 2.6rem);
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(var(--oxblood), var(--brass)); }
.feature__date {
  align-self: start; display: grid; place-items: center; gap: .1rem;
  background: var(--oxblood); color: #fff; border-radius: 12px; padding: 1rem 1.3rem; min-width: 92px;
  box-shadow: 0 12px 26px -14px var(--oxblood);
}
.feature__day { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.feature__mon { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; }
.feature__yr { font-size: .78rem; color: var(--brass-soft); }
.feature__body h3 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; margin: .5rem 0 .7rem; color: var(--oxblood-deep); }
.feature__body p { color: var(--ink-soft); margin: 0 0 1.3rem; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); background: #fff5e2; border: 1px solid var(--line); padding: .35em .9em; border-radius: 999px; }

/* ---------- Download links ---------- */
.downloads { display: grid; gap: .6rem; margin-bottom: 1.3rem; }
.dl { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; transition: transform .16s, border-color .16s, box-shadow .16s; }
.dl:hover { transform: translateY(-2px); border-color: var(--brass); box-shadow: 0 10px 22px -16px var(--ink); }
.dl__ic { flex: none; font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .05em; color: #fff; background: var(--oxblood); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; }
.dl__t { display: flex; flex-direction: column; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.dl__t small { font-weight: 500; color: var(--ink-soft); font-size: .76rem; }
.inline-link { font-weight: 600; text-decoration: none; color: var(--oxblood); border-bottom: 2px solid var(--brass-soft); padding-bottom: 1px; }
.inline-link:hover { color: var(--oxblood-deep); }

/* ---------- Om klubben ---------- */
.om { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.om__text h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.om__text p { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 1rem; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0; margin: 2rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts li { background: var(--cream-card); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.facts strong { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 800; color: var(--oxblood-deep); }
.facts span { font-size: .82rem; color: var(--ink-soft); }
.om__emblem { margin: 0; text-align: center; }
.om__emblem img { width: min(320px, 80%); margin-inline: auto; background: #fff; border-radius: 16px; padding: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.om__emblem figcaption { margin-top: .9rem; font-size: .85rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Timeline (kalender) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.6rem; top: .5rem; bottom: .5rem; width: 2px; background: rgba(216,168,90,.3); }
.timeline__item { display: grid; grid-template-columns: 7.6rem 1fr; gap: 1.6rem; padding: 1rem 0; position: relative; }
.timeline__when { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: var(--brass-soft); text-align: right; padding-top: .15rem; }
.timeline__what { position: relative; padding-left: 1.6rem; }
.timeline__what::before { content: ""; position: absolute; left: -.55rem; top: .45rem; width: 13px; height: 13px; border-radius: 50%; background: var(--dark); border: 3px solid var(--brass); transform: translateX(-50%); }
.timeline__item--highlight .timeline__what::before { background: var(--brass); box-shadow: 0 0 0 5px rgba(216,168,90,.2); }
.timeline__what h3 { font-size: 1.35rem; font-weight: 700; color: #fff; }
.timeline__what p { color: rgba(243,231,212,.78); margin: .3rem 0 .6rem; }
.chip { display: inline-block; font-size: .8rem; font-weight: 600; text-decoration: none; color: #f3e7d4; border: 1px solid rgba(216,168,90,.45); border-radius: 999px; padding: .3em .9em; margin: .2rem .3rem 0 0; transition: background .15s, border-color .15s; }
.chip:hover { background: rgba(216,168,90,.18); border-color: var(--brass); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gcard { margin: 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; position: relative; background: #ded1b6; }
.gcard--tall { grid-row: span 2; }
.gcard--wide { grid-column: span 2; }
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(36,20,16,.72)); pointer-events: none; }
.gcard:hover img { transform: scale(1.07); }
.gcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  padding: 1.5rem .9rem .8rem; color: #fff;
  font-family: 'Fraunces', Georgia, serif; font-size: .92rem; font-weight: 600; line-height: 1.3;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* ---------- Love & referater ---------- */
.love__grid { display: grid; grid-template-columns: 300px 1fr; gap: 2.4rem; align-items: start; }
.docs { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 100px; box-shadow: var(--shadow); }
.docs h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; color: var(--oxblood-deep); }
.docs .dl { margin-bottom: .6rem; }
.laws > h3 { font-size: 1.3rem; font-weight: 800; color: var(--oxblood-deep); margin-bottom: 1.1rem; display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.laws__upd { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); background: var(--parchment-2); padding: .25em .7em; border-radius: 999px; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream-card); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.05rem 1.3rem; display: flex; align-items: center; gap: 1rem; font-family: 'Fraunces', serif; font-size: 1.08rem; font-weight: 700; color: var(--ink); transition: background .15s; }
.acc-btn:hover { background: var(--parchment); }
.acc-btn__num { flex: none; font-family: 'Fraunces', serif; color: var(--oxblood); font-size: 1rem; min-width: 2.4rem; }
.acc-btn__ic { margin-left: auto; flex: none; font-size: 1.4rem; color: var(--brass); transition: transform .25s; line-height: 1; }
.acc-btn[aria-expanded="true"] .acc-btn__ic { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel__inner { padding: 0 1.3rem 1.2rem 5.7rem; color: var(--ink-soft); }
.acc-panel__inner p { margin: 0 0 .6rem; }
.acc-panel__inner .stk { display: block; }
.acc-panel__inner .stk b { color: var(--ink); font-weight: 600; }

/* ---------- Bestyrelsen ---------- */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.member { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.3rem; text-align: center; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.member:hover { transform: translateY(-4px); border-color: var(--brass); }
.member__avatar { width: 72px; height: 72px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--oxblood), var(--oxblood-deep)); box-shadow: 0 8px 20px -10px var(--oxblood); }
.member--lead .member__avatar { background: linear-gradient(135deg, var(--brass), #a66f2a); }
.member__avatar--photo { padding: 0; background: var(--parchment-2); overflow: hidden; }
.member__avatar--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member__role { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--brass); }
.member__name { font-family: 'Fraunces', serif; font-size: 1.18rem; font-weight: 700; margin: .3rem 0 .5rem; color: var(--ink); }
.member__mail { font-size: .85rem; text-decoration: none; color: var(--oxblood); word-break: break-word; }
.member__mail:hover { text-decoration: underline; }
.member__mail--none { color: var(--ink-soft); font-style: italic; }

/* ---------- Forms ---------- */
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.card-form { background: var(--cream-card); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.card-form h3 { font-size: 1.4rem; font-weight: 800; color: var(--oxblood-deep); }
.card-form__sub { color: var(--ink-soft); font-size: .92rem; margin: .4rem 0 1.3rem; }
.card-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .9rem; }
.card-form .row { display: grid; grid-template-columns: 2fr 1fr; gap: .9rem; }
.card-form input, .card-form select, .card-form textarea {
  width: 100%; margin-top: .35rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 9px; padding: .7em .85em; transition: border-color .15s, box-shadow .15s;
}
.card-form input:focus, .card-form select:focus, .card-form textarea:focus { outline: none; border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(122,31,43,.12); }
.card-form textarea { resize: vertical; }
.card-form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-status { font-size: .9rem; font-weight: 600; margin: .9rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: #c62828; }

.facebook { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2.4rem; text-decoration: none; color: #f3e7d4; font-weight: 600; border: 1px solid rgba(216,168,90,.4); border-radius: 999px; padding: .6em 1.3em; transition: background .15s; }
.facebook:hover { background: rgba(216,168,90,.14); }
.facebook__ic { width: 28px; height: 28px; display: grid; place-items: center; background: #1877f2; color: #fff; font-family: Georgia, serif; font-weight: 700; border-radius: 7px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: #e9dcc6; padding: 3rem 0 2rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.site-footer__brand { display: flex; align-items: center; gap: .9rem; }
.site-footer__brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.site-footer__brand strong { display: block; font-family: 'Fraunces', serif; font-size: 1.05rem; }
.site-footer__brand span { font-size: .8rem; color: #b9a88c; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.site-footer__nav a { color: #cdbfa6; text-decoration: none; font-size: .9rem; }
.site-footer__nav a:hover { color: var(--brass-soft); }
.site-footer__copy { width: 100%; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.4rem; margin: .6rem 0 0; font-size: .82rem; color: #9c8d75; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28,14,11,.92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 4vh 2vw; }
.lightbox.open { display: flex; }
.lightbox__fig { margin: 0; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__fig img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lightbox__fig figcaption { color: #f3e7d4; font-family: 'Fraunces', serif; font-style: italic; font-size: 1rem; text-align: center; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox__close:hover { opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 2rem; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lightbox__nav:hover { background: rgba(216,168,90,.3); }
.lightbox__nav--prev { left: 1.4rem; }
.lightbox__nav--next { right: 1.4rem; }

/* ---------- Reveal on scroll ----------
   Content is visible by default (robust: never stuck hidden if JS fails);
   the .in class simply plays a one-off fade-up as it enters view. */
.reveal.in { animation: revealUp .7s cubic-bezier(.22,.61,.36,1) both; }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .om { grid-template-columns: 1fr; }
  .om__emblem { order: -1; }
  .love__grid { grid-template-columns: 1fr; }
  .docs { position: static; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .forms { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gcard--wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--parchment); border-bottom: 1px solid var(--line); padding: .6rem 1rem 1.2rem;
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; max-height: calc(100vh - 64px); overflow:auto;
  }
  .primary-nav.open { transform: none; }
  .primary-nav a { padding: .9em 1em; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: .6rem; }
  .feature { grid-template-columns: 1fr; }
  .feature__date { justify-self: start; flex-direction: row; min-width: 0; gap: .6rem; }
  .acc-panel__inner { padding-left: 1.3rem; }
  .timeline::before { left: 5.4rem; }
  .timeline__item { grid-template-columns: 5.4rem 1fr; gap: 1rem; }
  .card-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .board { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gcard--wide, .gcard--tall { grid-column: auto; grid-row: auto; }
  .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal.in { animation: none; }
}
