/* ============ Reset & Variables ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-bg-deep: #060D1F;
  --c-bg-main: #0A1E3C;
  --c-bg-surface: #1E3A5F;
  --c-accent: #39FF14;
  --c-accent-glow: rgba(57, 255, 20, 0.2);
  --c-action: #FF6D00;
  --c-text: #F0F5FF;
  --c-text-dim: #A8C4E0;

  --font-heading: Impact, 'Montserrat ExtraBold', 'Noto Sans SC', 'Arial Black', sans-serif;
  --font-body: Inter, 'Noto Sans SC', 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  --container-w: 1280px;
  --container-pad: clamp(16px, 3vw, 32px);
  --header-h: 76px;
  --gap: 24px;
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(57, 255, 20, 0.22);
  --grad-action: linear-gradient(135deg, #FF6D00 0%, #FFA500 100%);
}

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background-color: var(--c-bg-deep);
  background-image:
    radial-gradient(circle at 85% 10%, rgba(57, 255, 20, 0.05) 0%, transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(255, 109, 0, 0.04) 0%, transparent 28%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--c-accent);
  color: var(--c-bg-deep);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* ============ Utilities ============ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container-w), calc(100% - 2 * var(--container-pad)));
  margin-inline: auto;
}

#main-content {
  display: block;
  outline: none;
  min-height: 60vh;
}

#main-content:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
}

.content-page {
  padding-top: calc(var(--header-h) + 32px);
}

/* ============ Section ============ */
.section {
  padding-block: clamp(56px, 8vw, 100px);
}

.section-head {
  margin-bottom: clamp(28px, 4.5vw, 48px);
  max-width: 74ch;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-action);
  transform: skewX(-30deg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--c-text);
}

.section-subtitle {
  margin-top: 12px;
  font-size: 15px;
  color: var(--c-text-dim);
  max-width: 54ch;
}

/* ============ Grid ============ */
.grid, .grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap, 24px);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 26px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 0;
  transition: filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: var(--grad-action);
  color: #0A0A0F;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.1) drop-shadow(0 6px 14px rgba(255, 109, 0, 0.35));
  transform: translateY(-2px);
  outline: none;
}

.btn-ghost {
  border: 1px solid rgba(168, 196, 224, 0.35);
  color: var(--c-text);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent);
  box-shadow: var(--shadow-glow);
}

/* ============ Panel ============ */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(145deg, var(--c-bg-surface), rgba(30, 58, 95, 0.8));
  box-shadow: var(--shadow-card);
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-accent);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

/* ============ Figure ============ */
.figure {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-surface);
  line-height: 0;
}

.figure[data-ratio="16:9"], .figure-16-9 {
  aspect-ratio: 16 / 9;
}

.figure[data-ratio="4:3"], .figure-4-3 {
  aspect-ratio: 4 / 3;
}

.figure[data-ratio="1:1"], .figure-1-1 {
  aspect-ratio: 1 / 1;
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, transparent 40%, rgba(57, 255, 20, 0.08) 46%, transparent 52%),
    linear-gradient(0deg, rgba(6, 13, 31, 0.12), transparent 30%);
  z-index: 1;
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.figure:hover img {
  transform: scale(1.04);
}

.figure-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  background: rgba(6, 13, 31, 0.82);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  line-height: 1.4;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(168, 196, 224, 0.5);
  background:
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(168, 196, 224, 0.04) 12px 13px),
    var(--c-bg-surface);
}

/* ============ Badge ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
  background: rgba(6, 13, 31, 0.6);
  border: 1px solid rgba(168, 196, 224, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px var(--c-accent);
}

.badge-hot {
  color: #FFB37A;
  border-color: rgba(255, 109, 0, 0.5);
  background: rgba(255, 109, 0, 0.1);
}

.badge-hot .badge-dot {
  background: var(--c-action);
  box-shadow: 0 0 8px var(--c-action);
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--c-text-dim);
}

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

.breadcrumb li + li::before {
  content: "/";
  font-family: var(--font-mono);
  color: rgba(168, 196, 224, 0.35);
}

.breadcrumb a {
  color: var(--c-text-dim);
  transition: color 0.25s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--c-accent);
}

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

/* ============ Prose ============ */
.prose {
  max-width: 72ch;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.85;
}

.prose p {
  margin-bottom: 1.2em;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 2em 0 0.5em;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 1.8em 0 0.4em;
}

.prose ul,
.prose ol {
  margin: 1em 0 1.5em;
  padding-left: 1.4em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(57, 255, 20, 0.4);
  transition: border-color 0.25s ease;
}

.prose a:hover {
  border-color: var(--c-accent);
}

