@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --bg: #05070a;
  --ink: #f5f6f8;
  --ink-soft: #c7cdd6;
  --ink-dim: #8b93a1;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --accent: #6ee7d0;
  --accent-soft: rgba(110, 231, 208, 0.14);
  --gold: #cda86a;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --blur: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  color: inherit;
}

/* Global fixed video backdrop */
.bg-video-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  transition: background 0.3s var(--ease);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.bg-video-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 9, 0.78) 0%, rgba(3, 5, 9, 0.42) 22%, rgba(3, 5, 9, 0.58) 60%, rgba(3, 5, 9, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(3, 5, 9, 0.15), rgba(3, 5, 9, 0.75) 80%);
}

.bg-video-badge {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 20px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(245, 246, 248, 0.55);
  background: radial-gradient(120px 90px at 100% 100%, rgba(3, 5, 9, 0.85), rgba(3, 5, 9, 0) 70%);
  pointer-events: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    linear-gradient(120deg, rgba(37, 68, 158, 0.12), rgba(109, 40, 168, 0.12)),
    rgba(5, 7, 10, 0.28);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.navbar.scrolled {
  background:
    linear-gradient(120deg, rgba(37, 68, 158, 0.2), rgba(109, 40, 168, 0.2)),
    rgba(5, 7, 10, 0.6);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.theme-icon-moon {
  display: none;
}

[data-theme="light"] .theme-icon-sun {
  display: none;
}

[data-theme="light"] .theme-icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink-soft);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  padding: 18vh 0 15vh;
  text-align: center;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-dim);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.scroll-cue.hidden {
  opacity: 0;
}

.scroll-cue-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue-chevron {
  font-size: 1.3rem;
  line-height: 1;
  animation: scrollCueBounce 1.8s ease-in-out infinite;
}

@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

.hero-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(205, 168, 106, 0.12), rgba(255, 255, 255, 0.03) 72%);
  border: 1px solid rgba(205, 168, 106, 0.35);
  box-shadow: 0 0 28px -10px rgba(205, 168, 106, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.avatar-mark {
  width: 60px;
  height: 60px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  margin: 0 0 14px;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero .subtitle {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.hero .location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 22px;
  color: var(--ink-dim);
  font-size: 0.88rem;
  font-weight: 400;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 34px;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Logo strip */
.logo-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
}

.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.logo-strip-label {
  color: var(--ink-dim);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.logo-strip-items {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.logo-strip .logo-chip {
  height: 38px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.logo-strip .logo-chip img {
  opacity: 1;
}

.logo-strip .logo-chip:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.4);
}

.logo-strip .logo-chip-dark {
  background: #0f172a;
  border-color: #0f172a;
}

/* Company logo badges (inline, next to experience items) */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 6px 12px;
  background: #ffffff;
  border-radius: 8px;
  vertical-align: middle;
}

.logo-chip img {
  height: 100%;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  display: block;
}

.logo-chip-dark {
  background: #0f172a;
}

.logo-chip-sm {
  height: 22px;
  padding: 3px 7px;
  border-radius: 6px;
  margin-right: 6px;
  transform: translateY(-2px);
}

.logo-chip-sm img {
  max-width: 52px;
}

/* Main sections */
main {
  position: relative;
  padding: 10px 24px 24px;
}

section {
  margin-bottom: 108px;
}

h2 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
  text-align: center;
}

main h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

h2 .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  flex-shrink: 0;
}

h2 .icon .icon-svg {
  width: 17px;
  height: 17px;
}

.icon-svg {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

#about p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Timeline / cards */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.item {
  position: relative;
  scroll-margin-top: 96px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 16px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.item.flash {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg);
}

.item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline .item:first-child::before {
  width: 10px;
  height: 10px;
  left: -31px;
  top: 27px;
}

.item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--glass-strong);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.item-header h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

.date {
  color: var(--ink-dim);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 3px 11px;
  border-radius: 999px;
}

.org {
  margin: 9px 0 14px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.88rem;
}

.item ul {
  margin: 0;
  padding-left: 18px;
}

.item li {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.94rem;
}

/* Skills */
.skills-group {
  margin-bottom: 30px;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-group-label {
  margin: 0 0 16px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.skills-list li {
  background: transparent;
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 400;
  border: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.skills-list li:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.skills-list-learning li {
  border-style: dashed;
  color: var(--ink-dim);
  opacity: 0.9;
}

.skills-list-learning li:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(205, 168, 106, 0.1);
}

/* Recommendation */
blockquote {
  position: relative;
  margin: 0;
  padding: 30px 32px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-md);
  font-style: italic;
  font-weight: 300;
  font-size: 1.04rem;
  color: var(--ink-soft);
}

blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
}

