:root {
  color-scheme: dark;
  --bg: #061019;
  --bg-deep: #02070d;
  --panel: rgba(10, 26, 38, 0.78);
  --panel-solid: #0b1a26;
  --text: #edf8fb;
  --muted: #a9c1ca;
  --soft: #d8edf2;
  --line: rgba(142, 216, 229, 0.24);
  --cyan: #65e8ff;
  --blue: #4a91ff;
  --gold: #e7c77a;
  --coral: #ff776d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(83, 209, 235, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 20%, rgba(255, 119, 109, 0.12), transparent 28rem),
    linear-gradient(180deg, #07131d 0%, #041019 45%, #060a10 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.site-nav a .icon,
.btn .icon,
.text-link .icon,
.footer-cta .icon,
.gallery-thumbs span .icon,
.nav-toggle .icon {
  box-sizing: content-box;
  padding: 5px;
  border-radius: 50%;
  background: rgba(101, 232, 255, 0.08);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--cyan);
  color: #021018;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(4, 12, 18, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  background: rgba(3, 9, 14, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 44px;
  padding: 5px;
  border: 1px solid rgba(101, 232, 255, 0.62);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(101, 232, 255, 0.18), rgba(231, 199, 122, 0.12));
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(101, 232, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 22px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.2;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, text-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(101, 232, 255, 0.78);
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(101, 232, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(101, 232, 255, 0.18), 0 0 22px rgba(101, 232, 255, 0.18);
  outline: none;
}

.btn:hover .icon,
.btn:focus-visible .icon,
.text-link:hover .icon,
.text-link:focus-visible .icon,
.footer-cta:hover .icon,
.footer-cta:focus-visible .icon,
.gallery-thumbs button:hover .icon,
.gallery-thumbs button:focus-visible .icon,
.gallery-thumbs button.is-active .icon,
.nav-toggle:hover .icon,
.nav-toggle:focus-visible .icon {
  background: var(--cyan);
  color: #021018;
  box-shadow: 0 0 0 5px rgba(101, 232, 255, 0.15), 0 0 24px rgba(101, 232, 255, 0.35);
  transform: translateY(-1px);
}

.site-nav a:hover .icon,
.site-nav a:focus-visible .icon {
  background: rgba(101, 232, 255, 0.14);
  color: var(--cyan);
  box-shadow: none;
  transform: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #021018;
  font-weight: 800;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 9, 14, 0.9) 0%, rgba(4, 12, 18, 0.58) 42%, rgba(4, 12, 18, 0.22) 100%),
    linear-gradient(0deg, #061019 0%, rgba(6, 16, 25, 0.65) 28%, transparent 72%);
}

.hero-content {
  width: var(--content);
  margin: 0 auto;
  padding: 150px 0 80px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: #ffffff;
  line-height: 1.16;
  letter-spacing: 0;
}

h1,
h2 {
  color: var(--cyan);
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 42%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(101, 232, 255, 0.14);
}

h1 {
  max-width: 720px;
  font-size: clamp(38px, 5.6vw, 68px);
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
}

h3 {
  font-size: 20px;
}

.hero-copy {
  max-width: 690px;
  margin-top: 20px;
  color: var(--soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn,
.text-link,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.btn-primary,
.footer-cta {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #021018;
  box-shadow: 0 14px 34px rgba(74, 145, 255, 0.28);
}

.btn-secondary,
.text-link {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
  background: rgba(4, 14, 22, 0.76);
}

.hero-stats dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats dd {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: var(--content);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1fr);
}

.section-copy p + p {
  margin-top: 16px;
}

.section-copy > p:not(.section-kicker),
.section-heading p,
.feature-card p,
.guide-item p,
.timeline span,
.faq-grid p,
.site-footer p {
  color: var(--muted);
}

.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.inline-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(101, 232, 255, 0.22);
  border-radius: 999px;
  background: rgba(101, 232, 255, 0.08);
  color: var(--soft);
  font-size: 13px;
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-panel figcaption,
.gallery-main figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 14px;
}

.dark-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(1, 7, 12, 0.68);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading h2 + p {
  margin-top: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 34, 48, 0.88), rgba(7, 19, 29, 0.84));
}

.card-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.visual-section {
  padding-top: 76px;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: center;
}

.gallery-main {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
}

