/* Foregate Technologies — design system */

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;

  --indigo-950: #071427;
  --indigo-900: #0b1f3a;
  --indigo-800: #143056;
  --cyan-400: #1ec8ff;
  --cyan-500: #00b4ef;
  --coral-500: #ff6a45;
  --gold-400: #f0b429;
  --green-500: #2f9e6b;
  --sand-50: #f4f7fb;
  --sand-100: #e8eef6;
  --ink-900: #0c1220;
  --ink-700: #334155;
  --ink-500: #64748b;

  --bg: var(--sand-50);
  --bg-elevated: #ffffff;
  --surface-elevated: #ffffff;
  --text: var(--ink-900);
  --text-muted: var(--ink-700);
  --border: rgba(11, 31, 58, 0.12);
  --accent-cyan: var(--cyan-500);
  --accent-coral: var(--coral-500);
  --accent-gold: var(--gold-400);
  --accent-green: var(--green-500);
  --header-bg: rgba(244, 247, 251, 0.86);
  --shadow: 0 24px 60px rgba(7, 20, 39, 0.08);
  --focus: 0 0 0 3px rgba(0, 180, 239, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --header-h: 4.5rem;
}

html[data-theme="dark"] {
  --bg: #060d18;
  --bg-elevated: #0d1829;
  --surface-elevated: #122038;
  --text: #eef3fa;
  --text-muted: #a8b6c9;
  --border: rgba(238, 243, 250, 0.12);
  --header-bg: rgba(6, 13, 24, 0.86);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --accent-cyan: var(--cyan-400);
}

*,
*::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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100%;
}

/* Ambient video + interactive waves (behind content) */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-video,
.ambient-waves,
.ambient-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ambient-video {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  mix-blend-mode: screen;
  filter: saturate(1.05) contrast(1.05);
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.ambient-video.is-ready {
  opacity: 0.28;
}

html[data-theme="light"] .ambient-video.is-ready {
  opacity: 0.16;
  mix-blend-mode: multiply;
}

.ambient-video.is-missing {
  display: none;
}

.ambient-waves {
  display: block;
  pointer-events: none; /* interaction is tracked on window; never block UI clicks */
}

.ambient-veil {
  background:
    radial-gradient(ellipse 70% 55% at 80% 15%, rgba(0, 180, 239, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 12% 85%, rgba(255, 106, 69, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(6, 13, 24, 0.55) 0%, rgba(6, 13, 24, 0.72) 45%, rgba(6, 13, 24, 0.92) 100%);
  pointer-events: none;
}

html[data-theme="light"] .ambient-veil {
  background:
    radial-gradient(ellipse 70% 55% at 80% 15%, rgba(0, 180, 239, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 12% 85%, rgba(255, 106, 69, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(244, 247, 251, 0.55) 0%, rgba(244, 247, 251, 0.78) 50%, rgba(244, 247, 251, 0.94) 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.hero,
.page-hero,
.section {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-cyan);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--indigo-900);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

h1,
h2,
h3,
.brand-name,
.footer-identity,
.tagline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0.35rem 0 1rem;
  line-height: 1.12;
  padding-block: 0.08em;
  overflow: visible;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-coral);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 38rem;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.9rem;
}

.tagline {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent-gold);
  margin: 0 0 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  pointer-events: auto;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

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

.brand-mark {
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.15rem;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.header-cta {
  display: none;
}

.theme-toggle,
.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
}

.theme-toggle .theme-icon,
.nav-toggle span {
  pointer-events: none;
}

.theme-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  position: absolute;
}

.theme-icon-sun {
  background: var(--accent-gold);
  box-shadow: inset -3px -2px 0 0 var(--bg-elevated);
}

.theme-icon-moon {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  opacity: 0;
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
}

html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: transform 0.2s ease;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.5rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

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

.nav-mobile a {
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
  .header-actions {
    margin-left: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
  text-decoration: none;
}

.btn-primary,
.btn-solid {
  background: linear-gradient(135deg, var(--indigo-800), var(--indigo-900));
  color: #f8fbff;
}

html[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), #0f6f9a);
  color: #041018;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-cyan);
}

.text-link:hover {
  text-decoration: underline;
}

.hero-actions,
.panel-actions,
.section-cta,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.panel-actions.stacked {
  flex-direction: column;
  align-items: flex-start;
}

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

.hero-atmosphere {
  /* Global ambient video/waves provide atmosphere; keep a soft local fade. */
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--bg) 78%, transparent));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.gateway-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
}

.gateway-frame {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed var(--border);
  animation: spin 28s linear infinite;
}

.orbit-a {
  inset: 8%;
}

.orbit-b {
  inset: -4%;
  animation-duration: 40s;
  animation-direction: reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Sections */
.section,
.page-hero {
  padding: 4.5rem 0;
}

.page-hero {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 180, 239, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(240, 180, 41, 0.1), transparent 45%);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-lede {
  color: var(--text-muted);
  margin: 0;
}

.intro-grid,
.why-grid,
.content-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .intro-grid,
  .why-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.product-showcase {
  display: grid;
  gap: 1.5rem;
}

.product-panel {
  display: grid;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-panel:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-cyan) 40%, var(--border));
}

