@import './brand.css';

/* -------------------------------------------------------------------------- */
/* Base — modern defaults, mobile-first                                        */
/* -------------------------------------------------------------------------- */

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  /* Prevents a blank/white flash on iOS Safari overscroll (pull-to-refresh).
     iOS paints the overscroll region with the html background, not body. */
  background-color: #020408;
}

@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;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--opsphere-font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--opsphere-bg);
  color: var(--opsphere-text-muted);
}

/* Full-page dark gradient + technical grid — decorative only */
.body-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--opsphere-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--opsphere-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(96, 165, 250, 0.06), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: center top, center top, 0 0, 0 0;
}

/* -------------------------------------------------------------------------- */
/* Background signal — three stepped paths, three pulses / 60s, reduced motion */
/* -------------------------------------------------------------------------- */

.body-bg-signal {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.body-bg-signal__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.body-bg-signal__path {
  fill: none;
  stroke: rgba(96, 165, 250, 0.52);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 0.042 0.958;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 7px rgba(96, 165, 250, 0.32));
}

.body-bg-signal__path--a {
  animation: signal-path-a 60s linear infinite;
}

.body-bg-signal__path--b {
  animation: signal-path-b 60s linear infinite;
}

/* Longer polyline: slightly softer + finer stroke so it stays “background” */
.body-bg-signal__path--c {
  stroke: rgba(147, 197, 253, 0.46);
  stroke-width: 1.55;
  stroke-dasharray: 0.036 0.964;
  filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.28));
  animation: signal-path-c 60s linear infinite;
}

/* First pulse: ~0–17% (~10s active), then idle until second pulse */
@keyframes signal-path-a {
  0%,
  100% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  0.67% {
    opacity: 0.58;
  }
  15% {
    stroke-dashoffset: 0;
    opacity: 0.52;
  }
  16.5% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  17% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  17.01%,
  99.99% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
}

/* Third pulse: multi-step snake, ~28–45% */
@keyframes signal-path-c {
  0%,
  27.99% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  28% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  28.67% {
    opacity: 0.54;
  }
  43% {
    stroke-dashoffset: 0;
    opacity: 0.46;
  }
  44.5% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  45% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  45.01%,
  100% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
}

/* Last pulse: ~58–75%, R→L band below A */
@keyframes signal-path-b {
  0%,
  57.99% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  58% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  58.67% {
    opacity: 0.58;
  }
  73% {
    stroke-dashoffset: 0;
    opacity: 0.52;
  }
  74.5% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  75% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  75.01%,
  100% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .body-bg-signal {
    display: none;
  }
}

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

/* Base link — do NOT set hover color here; buttons override below */
a {
  color: var(--opsphere-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:not(.btn):hover {
  color: #93c5fd;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--opsphere-surface-2);
  color: var(--opsphere-text);
  border-radius: var(--opsphere-radius);
  text-decoration: none;
}

.skip-link:focus {
  left: var(--opsphere-space-md);
  top: var(--opsphere-space-md);
}

/* -------------------------------------------------------------------------- */
/* Layout shell & sections                                                     */
/* -------------------------------------------------------------------------- */

.shell {
  width: var(--opsphere-container);
  margin-inline: auto;
  padding-inline: var(--opsphere-space-md);
}

/* Sections with anchor IDs need offset for the sticky header */
.section {
  padding-block: var(--opsphere-space-2xl);
  scroll-margin-top: var(--opsphere-header-h);
}

.section--tight-top {
  padding-block-start: var(--opsphere-space-xl);
}

/* Eyebrow label above headings */
.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--opsphere-tracking-wide);
  text-transform: uppercase;
  color: var(--opsphere-accent);
  margin: 0 0 var(--opsphere-space-sm);
}

.section__title {
  margin: 0 0 var(--opsphere-space-md);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.125rem);
  font-weight: 600;
  letter-spacing: var(--opsphere-tracking-tight);
  color: var(--opsphere-text);
  text-wrap: balance;
  line-height: 1.15;
}

/* Smaller variant for secondary headings (h3 inside split layout) */
.section__title--sub {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
}

/* Centered variant for CTA panel */
.section__title--centered {
  margin-bottom: var(--opsphere-space-sm);
}

.section__lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--opsphere-text-muted);
}

/* Extra bottom margin variant (before a grid) */
.section__lead--spaced {
  margin-bottom: var(--opsphere-space-lg);
}

/* Centered + auto-margin for CTA panel */
.section__lead--centered {
  margin-inline: auto;
}

/* -------------------------------------------------------------------------- */
/* Preview bar — thin notice strip below the sticky header                    */
/* -------------------------------------------------------------------------- */

.site-preview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem var(--opsphere-space-md);
  background: rgba(37, 99, 235, 0.12);
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 0.8125rem;
  color: var(--opsphere-text-muted);
  text-align: center;
  line-height: 1.4;
}

.site-preview-bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--opsphere-accent);
  flex-shrink: 0;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------- */
