/* ====================================================================
   JAYSTONE FIRM — Stylesheet
   Aesthetic: Boutique advisory firm · institutional trust · refined dark
   ==================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy-deep: #00070f;
  --navy-surface: #050e1c;
  --navy-card: #0a1828;
  --navy-border: #142842;

  --ice: #D8F6FF;
  --ice-dim: rgba(216, 246, 255, 0.72);
  --ice-faint: rgba(216, 246, 255, 0.48);
  --ice-whisper: rgba(216, 246, 255, 0.16);
  --ice-hair: rgba(216, 246, 255, 0.08);

  --teal-dark: #145061;
  --teal-mid: #1a6a81;
  --teal: #008EBB;
  --teal-glow: rgba(0, 142, 187, 0.22);
  --teal-bright: #29b4e0;

  /* Type */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad-y: clamp(4rem, 10vw, 8rem);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 500ms;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@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;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ice);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--navy-deep); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: var(--navy-deep);
  padding: 0.75rem 1.25rem; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout Helpers ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }

.section-header { max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(41, 180, 224, 0.3);
  border-radius: 99px;
  background: rgba(41, 180, 224, 0.05);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ice);
  font-variation-settings: 'opsz' 144;
}
.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal-bright);
  font-variation-settings: 'opsz' 144, 'wght' 500;
}
.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ice-dim);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease-out),
              background var(--dur) var(--ease-std),
              border-color var(--dur) var(--ease-std),
              color var(--dur) var(--ease-std),
              box-shadow var(--dur) var(--ease-std);
  position: relative;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}
.btn svg { flex-shrink: 0; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg:last-child { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(180deg, var(--teal) 0%, #007aa2 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 30px -10px var(--teal-glow), 0 0 0 1px rgba(0, 142, 187, 0.4);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--teal-bright) 0%, var(--teal) 100%);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 18px 40px -12px var(--teal-glow), 0 0 0 1px rgba(41, 180, 224, 0.5);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(216, 246, 255, 0.03);
  color: var(--ice);
  border: 1px solid var(--ice-whisper);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(216, 246, 255, 0.08);
  border-color: rgba(216, 246, 255, 0.28);
  transform: translateY(-1px);
}

.btn--block { width: 100%; padding: 1.1rem 1.5rem; }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__spinner { display: block; position: absolute; }
.btn:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 7, 15, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(216, 246, 255, 0.06);
  transition: background var(--dur) var(--ease-std), border-color var(--dur) var(--ease-std);
}
.nav.is-scrolled {
  background: rgba(0, 7, 15, 0.92);
  border-bottom-color: rgba(216, 246, 255, 0.1);
}
.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.9rem var(--container-pad);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  transition: opacity var(--dur) var(--ease-std);
}
.nav__brand:hover { opacity: 0.85; }
.nav__logo { width: 34px; height: 34px; flex-shrink: 0; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ice);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 144;
}
.nav__wordmark-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--teal-bright);
  font-weight: 600;
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(41, 180, 224, 0.3);
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 0.9rem;
  color: var(--ice-dim);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--dur) var(--ease-std);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--teal-bright);
  transition: all var(--dur) var(--ease-out);
  transform: translateX(-50%);
}
.nav__link:hover { color: var(--ice); }
.nav__link:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; margin-left: auto; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ice-whisper);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ice-dim);
  transition: all var(--dur) var(--ease-std);
}
.lang-toggle:hover { border-color: var(--teal-bright); color: var(--ice); }
.lang-toggle__option { transition: color var(--dur); }
.lang-toggle__option.is-active { color: var(--teal-bright); }
.lang-toggle__divider { color: var(--ice-whisper); }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ice-whisper);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ice);
  transition: all var(--dur) var(--ease-std);
}
.nav__phone:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-1px);
}
.nav__phone svg { flex-shrink: 0; }

