@font-face {
  font-family: "Source Han Serif Heavy";
  src: url("../fonts/source-han-serif-heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Serif Medium";
  src: url("../fonts/source-han-serif-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-display: "Source Han Serif Heavy", "Songti SC", "SimSun", serif;
  --font-display-sub: "Source Han Serif Medium", "Songti SC", serif;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-22: 22px;
  --fs-26: 26px;
  --fs-30: 30px;
  --fs-32: 32px;
  --fs-hero: 64px;
  --lh: 1.75;
  --brand: #c30d23;
  --brand-soft: #fe7072;
  --ink: #222222;
  --text: #333333;
  --muted: #666666;
  --faint: #999999;
  --line: #ececec;
  --paper: #fbfbfb;
  --bg: #ffffff;
  --inverse: #ffffff;
  --ok: #0d7a32;
  --night: #07111f;
  --max: 1200px;
  --gutter: 20px;
  --header: 75px;
  --banner: 260px;
  --section: 72px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --red: var(--brand);
  --gray: var(--faint);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  line-height: var(--lh);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--paper);
  border-bottom: 2px solid var(--brand);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: auto; height: auto; max-height: 46px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}
.nav { display: flex; align-items: stretch; height: var(--header); margin-left: auto; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  color: var(--ink);
  font-size: var(--fs-15);
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav-link .caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}
.nav-item.is-active > .nav-link,
.nav-link:hover { background: var(--brand); color: var(--inverse); }
.submenu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg);
  box-shadow: var(--shadow);
  border-top: 2px solid var(--brand);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.submenu a { display: block; padding: 12px 18px; color: var(--text); font-size: var(--fs-14); }
.submenu a:hover { color: var(--brand); background: var(--paper); }

.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--inverse);
  text-align: center;
  background: #0b1c33 url("../img/hero-city-night-v6.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0.05), rgba(4, 10, 24, 0.09));
}
.hero.has-overlay {
  min-height: 0;
  display: block;
}
.hero.has-overlay::before { display: none; }
.hero.has-overlay > img.hero-bg,
.page-banner.has-overlay > img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frost { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-frost.is-frost { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero-slide-hit { position: absolute; inset: 0; z-index: 2; }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - var(--gutter) * 2)); padding: 48px 0; }
.hero-frame {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}
.hero-lead { margin: 0; font-size: var(--fs-20); letter-spacing: 1px; }
.hero h1 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.15;
  color: var(--inverse);
}
.hero-sub {
  margin: 18px 0 0;
  font-family: var(--font-display-sub);
  font-size: var(--fs-22);
  letter-spacing: 12px;
}

