/* ==========================================================================
   Kattenpension Andijk — stylesheet
   Palet: warm & speels
   ========================================================================== */

:root {
  --terracotta: #e07a5f;
  --terracotta-dark: #c25f45;
  --terracotta-soft: #f6c9ba;
  --sage: #81b29a;
  --sage-dark: #5f9179;
  --zon: #f2cc8f;
  --zon-licht: #fbe9c8;
  --creme: #fff8f0;
  --creme-diep: #fdeee0;
  --bruin: #3d2b24;
  --bruin-zacht: #6b5348;
  --wit: #ffffff;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;
  --radius-xl: 48px;

  --schaduw-s: 0 2px 8px rgba(61, 43, 36, .07);
  --schaduw-m: 0 8px 24px rgba(61, 43, 36, .10);
  --schaduw-l: 0 18px 48px rgba(61, 43, 36, .14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--bruin);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bruin);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bruin); color: var(--wit);
  padding: .7rem 1.2rem; z-index: 999; border-radius: 0 0 var(--radius-s) 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 240, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 122, 95, .16);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0; position: relative;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600;
  color: var(--bruin);
}
.brand-sub {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 700;
}

.nav-toggle {
  display: none; border: 0; background: var(--terracotta); color: var(--wit);
  width: 46px; height: 46px; border-radius: var(--radius-s); cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: currentColor;
  border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav ul {
  display: flex; align-items: center; gap: .2rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  text-decoration: none; color: var(--bruin-zacht); font-weight: 700;
  font-size: .95rem; transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--creme-diep); color: var(--bruin); }
.site-nav a[aria-current="page"] { background: var(--terracotta); color: var(--wit); }
.site-nav .nav-cta { background: var(--sage); color: var(--wit); margin-left: .4rem; }
.site-nav .nav-cta:hover { background: var(--sage-dark); color: var(--wit); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--creme); border-bottom: 1px solid rgba(224, 122, 95, .2);
    box-shadow: var(--schaduw-m);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 34rem; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .8rem 1.25rem 1.4rem; gap: .25rem; }
  .site-nav a { padding: .8rem 1rem; border-radius: var(--radius-s); }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--terracotta); color: var(--wit); box-shadow: var(--schaduw-m); }
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: var(--schaduw-l); }
.btn-ghost { background: transparent; color: var(--bruin); border-color: var(--bruin); }
.btn-ghost:hover { background: var(--bruin); color: var(--creme); }
.btn-light { background: var(--wit); color: var(--terracotta-dark); box-shadow: var(--schaduw-m); }
.btn-light:hover { background: var(--creme); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--zon-licht) 0%, transparent 55%),
    linear-gradient(160deg, var(--creme-diep) 0%, var(--creme) 60%);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wit); color: var(--terracotta-dark);
  padding: .4rem 1rem; border-radius: 999px;
  font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--schaduw-s); margin-bottom: 1.2rem;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal; color: var(--terracotta);
  position: relative; display: inline-block; z-index: 0;
}
.hero h1 em::after {
  content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .05em; height: .24em;
  background: var(--zon); border-radius: 999px; z-index: -1;
}
.hero-lead { font-size: 1.15rem; color: var(--bruin-zacht); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-adres {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.6rem; padding: .7rem 1.3rem .7rem 1rem;
  background: var(--wit); border-radius: 999px;
  box-shadow: var(--schaduw-s); text-decoration: none;
  font-weight: 800; font-size: 1.05rem; color: var(--bruin);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-adres:hover { transform: translateY(-2px); box-shadow: var(--schaduw-m); }
.hero-adres svg { width: 22px; height: 22px; flex: 0 0 auto; }

.hero-art { position: relative; }
.photo-frame {
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--schaduw-l);
  border: 8px solid var(--wit);
  transform: rotate(-2deg);
  background: var(--creme-diep);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.3; }
.hero-badge {
  position: absolute; bottom: -1.2rem; left: -.6rem;
  background: var(--wit); border-radius: var(--radius-m);
  box-shadow: var(--schaduw-m); padding: .85rem 1.15rem;
  display: flex; align-items: center; gap: .75rem; transform: rotate(2deg);
}
.hero-badge .num {
  font-family: var(--font-display); font-size: 1.8rem; color: var(--terracotta); line-height: 1;
}
.hero-badge .lbl { font-size: .8rem; font-weight: 700; color: var(--bruin-zacht); line-height: 1.25; }

.paw-deco { position: absolute; pointer-events: none; }
.paw-deco.a { top: 14%; left: 2%; width: 52px; transform: rotate(-18deg); opacity: .3; }
.paw-deco.b { bottom: 16%; left: 8%; width: 32px; transform: rotate(22deg); opacity: .2; }
.paw-deco.c { top: 8%; right: 3%; width: 44px; transform: rotate(12deg); opacity: .22; }
@media (max-width: 980px) { .paw-deco { display: none; } }

/* ---------- Marquee-strip ---------- */
.strip {
  background: var(--terracotta); color: var(--wit);
  padding: .85rem 0; overflow: hidden;
}
.strip-inner {
  display: flex; gap: 2.5rem; align-items: center;
  font-weight: 800; font-size: .95rem; letter-spacing: .04em;
  justify-content: center; flex-wrap: wrap;
}
.strip-inner span { display: inline-flex; align-items: center; gap: .5rem; }
.strip-inner svg { width: 18px; height: 18px; }

/* ---------- Pagina-kop (subpagina's) ---------- */
.page-hero {
  background:
    radial-gradient(100% 120% at 80% 0%, var(--zon-licht) 0%, transparent 60%),
    var(--creme-diep);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.8rem, 6vw, 4.2rem);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--bruin-zacht); max-width: 40rem; margin-inline: auto; font-size: 1.1rem; margin-bottom: 0; }