.nav__menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--ice-whisper);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.nav__menu-toggle span {
  width: 18px; height: 1.5px;
  background: var(--ice);
  transition: all var(--dur) var(--ease-out);
  border-radius: 2px;
}
.nav__menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(0, 7, 15, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--container-pad) 2rem;
    border-bottom: 1px solid var(--ice-whisper);
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--dur) var(--ease-out);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ice-hair);
    font-size: 1.05rem;
  }
  .nav__link::after { display: none; }
  .nav__menu-toggle { display: flex; }
  .nav__phone span { display: none; }
  .nav__phone { padding: 0.55rem 0.7rem; }
}
@media (max-width: 540px) {
  .nav__wordmark-sub { display: none; }
  .nav__wordmark-main { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px 0 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 142, 187, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(20, 80, 97, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, #00070f 0%, #020c18 55%, #000508 100%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  top: -150px; right: -100px;
  animation: glow-float 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(20, 80, 97, 0.45) 0%, transparent 70%);
  bottom: -100px; left: -80px;
  animation: glow-float 18s ease-in-out infinite reverse;
}
@keyframes glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(216, 246, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 246, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__content { position: relative; z-index: 2; animation: reveal 0.9s var(--ease-out) both; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-bright);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(41, 180, 224, 0.08);
  border: 1px solid rgba(41, 180, 224, 0.25);
  border-radius: 99px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 10px var(--teal-bright);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ice);
  margin: 0 0 1.5rem;
  font-variation-settings: 'opsz' 144;
}
.hero__headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal-bright);
  font-variation-settings: 'opsz' 144, 'wght' 500;
  display: inline-block;
}
.hero__subheadline {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ice-dim);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 2rem;
}

.hero__cta-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero__trust { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ice-faint);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero__trust-item svg { color: var(--teal-bright); flex-shrink: 0; }

.hero__visual { position: relative; z-index: 1; animation: reveal 1.1s 0.15s var(--ease-out) both; }
.hero__home-glow {
  position: absolute;
  width: 85%; height: 40%;
  bottom: 8%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 142, 187, 0.3) 0%, transparent 65%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}
.hero__home {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 60px 80px rgba(0, 0, 0, 0.3));
  animation: float 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .hero { padding: 110px 0 50px; min-height: auto; }
  .hero__container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; max-width: 560px; margin: 0 auto; }
  .hero__home { animation-duration: 10s; }
}
@media (max-width: 540px) {
  .hero__trust { gap: 1rem; }
  .hero__trust-item { font-size: 0.82rem; }
}

/* ---------- Situations ---------- */
.situations {
  padding: var(--section-pad-y) 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-surface) 100%);
  position: relative;
}
.situations::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--teal-bright));
  transform: translateX(-50%);
  opacity: 0.5;
}
.situations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.situation-card {
  background: rgba(10, 24, 40, 0.4);
  border: 1px solid var(--ice-hair);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.situation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 142, 187, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-std);
}
.situation-card:hover {
  border-color: rgba(41, 180, 224, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 142, 187, 0.25);
}
.situation-card:hover::before { opacity: 1; }
.situation-card > * { position: relative; z-index: 1; }

.situation-card__icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(20, 80, 97, 0.5) 0%, rgba(0, 142, 187, 0.2) 100%);
  border: 1px solid rgba(41, 180, 224, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--teal-bright);
}
.situation-card__icon svg { width: 26px; height: 26px; }
.situation-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ice);
  margin: 0 0 0.5rem;
  line-height: 1.25;
  font-variation-settings: 'opsz' 36;
}
.situation-card__desc {
  color: var(--ice-dim);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.situation-card--other {
  background: linear-gradient(135deg, rgba(0, 142, 187, 0.08) 0%, rgba(20, 80, 97, 0.15) 100%);
  border-color: rgba(41, 180, 224, 0.25);
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-pad-y) 0;
  background: var(--navy-surface);
  position: relative;
}
.steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(10, 24, 40, 0.6) 0%, rgba(5, 14, 28, 0.3) 100%);
  border: 1px solid var(--ice-hair);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--dur) var(--ease-out);
}
.step:hover {
  border-color: rgba(41, 180, 224, 0.2);
  transform: translateX(6px);
}
.step__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--teal-bright);
  font-variation-settings: 'opsz' 144, 'wght' 400;
  opacity: 0.85;
  letter-spacing: -0.02em;
}
.step__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--ice);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-variation-settings: 'opsz' 48;
}
.step__desc {
  color: var(--ice-dim);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.how-it-works__closer {
  max-width: 680px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 142, 187, 0.08) 0%, rgba(20, 80, 97, 0.05) 100%);
  border: 1px solid rgba(41, 180, 224, 0.18);
  border-radius: var(--radius-lg);
}
.how-it-works__closer p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: var(--ice);
  margin: 0 0 1.5rem;
  line-height: 1.35;
  font-variation-settings: 'opsz' 48;
  font-style: italic;
}

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem; }
  .step:hover { transform: none; }
  .step__num { font-size: 2.5rem; }
}

