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

:root {
  --bg: #0c0c0c;
  --bg-2: #111111;
  --bg-3: #171717;
  --surface: #1c1c1c;
  --border: #262626;
  --border-hover: #3a3a3a;
  --ink: #f0ede8;
  --ink-2: #a09d98;
  --ink-3: #555250;
  --accent: #e8f0ff;
  --accent-blue: #4a7fff;
  --accent-dim: rgba(74, 127, 255, 0.12);
  --font-sans: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max: 860px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILITIES ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-no-top { padding-top: 0 !important; }
.italic { font-style: italic; font-weight: 300; color: var(--ink-2); }
strong { font-weight: 500; color: var(--ink); }

.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 120;
  padding: 0.65rem 0.9rem;
  border-radius: 0 0 6px 0;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-family: var(--font-mono); font-size: 1.1rem; font-weight: 500;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.dot { color: var(--accent-blue); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-link {
  font-size: 0.85rem; font-weight: 400; color: var(--ink-2);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { color: var(--ink); }

.nav-cta {
  font-size: 0.8rem; font-weight: 500; color: var(--bg);
  background: var(--ink); padding: 0.5rem 1.1rem;
  border-radius: 100px; text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta.active { background: var(--accent-blue); color: #fff; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg); padding: 6rem 2.5rem 2rem;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.mob-link { font-size: 2rem; font-weight: 300; color: var(--ink); text-decoration: none; }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-line {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-line { display: block; }
.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.reveal:nth-child(2), .reveal-line:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  max-width: var(--max); margin: 0 auto;
}
.hero::before {
  content: '';
  position: fixed; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,127,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-blue);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent-blue);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 600; line-height: 1.0;
  letter-spacing: -0.04em; margin-bottom: 1.5rem;
}
.hero-title .italic { font-size: inherit; }

.hero-sub {
  font-size: 1.05rem; color: var(--ink-2); font-weight: 300;
  max-width: 540px; margin-bottom: 2.5rem; line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 3rem; flex-wrap: wrap; }

.btn-primary {
  padding: 0.75rem 1.6rem; background: var(--ink); color: var(--bg);
  font-size: 0.85rem; font-weight: 500; border-radius: 100px;
  text-decoration: none; transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-ghost {
  padding: 0.75rem 0; color: var(--ink-2); font-size: 0.85rem;
  text-decoration: none; border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-2); }

.hero-meta {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
  letter-spacing: 0.04em;
}
.sep { margin: 0 0.6rem; opacity: 0.4; }

.hero-icon-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.78rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
}

.icon-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-link:hover {
  color: var(--ink);
  border-color: var(--border-hover);
  background: var(--bg-3);
  transform: translateY(-1px);
}

.hero-scroll {
  position: absolute; bottom: 3rem; right: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--ink-3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 2rem; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
  animation: marquee 30s linear infinite;
}
.bull { opacity: 0.3; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── PROFILE SECTION ── */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.profile-image-wrap {
  position: sticky;
  top: 7.25rem;
}

.profile-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.profile-image-note {
  margin-top: 0.65rem;
  display: block;
  font-size: 0.72rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-content p {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.75;
}

.profile-points {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.profile-point {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.profile-point svg {
  width: 15px;
  height: 15px;
  margin-top: 0.18rem;
  fill: var(--accent-blue);
  flex-shrink: 0;
}

/* ── SNAPSHOT CARDS ── */
.snap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--border);
}
.snap-card {
  padding: 2rem 1.5rem; background: var(--bg-2);
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background 0.2s;
  position: relative;
}
.snap-card:hover { background: var(--bg-3); }
.snap-num {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 500;
  letter-spacing: -0.04em; color: var(--ink);
}
.snap-label { font-size: 0.8rem; color: var(--ink-2); line-height: 1.4; }
.snap-arrow {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  font-size: 1rem; color: var(--ink-3);
  transition: transform 0.2s, color 0.2s;
}
.snap-card:hover .snap-arrow { transform: translate(3px, -3px); color: var(--ink); }

/* ── SECTION HEADERS ── */
.section-tag {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-blue);
  letter-spacing: 0.1em; text-transform: uppercase; display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.15;
}
.section-header { margin-bottom: 3rem; }

/* ── PROJECT ROWS (home) ── */
.project-list { display: flex; flex-direction: column; }
.project-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.75rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--ink); gap: 1.5rem;
  transition: background 0.2s; border-radius: 4px;
}
.project-row:first-child { border-top: 1px solid var(--border); }
.project-row:hover { padding-left: 0.5rem; }
.project-row-left { display: flex; align-items: flex-start; gap: 1.5rem; flex: 1; min-width: 0; }
.project-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); min-width: 24px; margin-top: 4px; }
.project-name { font-size: 1rem; font-weight: 500; margin-bottom: 0.2rem; }
.project-desc { font-size: 0.82rem; color: var(--ink-2); }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.project-arrow { font-size: 1.1rem; color: var(--ink-3); transition: transform 0.2s, color 0.2s; flex-shrink: 0; }
.project-row:hover .project-arrow { transform: translate(3px, -3px); color: var(--ink); }

/* ── TAGS ── */
.tag {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--border); padding: 0.25rem 0.6rem;
  border-radius: 4px; letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── PAGE HERO ── */
.page-hero { padding: 9rem 0 3rem; }
.page-title {
  font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.05; margin-top: 1rem;
}

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 5rem; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-text p { font-size: 1rem; color: var(--ink-2); line-height: 1.8; }
.about-text p strong { color: var(--ink); }
.about-links { display: flex; gap: 1rem; margin-top: 0.75rem; flex-wrap: wrap; }
.aside-link { color: var(--accent-blue); text-decoration: none; }

