/* =========================================================
   Dynastia Capital — Premium Industrial Landing
   Palette: night steel · champagne gold · ivory · steel blue
   ========================================================= */

:root {
  --night: #0B1220;
  --navy: #121C2E;
  --slate: #1A2740;
  --slate-2: #243352;
  --line: rgba(196, 165, 116, 0.18);
  --line-soft: rgba(242, 237, 228, 0.08);
  --ivory: #F2EDE4;
  --ivory-dim: rgba(242, 237, 228, 0.72);
  --ivory-mute: rgba(242, 237, 228, 0.48);
  --gold: #C4A574;
  --gold-soft: #D4BC93;
  --gold-deep: #A68B5B;
  --steel: #5B7C99;
  --steel-soft: rgba(91, 124, 153, 0.35);
  --success: #7CB896;
  --danger: #D07A6A;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-gold: 0 20px 50px rgba(196, 165, 116, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Atmosphere */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,165,116,0.09) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--container));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.55rem;
}

.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ivory-dim);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.25s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--ivory);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 39, 64, 0.5);
}

.lang-btn {
  min-width: 38px;
  height: 30px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory-mute);
  transition: 0.25s var(--ease);
}

.lang-btn.is-active {
  background: var(--gold);
  color: var(--night);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ivory);
  transition: 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 35;
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem 3rem;
  overflow-y: auto;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ivory);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  color: var(--night);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 22px 48px rgba(196, 165, 116, 0.22);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ivory);
  background: rgba(26, 39, 64, 0.35);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-sm {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-block { width: 100%; }

.header-actions .btn-sm { display: none; }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ivory);
  max-width: 18ch;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  z-index: 2;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  align-items: start;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-index {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  padding-top: 0.45rem;
  opacity: 0.85;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ivory);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(91, 124, 153, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(196, 165, 116, 0.08), transparent 50%),
    linear-gradient(180deg, var(--night) 0%, var(--navy) 55%, var(--night) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 237, 228, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 237, 228, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.net-path {
  stroke-dasharray: 8 10;
  animation: dash 40s linear infinite;
}
.net-path.d2 { animation-duration: 55s; animation-direction: reverse; opacity: 0.7; }
.net-path.d3 { animation-duration: 48s; opacity: 0.55; }

.net-node {
  animation: pulse-node 3.5s ease-in-out infinite;
}
.net-node:nth-child(2) { animation-delay: 0.4s; }
.net-node:nth-child(3) { animation-delay: 0.8s; }
.net-node:nth-child(4) { animation-delay: 1.2s; }
.net-node:nth-child(5) { animation-delay: 1.6s; }
.net-node:nth-child(6) { animation-delay: 2s; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.hero-orb-1 {
  width: 340px;
  height: 340px;
  right: 8%;
  top: 18%;
  background: rgba(91, 124, 153, 0.35);
}
.hero-orb-2 {
  width: 280px;
  height: 280px;
  left: -4%;
  bottom: 10%;
  background: rgba(196, 165, 116, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7.2vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.hero-title span { display: block; }

.hero-title-accent {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--ivory-dim);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 640px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--ivory-mute);
  line-height: 1.35;
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.scroll-hint i {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(18, 28, 46, 0.65) 20%, rgba(18, 28, 46, 0.65) 80%, transparent);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-copy p {
  color: var(--ivory-dim);
  max-width: 58ch;
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(26, 39, 64, 0.75), rgba(18, 28, 46, 0.4));
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

.panel-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--ivory);
}

.panel-card ul {
  display: grid;
  gap: 0.65rem;
}

.panel-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.panel-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.panel-card-gold {
  border-color: rgba(196, 165, 116, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 165, 116, 0.14), transparent 50%),
    linear-gradient(160deg, rgba(36, 51, 82, 0.9), rgba(18, 28, 46, 0.55));
}

.panel-card-gold p { color: var(--ivory-dim); }

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}

.area-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(18, 28, 46, 0.55);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
  min-height: 132px;
}

.area-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.area-card:hover {
  border-color: rgba(196, 165, 116, 0.35);
  transform: translateY(-3px);
  background: rgba(26, 39, 64, 0.8);
}

