/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; scroll-behavior: auto !important; }
}

:root {
  --navy: #0B1D34;
  --navy-soft: #142A47;
  --teal: #0FA7A0;
  --green: #39D17A;
  --slate: #7A8A9A;
  --muted-on-light: #56697A;
  --muted-on-dark: #A2B4C2;
  --bg-light: #EEF1F3;
  --bg-card: #FFFFFF;
  --border-light: #DCE2E7;
  --border-dark: rgba(255, 255, 255, 0.14);
  --gradient-accent: linear-gradient(135deg, var(--green), var(--teal));
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --section-pad-y: clamp(72px, 10vw, 140px);
  --section-pad-x: clamp(24px, 6vw, 96px);
  --ease-standard: cubic-bezier(0.65, 0, 0.35, 1);
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; }
p { margin: 0; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 6px; z-index: 1000;
  transition: top 200ms var(--ease-standard);
}
.skip-link:focus { top: 12px; }

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

/* ============ Intro loader ============ */
.loader { display: none; }
html.has-loader .loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--navy);
}
html.has-loader:not(.loader-done) body { overflow: hidden; }
.loader-symbol {
  display: inline-flex;
  width: clamp(56px, 10vw, 96px);
  height: clamp(56px, 10vw, 96px);
  filter: drop-shadow(0 0 30px rgba(15, 167, 160, 0.4));
}
.loader-symbol svg { width: 100%; height: 100%; display: block; }

/* ============ Ambient network canvas ============ */
#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 6vw, 64px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  max-width: 780px;
}

.wordmark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.02em;
  font-size: clamp(3.4rem, 13vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  font-weight: 700;
}
.letter {
  display: inline-block;
  padding: 0;
  will-change: transform, opacity;
}
.letter--a,
.letter--symbol {
  cursor: pointer;
  position: relative;
  transition: transform 220ms var(--ease-standard), filter 220ms var(--ease-standard);
}
.letter--a { color: #fff; }
.letter--a:hover, .letter--a:focus-visible { transform: translateY(-4px); filter: drop-shadow(0 0 18px rgba(15, 167, 160, 0.55)); }
.letter--symbol:hover, .letter--symbol:focus-visible { transform: translateY(-4px); filter: drop-shadow(0 0 20px rgba(57, 209, 122, 0.6)); }

.symbol-glyph {
  display: inline-block;
  width: 0.82em;
  height: 0.82em;
  background: var(--gradient-accent);
  -webkit-mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBmaWxsPSJub25lIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iYXRsYXNTeW1ib2xHcmFkaWVudCIgeDE9IjUwIiB5MT0iMTAiIHgyPSI1MCIgeTI9IjkwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzM5RDE3QSIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMwRkE3QTAiLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxwYXRoIGQ9Ik04IDg4IEw1MCAxMiBMOTEgODYgTDc2IDg2IiBzdHJva2U9InVybCgjYXRsYXNTeW1ib2xHcmFkaWVudCkiIHN0cm9rZS13aWR0aD0iMTMiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==') center / contain no-repeat;
  mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBmaWxsPSJub25lIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iYXRsYXNTeW1ib2xHcmFkaWVudCIgeDE9IjUwIiB5MT0iMTAiIHgyPSI1MCIgeTI9IjkwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzM5RDE3QSIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMwRkE3QTAiLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxwYXRoIGQ9Ik04IDg4IEw1MCAxMiBMOTEgODYgTDc2IDg2IiBzdHJva2U9InVybCgjYXRsYXNTeW1ib2xHcmFkaWVudCkiIHN0cm9rZS13aWR0aD0iMTMiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==') center / contain no-repeat;
  transform: translateY(0.05em);
}

.tagline {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.6vw, 1rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.tagline .dot { color: var(--green); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: clamp(8px, 3vw, 20px);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: color 200ms;
}
.scroll-cue:hover { color: var(--green); }
.scroll-cue svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Pulse ripple fired on letter click */
.pulse-ring {
  position: fixed;
  border-radius: 50%;
  border: 2px solid var(--teal);
  pointer-events: none;
  z-index: 5;
  transform: translate(-50%, -50%);
}

/* ============ Floating pill nav ============ */
.pill-nav {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 10px);
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 30px rgba(11, 29, 52, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.pill-nav__indicator { display: none; }
.pill-nav a {
  position: relative;
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 200ms, color 200ms;
  white-space: nowrap;
}
.pill-nav a:hover { background: rgba(11, 29, 52, 0.06); }
.pill-nav a.is-active { color: var(--teal); }
.pill-nav a.is-active::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}
.pill-nav a.is-active { padding-left: 20px; }
.pill-nav__cta {
  background: var(--gradient-accent);
  color: var(--navy) !important;
  font-weight: 600;
}
.pill-nav__cta:hover { filter: brightness(1.05); background: var(--gradient-accent); }
.pill-nav__cta.is-active::before { display: none; }
.pill-nav__cta.is-active { padding-left: 16px; }

@media (max-width: 640px) {
  .pill-nav {
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  }
  .pill-nav::-webkit-scrollbar { display: none; }
  .pill-nav a { padding: 10px 12px; font-size: 0.78rem; }
  .pill-nav__cta { margin-right: 20px; }
}

/* ============ Cinematic scroll-scrubbed video (About + Services) ============ */
.cine-scroll { position: relative; }
.cine-video, .cine-video-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.cine-video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease-standard);
}
.cine-video-overlay {
  opacity: 0;
  transition: opacity 700ms var(--ease-standard);
  background:
    linear-gradient(180deg, rgba(11, 29, 52, 0.62) 0%, rgba(11, 29, 52, 0.42) 40%, rgba(11, 29, 52, 0.62) 100%);
}
.cine-scroll.is-cine-visible .cine-video,
.cine-scroll.is-cine-visible .cine-video-overlay { opacity: 1; }