.crumbs {
  font-size: .85rem; font-weight: 700; color: var(--bruin-zacht);
  margin-bottom: 1rem; letter-spacing: .04em;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Secties ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-tint { background: var(--wit); }
.section-warm { background: var(--creme-diep); }
.section-head { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--bruin-zacht); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Kaarten ---------- */
.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--wit); border-radius: var(--radius-l);
  padding: 1.9rem 1.6rem; box-shadow: var(--schaduw-s);
  border: 1px solid rgba(224, 122, 95, .1);
  transition: transform .22s ease, box-shadow .22s ease;
}
.section-tint .card { background: var(--creme); }
.card:hover { transform: translateY(-5px); box-shadow: var(--schaduw-m); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--bruin-zacht); font-size: .99rem; }
.card-icon {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--creme-diep);
}
.card-icon svg { width: 30px; height: 30px; }
.card:nth-child(2) .card-icon { background: #e6f0ea; }
.card:nth-child(3) .card-icon { background: var(--zon-licht); }
.card:nth-child(4) .card-icon { background: #fbe4dc; }

/* ---------- Split (tekst + beeld) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.split + .split { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
}
@media (min-width: 821px) {
  .split.reverse .split-media { order: 2; }
}
.split-media img {
  width: 100%; border-radius: var(--radius-l);
  box-shadow: var(--schaduw-m); aspect-ratio: 4/5; object-fit: cover;
}
.split-media.tilt img { transform: rotate(1.2deg); }
.split-media.tilt-l img { transform: rotate(-1.2deg); }

/* ---------- Lijst met vinkjes ---------- */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li {
  position: relative; padding-left: 2.1rem; margin-bottom: .75rem;
  color: var(--bruin-zacht);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/.8rem no-repeat;
}

/* ---------- Info-blokken ---------- */
.prose-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.info-block {
  background: var(--wit); border-radius: var(--radius-m);
  padding: 1.7rem 1.6rem; box-shadow: var(--schaduw-s);
  border-left: 5px solid var(--terracotta);
}
.info-block.groen { border-left-color: var(--sage); }
.info-block.geel { border-left-color: var(--zon); }
.info-block h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: .5em; font-size: 1.25rem; }
/* Icoontjes in koppen altijd meeschalen met de tekst, nooit op ware grootte */
h2 svg, h3 svg, h4 svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.info-block h3 svg { width: 24px; height: 24px; }
.note h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.25rem; }
.note h3 svg { width: 24px; height: 24px; }
.info-block p:last-child, .info-block ul:last-child { margin-bottom: 0; }
.info-block strong { color: var(--bruin); }
.info-block ul { padding-left: 1.2rem; color: var(--bruin-zacht); }
.info-block li { margin-bottom: .4rem; }
.info-block p { color: var(--bruin-zacht); overflow-wrap: anywhere; }

.note {
  background: var(--zon-licht); border-radius: var(--radius-m);
  padding: 1.2rem 1.4rem; border: 1px dashed #e0b46a;
  margin-top: 1.6rem;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--bruin); }