/* ---------- About ---------- */
.about {
  padding: var(--section-pad-y) 0;
  background: linear-gradient(180deg, var(--navy-surface) 0%, var(--navy-deep) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about__content .section-title { text-align: left; }
.about__prose { margin-top: 1.75rem; }
.about__prose p {
  color: var(--ice-dim);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 1.2rem;
}
.about__prose p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--ice);
  line-height: 1.55;
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
}
.about__prose p:last-child { margin-bottom: 0; }

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value {
  padding: 1.5rem 1.25rem;
  background: rgba(10, 24, 40, 0.5);
  border: 1px solid var(--ice-hair);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease-out);
}
.value:hover { border-color: rgba(41, 180, 224, 0.25); transform: translateY(-3px); }
.value__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 142, 187, 0.15);
  color: var(--teal-bright);
  margin-bottom: 0.9rem;
}
.value__icon svg { width: 20px; height: 20px; }
.value__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ice);
  margin: 0 0 0.4rem;
  font-variation-settings: 'opsz' 24;
}
.value__desc {
  font-size: 0.85rem;
  color: var(--ice-dim);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .about__values { grid-template-columns: 1fr; }
}

/* ---------- Contact / Form ---------- */
.contact {
  padding: var(--section-pad-y) 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 142, 187, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__intro .section-title { text-align: left; }
.contact__intro .section-eyebrow { margin-left: 0; }

.contact__methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 24, 40, 0.5);
  border: 1px solid var(--ice-hair);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease-out);
}
.contact-method:hover {
  border-color: rgba(41, 180, 224, 0.35);
  transform: translateX(4px);
  background: rgba(10, 24, 40, 0.75);
}
.contact-method__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 142, 187, 0.15);
  color: var(--teal-bright);
  flex-shrink: 0;
}
.contact-method__label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice-faint);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-method__value {
  font-size: 1.05rem;
  color: var(--ice);
  font-weight: 500;
}

.contact__form-wrap {
  background: linear-gradient(180deg, rgba(10, 24, 40, 0.7) 0%, rgba(5, 14, 28, 0.7) 100%);
  border: 1px solid rgba(41, 180, 224, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(41, 180, 224, 0.08) inset;
  position: relative;
}
.contact__form-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
  opacity: 0.7;
}

.lead-form { display: flex; flex-direction: column; gap: 1.1rem; }
.lead-form__group { display: flex; flex-direction: column; gap: 0.5rem; }
.lead-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ice-dim);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.lead-form__required { color: var(--teal-bright); font-weight: 700; }

.lead-form__input, .lead-form__select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 7, 15, 0.5);
  border: 1px solid var(--ice-whisper);
  border-radius: var(--radius-sm);
  color: var(--ice);
  font-size: 0.98rem;
  transition: all var(--dur) var(--ease-std);
  -webkit-appearance: none;
  appearance: none;
}
.lead-form__input::placeholder { color: var(--ice-faint); }
.lead-form__input:hover, .lead-form__select:hover {
  border-color: rgba(216, 246, 255, 0.3);
}
.lead-form__input:focus, .lead-form__select:focus {
  outline: none;
  border-color: var(--teal-bright);
  background: rgba(0, 7, 15, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 142, 187, 0.2);
}