/* Header — premium sticky glass bar                                          */
/* -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--opsphere-header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--opsphere-border);
  background: rgba(2, 4, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Safe area for notched phones */
  padding-inline: max(env(safe-area-inset-left), var(--opsphere-space-md));
  padding-inline-end: max(env(safe-area-inset-right), var(--opsphere-space-md));
}

.site-header__inner {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--opsphere-space-md);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--opsphere-space-sm);
  min-width: 0;
  flex-shrink: 0;
}

.site-header__logo {
  height: clamp(2.875rem, 6vw, 4rem);
  width: auto;
  max-height: 4rem;
  object-fit: contain;
  object-position: left center;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.5vw, 0.75rem);
  flex-shrink: 0;
}

.site-header__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--opsphere-text-subtle);
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-header__link:hover {
  color: var(--opsphere-text);
  background: rgba(255, 255, 255, 0.06);
}

/* CTA link in nav — slightly accented */
.site-header__link--cta {
  color: var(--opsphere-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--opsphere-border);
}

.site-header__link--cta:hover {
  color: var(--opsphere-text);
  background: rgba(255, 255, 255, 0.08);
}

/* Hide secondary nav items on very small screens */
@media (max-width: 480px) {
  .site-header__link--secondary {
    display: none;
  }
}

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

.hero {
  position: relative;
  padding-block: var(--opsphere-space-2xl);
  padding-block-start: clamp(2.5rem, 7vw, 5rem);
}

.hero__grid {
  display: grid;
  gap: var(--opsphere-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--opsphere-space-2xl);
  }
}

.hero__copy {
  min-width: 0;
}

/* Pill badge above H1 */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--opsphere-border-strong);
  background: rgba(8, 13, 24, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--opsphere-text-muted);
  margin: 0 0 var(--opsphere-space-md);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--opsphere-accent);
  box-shadow: 0 0 10px var(--opsphere-accent-dim);
  flex-shrink: 0;
}

.hero__title {
  margin: 0 0 var(--opsphere-space-md);
  font-size: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: var(--opsphere-tracking-tight);
  line-height: 1.06;
  color: var(--opsphere-text);
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 var(--opsphere-space-lg);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  max-width: 44ch;
  color: var(--opsphere-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--opsphere-space-sm);
  align-items: center;
}

/* -------------------------------------------------------------------------- */
/* Hero signal panel — purely decorative (aria-hidden)                         */
/* -------------------------------------------------------------------------- */

.hero__panel {
  position: relative;
  border-radius: var(--opsphere-radius-lg);
  border: 1px solid var(--opsphere-border);
  background: linear-gradient(145deg, var(--opsphere-surface) 0%, var(--opsphere-surface-2) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 32px 80px rgba(0, 0, 0, 0.5);
  padding: var(--opsphere-space-lg);
  min-height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--opsphere-space-md);
}

@media (min-width: 900px) {
  .hero__panel {
    min-height: 340px;
  }
}

/* Top glow */
.hero__panel::before {
  content: '';
  position: absolute;
  inset: -50% -10% auto;
  height: 60%;
  background: radial-gradient(ellipse, var(--opsphere-accent-dim) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

/* Subtle dot-grid overlay */
.hero__panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 10%, transparent 70%);
  pointer-events: none;
}

.hero__panel-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--opsphere-text-subtle);
  padding-bottom: var(--opsphere-space-xs);
  border-bottom: 1px solid var(--opsphere-border);
}

.hero__panel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--opsphere-text-muted);
}

.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__pulse {
    animation: pulse-ring 2.5s ease-out infinite;
  }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Stat tiles */
.hero__metrics {
  position: relative;
  display: flex;
  gap: var(--opsphere-space-sm);
}

.hero__metric {
  flex: 1;
  min-width: 0;
  padding: var(--opsphere-space-xs) var(--opsphere-space-sm);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--opsphere-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__metric-value {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
  font-weight: 600;
  color: var(--opsphere-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero__metric-label {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--opsphere-text-subtle);
}

/* Activity bars */
.hero__bars {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  justify-content: center;
}

.hero__bar {
  height: 4px;
  border-radius: 2px;
  width: var(--bar-w, 100%);
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.55), rgba(96, 165, 250, 0.06));
}

.hero__bar:nth-child(odd) {
  opacity: 0.9;
}

.hero__bar:nth-child(even) {
  opacity: 0.45;
}

/* Tag row */
.hero__panel-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: var(--opsphere-space-xs);
  border-top: 1px solid var(--opsphere-border);
  margin-top: auto;
}

.hero__panel-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--opsphere-text-subtle);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: scale(0.97);
  }
}

.btn--primary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn--primary:hover {
  color: #fff;
  filter: brightness(1.1);
}

.btn--primary:focus-visible {
  outline-color: #60a5fa;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--opsphere-text);
  border: 1px solid var(--opsphere-border-strong);
}

