*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--deep-night);
  background-color: var(--snow-white);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

:root {
  --ice-blue: #00A8E8;
  --flame-orange: #FF6B35;
  --snow-white: #F5F7FA;
  --deep-night: #0F1A2C;
  --ice-light: #E0F4FF;
  --ice-deep: #0077B6;
  --orange-light: #FF9A6C;
  --ink-gray: #2A3A4A;
  --line-blue: #3D5A73;
  --dark-night: #0A1128;
  --font-display: "Impact", "Arial Black", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "Courier New", "SF Mono", monospace;
  --content-width: 1240px;
  --radius: 10px;
  --shadow-glass: 0 8px 32px rgba(10, 17, 40, 0.12);
  --shadow-float: 0 16px 40px rgba(0, 119, 182, 0.18);
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ice-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--flame-orange);
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.3;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--flame-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-main {
  min-height: 58vh;
  outline: none;
}

.skip-link {
  position: absolute;
  top: -200%;
  left: 16px;
  z-index: 3000;
  background: var(--flame-orange);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.site-header {
  position: relative;
  z-index: 1000;
  background: var(--dark-night);
  color: var(--snow-white);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--flame-orange) 0%, var(--ice-blue) 55%, var(--ice-deep) 100%);
  z-index: 2;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.site-header.is-stuck {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

.header-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.header-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--snow-white);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ice-blue);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--ice-blue);
  border: 2px solid var(--ice-blue);
  background: rgba(0, 168, 232, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--snow-white);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--ice-blue);
  text-transform: uppercase;
}

.header-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(245, 247, 250, 0.55);
  letter-spacing: 0.3em;
  border-left: 1px solid var(--line-blue);
  padding-left: 18px;
  white-space: nowrap;
}

.nav-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border: 2px solid var(--ice-blue);
  border-radius: var(--radius);
  background: rgba(0, 168, 232, 0.08);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(0, 168, 232, 0.2);
  border-color: var(--flame-orange);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--snow-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0, 168, 232, 0.25);
  background: rgba(10, 17, 40, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2px;
  flex: 1;
}

.nav-item {
  display: flex;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(245, 247, 250, 0.82);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--ice-blue), var(--flame-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ice-blue);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--ice-blue);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--flame-orange);
  outline-offset: 2px;
}

.btn-accent {
  background: var(--flame-orange);
  color: #fff;
  border-color: var(--flame-orange);
}

.btn-accent:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--ice-blue);
  border-color: var(--ice-blue);
}

.btn-outline:hover {
  background: var(--ice-blue);
  color: #fff;
}

.header-cta {
  flex-shrink: 0;
}

.header-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(245, 247, 250, 0.6);
  border: 1px solid rgba(0, 168, 232, 0.35);
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.06);
  flex-shrink: 0;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.header-index:hover {
  color: var(--snow-white);
  border-color: var(--ice-blue);
  background: rgba(0, 168, 232, 0.16);
}

.header-index-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ice-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.header-index-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: var(--ice-blue);
  transform: rotate(45deg);
}

.header-index-text {
  line-height: 1;
}

.site-footer {
  position: relative;
  background: var(--deep-night);
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.92rem;
  border-top: 3px solid var(--ice-blue);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.footer-wrap {
  position: relative;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 56px 24px 24px;
}

.footer-panels {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 168, 232, 0.18);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--snow-white);
  background: linear-gradient(135deg, var(--ice-deep), var(--ice-blue));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 14px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--snow-white);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--ice-blue);
  margin-bottom: 16px;
}

.footer-trust {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.6);
  border-left: 3px solid var(--flame-orange);
  padding-left: 14px;
  max-width: 360px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ice-blue);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--flame-orange);
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list a {
  color: rgba(245, 247, 250, 0.7);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-list a:hover {
  color: var(--ice-blue);
  padding-left: 6px;
}

.footer-contact-line {
  margin-bottom: 10px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.7);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(245, 247, 250, 0.4);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-night);
  color: var(--snow-white);
  border: 2px solid var(--ice-blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  z-index: 1500;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--ice-deep);
  border-color: var(--flame-orange);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top-icon {
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--snow-white);
  border-right: 3px solid var(--snow-white);
  transform: rotate(-45deg);
  margin-top: 6px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  font-size: 0.85rem;
  color: var(--ink-gray);
}

.breadcrumb a {
  color: var(--ice-deep);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--flame-orange);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-blue);
  font-family: var(--font-data);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--ice-deep);
  font-weight: 600;
}

.section {
  padding-block: 40px;
}

.section--tight {
  padding-block: 24px;
}

.section--loose {
  padding-block: 64px;
}

.section--dark {
  background: var(--deep-night);
  color: var(--snow-white);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice-deep);
  margin-bottom: 12px;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--flame-orange);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--deep-night);
  margin-bottom: 16px;
}

