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

:root {
  --paper: #F5F0E8;
  --paper-deep: #E7DECF;
  --ink: #2B2B2B;
  --text-main: #1F1F1F;
  --orange: #FF6B00;
  --blue: #0A3D91;
  --green: #C9FF00;
  --gray: #6B6B6B;
  --line: #D2C9BC;
  --font-sans: "Source Han Sans SC", "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Oswald", "DIN Condensed", "Bebas Neue", "Alternate Gothic No3 D", "Arial Narrow", Impact, sans-serif;
  --header-width: 280px;
  --header-h: 64px;
  --gutter: clamp(20px, 4vw, 56px);
  --wide: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-main);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(43, 43, 43, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 43, 43, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.18;
  margin: 0 0 0.6em;
}

h1 {
  font-size: 64px;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 48px;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 28px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
}

h4 {
  font-size: 18px;
  font-weight: 700;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

::selection {
  background: var(--green);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

#main-content {
  margin-left: var(--header-width);
  min-height: 55vh;
}

.container {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(48px, 9vw, 120px);
  padding-bottom: clamp(48px, 9vw, 120px);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--paper);
}

.section--dark .lead {
  color: rgba(245, 240, 232, 0.65);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 32px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-rev > :first-child {
  order: 2;
}

.grid-rev > :last-child {
  order: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--line);
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--orange);
  box-shadow: 4px 4px 0 var(--orange);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: none;
  box-shadow: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  background: var(--green);
  color: var(--ink);
}

.tag--orange {
  background: var(--orange);
  color: var(--ink);
}

.tag--blue {
  background: var(--blue);
  color: #FFFFFF;
}

.tag--line {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gray);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  color: var(--gray);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

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

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

.card {
  position: relative;
  display: block;
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--line);
  border-color: var(--ink);
}

.panel {
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
}

.paper-stack {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.paper-stack::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  z-index: -1;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
}

.img-frame::before {
  content: "";
  position: absolute;
  top: -18%;
  left: 14%;
  width: 30%;
  height: 140%;
  background: var(--ink);
  opacity: 0.08;
  transform: rotate(25deg);
}

.img-frame::after {
  content: "图片";
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 2px 8px;
  background: var(--green);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.score {
  font-family: var(--font-display);
  font-size: 96px;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.score--orange {
  color: var(--orange);
}

.score--blue {
  color: var(--blue);
}

.score--green {
  color: var(--green);
}

.display-deco {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 150px;
  font-size: clamp(60px, 14vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  user-select: none;
  pointer-events: none;
}

.index-label {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.lead {
  font-size: 22px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  color: var(--gray);
  max-width: 62ch;
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 48px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-title .index-label {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: clamp(16px, 4vw, 40px);
  z-index: 5000;
  padding: 12px 20px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 16px;
  outline: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2000;
  width: var(--header-width);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 0 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--orange);
  z-index: 1;
}

.header-inner {
  flex: 0 0 auto;
  position: relative;
  padding: 26px 22px 18px 26px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  transform: rotate(-10deg);
  background: var(--orange);
  color: var(--ink);
  font-weight: 900;
  font-size: 21px;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  display: block;
  color: var(--paper);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.42);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.16);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle-text {
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.site-nav {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 240, 232, 0.2) transparent;
}

.site-nav::-webkit-scrollbar {
  width: 6px;
}

.site-nav::-webkit-scrollbar-thumb {
  background: rgba(245, 240, 232, 0.18);
  border-radius: 0;
}

.site-nav::-webkit-scrollbar-track {
  background: transparent;
}

.nav-list {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 14px 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 26px;
  border-left: 4px solid transparent;
  color: rgba(245, 240, 232, 0.72);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, padding-left 0.2s, border-color 0.2s;
}

.nav-num {
  flex-shrink: 0;
  width: 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: var(--green);
}

.nav-name {
  flex: 1;
}

.nav-arrow {
  font-size: 17px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
  background-color: rgba(255, 107, 0, 0.13);
  color: var(--paper);
  padding-left: 32px;
}

.nav-link:hover .nav-arrow,
.nav-link:focus-visible .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-link[aria-current="page"] {
  background-color: var(--orange);
  border-left-color: var(--green);
  color: var(--ink);
  font-weight: 700;
}

.nav-link[aria-current="page"] .nav-num,
.nav-link[aria-current="page"] .nav-arrow {
  color: var(--ink);
}

.nav-link[aria-current="page"] .nav-arrow {
  opacity: 1;
  transform: none;
}

.header-extra {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 16px 22px 20px 26px;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(245, 240, 232, 0.2);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(245, 240, 232, 0.72);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: live-pulse 2.2s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 255, 0, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(201, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 255, 0, 0);
  }
}

.shortcut-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px dashed rgba(245, 240, 232, 0.3);
  background: transparent;
  color: rgba(245, 240, 232, 0.85);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.shortcut-btn:hover,
.shortcut-btn.is-triggered {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.shortcut-star {
  font-size: 13px;
  line-height: 1;
  color: var(--orange);
  transition: color 0.2s;
}

.shortcut-btn:hover .shortcut-star,
.shortcut-btn.is-triggered .shortcut-star {
  color: var(--ink);
}

.shortcut-text {
  font-family: var(--font-sans);
  line-height: 1.3;
}

.scroll-track {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  z-index: 2;
  background: rgba(245, 240, 232, 0.08);
  pointer-events: none;
}

.scroll-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--green), var(--orange));
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

.site-footer {
  position: relative;
  margin-left: var(--header-width);
  background: var(--ink);
  color: rgba(245, 240, 232, 0.72);
  border-top: 6px solid var(--orange);
  font-size: 14px;
  line-height: 1.7;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 80px) var(--gutter) 20px;
}