.gallery-main picture {
  display: grid;
  place-items: center;
  min-height: clamp(420px, 48vw, 680px);
  background:
    linear-gradient(135deg, rgba(101, 232, 255, 0.08), rgba(231, 199, 122, 0.04)),
    #061019;
}

.gallery-main img {
  width: 100%;
  max-height: clamp(420px, 48vw, 680px);
  object-fit: contain;
}

.gallery-main.is-landscape img {
  width: 100%;
  height: auto;
}

.gallery-main.is-portrait img {
  width: auto;
  height: clamp(420px, 48vw, 680px);
  max-width: 100%;
}

.gallery-thumbs {
  display: grid;
  gap: 10px;
  align-content: center;
  align-self: center;
}

.gallery-thumbs button {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gallery-thumbs img {
  width: 72px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
}

.gallery-thumbs span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gallery-thumbs span .icon {
  color: var(--cyan);
  width: 0.95em;
  height: 0.95em;
}

.gallery-thumbs button.is-active {
  border-color: rgba(101, 232, 255, 0.75);
  background: rgba(101, 232, 255, 0.14);
  color: #ffffff;
}

.gallery-thumbs button:hover,
.gallery-thumbs button:focus-visible {
  border-color: rgba(101, 232, 255, 0.75);
  color: #ffffff;
  outline: none;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 92px;
  margin-bottom: 0;
}

.sticky-heading .text-link {
  margin-top: 22px;
}

.guide-list {
  display: grid;
  gap: 14px;
}

.guide-item {
  padding: 22px;
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.guide-item h3 {
  margin-bottom: 8px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(101, 232, 255, 0.65);
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: version;
}

.timeline li {
  counter-increment: version;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.timeline time {
  color: var(--gold);
  font-weight: 900;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(101, 232, 255, 0.08), transparent 28%),
    rgba(2, 7, 13, 0.72);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

summary {
  position: relative;
  padding: 18px 46px 18px 18px;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 18px 18px;
}

@media (hover: hover) and (pointer: fine) {
  .btn,
  .text-link,
  .footer-cta,
  .feature-card,
  .guide-item,
  .timeline li,
  details,
  .media-panel,
  .gallery-main,
  .gallery-thumbs button {
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      background 180ms ease,
      filter 180ms ease;
  }

  .btn:hover,
  .btn:focus-visible,
  .text-link:hover,
  .text-link:focus-visible,
  .footer-cta:hover,
  .footer-cta:focus-visible {
    transform: translateY(-2px);
    filter: saturate(1.08);
  }

  .btn-primary:hover,
  .btn-primary:focus-visible,
  .footer-cta:hover,
  .footer-cta:focus-visible {
    box-shadow: 0 18px 42px rgba(74, 145, 255, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  }

  .btn-secondary:hover,
  .btn-secondary:focus-visible,
  .text-link:hover,
  .text-link:focus-visible {
    border-color: rgba(101, 232, 255, 0.62);
    background: rgba(101, 232, 255, 0.12);
    box-shadow: 0 12px 32px rgba(101, 232, 255, 0.14);
  }

  .feature-card:hover,
  .guide-item:hover,
  .timeline li:hover,
  details:hover {
    transform: translateY(-4px);
    border-color: rgba(101, 232, 255, 0.55);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 30px rgba(101, 232, 255, 0.1);
  }

  .feature-card:hover {
    background: linear-gradient(180deg, rgba(16, 46, 64, 0.94), rgba(8, 24, 36, 0.9));
  }

  .guide-item:hover {
    background: rgba(101, 232, 255, 0.075);
  }

  .timeline li:hover,
  details:hover {
    background: rgba(255, 255, 255, 0.075);
  }

  .media-panel,
  .gallery-main {
    will-change: transform;
  }

  .media-panel:hover,
  .gallery-main:hover {
    transform: translateY(-3px);
    border-color: rgba(101, 232, 255, 0.5);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 30px rgba(101, 232, 255, 0.1);
  }

  .media-panel img,
  .gallery-main img {
    transition: transform 420ms ease, filter 420ms ease;
  }

  .media-panel:hover img,
  .gallery-main:hover img {
    transform: scale(1.025);
    filter: saturate(1.06) contrast(1.03);
  }

  .gallery-thumbs button:hover,
  .gallery-thumbs button:focus-visible {
    transform: translateX(4px);
    box-shadow: 0 12px 28px rgba(101, 232, 255, 0.12);
  }

  details:hover summary {
    color: var(--cyan);
  }
}

.friend-links {
  position: relative;
  overflow: hidden;
  padding: 54px 0 48px;
  background:
    radial-gradient(circle at 50% 0%, rgba(101, 232, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, rgba(6, 16, 25, 0.96), rgba(2, 7, 13, 0.98));
  border-top: 1px solid rgba(101, 232, 255, 0.18);
}

.friend-links::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(74, 145, 255, 0.08), transparent 34%, transparent 66%, rgba(231, 199, 122, 0.08));
}

.friend-links-inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  text-align: center;
}

.friend-links h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid rgba(101, 232, 255, 0.32);
  border-radius: 999px;
  background: rgba(10, 26, 38, 0.84);
  color: var(--soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(101, 232, 255, 0.78);
  background: rgba(101, 232, 255, 0.12);
  color: var(--cyan);
  box-shadow: 0 16px 36px rgba(74, 145, 255, 0.24), 0 0 28px rgba(101, 232, 255, 0.14);
  outline: none;
}

.site-footer {
  padding: 34px 0;
  background: #02070d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  max-width: 780px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 14px 12px 18px;
    border: 0;
    border-radius: 0;
    background: rgba(2, 7, 13, 0.84);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(101, 232, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    display: flex;
    gap: 8px;
    width: min(380px, calc(100vw - 72px));
    min-height: 46px;
    justify-content: center;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid rgba(101, 232, 255, 0.28);
    border-radius: 999px;
    background: rgba(10, 26, 38, 0.92);
    color: var(--soft);
    font-size: 14px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  .site-nav a .icon {
    grid-column: auto;
    justify-self: auto;
    width: 1.05em;
    height: 1.05em;
    padding: 0;
    background: transparent;
    color: currentColor;
    box-shadow: none;
  }

  .site-nav a span {
    grid-column: auto;
    justify-self: auto;
    text-align: center;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-self: center;
    border: 0;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
    color: #021018;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(74, 145, 255, 0.24), 0 0 24px rgba(101, 232, 255, 0.18);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    border-color: rgba(101, 232, 255, 0.78);
    color: var(--cyan);
    text-shadow: none;
    box-shadow: 0 14px 30px rgba(101, 232, 255, 0.18), inset 0 0 0 1px rgba(101, 232, 255, 0.12);
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta:focus-visible {
    color: #021018;
    box-shadow: 0 18px 34px rgba(74, 145, 255, 0.3), 0 0 28px rgba(101, 232, 255, 0.24);
  }

  .hero {
    min-height: 700px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 9, 14, 0.9), rgba(4, 12, 18, 0.52)),
      linear-gradient(0deg, #061019 0%, rgba(6, 16, 25, 0.7) 34%, transparent 74%);
  }

  .two-column,
  .two-column.reverse,
  .guide-layout,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    align-items: stretch;
  }

  .gallery-thumbs {
    align-content: start;
    align-self: stretch;
  }

  .sticky-heading {
    position: static;
  }

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

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

  .gallery-main picture {
    min-height: clamp(360px, 62vw, 600px);
  }

  .gallery-main img {
    max-height: clamp(360px, 62vw, 600px);
  }

  .gallery-main.is-portrait img {
    height: clamp(360px, 62vw, 600px);
  }

  .gallery-thumbs button {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 680px) {
  :root {
    --content: min(100vw - 28px, 1180px);
  }

  .site-header {
    min-height: 62px;
    padding-inline: 14px;
  }

  .friend-links {
    padding: 42px 0 38px;
  }

  .friend-link-list {
    gap: 9px;
  }

  .friend-link-list a {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 14px;
  }

  .brand-text {
    font-size: 20px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-content {
    padding: 122px 0 48px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .feature-card {
    min-height: auto;
  }

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

  .gallery-main picture {
    min-height: 320px;
  }

  .gallery-main img {
    max-height: 520px;
  }

  .gallery-main.is-portrait img {
    height: min(520px, 120vw);
  }

  .gallery-thumbs button {
    text-align: center;
  }

  .gallery-thumbs span {
    justify-content: center;
  }

  .btn,
  .text-link,
  .footer-cta {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