.lead-form__select-wrap {
  position: relative;
}
.lead-form__select-wrap::after { content: ''; }
.lead-form__select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ice-dim);
  pointer-events: none;
}
.lead-form__select { cursor: pointer; padding-right: 2.75rem; }
.lead-form__select option {
  background: var(--navy-deep);
  color: var(--ice);
  padding: 0.5rem;
}

.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.lead-form__disclaimer {
  font-size: 0.78rem;
  color: var(--ice-faint);
  line-height: 1.5;
  text-align: center;
  margin: 0.25rem 0 0;
}
.lead-form__disclaimer a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 2px; }

.lead-form__message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: reveal 0.5s var(--ease-out);
}
.lead-form__message svg { flex-shrink: 0; margin-top: 2px; }
.lead-form__message--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}
.lead-form__message--success strong { display: block; color: #bbf7d0; margin-bottom: 2px; }
.lead-form__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

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

/* ---------- Footer ---------- */
.footer {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  background: #000309;
  border-top: 1px solid var(--ice-hair);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ice-hair);
}
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__logo { width: 48px; height: 48px; flex-shrink: 0; }
.footer__wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ice);
  font-weight: 500;
  font-variation-settings: 'opsz' 144;
}
.footer__wordmark span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--teal-bright);
  display: block;
  margin-top: -2px;
}
.footer__tagline {
  color: var(--ice-dim);
  font-size: 0.88rem;
  margin: 0.75rem 0 0;
  line-height: 1.5;
  max-width: 280px;
}
.footer__heading {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 700;
  margin: 0 0 1rem;
}
.footer__col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__link {
  color: var(--ice-dim);
  font-size: 0.92rem;
  transition: color var(--dur) var(--ease-std);
}
.footer__link:hover { color: var(--ice); }
.footer__col--wide { min-width: 0; }
.footer__areas {
  font-size: 0.9rem;
  color: var(--ice-dim);
  line-height: 1.9;
  margin: 0;
}
.footer__areas span { display: inline-block; }
.footer__areas span.dot { color: var(--ice-faint); margin: 0 0.35rem; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copyright { color: var(--ice-faint); font-size: 0.82rem; margin: 0; }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal-link {
  color: var(--ice-faint);
  font-size: 0.82rem;
  transition: color var(--dur) var(--ease-std);
}
.footer__legal-link:hover { color: var(--teal-bright); }

.footer__disclaimer {
  color: var(--ice-faint);
  font-size: 0.72rem;
  line-height: 1.6;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ice-hair);
  max-width: 900px;
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile Floating CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem;
  background: rgba(0, 7, 15, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--ice-hair);
  z-index: 90;
  gap: 0.6rem;
}
.mobile-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.mobile-cta__btn--call {
  background: rgba(216, 246, 255, 0.06);
  border: 1px solid var(--ice-whisper);
  color: var(--ice);
  flex: 0 0 auto;
  padding: 0.95rem 1.25rem;
}
.mobile-cta__btn--primary {
  background: linear-gradient(180deg, var(--teal) 0%, #007aa2 100%);
  color: #fff;
  box-shadow: 0 4px 15px -5px var(--teal-glow);
}
@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }

/* ---------- Legal Pages ---------- */
.legal-page {
  padding: 140px 0 6rem;
  max-width: 800px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ice);
  margin: 0 0 0.5rem;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.02em;
}
.legal-page .legal-updated {
  color: var(--ice-faint);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ice-hair);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ice);
  margin: 2.5rem 0 0.75rem;
  font-variation-settings: 'opsz' 48;
}
.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-bright);
  margin: 1.5rem 0 0.5rem;
  letter-spacing: 0.02em;
}
.legal-page p, .legal-page li {
  color: var(--ice-dim);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}
.legal-page ul { padding-left: 1.5rem; margin: 0 0 1rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-page a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ice-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color var(--dur) var(--ease-std);
}
.legal-page .back-link:hover { color: var(--teal-bright); }

/* ---------- Print ---------- */
@media print {
  .nav, .mobile-cta, .hero__bg, .hero__glow, .hero__grid, .hero__home-glow { display: none !important; }
  body { background: #fff; color: #000; }
}
