/* ============================================
   热玛吉官网 — 成都朗悦姿彩传媒有限公司
   简洁 / 响应式 / 多层次视觉
   ============================================ */

:root {
  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-text: #1c1a18;
  --color-text-muted: #5c5854;
  --color-accent: #8b7355;
  --color-accent-soft: rgba(139, 115, 85, 0.12);
  --color-line: rgba(28, 26, 24, 0.08);
  --font-sans: "Noto Sans SC", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", Georgia, serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(28, 26, 24, 0.06);
  --shadow-hover: 0 16px 48px rgba(28, 26, 24, 0.1);
  --header-h: 72px;
  --max-w: 1120px;
  --max-w-narrow: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 246, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.logo-sub {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover {
  background: var(--color-accent-soft);
  text-decoration: none;
}

.nav-list .nav-cta {
  margin-left: var(--space-xs);
  background: var(--color-text);
  color: var(--color-surface);
}

.nav-list .nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-surface);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    z-index: 102;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(250, 248, 246, 0.98);
    backdrop-filter: blur(12px);
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-line);
  }

  .nav-list a {
    padding: var(--space-md) 0;
    font-size: 1.0625rem;
  }

  .nav-list .nav-cta {
    margin-left: 0;
    margin-top: var(--space-sm);
    text-align: center;
    border-radius: var(--radius);
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  /* 实色兜底：避免子层渐变/SVG 未渲染时出现「白底白字」 */
  background-color: #171412;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-md) var(--space-xl);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  min-height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #141210;
}

/* 深色基底（无视频，纯 CSS） */
.hero-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1614;
  background-image: linear-gradient(165deg, #2c2622 0%, #1a1614 42%, #12100e 100%);
}

/* 大面积渐变网格缓慢平移，形成「流动」感 */
.hero-mesh {
  position: absolute;
  inset: -5%;
  z-index: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(105deg, rgba(88, 62, 52, 0.35) 0%, transparent 45%),
    linear-gradient(-25deg, rgba(45, 38, 34, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(120, 90, 72, 0.2) 0%, transparent 55%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: hero-mesh-flow 28s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-mesh-flow {
  0% {
    background-position: 0% 20%;
  }
  100% {
    background-position: 100% 80%;
  }
}

/* 慢速流动的径向色光，医美轻奢暖调（幅度加大，更易察觉） */
.hero-aurora {
  position: absolute;
  inset: -18%;
  z-index: 1;
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 70% 55% at 15% 35%, rgba(210, 180, 150, 0.5) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 85% 25%, rgba(150, 115, 95, 0.38) 0%, transparent 48%),
    radial-gradient(ellipse 50% 60% at 70% 85%, rgba(100, 78, 65, 0.42) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 30% 75%, rgba(85, 68, 58, 0.32) 0%, transparent 45%);
  animation: hero-aurora-drift 18s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}

@keyframes hero-aurora-drift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-6%, 4%) rotate(3deg) scale(1.1);
    opacity: 0.92;
  }
}

/* 柔光光斑：独立层 + 模糊，移动轨迹更明显 */
.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  -webkit-filter: blur(64px);
  will-change: transform, opacity;
}

.hero-blob--a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -8%;
  left: -12%;
  background: rgba(200, 160, 130, 0.45);
  animation: hero-blob-a 22s ease-in-out infinite;
}

.hero-blob--b {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  bottom: -15%;
  right: -8%;
  background: rgba(130, 95, 85, 0.4);
  animation: hero-blob-b 26s ease-in-out infinite;
}

.hero-blob--c {
  width: min(35vw, 320px);
  height: min(35vw, 320px);
  top: 38%;
  left: 42%;
  background: rgba(175, 140, 115, 0.28);
  animation: hero-blob-c 20s ease-in-out infinite;
}

@keyframes hero-blob-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(12%, 18%) scale(1.12);
    opacity: 1;
  }
}

@keyframes hero-blob-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1.05);
    opacity: 0.75;
  }
  50% {
    transform: translate(-14%, -10%) scale(1);
    opacity: 0.95;
  }
}

@keyframes hero-blob-c {
  0%,
  100% {
    transform: translate(-6%, 4%) scale(1);
    opacity: 0.55;
  }
  33% {
    transform: translate(10%, -8%) scale(1.15);
    opacity: 0.8;
  }
  66% {
    transform: translate(4%, 12%) scale(0.95);
    opacity: 0.65;
  }
}

