/* =========================================================
   2P Games 官网原型 · 样式表
   深色主题（参考官网 #171a21 / #222 / #292b31）+ 琥珀色点缀
   ========================================================= */

:root {
  --bg: #14171d;
  --bg-2: #171a21;
  --panel: #22252c;
  --panel-2: #292b31;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f2f4f8;
  --text-2: #b9bfca;
  --text-3: #7c8492;

  --accent: #ffb020;
  --accent-2: #ffd166;
  --accent-ink: #1a1204;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.45);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: min(1240px, 92vw); margin: 0 auto; }

::selection { background: rgba(255, 176, 32, 0.32); }

/* ---------------------------------------------------------
   顶部导航
--------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(20, 23, 29, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-solid {
  background: rgba(20, 23, 29, 0.95);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 68px;
}
.brand img { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  position: relative;
  padding: 9px 15px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--text-2); transition: color .2s, background .2s;
}
.nav > a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav > a.is-active { color: var(--accent); }

/* 语言下拉 */
.lang { position: relative; margin-left: 8px; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.lang__btn:hover { background: rgba(255, 255, 255, 0.11); border-color: var(--line-strong); }
.lang__caret { transition: transform .2s; opacity: .7; }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 148px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border: 0; border-radius: 6px;
  background: none; color: var(--text-2); font-size: 13.5px; cursor: pointer;
}
.lang__menu button:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.lang__menu button.is-active { color: var(--accent); background: rgba(255, 176, 32, 0.1); }

/* 移动端菜单按钮 */
.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px; background: none; border: 0; cursor: pointer;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ---------------------------------------------------------
   轮播栏
--------------------------------------------------------- */
.hero {
  position: relative;
  height: clamp(400px, 47vw, 660px);
  background: #000; overflow: hidden;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide img.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero__slide.is-active img.hero__img { transform: scale(1); }

.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 15, .62) 0%, rgba(10, 11, 15, .05) 34%, rgba(10, 11, 15, .78) 78%, #14171d 100%),
    linear-gradient(90deg, rgba(10, 11, 15, .58) 0%, rgba(10, 11, 15, 0) 46%);
}

.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 0 clamp(64px, 9vw, 108px);
}
.hero__content .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero__title {
  margin: 0; font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800; line-height: 1.15; letter-spacing: .01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.hero__title small {
  display: block; margin-top: 6px;
  font-size: clamp(13px, 1.3vw, 17px); font-weight: 500;
  color: var(--text-2); letter-spacing: .14em; text-transform: uppercase;
}
.hero__desc {
  margin: 0; max-width: 640px;
  color: #d6dae2; font-size: clamp(14px, 1.35vw, 16.5px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.hero__slide .hero__title, .hero__slide .hero__desc,
.hero__slide .hero__actions {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .35s; }
.hero__slide.is-active .hero__desc { opacity: 1; transform: none; transition-delay: .45s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition-delay: .55s; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 18, 24, 0.5);
  border: 1px solid var(--line-strong); color: #fff;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.hero__arrow:hover { background: rgba(255, 176, 32, 0.85); color: #1a1204; }
.hero__arrow--prev { left: clamp(12px, 2.6vw, 34px); }
.hero__arrow--next { right: clamp(12px, 2.6vw, 34px); }

.hero__dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 9px;
}
.hero__dots button {
  width: 26px; height: 4px; border-radius: 4px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.28); cursor: pointer; transition: .25s;
}
.hero__dots button.is-active { background: var(--accent); width: 42px; }