.btn--ghost:hover {
  color: var(--opsphere-text);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

/* -------------------------------------------------------------------------- */
/* Feature grid — 1 → 2 → 3 columns                                           */
/* -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  gap: var(--opsphere-space-md);
}

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

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  border-radius: var(--opsphere-radius);
  border: 1px solid var(--opsphere-border);
  background: rgba(8, 13, 24, 0.6);
  padding: var(--opsphere-space-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
  }
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--opsphere-space-sm);
  font-size: 1.125rem;
  color: var(--opsphere-accent);
}

.feature-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--opsphere-text);
  line-height: 1.3;
}

.feature-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--opsphere-text-subtle);
}

/* -------------------------------------------------------------------------- */
/* Split layout — audience / why                                               */
/* -------------------------------------------------------------------------- */

.split {
  display: grid;
  gap: var(--opsphere-space-xl);
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--opsphere-space-2xl);
    align-items: start;
  }
}

.list-check {
  margin: var(--opsphere-space-md) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--opsphere-text-muted);
}

.list-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--opsphere-accent);
  opacity: 0.85;
}

/* -------------------------------------------------------------------------- */
/* Coming soon band                                                            */
/* -------------------------------------------------------------------------- */

.notice {
  border-radius: var(--opsphere-radius-lg);
  border: 1px solid var(--opsphere-border-strong);
  background: linear-gradient(135deg, var(--opsphere-surface-2) 0%, var(--opsphere-bg-elevated) 100%);
  padding: clamp(2rem, 5vw, 3rem) var(--opsphere-space-lg);
  text-align: center;
}

.notice__title {
  margin: 0 0 var(--opsphere-space-sm);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 600;
  color: var(--opsphere-text);
}

.notice__text {
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--opsphere-text-muted);
  max-width: 52ch;
}

/* -------------------------------------------------------------------------- */
/* Contact CTA panel                                                           */
/* -------------------------------------------------------------------------- */

.cta-panel {
  border-radius: var(--opsphere-radius-lg);
  border: 1px solid var(--opsphere-border);
  background: linear-gradient(160deg, var(--opsphere-surface) 0%, var(--opsphere-surface-2) 100%);
  padding: clamp(2.5rem, 6vw, 4rem) var(--opsphere-space-lg);
  text-align: center;
}

.cta-panel__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem var(--opsphere-space-lg);
  margin-top: var(--opsphere-space-md);
}

.cta-panel__email,
.cta-panel__phone {
  display: inline-block;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 600;
  word-break: break-word;
  color: var(--opsphere-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.cta-panel__email:hover,
.cta-panel__phone:hover {
  color: #93c5fd;
  border-bottom-color: currentColor;
}

/* -------------------------------------------------------------------------- */
/* Footer — three columns: brand | contact | SEO + bottom copyright bar      */
/* -------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--opsphere-border);
  font-size: 0.8125rem;
  color: var(--opsphere-text-subtle);
}

.site-footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: start;
}

.site-footer__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--opsphere-accent);
  opacity: 0.95;
}

.site-footer__col--brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
}

.site-footer__brand {
  display: inline-flex;
  opacity: 0.88;
  transition: opacity 0.15s ease;
  max-width: 100%;
}

.site-footer__brand:hover {
  opacity: 1;
}

.site-footer__brand img {
  height: clamp(3rem, 14vw, 5.25rem);
  width: auto;
  max-width: min(100%, 22rem);
  object-fit: contain;
  object-position: left center;
}

.site-footer__col--contact,
.site-footer__col--seo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--opsphere-space-md);
  min-width: 0;
  text-align: left;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  justify-content: flex-start;
}

.site-footer__nav-link {
  color: var(--opsphere-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-footer__nav-link:hover {
  color: var(--opsphere-accent);
}

.site-footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  font-style: normal;
  line-height: 1.5;
}

.site-footer__address a {
  color: var(--opsphere-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-footer__address a:hover {
  color: var(--opsphere-accent);
}

.site-footer__seo {
  margin: 0;
  max-width: 46ch;
  line-height: 1.65;
  color: var(--opsphere-text-subtle);
  font-size: 0.8125rem;
}

.site-footer__seo a {
  color: var(--opsphere-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.site-footer__seo a:hover {
  color: #93c5fd;
}

.site-footer__bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: var(--opsphere-space-lg);
  border-top: 1px solid var(--opsphere-border);
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--opsphere-text-subtle);
  letter-spacing: 0.02em;
}

/* Tablet: logo full width, contact + SEO in two columns */
@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 2rem);
    row-gap: var(--opsphere-space-xl);
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .site-footer__brand img {
    object-position: center center;
    max-height: 4.75rem;
  }

  .site-footer__col--contact,
  .site-footer__col--seo {
    align-items: flex-start;
    text-align: left;
  }
}

/* Mobile: single column, centered */
@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--opsphere-space-xl);
  }

  .site-footer__col--brand {
    grid-column: auto;
  }

  .site-footer__col--contact,
  .site-footer__col--seo {
    align-items: center;
    text-align: center;
  }

  .site-footer__nav {
    justify-content: center;
  }

  .site-footer__address {
    align-items: center;
  }

  .site-footer__seo {
    max-width: 38ch;
    margin-inline: auto;
  }
}