/* ---------- Tarieven ---------- */
.prijs-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; margin-inline: auto; }
.prijs-kaart {
  background: var(--wit); border-radius: var(--radius-l);
  padding: 2.2rem 1.8rem; text-align: center;
  box-shadow: var(--schaduw-m); position: relative; overflow: hidden;
}
.prijs-kaart.hoog { background: linear-gradient(160deg, var(--terracotta) 0%, #d0664b 100%); color: var(--wit); }
.prijs-kaart.hoog h3, .prijs-kaart.hoog .bedrag { color: var(--wit); }
.prijs-kaart .label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 800; color: var(--terracotta); margin-bottom: .4rem;
}
.prijs-kaart.hoog .label { color: var(--zon); }
.bedrag {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1;
  color: var(--bruin); margin: .3rem 0 .1rem;
}
.bedrag sup { font-size: 1.5rem; vertical-align: super; }
.per { font-size: .95rem; color: var(--bruin-zacht); font-weight: 700; }
.prijs-kaart.hoog .per { color: rgba(255,255,255,.88); }
.prijs-kaart .periode { font-size: .92rem; margin: 1rem 0 0; opacity: .92; }

.tarief-tabel {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
  background: var(--wit); border-radius: var(--radius-m); overflow: hidden;
  box-shadow: var(--schaduw-s);
}
.tarief-tabel th, .tarief-tabel td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--creme-diep); }
.tarief-tabel th { background: var(--creme-diep); font-family: var(--font-display); font-weight: 600; }
.tarief-tabel tr:last-child td { border-bottom: 0; }
.tabel-wrap { overflow-x: auto; }

/* ---------- Galerij ---------- */
.gallery { columns: 3; column-gap: 1.1rem; }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gallery figure {
  margin: 0 0 1.1rem; break-inside: avoid;
  border-radius: var(--radius-m); overflow: hidden;
  box-shadow: var(--schaduw-s); background: var(--wit);
  cursor: zoom-in; position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery figure:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--schaduw-m); }
.gallery img { width: 100%; }
.gallery figcaption { padding: .75rem 1rem; font-size: .9rem; font-weight: 700; color: var(--bruin-zacht); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(61, 43, 36, .93);
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius-m); box-shadow: var(--schaduw-l); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wit); color: var(--bruin); font-size: 1.6rem; line-height: 1;
}
.lightbox-cap { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: var(--creme); font-weight: 700; }

/* ---------- CTA-band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--wit); border-radius: var(--radius-xl);
  padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--wit); }
.cta-band p { color: rgba(255,255,255,.93); max-width: 38rem; margin-inline: auto; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* ---------- Contact / stappen ---------- */
.contact-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.contact-kaart {
  background: var(--wit); border-radius: var(--radius-l); padding: 1.8rem;
  box-shadow: var(--schaduw-s); text-align: center;
}
.contact-kaart svg { width: 34px; height: 34px; margin: 0 auto .8rem; }
.contact-kaart h3 { font-size: 1.15rem; margin-bottom: .3em; }
.contact-kaart a { font-weight: 800; text-decoration: none; overflow-wrap: anywhere; hyphens: none; }
.contact-kaart p { overflow-wrap: anywhere; }
.contact-kaart a:hover { text-decoration: underline; }
.contact-kaart p { margin-bottom: 0; color: var(--bruin-zacht); font-size: .97rem; }

.stappen { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: stap; margin-top: 2rem; }
.stap {
  background: var(--wit); border-radius: var(--radius-l); padding: 1.8rem 1.5rem;
  box-shadow: var(--schaduw-s); position: relative;
}
.stap::before {
  counter-increment: stap; content: counter(stap);
  position: absolute; top: -18px; left: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terracotta); color: var(--wit);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem; box-shadow: var(--schaduw-s);
}
.stap h3 { margin-top: 1rem; font-size: 1.15rem; }
.stap p { margin-bottom: 0; color: var(--bruin-zacht); font-size: .97rem; }

/* ---------- Openingstijden ---------- */
.tijden { list-style: none; padding: 0; margin: 1rem 0 0; }
.tijden li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px dashed rgba(107, 83, 72, .25);
}
.tijden li:last-child { border-bottom: 0; }
.tijden .dicht { color: var(--terracotta-dark); font-weight: 800; }
.tijden .open { color: var(--sage-dark); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bruin); color: var(--creme-diep);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 1.5rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-display); color: var(--zon); font-size: 1.1rem; margin: 0 0 .8rem; }
.site-footer p, .site-footer li { color: rgba(253, 238, 224, .78); font-size: .97rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.site-footer a { color: var(--creme-diep); text-decoration: none; }
.site-footer a:hover { color: var(--zon); text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.25rem; color: var(--creme); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(253, 238, 224, .12); display: grid; place-items: center; }
.socials a:hover { background: var(--terracotta); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 2.2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(253, 238, 224, .15);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: rgba(253, 238, 224, .6);
}

/* ---------- Animatie ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .gallery figure:hover { transform: none; }
}