/* ---------------------------------------------------------
   按钮
--------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 9px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 700; letter-spacing: .03em;
  cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); box-shadow: 0 8px 24px rgba(255, 176, 32, 0.22);
}
.btn--primary:hover { box-shadow: 0 10px 30px rgba(255, 176, 32, 0.38); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong); color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.13); }
.btn--sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

/* ---------------------------------------------------------
   通用 Section
--------------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.section__title {
  margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: .01em;
  position: relative; padding-left: 16px;
}
.section__title::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .28em;
  width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}
.section__sub { margin: 8px 0 0; color: var(--text-3); font-size: 14.5px; }
.section__rule {
  flex: 1; height: 1px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ---------------------------------------------------------
   近期发售 · 3 张卡片
--------------------------------------------------------- */
.monthly { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.mcard {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255, 176, 32, 0.4); }
.mcard__media { position: relative; aspect-ratio: 616 / 353; overflow: hidden; background: #000; }
.mcard__link { position: absolute; inset: 0; display: block; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mcard:hover .mcard__media img { transform: scale(1.05); }
.mcard__title a { transition: color .2s; }
.mcard__title a:hover { color: var(--accent-2); }
.mcard__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(12, 14, 18, 0.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 176, 32, 0.5);
  color: var(--accent-2); font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
}
.mcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.mcard__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.mcard__en { margin: -6px 0 0; color: var(--text-3); font-size: 12.5px; letter-spacing: .06em; }
.mcard__desc {
  margin: 0; color: var(--text-2); font-size: 13.8px; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mcard__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.mcard__date { display: flex; flex-direction: column; line-height: 1.35; }
.mcard__date b { color: var(--accent); font-size: 15px; font-weight: 800; }
.mcard__date span { color: var(--text-3); font-size: 11.5px; letter-spacing: .04em; }
.mcard__date small { color: var(--text-3); font-size: 11.5px; }
.mcard__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------
   游戏网格（12 款 × 2 行）
--------------------------------------------------------- */
.game-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.gcard {
  position: relative; display: block; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  aspect-ratio: 2 / 3;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255, 176, 32, 0.45); }
.gcard:hover img { transform: scale(1.07); }

/* ---------- 网格分页（同线上 ‹ 1 2 3 › 结构，适配深色主题） ---------- */
.pager {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 30px; user-select: none;
}
.pager[hidden] { display: none; }
.pager__btn {
  min-width: 28px; height: 28px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 3px;
  background: transparent; color: var(--text-2);
  font-size: 14px; font-family: var(--font); line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.pager__btn svg { display: block; }
.pager__btn:hover { color: var(--accent); border-color: rgba(255, 176, 32, 0.5); }
.pager__btn.is-active {
  color: var(--accent); border-color: var(--accent);
  background: rgba(255, 176, 32, 0.08); cursor: default;
}
.pager__btn:disabled { opacity: .35; cursor: default; }
.pager__btn:disabled:hover { color: var(--text-2); border-color: var(--line-strong); }
.pager__dots { color: var(--text-3); font-size: 14px; padding: 0 2px; }

.gcard__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0) 46%, rgba(10, 12, 16, 0.88) 100%);
}
.gcard__name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 12px 12px;
  font-size: 13.2px; font-weight: 700; line-height: 1.4; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gcard__link { position: absolute; inset: 0; z-index: 1; }
.gcard__hover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 0 10px;
  background: rgba(12, 14, 19, 0.55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .22s ease;
  pointer-events: none;
}
.gcard__hover .btn { pointer-events: auto; max-width: 100%; }
.gcard:hover .gcard__hover { opacity: 1; }