blockquote footer {
  margin-top: 18px;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

/* Contact */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 400;
  color: var(--ink-soft);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s ease;
}

.contact-card::after {
  content: "→";
  margin-left: auto;
  color: var(--ink-dim);
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--ink);
}

.contact-card:hover::after {
  transform: translateX(0);
  opacity: 1;
  color: var(--accent);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--ink-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--line-soft);
}

/* Visitor modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 3, 6, 0.7);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(10, 13, 20, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-lg);
  padding: 34px 30px 26px;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.25s var(--ease);
  color: var(--ink);
}

.modal h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: normal;
}

.modal-intro {
  margin: 0 0 22px;
  color: var(--ink-dim);
  font-size: 0.9rem;
  font-weight: 300;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-dim);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
}

select,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select option {
  background: #0a0d14;
  color: var(--ink);
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(110, 231, 208, 0.35);
}

.form-status-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-dim);
  padding: 10px 4px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  color: var(--ink);
}

.modal .btn-primary {
  border: none;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
  --bg: #f7f6f4;
  --ink: #14161c;
  --ink-soft: #3f4451;
  --ink-dim: #6b7280;
  --line: rgba(15, 18, 25, 0.14);
  --line-soft: rgba(15, 18, 25, 0.08);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --accent: #0d9488;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --shadow-lg: 0 24px 60px -26px rgba(20, 22, 30, 0.22);
}

[data-theme="light"] .bg-video,
[data-theme="light"] .bg-video-scrim {
  display: none;
}

[data-theme="light"] .bg-video-badge {
  background: radial-gradient(120px 90px at 100% 100%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
  color: rgba(20, 22, 28, 0.5);
}

[data-theme="light"] .bg-video-layer {
  background: linear-gradient(180deg, #faf9f7 0%, #eef0f2 55%, #e7eaed 100%);
}

[data-theme="light"] .navbar {
  background:
    linear-gradient(120deg, rgba(37, 68, 158, 0.06), rgba(109, 40, 168, 0.06)),
    rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .navbar.scrolled {
  background:
    linear-gradient(120deg, rgba(37, 68, 158, 0.08), rgba(109, 40, 168, 0.08)),
    rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .nav-links {
  background:
    linear-gradient(120deg, rgba(37, 68, 158, 0.05), rgba(109, 40, 168, 0.05)),
    rgba(255, 255, 255, 0.97);
}

[data-theme="light"] .logo-strip .logo-chip {
  border-color: rgba(15, 18, 25, 0.1);
  box-shadow: 0 1px 3px rgba(15, 18, 25, 0.12);
}

[data-theme="light"] .modal {
  background: rgba(255, 255, 255, 0.97);
}

[data-theme="light"] select option {
  background: #ffffff;
  color: var(--ink);
}

@media (max-width: 600px) {
  .logo-strip-inner {
    flex-direction: column;
    gap: 14px;
  }

  .logo-strip-items {
    flex-direction: column;
    width: 100%;
  }

  .logo-strip .logo-chip {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 24px 18px;
    background:
      linear-gradient(120deg, rgba(37, 68, 158, 0.18), rgba(109, 40, 168, 0.18)),
      rgba(5, 7, 10, 0.92);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--line-soft);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease);
  }

  .nav-links.open {
    max-height: 320px;
    opacity: 1;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: 0;
    padding: 11vh 0 7vh;
  }

  .hero-links {
    gap: 10px;
  }

  .btn {
    padding: 10px 20px;
  }

  .scroll-cue {
    bottom: 10px;
  }

  .scroll-cue-label {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  main {
    padding: 0 20px 20px;
  }

  section {
    margin-bottom: 80px;
  }

  .timeline {
    padding-left: 22px;
  }

  .item {
    padding: 20px 18px;
  }

  .item::before {
    left: -22px;
  }

  .timeline .item:first-child::before {
    left: -23px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .modal {
    padding: 26px 20px 20px;
  }

  .bg-video-badge {
    font-size: 0.62rem;
    padding: 10px 14px 14px;
    gap: 4px;
  }

  .brand-mark {
    width: 17px;
    height: 17px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue-chevron {
    animation: none;
  }

  .item:hover,
  .contact-card:hover,
  .btn:hover {
    transform: none;
  }
}
