/* ============================================================================
   Evident Technologies LLC — Corporate Site
   evidtech.com

   Gemstone Design System — Premium Visual Language
   ============================================================================ */

/* --- Design Tokens (Gemstone Palette) ------------------------------------- */

:root {
  /* Gemstone colors */
  --gem-sapphire: #1e40af;
  --gem-sapphire-light: #3b82f6;
  --gem-emerald: #059669;
  --gem-emerald-light: #34d399;
  --gem-ruby: #be123c;
  --gem-ruby-light: #fb7185;
  --gem-topaz: #d97706;
  --gem-topaz-light: #fbbf24;
  --gem-amethyst: #7c3aed;
  --gem-amethyst-light: #a78bfa;

  /* Surfaces */
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-elevated: #ffffff;
  --surface-deep: #0b1120;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f1f5f9;

  /* Borders */
  --border: #e2e8f0;
  --border-subtle: rgba(148, 163, 184, 0.2);

  /* Gradients */
  --gradient-gem: linear-gradient(135deg, var(--gem-sapphire), var(--gem-emerald));
  --gradient-gem-warm: linear-gradient(135deg, var(--gem-ruby), var(--gem-topaz));
  --gradient-gem-cool: linear-gradient(135deg, var(--gem-sapphire), var(--gem-amethyst));
  --gradient-gem-full: linear-gradient(135deg, var(--gem-sapphire), var(--gem-emerald), var(--gem-topaz));

  /* Glow */
  --glow-sapphire: 0 0 30px rgba(30, 64, 175, 0.15);
  --glow-emerald: 0 0 30px rgba(5, 150, 105, 0.15);
  --glow-gem: 0 4px 24px rgba(30, 64, 175, 0.12), 0 0 48px rgba(5, 150, 105, 0.06);

  /* Elevation */
  --elevation-1: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --elevation-2: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --elevation-3: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b1120;
    --surface-alt: #0f1729;
    --surface-elevated: #111827;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --border-subtle: rgba(148, 163, 184, 0.1);
    --elevation-1: 0 1px 3px rgba(0, 0, 0, 0.2);
    --elevation-2: 0 4px 12px rgba(0, 0, 0, 0.25);
    --elevation-3: 0 12px 40px rgba(0, 0, 0, 0.35);
    --glow-sapphire: 0 0 40px rgba(59, 130, 246, 0.2);
    --glow-emerald: 0 0 40px rgba(52, 211, 153, 0.15);
    --glow-gem: 0 4px 32px rgba(59, 130, 246, 0.18), 0 0 64px rgba(52, 211, 153, 0.08);
  }
}

/* --- Reset & Base --------------------------------------------------------- */

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* --- Layout --------------------------------------------------------------- */

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 8vh, 7rem);
}

.section-alt {
  background: var(--surface-alt);
}

/* --- Typography ----------------------------------------------------------- */

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

p {
  max-width: 65ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  background: var(--gradient-gem);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--gradient-gem);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.text-gradient {
  display: inline;
  background: var(--gradient-gem);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* --- Separator line (gemstone accent) ------------------------------------- */

.gem-divider {
  display: block;
  width: 4rem;
  height: 3px;
  background: var(--gradient-gem);
  border: none;
  border-radius: var(--radius-full);
  margin-block: 1.5rem;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
}

/* Gemstone accent line at very top of page */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--gradient-gem);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(11, 17, 32, 0.88);
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  transition: opacity 200ms ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 4px;
  border-radius: 4px;
}