@media (min-width: 880px) {
  .product-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.product-panel-media {
  min-height: 220px;
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.myschool-media {
  background: linear-gradient(160deg, #0b1f3a, #143056 55%, #0f4c75);
}

.mama-media {
  background: linear-gradient(160deg, #3a1d12, #7a3b1e 50%, #c45c26);
}

.product-screen {
  width: min(100%, 280px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.75rem;
  color: #fff;
  backdrop-filter: blur(8px);
}

.product-screen.warm {
  background: rgba(255, 248, 240, 0.12);
}

.screen-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  margin-right: 4px;
}

.screen-body {
  margin-top: 0.85rem;
}

.screen-row {
  height: 10px;
  width: 55%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.85rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.screen-grid div {
  height: 42px;
  border-radius: 8px;
  background: rgba(30, 200, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-tagline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lang-chips span {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.2);
  border: 1px solid rgba(240, 180, 41, 0.35);
}

.product-panel-body {
  padding: 1.75rem;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.status-row h2,
.status-row h3 {
  margin: 0;
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.status-live {
  background: color-mix(in srgb, var(--accent-green) 18%, transparent);
  color: var(--accent-green);
}

.status-dev {
  background: color-mix(in srgb, var(--accent-gold) 20%, transparent);
  color: color-mix(in srgb, var(--accent-gold) 80%, var(--text));
}

.product-value {
  font-size: 1.15rem;
  font-weight: 500;
}

.capability-list {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.capability-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--accent-cyan);
}

.capability-list.large li {
  margin-bottom: 0.65rem;
}

.service-grid,
.service-detail-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .service-grid,
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-item,
.service-detail {
  padding: 1.5rem;
  border-top: 2px solid var(--accent-coral);
}

.service-detail {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-coral);
  border-radius: var(--radius);
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

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

.process-list li {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.process-list span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-coral);
  margin-bottom: 0.75rem;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.cta-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(145deg, rgba(11, 31, 58, 0.96), rgba(20, 48, 86, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(0, 180, 239, 0.35), transparent 40%);
  color: #eef5ff;
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  color: inherit;
}

.cta-panel .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.cta-contacts {
  margin-top: 1.25rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.cta-contacts a {
  color: #fff;
}

.product-list {
  display: grid;
  gap: 1.25rem;
}

.product-row {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

@media (min-width: 800px) {
  .product-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.lang-list li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-weight: 600;
}

.note-box {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-elevated));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose {
  max-width: 42rem;
}

.prose.legal {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 2rem;
}

/* Contact */
.contact-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.contact-card address {
  font-style: normal;
  margin: 1rem 0;
  color: var(--text-muted);
}

.contact-form-wrap {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 1rem;
}

.field label,
.field legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--coral-500);
}

.field-error {
  color: var(--coral-500);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio,
.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 500;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.alert-success {
  background: color-mix(in srgb, var(--accent-green) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-green) 40%, transparent);
}

.alert-error {
  background: color-mix(in srgb, var(--coral-500) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral-500) 40%, transparent);
}

.form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--indigo-900) 4%, var(--bg));
}

html[data-theme="dark"] .site-footer {
  background: #040910;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-identity {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.footer-meta {
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--text-muted);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-note {
  margin: 0;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* About page — blended office video */
.about-stage {
  position: relative;
  isolation: isolate;
}

.about-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  mix-blend-mode: screen;
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
  transition: opacity 0.9s ease;
}

.about-video.is-ready {
  opacity: 0.42;
}

html[data-theme="light"] .about-video {
  mix-blend-mode: multiply;
}

html[data-theme="light"] .about-video.is-ready {
  opacity: 0.22;
}

.about-video.is-missing {
  display: none;
}

.about-video-blend {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 24, 0.35) 0%, rgba(6, 13, 24, 0.72) 42%, rgba(6, 13, 24, 0.94) 100%),
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(0, 180, 239, 0.18), transparent 55%);
}

html[data-theme="light"] .about-video-blend {
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.45) 0%, rgba(244, 247, 251, 0.82) 50%, rgba(244, 247, 251, 0.96) 100%),
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(0, 180, 239, 0.1), transparent 55%);
}

.about-hero,
.about-content {
  position: relative;
  z-index: 1;
}

.about-content .prose {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(10px);
}

/* Careers */
.career-list {
  display: grid;
  gap: 1.75rem;
}

.career-role {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-cyan);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.career-role-head h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.career-role-subtitle {
  margin: 0;
  color: var(--accent-gold);
  font-weight: 600;
}

.career-meta {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 720px) {
  .career-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.career-meta dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.career-meta dd {
  margin: 0;
  font-weight: 500;
}

.career-role h4 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.career-apply-note {
  margin: 1.5rem 0 1.25rem;
  color: var(--text-muted);
}