.prose blockquote {
  border-left: 3px solid var(--c-action);
  padding-left: 1em;
  color: var(--c-text-dim);
  margin: 1.5em 0;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(30, 58, 95, 0.5);
  padding: 0.15em 0.4em;
}

.prose strong {
  color: var(--c-accent);
  font-weight: 700;
}

/* ============ Skip Link ============ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 999;
  background: var(--c-action);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  line-height: 1;
  transition: top 0.25s ease;
}

.skip-link:focus-visible {
  top: 0;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(6, 13, 31, 0.92) 0%, rgba(6, 13, 31, 0.5) 55%, rgba(6, 13, 31, 0) 100%);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 13, 31, 0.96);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(57, 255, 20, 0.12);
}

.header-inner {
  width: min(var(--container-w), calc(100% - 2 * var(--container-pad)));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(57, 255, 20, 0.08);
  overflow: hidden;
}

.header-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-action) 100%);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

/* ============ Brand ============ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 30px;
  padding: 0 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-bg-deep);
  background: var(--c-accent);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: box-shadow 0.3s ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.6);
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 2px solid var(--c-action);
  line-height: 1.2;
}

/* ============ Nav Desktop ============ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  display: block;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-text);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--c-accent);
  font-weight: 700;
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--c-action);
  transform: translateY(-50%) rotate(45deg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--grad-action);
  color: #0A0A0F;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-cta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0A0A0F;
  box-shadow: 0 0 0 2px rgba(10, 10, 15, 0.25);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(57, 255, 20, 0.5));
  transform: translateY(-2px);
  outline: none;
}

/* ============ Nav Toggle ============ */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(168, 196, 224, 0.2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-accent);
  transform: skewX(-15deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(57, 255, 20, 0.08);
  border-color: rgba(57, 255, 20, 0.5);
}

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

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

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

/* ============ Responsive Header & Nav ============ */
@media (max-width: 1100px) {
  .nav-link {
    padding: 8px 8px;
  }
  .site-nav {
    gap: 14px;
  }
  .brand-slogan {
    display: none;
  }
  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 97;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: calc(var(--header-h) + 28px) 36px 32px;
    background:
      repeating-linear-gradient(-45deg, transparent 0 16px, rgba(57, 255, 20, 0.03) 16px 17px),
      linear-gradient(160deg, #060D1F 0%, #0A1E3C 60%, #12305A 100%);
    border-left: 1px solid rgba(57, 255, 20, 0.15);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    overflow-y: auto;
    z-index: 96;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-action));
    opacity: 0.6;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 15px 8px;
    font-size: 19px;
    font-weight: 700;
    border-bottom: 1px solid rgba(168, 196, 224, 0.12);
    white-space: normal;
  }

  .nav-link::before {
    left: -6px;
    top: 50%;
  }

  .nav-link[aria-current="page"]::before {
    width: 8px;
    height: 8px;
  }

  .nav-link::after {
    left: 8px;
    right: auto;
    width: 36px;
  }

  .nav-cta {
    margin-top: 24px;
    justify-content: center;
    padding: 14px 18px;
    font-size: 16px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgba(6, 13, 31, 0.55);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }
  .brand-slogan {
    display: none;
  }
}

/* ============ Footer ============ */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--c-bg-deep);
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent) 0%, transparent 40%, var(--c-action) 100%);
  z-index: 3;
  pointer-events: none;
}

.site-footer::after {
  content: "AOA";
  position: absolute;
  right: -10px;
  bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(120px, 24vw, 260px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.8;
  color: rgba(168, 196, 224, 0.05);
  pointer-events: none;
  z-index: 0;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(168, 196, 224, 0.1);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  color: var(--c-bg-deep);
  background: var(--c-accent);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.3);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: 0.03em;
}

.footer-about {
  max-width: 36ch;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-dim);
}

.footer-statement {
  max-width: 38ch;
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--c-action);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(168, 196, 224, 0.55);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

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

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--c-text);
  gap: 10px;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  width: 14px;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  line-height: 1.5;
  padding-top: 2px;
}

.contact-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-dim);
  overflow-wrap: break-word;
}

.footer-copy {
  font-size: 13px;
  color: rgba(168, 196, 224, 0.55);
}

.footer-icp {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: rgba(168, 196, 224, 0.45);
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-block {
    grid-column: 1 / -1;
  }
  .footer-bottom-inner {
    flex-direction: row;
  }
}

@media (min-width: 980px) {
  .footer-main {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
  }
  .footer-brand-block {
    grid-column: auto;
  }
}

/* ============ Reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ============ Reduced Motion ============ */
@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;
    transition-delay: 0s !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .figure img {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 960px) {
  .site-nav {
    transition: none;
  }
}