.brand-text {
  color: var(--text-primary);
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.header-nav a:hover {
  color: var(--gem-sapphire);
}

.header-nav a:focus-visible {
  outline: 2px solid var(--gem-sapphire-light);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-color-scheme: dark) {
  .header-nav a:hover {
    color: var(--gem-sapphire-light);
  }
}

@media (max-width: 640px) {
  .header-nav {
    gap: 1rem;
  }

  .header-nav a {
    font-size: 0.8125rem;
  }
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(32rem, 75vh, 44rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(5rem, 12vh, 10rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 15% 35%, rgba(30, 64, 175, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 65%, rgba(5, 150, 105, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(124, 58, 237, 0.04), transparent 50%);
}

@media (prefers-color-scheme: dark) {
  .hero-bg {
    background:
      radial-gradient(ellipse 70% 50% at 15% 35%, rgba(30, 64, 175, 0.2), transparent 60%),
      radial-gradient(ellipse 50% 60% at 85% 65%, rgba(5, 150, 105, 0.12), transparent 55%),
      radial-gradient(ellipse 40% 40% at 50% 80%, rgba(124, 58, 237, 0.08), transparent 50%);
  }
}

/* Animated mesh overlay */
.hero-mesh {
  position: absolute;
  inset: -50%;
  z-index: -1;
  opacity: 0.4;
  filter: blur(80px);
  background:
    radial-gradient(circle at 30% 40%, rgba(30, 64, 175, 0.25), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(5, 150, 105, 0.18), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.12), transparent 50%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mesh {
    animation: mesh-drift 25s ease-in-out infinite alternate;
  }

  @keyframes mesh-drift {
    0% {
      translate: 0 0;
      rotate: 0deg;
    }
    33% {
      translate: 4% -3%;
      rotate: 1.5deg;
    }
    66% {
      translate: -3% 4%;
      rotate: -1deg;
    }
    100% {
      translate: 2% -2%;
      rotate: 0.5deg;
    }
  }
}

@media (prefers-color-scheme: dark) {
  .hero-mesh {
    opacity: 0.6;
  }
}

/* Grain texture for depth */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.02;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-content {
  max-width: 740px;
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  color: var(--text-secondary);
  margin-top: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
}

.btn:focus-visible {
  outline: 2px solid var(--gem-sapphire-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-gem);
  color: white;
  box-shadow: var(--elevation-1);
}

/* Glow effect behind primary button */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--gradient-gem);
  border-radius: inherit;
  filter: blur(14px);
  opacity: 0;
  z-index: -1;
  transition: opacity 250ms ease;
}

.btn-primary:hover {
  box-shadow: var(--elevation-2);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover {
    transform: none;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--gem-sapphire);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(30, 64, 175, 0.04);
  border-color: var(--gem-sapphire-light);
}

@media (prefers-color-scheme: dark) {
  .btn-primary {
    box-shadow: var(--elevation-2);
  }

  .btn-ghost {
    color: var(--gem-sapphire-light);
    border-color: #334155;
  }

  .btn-ghost:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--gem-sapphire-light);
  }
}

/* --- Button Sizes --------------------------------------------------------- */

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
}

/* --- Trust Strip ---------------------------------------------------------- */

.trust-strip {
  padding-block: 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

/* Gemstone-colored top accent on each stat */
.trust-item::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: var(--radius-full);
  margin-inline: auto;
  margin-bottom: 0.75rem;
  background: var(--gradient-gem);
}

.trust-number {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-gem);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- CTA Banner ----------------------------------------------------------- */

.cta-banner {
  position: relative;
  padding-block: clamp(4rem, 8vh, 6rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(30, 64, 175, 0.15), transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(5, 150, 105, 0.1), transparent 60%),
    linear-gradient(135deg, #0b1120 0%, #111827 50%, #0f172a 100%);
  color: #f1f5f9;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gem);
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.cta-sub {
  font-size: 1.0625rem;
  color: #94a3b8;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.75rem;
}

.cta-banner .btn-primary {
  background: var(--gradient-gem);
  box-shadow:
    0 4px 20px rgba(59, 130, 246, 0.25),
    0 0 40px rgba(5, 150, 105, 0.1);
}

.cta-banner .btn-primary:hover {
  box-shadow:
    0 6px 28px rgba(59, 130, 246, 0.35),
    0 0 60px rgba(5, 150, 105, 0.15);
}

.cta-banner .btn-ghost {
  color: #cbd5e1;
  border-color: #475569;
}

.cta-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #94a3b8;
  color: #f1f5f9;
}

/* --- Flagship Product ----------------------------------------------------- */

.flagship {
  position: relative;
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: var(--elevation-1);
  transition:
    box-shadow 300ms ease,
    transform 300ms ease;
}

/* Gemstone gradient border-top accent */
.flagship::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gem);
}

.flagship:hover {
  box-shadow: var(--glow-gem);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .flagship:hover {
    transform: none;
  }
}

@media (prefers-color-scheme: dark) {
  .flagship {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(5, 150, 105, 0.03)), var(--surface-elevated);
    border-color: #1e293b;
  }
}

.flagship-badge {
  position: absolute;
  top: 3px;
  right: 2rem;
  padding: 0.375rem 1rem;
  background: var(--gradient-gem);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.flagship-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .flagship-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.flagship-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(5, 150, 105, 0.06));
  color: var(--gem-sapphire);
}

.flagship-icon svg {
  width: 24px;
  height: 24px;
}