.aside-card {
  padding: 1.25rem 1.5rem; border: 1px solid var(--border);
  margin-bottom: 1px; background: var(--bg-2);
}
.aside-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.aside-val { font-size: 0.9rem; color: var(--ink); line-height: 1.5; }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid; grid-template-columns: 24px 1fr; gap: 2rem;
  padding-bottom: 3.5rem; position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 11px; top: 24px;
  width: 1px; height: calc(100% - 24px);
  background: var(--border);
}
.tl-item:last-child::before { display: none; }

.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-blue); border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-blue);
  margin-top: 6px; flex-shrink: 0;
}
.tl-dot--edu { background: var(--ink-3); box-shadow: 0 0 0 2px var(--ink-3); }

.tl-content { min-width: 0; }
.tl-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.tl-role { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.tl-company { font-size: 0.85rem; color: var(--accent-blue); display: block; margin-top: 0.15rem; }
.tl-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); white-space: nowrap; margin-top: 4px; }

.tl-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.tl-list li { font-size: 0.9rem; color: var(--ink-2); padding-left: 1rem; position: relative; line-height: 1.6; }
.tl-list li::before { content: '—'; position: absolute; left: 0; color: var(--ink-3); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── PROJECT CARDS (projects page) ── */
.projects-section .container { display: flex; flex-direction: column; gap: 1.5rem; }
.proj-card {
  padding: 2.5rem; border: 1px solid var(--border);
  background: var(--bg-2); border-radius: 8px;
  transition: border-color 0.2s;
}
.proj-card:hover { border-color: var(--border-hover); }
.proj-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.proj-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); display: block; margin-bottom: 0.4rem; }
.proj-title { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.2rem; }
.proj-type { font-size: 0.8rem; color: var(--ink-3); }
.proj-link {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-blue);
  text-decoration: none; white-space: nowrap; margin-top: 4px;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.proj-link:hover { border-bottom-color: var(--accent-blue); }
.proj-description { font-size: 0.95rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 1.5rem; }

.proj-highlights { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.highlight { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.88rem; color: var(--ink-2); }
.highlight-icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent-blue);
  flex-shrink: 0;
}
.highlight-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.proj-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── STACK PAGE ── */
.stack-section .container { display: flex; flex-direction: column; gap: 3rem; }
.stack-group-title {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.stack-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stack-item {
  padding: 0.5rem 1rem; border: 1px solid var(--border);
  background: var(--bg-2); font-size: 0.88rem; color: var(--ink-2);
  border-radius: 6px; transition: all 0.2s; cursor: default;
}
.stack-item:hover { border-color: var(--border-hover); color: var(--ink); background: var(--bg-3); }
.stack-item--accent { border-color: rgba(74,127,255,0.25); color: var(--accent-blue); background: var(--accent-dim); }
.stack-item--accent:hover { border-color: rgba(74,127,255,0.6); background: rgba(74,127,255,0.18); }

/* ── FOOTER ── */
.footer {
  padding: 2.5rem 0; border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--ink-3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.75rem; color: var(--ink-3); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1.1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: block; }

  .hero { padding: 7rem 1.5rem 5rem; }
  .hero-scroll { display: none; }

  .snap-grid { grid-template-columns: repeat(2, 1fr); }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-image-wrap {
    position: static;
    max-width: 340px;
  }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .project-row { flex-direction: column; align-items: flex-start; }
  .project-tags { display: none; }

  .tl-item { grid-template-columns: 16px 1fr; gap: 1rem; }
  .tl-header { flex-direction: column; }

  .proj-card { padding: 1.5rem; }
  .proj-card-header { flex-direction: column; }

  .footer-inner { flex-direction: column; text-align: center; }

  .container { padding: 0 1.5rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .snap-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.8rem; }
  .page-title { font-size: 2.4rem; }
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg: #fafaf8;
  --bg-2: #f2f0ec;
  --bg-3: #e8e5e0;
  --surface: #dedad4;
  --border: #ccc9c3;
  --border-hover: #aba7a0;
  --ink: #18160f;
  --ink-2: #4a4740;
  --ink-3: #8a8780;
  --accent: #1a2040;
  --accent-blue: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.08);
}
[data-theme="light"] nav { background: rgba(250, 250, 248, 0.88); }
[data-theme="light"] .mobile-menu { background: var(--bg); }

/* ── THEME TOGGLE ── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: none; border: 1px solid var(--border); border-radius: 50%;
  cursor: pointer; color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--border-hover); background: var(--bg-3); }
.theme-toggle svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.icon-moon { display: block; }
.icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: block; }

/* ── PROJECT FILTER ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: 0.72rem;
  padding: 0.4rem 0.9rem; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--ink-2); border-radius: 100px;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em;
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--ink); background: var(--bg-3); }
.filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.proj-card.hidden { display: none; }

/* ── REQUEST ACCESS ── */
.proj-request {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--ink-2); background: var(--bg-3);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.45rem 0.9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s; white-space: nowrap; margin-top: 4px;
}
.proj-request:hover { border-color: var(--accent-blue); color: var(--accent-blue); background: var(--accent-dim); }
.proj-request-icon { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

.featured-more { margin-top: 2.5rem; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 300px; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.form-input, .form-textarea {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 0.8rem 1rem; color: var(--ink);
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300;
  transition: border-color 0.2s; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-3); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent-blue); }
.form-textarea { resize: vertical; min-height: 160px; line-height: 1.65; }
.form-submit {
  align-self: flex-start; padding: 0.75rem 1.6rem;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  border: none; border-radius: 100px; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.85; transform: translateY(-1px); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero::before,
  .hero-scroll,
  .scroll-line,
  .marquee-track {
    animation: none !important;
  }
}