/* ---------------------------------------------------------
   发行合作
--------------------------------------------------------- */
.section--apply {
  background:
    radial-gradient(90% 140% at 88% 18%, rgba(255, 176, 32, 0.12) 0%, rgba(255, 176, 32, 0) 55%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.apply { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.apply__text p { color: var(--text-2); font-size: 15px; margin: 16px 0 26px; }
.apply__badge {
  justify-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: min(280px, 100%); padding: 42px 30px;
  border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, rgba(255, 176, 32, 0.14), rgba(255, 176, 32, 0.03));
  border: 1px solid rgba(255, 176, 32, 0.35);
}
.apply__mark {
  width: 92px; height: 92px; border-radius: 24px;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 900; letter-spacing: .02em;
  color: var(--accent-ink);
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: 0 14px 36px rgba(255, 176, 32, 0.3);
}
.apply__slogan { color: var(--text-2); font-size: 14px; line-height: 1.8; letter-spacing: .1em; }

/* ---------------------------------------------------------
   服务
--------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scard {
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.scard:hover { transform: translateY(-4px); border-color: rgba(255, 176, 32, 0.4); background: var(--panel-2); }
.scard__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  color: var(--accent);
  background: rgba(255, 176, 32, 0.12);
  border: 1px solid rgba(255, 176, 32, 0.28);
}
.scard h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; }
.scard p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* ---------------------------------------------------------
   合作伙伴
--------------------------------------------------------- */
.partners {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.pcard {
  display: grid; place-items: center; padding: 20px 14px;
  border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--panel-2); }
.pcard img { height: 34px; width: auto; object-fit: contain; opacity: .82; transition: opacity .2s; }
.pcard:hover img { opacity: 1; }

/* ---------------------------------------------------------
   订阅
--------------------------------------------------------- */
.subscribe { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.subscribe__side { display: flex; flex-direction: column; min-width: 0; }
.subscribe__form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe__form input {
  flex: 1 1 170px; min-width: 0;
  padding: 12px 15px; border-radius: 9px;
  background: var(--panel); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.subscribe__form input::placeholder { color: var(--text-3); }
.subscribe__form input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.16);
}
.subscribe__ok { margin-top: 14px; color: var(--accent-2); font-size: 14px; font-weight: 600; }
.subscribe__ok.is-err { color: #ff6b6b; }
.subscribe__ok[hidden] { display: none; }

/* ---------------------------------------------------------
   页脚（布局对齐 2pgames.net 线上：1140 内容区 / Logo 35px）
--------------------------------------------------------- */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 72px 0 64px;
}
/* 页脚内容区沿用全站 .wrap（1240px），与上方板块左右对齐 */

.ofooter__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.ofooter__logo { height: 35px; width: auto; display: block; }
.ofooter__nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ofooter__nav a {
  color: var(--text); font-size: 14px; font-weight: 700;
  letter-spacing: .02em; white-space: nowrap;
  transition: color .2s;
}
.ofooter__nav a:hover { color: var(--accent); }
.ofooter__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.ofooter__hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); margin: 18px 0 26px; width: 100%; }
.ofooter__text p { margin: 0 0 10px; color: var(--text-3); font-size: 14px; line-height: 1.95; }
.ofooter__text p:last-child { margin-bottom: 0; }
.ofooter__intro { color: var(--text-2); font-weight: 600; letter-spacing: .01em; }
.ofooter__icp {
  color: var(--text-3);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: color .2s, text-decoration-color .2s;
}
.ofooter__icp:hover { color: var(--accent); text-decoration-color: currentColor; }

/* 右侧悬浮社交栏（参照 2pgames.net 线上） */
.social-rail {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 10px;
}
.social-rail a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line);
  color: var(--text-2); transition: .2s;
}
.social-rail a:hover {
  color: var(--accent); border-color: rgba(255, 176, 32, 0.45);
  background: rgba(255, 255, 255, 0.12); transform: translateY(-2px);
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--text);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---------------------------------------------------------
   进场动画
--------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   响应式
--------------------------------------------------------- */
@media (max-width: 1080px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 5vw 18px;
    background: rgba(20, 23, 29, 0.98); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: .22s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 12px 14px; }
  .lang { margin: 8px 0 0; }
  .lang__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 0 6px; display: none; }
  .lang.is-open .lang__menu { display: block; }
  .burger { display: flex; }

  .monthly { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; gap: 30px; }
  .apply__badge { justify-self: start; }
  .subscribe { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 440px; }
  .hero__arrow { display: none; }
  .services { grid-template-columns: 1fr; }
  .social-rail { display: none; }
  .section__rule { display: none; }
}

@media (max-width: 640px) {
  .site-footer { padding: 48px 0 40px; }
  .ofooter__logo { height: 28px; }
  .ofooter__text p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