.section--dark .section-title {
  color: var(--snow-white);
}

.section-lead {
  font-size: 1rem;
  color: var(--ink-gray);
  max-width: 640px;
  line-height: 1.8;
}

.section--dark .section-lead {
  color: rgba(245, 247, 250, 0.7);
}

.page-head {
  padding: 32px 0 16px;
  border-bottom: 1px solid rgba(0, 119, 182, 0.2);
  margin-bottom: 24px;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--deep-night);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(224, 244, 255, 0.72), rgba(245, 247, 250, 0.92));
  border: 1px solid rgba(0, 168, 232, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(10, 17, 40, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: var(--ice-blue);
}

.bento-card--span-2 { grid-column: span 2; }
.bento-card--span-3 { grid-column: span 3; }
.bento-card--span-4 { grid-column: span 4; }
.bento-card--span-5 { grid-column: span 5; }
.bento-card--span-6 { grid-column: span 6; }
.bento-card--span-7 { grid-column: span 7; }
.bento-card--span-8 { grid-column: span 8; }
.bento-card--span-9 { grid-column: span 9; }
.bento-card--span-12 { grid-column: 1 / -1; }

.bento-card--dark {
  background: linear-gradient(135deg, var(--dark-night), var(--deep-night));
  color: var(--snow-white);
  border-color: rgba(0, 168, 232, 0.4);
}

.bento-card--glass {
  background: linear-gradient(135deg, rgba(224, 244, 255, 0.55), rgba(245, 247, 250, 0.7));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bento-card--glass:hover {
  background: linear-gradient(135deg, rgba(224, 244, 255, 0.75), rgba(245, 247, 250, 0.85));
}

.bento-card--focus {
  border: 2px solid var(--ice-blue);
  overflow: hidden;
}

.bento-card--focus::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 107, 53, 0.35));
  pointer-events: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  border-color: var(--ice-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.data-text {
  font-family: var(--font-data);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ice-deep);
  letter-spacing: 0.02em;
}

.data-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--flame-orange);
}

.data-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-gray);
}

.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ice-light) 0%, var(--line-blue) 100%);
  border: 1px solid rgba(0, 168, 232, 0.3);
}

.image-frame::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  border-right: 3px solid var(--ice-blue);
  border-bottom: 3px solid var(--ice-blue);
  opacity: 0.7;
}

.image-frame--wide {
  aspect-ratio: 16 / 9;
}

.image-frame--square {
  aspect-ratio: 1 / 1;
}

.image-frame--portrait {
  aspect-ratio: 3 / 4;
}

.image-frame--tall {
  aspect-ratio: 3 / 5;
}

.frame-caption {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--snow-white);
  background: rgba(10, 17, 40, 0.75);
  padding: 4px 10px;
  border-radius: 4px;
  border-left: 2px solid var(--flame-orange);
}

.data-matrix-bg {
  position: relative;
  background-color: var(--dark-night);
}

.data-matrix-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .bento-card--glass,
  .site-nav {
    background: rgba(10, 17, 40, 0.92);
  }
}

@media (max-width: 1023px) {
  .header-tagline {
    display: none;
  }

  .header-index {
    display: none;
  }

  .footer-panels {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .bento-card--span-5,
  .bento-card--span-6,
  .bento-card--span-7 {
    grid-column: span 6;
  }

  .bento-card--span-8,
  .bento-card--span-9 {
    grid-column: span 12;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    visibility: visible;
    opacity: 1;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .header-primary {
    padding: 14px 0;
  }

  .header-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: var(--header-bg, var(--dark-night));
    border-top: none;
    transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  }

  .site-nav[data-open] {
    max-height: 620px;
    visibility: visible;
    opacity: 1;
    border-bottom: 2px solid var(--ice-blue);
  }

  .nav-list {
    flex: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 24px 4px;
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 168, 232, 0.12);
  }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 3px;
    height: 100%;
    bottom: 0;
    background: linear-gradient(180deg, var(--ice-blue), var(--flame-orange));
    transform: scaleY(0);
    transform-origin: bottom;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .header-cta {
    margin: 12px 24px 0;
    align-self: flex-start;
  }

  .header-index {
    margin: 12px 24px 24px;
    align-self: flex-start;
    display: inline-flex;
  }

  .footer-panels {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-card--span-2,
  .bento-card--span-3,
  .bento-card--span-4,
  .bento-card--span-5,
  .bento-card--span-6,
  .bento-card--span-7,
  .bento-card--span-8,
  .bento-card--span-9,
  .bento-card--span-12 {
    grid-column: span 6;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-sub {
    letter-spacing: 0.2em;
  }

  .header-wrap {
    padding-inline: 16px;
  }

  .footer-wrap {
    padding-inline: 16px;
  }

  .footer-panels {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .back-to-top {
    transition: none;
  }

  .skip-link {
    transition: none;
  }
}