/* 高光扫过（对比略加强） */
.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255, 245, 235, 0.12) 38%,
    rgba(255, 250, 245, 0.05) 50%,
    transparent 62%
  );
  animation: hero-shine-sweep 14s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes hero-shine-sweep {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-18%) skewX(-2deg);
  }
  50% {
    opacity: 1;
    transform: translateX(18%) skewX(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .hero-aurora,
  .hero-blob--a,
  .hero-blob--b,
  .hero-blob--c,
  .hero-shine {
    animation: none;
  }

  .hero-shine {
    opacity: 0.55;
    transform: none;
  }

  .hero-blob--c {
    opacity: 0.5;
  }
}

/* 仅使用渐变，避免 SVG 滤镜作 background 时在部分环境下整段声明失效 */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-color: rgba(10, 9, 8, 0.25);
  background-image:
    linear-gradient(
      to bottom,
      rgba(8, 7, 6, 0.52) 0%,
      rgba(12, 10, 9, 0.4) 48%,
      rgba(6, 5, 4, 0.78) 100%
    ),
    linear-gradient(to right, rgba(5, 4, 3, 0.32) 0%, transparent 50%, rgba(5, 4, 3, 0.22) 100%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  /* 文案区再垫一层，极端情况下仍保证白字可读 */
  background: rgba(8, 7, 6, 0.42);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

@supports (backdrop-filter: blur(8px)) {
  .hero-content {
    background: rgba(8, 7, 6, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.hero-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 var(--space-md);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), 0 8px 40px rgba(0, 0, 0, 0.5);
}

.hero-title-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-top: 0.35em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 var(--space-lg);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-hover);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-block {
  width: 100%;
}

.section-contact .btn-primary {
  background: var(--color-text);
  color: #fff;
}

.section-contact .btn-primary:hover {
  background: var(--color-accent);
}

/* ----- Sections ----- */
.section {
  padding: var(--space-2xl) 0;
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 var(--space-md);
  line-height: 1.3;
}

.section-lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.about-card {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
  transition: box-shadow 0.25s, transform 0.25s;
}

.about-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.about-card-icon {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0.85;
  margin-bottom: var(--space-sm);
}

.about-card h3 {
  font-size: 1.125rem;
  margin: 0 0 var(--space-sm);
}

.about-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Product */
.section-product {
  background: linear-gradient(180deg, #2a2622 0%, #1c1a18 100%);
  color: #e8e4e0;
}

.section-head--light .section-label {
  color: #c4b5a0;
}

.section-head--light .section-title {
  color: #faf8f6;
}

.section-head--light .section-lead {
  color: rgba(232, 228, 224, 0.75);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.product-visual {
  min-height: 280px;
}

.product-frame {
  position: relative;
  height: 100%;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #3d3834 0%, #2a2622 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 160, 0.35) 0%, transparent 70%);
  filter: blur(20px);
}

.product-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin: 0;
  color: #e8e4e0;
}

.product-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-points li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: var(--space-xs);
}

.product-points li:last-child {
  border-bottom: none;
}

.product-points strong {
  font-size: 1.0625rem;
  color: #faf8f6;
}

.product-points span {
  font-size: 0.9375rem;
  color: rgba(232, 228, 224, 0.7);
}

@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.adv-item {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow);
}

.adv-item h3 {
  font-size: 1.0625rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.adv-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .adv-grid {
    grid-template-columns: 1fr;
  }
}

/* Process */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  counter-reset: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  position: relative;
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  margin: 0;
  font-size: 1.0625rem;
}

.process-step p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f0ebe6 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-text .section-label,
.contact-text .section-title {
  text-align: left;
}

.contact-text .section-title {
  margin-bottom: var(--space-md);
}

.contact-company {
  font-weight: 600;
  margin: 0 0 var(--space-sm);
}

.contact-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contact-form {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-field span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: #1c1a18;
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  display: grid;
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    text-align: left;
    align-items: center;
  }

  .footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.8125rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

@media (min-width: 600px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Body padding for fixed header anchor offset */
main > section {
  scroll-margin-top: calc(var(--header-h) + 12px);
}