.area-card:hover::before { opacity: 1; }

.area-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ivory);
}

/* Services */
.services {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(91, 124, 153, 0.12), transparent 55%),
    var(--night);
}

.services-track {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
  transition: background 0.3s, padding 0.3s;
}

.service-row:hover {
  background: linear-gradient(90deg, rgba(196, 165, 116, 0.05), transparent 60%);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  min-width: 2.2rem;
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.service-row p {
  color: var(--ivory-mute);
  font-size: 0.95rem;
  max-width: 62ch;
  margin: 0;
}

/* Why */
.why-grid {
  display: grid;
  gap: 1rem;
}

.why-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(145deg, rgba(26, 39, 64, 0.7), rgba(11, 18, 32, 0.3));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.why-card:hover {
  border-color: rgba(196, 165, 116, 0.3);
  transform: translateY(-2px);
}

.why-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  color: var(--gold);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
}

.why-card p {
  color: var(--ivory-dim);
  font-size: 0.96rem;
  margin: 0;
}

/* Industries */
.industries {
  background:
    linear-gradient(180deg, transparent, rgba(18, 28, 46, 0.5), transparent);
}

.industries-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(18, 28, 46, 0.6);
  font-size: 0.9rem;
  color: var(--ivory-dim);
  transition: 0.25s var(--ease);
}

.industry-chip:hover {
  border-color: rgba(196, 165, 116, 0.45);
  color: var(--gold-soft);
  background: rgba(26, 39, 64, 0.85);
}

/* Mission / Vision / Values */
.mv-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.mv-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(18, 28, 46, 0.55);
}

.mv-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.mv-card p:not(.eyebrow) {
  color: var(--ivory-dim);
  max-width: 54ch;
}

.mv-card-accent {
  border-color: rgba(196, 165, 116, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(196, 165, 116, 0.12), transparent 45%),
    linear-gradient(160deg, rgba(26, 39, 64, 0.9), rgba(11, 18, 32, 0.5));
}

.values-grid {
  display: grid;
  gap: 0.85rem;
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.value-item:first-child { border-top: 1px solid var(--line-soft); }

.value-key {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  min-width: 7.5rem;
  padding-top: 0.1rem;
}

.value-item p {
  margin: 0;
  color: var(--ivory-dim);
  font-size: 0.98rem;
}

/* Closing */
.closing {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.closing-quote {
  margin: 0;
  padding: clamp(2rem, 5vw, 3rem);
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(196, 165, 116, 0.08), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.closing-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ivory);
  max-width: 40ch;
  margin: 0;
}

/* Contact */
.contact-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(196, 165, 116, 0.25);
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 165, 116, 0.1), transparent 40%),
    linear-gradient(165deg, rgba(26, 39, 64, 0.95), rgba(11, 18, 32, 0.85));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.contact-copy .section-title { max-width: 14ch; }

.contact-copy > p:not(.eyebrow) {
  color: var(--ivory-dim);
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.contact-points {
  display: grid;
  gap: 0.65rem;
}

.contact-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(11, 18, 32, 0.65);
  color: var(--ivory);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(196, 165, 116, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ivory-mute);
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ivory-mute);
  text-align: center;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  text-align: center;
}

.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--danger); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 0 2.75rem;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  color: var(--ivory-mute);
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--ivory-mute);
}

.footer-meta a:hover { color: var(--gold); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .net-path, .net-node, .scroll-hint i { animation: none; }
  .btn:hover { transform: none; }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Breakpoints */
@media (min-width: 720px) {
  .header-actions .btn-sm { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }

  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

  .form-row { grid-template-columns: 1fr 1fr; }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footer-meta {
    text-align: right;
    align-items: flex-end;
  }

  .service-row {
    grid-template-columns: 3rem 1fr;
  }
}

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

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

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .value-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .value-key { min-width: 0; }
}

/* Keyframes */
@keyframes dash {
  to { stroke-dashoffset: -400; }
}

@keyframes pulse-node {
  0%, 100% { opacity: 0.5; r: 2.5; }
  50% { opacity: 1; }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