.page-banner {
  position: relative;
  height: var(--banner);
  display: grid;
  place-items: center;
  background: #081426;
  overflow: hidden;
  color: var(--inverse);
  text-align: center;
}
.page-banner.has-overlay {
  display: block;
  height: auto;
  min-height: 0;
}
.page-banner.has-overlay::before { display: none; }
.page-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0.06), rgba(4, 10, 24, 0.1));
  z-index: 1;
}
.banner-copy { position: relative; z-index: 2; width: min(860px, calc(100% - 32px)); }
.banner-kicker { margin: 0; font-size: 12px; letter-spacing: 4px; }
.page-banner h1 {
  margin: 4px 0 0;
  color: #e10617;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 2px;
}
.banner-line { margin: 2px 0 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.banner-note { margin: 8px 0 0; font-size: 14px; line-height: 1.4; }
.banner-note::before {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 0 auto 8px;
  background: #fff;
}

.section { padding: var(--section) 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head.left { text-align: left; }
.kicker { margin: 0; color: var(--brand); letter-spacing: 1px; font-size: var(--fs-14); }
.section-head h2, .block-title {
  margin: 4px 0 0;
  color: var(--brand);
  font-size: var(--fs-30);
  font-weight: 600;
  line-height: 1.3;
}
.lead { margin: 12px auto 0; max-width: 760px; color: var(--muted); font-size: var(--fs-14); }
.section-soft { background: var(--bg) url("../img/services-decor.png") center top no-repeat; }
.actions { text-align: center; margin: 28px 0 0; }
.crumbs { margin: 0 0 16px; color: var(--faint); font-size: var(--fs-13); }
.crumbs a { color: var(--brand); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

.cards-3, .cards-2, .cards-4, .news-grid, .photo-row, .steps {
  display: grid;
  gap: 28px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.news-grid { grid-template-columns: 1fr 1fr; }
.photo-row { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.steps { grid-template-columns: repeat(5, 1fr); }

.card h3, .service-card h3 { margin: 14px 0 8px; font-size: var(--fs-20); color: var(--ink); font-weight: 600; }
.card p, .service-card p, .prose p { margin: 0 0 12px; color: var(--muted); font-size: var(--fs-14); }
.service-card p:last-child, .prose p:last-child { margin-bottom: 0; }
.shot { width: 100%; height: 180px; object-fit: cover; background: var(--line); }
.shot.tall { height: 230px; }
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card .shot { transition: transform .55s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12); }
.service-card:hover .shot { transform: scale(1.045); }
.service-card .pad { padding: 8px 22px 24px; }
.service-card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size .25s ease;
}
.service-card:hover .more { background-size: 100% 1px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split img { width: 100%; height: 340px; object-fit: cover; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--inverse);
  font-size: var(--fs-14);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, filter .2s ease;
}
.btn.ghost { background: var(--bg); color: var(--brand); }
.btn.light { background: var(--bg); color: var(--brand); border-color: var(--bg); }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

.team {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--inverse);
  background: #102033 url("../img/team-background-v2.jpg") center / cover no-repeat;
}
.team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
.team > .wrap { position: relative; z-index: 1; }
.team .kicker, .team h2 { color: var(--inverse); }
.slider { position: relative; }
.slide {
  display: none;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 28px;
  box-shadow: var(--shadow);
}
.slide.is-active { display: grid; animation: rise-in .45s ease both; }
.slide img { width: 220px; height: 260px; object-fit: cover; object-position: top; }
.role { color: var(--faint); font-size: var(--fs-14); font-weight: 400; margin-left: 8px; }
.slide h3 { margin: 0 0 12px; font-size: var(--fs-26); color: var(--ink); font-weight: 600; }
.slide p { margin: 0 0 18px; color: var(--muted); }
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.slider-nav > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.slider-nav > button svg { width: 18px; height: 18px; display: block; }
.slider-nav > button:hover { background: var(--brand); color: var(--inverse); transform: translateY(-1px); }
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-nav .dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.slider-nav .dot.is-active { width: 26px; border-radius: 999px; background: #fff; }

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-date { color: var(--brand); line-height: 1.1; }
.news-date b { display: block; font-size: var(--fs-26); }
.news-date span { font-size: var(--fs-14); }
.news-item h3 { margin: 0 0 6px; font-size: var(--fs-18); color: var(--ink); font-weight: 600; transition: color .2s ease; }
.news-item p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item:hover h3 { color: var(--brand); }

.cta {
  min-height: 150px;
  display: flex;
  align-items: center;
  background: #f4f5f7 url("../img/cta-background-v4.jpg") left 12% / cover no-repeat;
  color: var(--ink);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 28px 0;
}
.cta p {
  margin: 0;
  max-width: 640px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.cta .btn { background: var(--brand); color: var(--inverse); border-color: var(--brand); flex: none; justify-self: start; }

.site-footer {
  color: #dedede;
  background: var(--night) url("../img/footer-city-night-v3.jpg") center / cover no-repeat;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.72);
}
.footer-inner { position: relative; z-index: 1; padding: 48px 0 28px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: var(--fs-14); }
.footer-links a:hover { color: var(--inverse); }
.footer-brand { text-align: right; }
.footer-name { margin: 0; font-size: var(--fs-26); color: var(--inverse); line-height: 1.3; }
.footer-en { margin: 4px 0 0; color: var(--inverse); font-size: var(--fs-14); letter-spacing: .03em; }
.footer-brand a { color: var(--inverse); }
.addr { margin: 12px 0 0; color: var(--inverse); font-size: var(--fs-14); }
.copy {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 14px var(--gutter) 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  color: #bbbbbb;
  font-size: var(--fs-12);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.adv {
  background: var(--bg);
  padding: 22px 18px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.adv:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12); }
.adv h3 { margin: 0 0 6px; font-size: var(--fs-18); color: var(--ink); }
.adv p { margin: 0; color: var(--muted); font-size: var(--fs-13); }
.step { text-align: center; padding: 18px 8px; }
.step b {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--inverse);
  font-size: var(--fs-20);
}
.step span { color: var(--muted); font-size: var(--fs-14); }

.address-card {
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 28px;
}
.address-card h2 { margin: 0 0 8px; color: var(--brand); font-size: var(--fs-18); }
.address-card .en { margin: 0 0 10px; color: var(--muted); }
.address-card p { margin: 0; color: var(--text); }
.address-card .phone { margin-top: 18px; }
.map-frame { margin-top: 18px; background: var(--bg); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 12px; }
.field { display: block; color: var(--text); }
.field input, .field textarea { margin-top: 6px; }
.field.full { grid-column: 1 / -1; }
.field i { color: var(--brand); font-style: normal; }
.field input, .field textarea {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 12px;
  font-size: var(--fs-14);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(195, 13, 35, 0.12);
}
.field textarea { height: auto; min-height: 120px; resize: vertical; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--brand); }

.article { padding: 48px 0 var(--section); }
.article h1 { margin: 0 0 8px; font-size: var(--fs-32); line-height: 1.35; color: var(--ink); font-weight: 600; }
.meta { color: var(--faint); margin: 0 0 18px; font-size: var(--fs-14); }
.article-body { color: var(--text); font-size: var(--fs-16); line-height: var(--lh); }
.article-body p, .article-body span, .article-body div, .article-body li {
  font-family: var(--font-sans) !important;
  font-size: inherit !important;
  line-height: inherit;
}
.article-body p { margin: 0 0 12px; }
.article-body img { height: auto; margin: 12px auto; }
.article-body table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pager a { color: var(--brand); }
.news-list a.row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-list a.row:hover strong { color: var(--brand); }
.news-list strong { display: block; font-size: var(--fs-18); font-weight: 600; color: var(--ink); }
.news-list em, .news-list span { color: var(--brand); font-style: normal; font-size: var(--fs-14); }
.news-list span { color: var(--faint); }
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.link-list a { color: var(--brand); font-size: var(--fs-16); }

.admin-bar {
  height: var(--header);
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 0 var(--gutter);
  background: var(--ink);
  color: var(--inverse);
  border-bottom: 2px solid var(--brand);
  font-size: var(--fs-14);
}
.admin-bar a { color: var(--inverse); }
.admin-bar a:hover { color: var(--brand-soft); }
.admin-main { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: 28px auto 48px; }
.admin-main h1 { margin: 0 0 16px; font-size: var(--fs-26); color: var(--ink); }
.admin-main table { width: 100%; border-collapse: collapse; background: var(--bg); }
.admin-main th, .admin-main td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.admin-main input, .admin-main textarea, .admin-main select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font: inherit;
}
.admin-main input.check, .admin-main label.check { width: auto; }
.admin-main label { display: block; margin: 12px 0; }
.login-box {
  width: min(420px, calc(100% - var(--gutter) * 2));
  margin: 80px auto;
  background: var(--bg);
  padding: 28px;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  :root { --banner: 200px; --section: 56px; --fs-hero: 40px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 2px solid var(--brand);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav-item { flex-direction: column; }
  .nav-link { height: 48px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; border-top: 0; background: var(--paper); }
  .cards-3, .cards-4, .cards-2, .news-grid, .split, .steps, .photo-row { grid-template-columns: 1fr 1fr; }
  .cta-inner, .footer-grid { display: grid; grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; }
  .slide.is-active { display: grid; }
  .nav.is-open { animation: menu-in .28s ease; }
  .footer-brand, .site-footer h2, .footer-grid { text-align: left; }
  .admin-bar { height: auto; min-height: var(--header); flex-wrap: wrap; padding: 12px var(--gutter); }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --banner: 160px; --section: 40px; --fs-hero: 30px; --fs-30: 24px; --fs-32: 24px; }
  .logo img { max-height: 36px; }
  .hero { min-height: 320px; }
  .hero-lead { font-size: var(--fs-15); }
  .hero-sub { font-size: var(--fs-16); letter-spacing: 6px; }
  .page-banner h1 { font-size: 24px; }
  .banner-kicker { font-size: 11px; letter-spacing: 2px; }
  .banner-line { font-size: 15px; }
  .banner-note { margin-top: 4px; font-size: 12px; }
  .banner-note::before { margin-bottom: 4px; }
  .cards-3, .cards-4, .cards-2, .news-grid, .split, .photo-row, .steps, .form, .contact-grid { grid-template-columns: 1fr; }
  .slide img { width: 100%; height: 280px; }
  .pager, .news-list a.row, .link-list { display: grid; grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 72px 1fr; }
}

.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08); }
.step b { transition: transform .25s ease; }
.step:hover b { transform: scale(1.06); }
.news-list strong { transition: color .2s ease; }

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal,
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