.footer-primary {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 44px;
}

.footer-brand {
  min-width: 0;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  transform: rotate(-10deg);
  background: var(--orange);
  color: var(--ink);
  font-weight: 900;
  font-size: 20px;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
}

.footer-name {
  margin: 0 0 2px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
}

.footer-sub {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.42);
}

.footer-trust {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--green);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.55);
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(245, 240, 232, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a::before {
  content: "→";
  color: var(--orange);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.2s, transform 0.2s;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--green);
}

.footer-list a:hover::before,
.footer-list a:focus-visible::before {
  opacity: 1;
  transform: none;
}

.footer-contact {
  min-width: 0;
}

.footer-contact-line {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px 10px;
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.6;
}

.contact-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(245, 240, 232, 0.7);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  font-size: 12px;
  color: rgba(245, 240, 232, 0.42);
}

.footer-copyright {
  margin: 0;
}

.footer-note {
  margin: 0;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-main);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

[data-reveal] {
  will-change: opacity, transform;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1280px) {
  .footer-primary {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  #main-content {
    margin-left: 0;
    padding-top: var(--header-h);
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--header-h);
    flex-direction: row;
    align-items: center;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  }

  .site-header::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 5px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 14px 0 18px;
    border-bottom: none;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 16px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--paper);
    background: rgba(245, 240, 232, 0.08);
    border: 1px solid rgba(245, 240, 232, 0.16);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
  }

  .nav-toggle:hover {
    background: rgba(255, 107, 0, 0.25);
  }

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

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

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    z-index: 1500;
    width: min(340px, 88vw);
    background: var(--ink);
    border-right: 1px solid rgba(245, 240, 232, 0.1);
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-list {
    padding: 8px 0;
  }

  .header-extra {
    padding: 16px 20px 24px 24px;
  }

  .scroll-track {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 4px;
  }

  .scroll-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, var(--green), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
  }

  .site-footer {
    margin-left: 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-primary {
    grid-template-columns: 1fr;
  }

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

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-rev > :first-child {
    order: 0;
  }

  .grid-rev > :last-child {
    order: 0;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

@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;
  }

  .live-dot {
    animation: none;
  }

  html.js [data-reveal],
  html.js [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