@media (prefers-color-scheme: dark) {
  .flagship-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(52, 211, 153, 0.08));
    color: var(--gem-sapphire-light);
  }
}

.flagship-text {
  flex: 1;
}

.flagship-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flagship-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.flagship .btn {
  flex-shrink: 0;
}

/* --- Capabilities List ---------------------------------------------------- */

.capabilities {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.capability {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 200ms ease;
}

.capability:hover {
  background: rgba(30, 64, 175, 0.02);
}

@media (prefers-color-scheme: dark) {
  .capability:hover {
    background: rgba(59, 130, 246, 0.03);
  }
}

.capability:last-child {
  border-bottom: none;
}

.capability-marker {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(5, 150, 105, 0.04));
  color: var(--gem-sapphire);
}

@media (prefers-color-scheme: dark) {
  .capability-marker {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(52, 211, 153, 0.06));
    color: var(--gem-sapphire-light);
  }
}

.capability h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.capability p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- About Section -------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-text p + p {
  margin-top: 1.25rem;
}

.about-values h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gradient-gem);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1.25rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gem-sapphire);
  transition: border-color 200ms ease;
}

.values-list li:nth-child(2) {
  border-left-color: var(--gem-emerald);
}
.values-list li:nth-child(3) {
  border-left-color: var(--gem-amethyst);
}
.values-list li:nth-child(4) {
  border-left-color: var(--gem-topaz);
}
.values-list li:nth-child(5) {
  border-left-color: var(--gem-ruby);
}

.values-list li strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.values-list li span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Governance Section --------------------------------------------------- */

.governance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.gov-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  box-shadow: var(--elevation-1);
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}

.gov-card:hover {
  box-shadow: var(--elevation-2);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .gov-card:hover {
    transform: none;
  }
}

.gov-card h3 {
  color: var(--text-primary);
}

.gov-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Contact Section ------------------------------------------------------ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-intro h2 {
  text-align: left;
}

.contact-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-response {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gem-sapphire);
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(5, 150, 105, 0.03));
  border-left: 3px solid transparent;
  border-image: var(--gradient-gem) 1;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (prefers-color-scheme: dark) {
  .contact-response {
    color: var(--gem-sapphire-light);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(52, 211, 153, 0.04));
  }
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  transition:
    background 150ms ease,
    box-shadow 150ms ease;
}

.contact-row:first-child {
  border-top: 1px solid var(--border);
}

.contact-row:hover {
  background: rgba(30, 64, 175, 0.03);
  box-shadow: var(--elevation-1);
}

@media (prefers-color-scheme: dark) {
  .contact-row:hover {
    background: rgba(59, 130, 246, 0.06);
  }
}

.contact-row:focus-visible {
  outline: 2px solid var(--gem-sapphire-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-row {
    transition: none;
  }
}

.contact-row-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(5, 150, 105, 0.04));
  color: var(--gem-sapphire);
}

@media (prefers-color-scheme: dark) {
  .contact-row-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(52, 211, 153, 0.06));
    color: var(--gem-sapphire-light);
  }
}

.contact-row-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.contact-row-info strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-row-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contact-row-arrow {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  transition:
    transform 150ms ease,
    color 150ms ease;
}

.contact-row:hover .contact-row-arrow {
  transform: translateX(4px);
  color: var(--gem-sapphire-light);
}

@media (prefers-reduced-motion: reduce) {
  .contact-row:hover .contact-row-arrow {
    transform: none;
  }
}
/* --- Footer --------------------------------------------------------------- */

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-entity {
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer-jurisdiction {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--gem-sapphire);
}

@media (prefers-color-scheme: dark) {
  .footer-links a:hover {
    color: var(--gem-sapphire-light);
  }
}

.footer-links a:focus-visible {
  outline: 2px solid var(--gem-sapphire-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-links .sep {
  color: var(--border);
}

.footer-copy {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --- Print ---------------------------------------------------------------- */

/* --- Reveal Animation (scroll) -------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition:
      opacity 600ms ease,
      transform 600ms ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Page Hero (subpages) ------------------------------------------------- */

.page-hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3rem);
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}

.page-hero .eyebrow {
  margin-block-end: 0.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-wrap: balance;
}

.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin-block-start: 1rem;
  text-wrap: pretty;
}

/* --- Print ---------------------------------------------------------------- */

@media print {
  .site-header,
  .hero-bg,
  .hero-mesh,
  .hero-grain {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section-alt {
    background: transparent;
  }
}