.section--cine { background: var(--navy); color: #fff; }
.section--cine .section-label { border-bottom-color: var(--border-dark); color: var(--muted-on-dark); }
.section--cine .section-label span:nth-child(2) { color: #fff; }
.section--cine .section-headline em { color: var(--green); }
.section--cine .section-body p { color: var(--muted-on-dark); }

@media (prefers-reduced-motion: reduce) {
  .cine-video { display: none; }
}

/* ============ Services horizontal scroll rail ============ */
/* Trimmed vertical padding — this whole section (label, index row, rail,
   hint) gets pinned as one unit while scrolling, so it needs to comfortably
   fit inside a single viewport rather than use the generic section rhythm. */
.section--services {
  overflow: hidden;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(20px, 3vw, 36px);
}

.services-index {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  padding-bottom: 18px;
  margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border-dark);
}
.services-index-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 2px 14px;
  cursor: pointer;
  min-height: 44px;
}
.services-index-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--slate);
  transition: color 200ms;
}
.services-index-label {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 500;
  color: var(--muted-on-dark);
  transition: color 200ms;
  white-space: nowrap;
}
.services-index-item:hover .services-index-label { color: #fff; }
.services-index-item.is-active .services-index-num { color: var(--teal); }
.services-index-item.is-active .services-index-label { color: #fff; font-weight: 600; }
.services-index-bar {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--gradient-accent);
  transition: transform 320ms var(--ease-standard), width 320ms var(--ease-standard);
}

.services-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services-rail::-webkit-scrollbar { display: none; }

.services-track {
  display: flex;
  gap: clamp(16px, 2.4vw, 28px);
  width: max-content;
  height: min(52vh, 460px);
}

.service-card {
  position: relative;
  flex: 0 0 auto;
  width: min(680px, 78vw);
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-soft);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 29, 52, 0.05) 0%, rgba(11, 29, 52, 0.2) 45%, rgba(11, 29, 52, 0.94) 100%);
}
.service-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.2vw, 40px);
  color: #fff;
}
.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(11, 29, 52, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.service-card-icon .flick-icon,
.service-card-icon svg { width: 26px; height: 26px; color: var(--teal); }
.service-card .flick-title { color: #fff; }
.service-card .flick-desc { color: var(--muted-on-dark); max-width: 40ch; }

.services-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(12px, 1.8vw, 18px);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.services-hint svg { animation: hint-nudge 1.8s ease-in-out infinite; }
@keyframes hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media (max-width: 700px) {
  .service-card { width: 86vw; }
  .services-track { height: min(46vh, 380px); }
}

/* ============ Section shell & numbered label ============ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad-y) var(--section-pad-x);
}
.section--light { background: var(--bg-light); }
.section--dark {
  background: transparent;
  color: #fff;
}

.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Scroll-scrubbed word reveal */
.word { display: inline-block; will-change: opacity, transform; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.section-label span:nth-child(2) { color: var(--navy); font-weight: 600; }
.section-label--dark { border-bottom-color: var(--border-dark); color: var(--muted-on-dark); }
.section-label--dark span:nth-child(2) { color: #fff; }

.section-headline {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.section-headline em { font-style: normal; color: var(--teal); }
.section--dark .section-headline em { color: var(--green); }

.mask-reveal { overflow: hidden; }
.mask-reveal .mask-inner { display: block; will-change: transform; }

/* ============ Ticker strip ============ */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--navy);
  padding: clamp(16px, 2.4vw, 24px) 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.ticker-dot { color: var(--green); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ About ============ */
.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.section-body { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.section-body p { font-size: 1.05rem; line-height: 1.7; color: var(--muted-on-light); max-width: 52ch; }

.placeholder-note {
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
  color: var(--teal) !important;
  font-style: italic;
  opacity: 0.85;
}

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

/* ============ Service card text (used inside .service-card) ============ */
.flick-icon { width: 56px; height: 56px; color: var(--teal); }
.flick-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; }
.flick-desc { font-size: 1rem; line-height: 1.6; }

/* ============ Why Atlas value grid ============ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value {
  padding: 8px clamp(16px, 2.4vw, 32px) 8px 0;
  border-left: 1px solid var(--border-light);
  padding-left: clamp(16px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value:first-child { border-left: none; padding-left: 0; }
.value-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--slate);
  font-weight: 600;
}
.value h3 { font-size: 1.2rem; }
.value p { color: var(--muted-on-light); line-height: 1.6; font-size: 0.92rem; }

@media (max-width: 860px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .value:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 520px) {
  .value-grid { grid-template-columns: 1fr; }
  .value { border-left: none; padding-left: 0; border-top: 1px solid var(--border-light); padding-top: 24px; }
  .value:first-child { border-top: none; padding-top: 0; }
}

/* ============ Presence (photographic) ============ */
.section--photo {
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.section-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.section-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 29, 52, 0.94) 0%, rgba(11, 29, 52, 0.84) 30%, rgba(11, 29, 52, 0.4) 60%, rgba(11, 29, 52, 0.16) 100%),
    linear-gradient(0deg, rgba(11, 29, 52, 0.5) 0%, rgba(11, 29, 52, 0) 28%);
}
.section--photo .section-headline em { color: var(--green); }

.presence-content { display: flex; flex-direction: column; gap: 20px; max-width: 42ch; }
.presence-content p { color: var(--muted-on-dark); font-size: 1.05rem; line-height: 1.7; max-width: 42ch; }
.presence-content address { line-height: 1.8; font-size: 0.98rem; }

@media (max-width: 700px) {
  .section-photo-overlay {
    background: linear-gradient(180deg, rgba(11, 29, 52, 0.92) 0%, rgba(11, 29, 52, 0.82) 45%, rgba(11, 29, 52, 0.58) 100%);
  }
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.contact-details { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.contact-details > p:first-child { color: var(--muted-on-dark); font-size: 1.05rem; line-height: 1.7; max-width: 40ch; }
.contact-link {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 4px;
  transition: opacity 200ms;
}
.contact-link:hover { opacity: 0.8; }

.inquiry-form {
  margin-top: 12px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 180ms, box-shadow 180ms;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--slate); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 167, 160, 0.15);
}
.form-field input:invalid:not(:placeholder-shown) { border-color: #d97757; }

.inquiry-submit {
  align-self: flex-start;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  transition: background 180ms, transform 180ms;
}
.inquiry-submit:hover { background: var(--navy); transform: translateY(-1px); }
.inquiry-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.inquiry-status {
  font-size: 0.85rem;
  color: var(--muted-on-dark);
  margin-top: -8px;
}
.inquiry-status.is-error { color: #d97757; }

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

.site-footer {
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-on-dark);
  font-size: 0.82rem;
}
.footer-mark { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); color: #fff; font-weight: 600; letter-spacing: 0.04em; }
.symbol-glyph--small { width: 0.9em; height: 0.9em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: color 180ms; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--teal); }

/* ============ Scroll reveal base state ============ */
[data-reveal] { opacity: 1; }
.js-ready [data-reveal] { opacity: 0; }

/* ============ Legal document pages (privacy.html / terms.html) ============ */
.legal-body { background: var(--bg-light); }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid var(--border-dark);
}
.legal-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
.legal-logo .symbol-glyph { width: 0.95em; height: 0.95em; }
.legal-back {
  font-size: 0.85rem;
  color: var(--muted-on-dark);
  transition: color 180ms;
}
.legal-back:hover, .legal-back:focus-visible { color: var(--green); }

.legal-main { padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 64px) clamp(64px, 10vw, 120px); }
.legal-doc { max-width: 720px; margin: 0 auto; }

.legal-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.legal-doc h1 {
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.legal-updated {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-on-light);
  margin-bottom: 48px;
  line-height: 1.5;
}

.legal-doc section { margin-bottom: 36px; }
.legal-doc h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  padding-top: 8px;
}
.legal-doc p { color: var(--muted-on-light); line-height: 1.75; font-size: 1rem; margin-bottom: 14px; }
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted-on-light); line-height: 1.75; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc strong { color: var(--navy); }

.legal-footer {
  border-top: 1px solid var(--border-light);
  padding: 28px clamp(20px, 6vw, 64px) 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-on-light);
  font-size: 0.82rem;
  max-width: 720px;
  margin: 0 auto;
}
.legal-footer .footer-mark { color: var(--navy); }
.legal-footer .footer-links a { color: var(--muted-on-light); }
.legal-footer .footer-links a:hover { color: var(--teal); }
