@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-aerion-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-aerion-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-aerion-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

:root {
  --font-sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Arial, sans-serif;
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #6366f1;
  --accent-1: rgba(56, 189, 248, 0.61);
  --accent-2: rgba(217, 70, 239, 0.55);
  --accent-3: rgba(99, 102, 241, 0.61);
  --accent-4: rgba(129, 140, 248, 0.58);
  --shadow-soft: 0 16px 44px rgba(31, 41, 55, 0.08);
  --radius-lg: 16px;
  --radius-md: 16px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

p,
li,
input,
textarea,
label,
button,
a {
  font-family: var(--font-sans);
}

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(52rem 28rem at 22% 88%, var(--accent-2), transparent 72%),
    radial-gradient(46rem 26rem at 82% 80%, var(--accent-1), transparent 69%),
    radial-gradient(42rem 22rem at 54% 88%, var(--accent-3), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  filter: saturate(122%);
}

.aurora-bg::before {
  content: "";
  position: absolute;
  inset: -12%;
  opacity: 0.55;
  background:
    radial-gradient(26rem 18rem at 50% 26%, var(--accent-3), transparent 72%),
    radial-gradient(22rem 16rem at 76% 44%, var(--accent-4), transparent 72%),
    radial-gradient(24rem 16rem at 28% 44%, var(--accent-1), transparent 74%);
  filter: blur(44px);
  animation: auroraDrift 16s ease-in-out infinite alternate;
}

.aurora-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(10, 10, 10, 0.13) 1px,
    transparent 0
  );
  background-size: 24px 24px;
}

.site-header {
  width: var(--container);
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 8px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a.active {
  color: #fff;
  background: #0a0a0a;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 14px;
}

main {
  width: var(--container);
  margin: 0 auto;
}

.section {
  margin: 60px 0;
}

.hero {
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.eyebrow,
.pill-list li {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  font-family: var(--font-sans);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-weight: 700;
}

h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 5.6vw, 4.8rem);
}

.hero h1 {
  max-width: none;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.experience-title {
  font-size: clamp(1.85rem, 4.6vw, 3.9rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.timeline-item h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.28rem;
}

.lead {
  max-width: 64ch;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.34rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 10px 26px rgba(10, 10, 10, 0.22);
}

.btn-primary:hover {
  background: #2a2a2a;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
  color: var(--muted);
}

.btn-secondary:hover {
  color: var(--accent);
  border-color: rgba(99, 102, 241, 0.45);
}

.section-title-wrap {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.values-title {
  font-size: clamp(1.325rem, 2.85vw, 2.225rem);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: grid;
  gap: 14px;
}

.project-card > img,
.project-preview {
  display: none;
}

.project-card::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.26);
  background-color: rgba(99, 102, 241, 0.1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3Cpath d='M5.7 5.7l12.6 12.6'/%3E%3C/svg%3E");
}

.project-card.icon-healthcare::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.2-3.7-8.6-7.1C1.1 10.8 2.2 6.8 5.4 5.3c2.1-1 4.5-.5 6.6 1.6 2.1-2.1 4.5-2.6 6.6-1.6 3.2 1.5 4.3 5.5 2 8.6C18.2 17.3 12 21 12 21z'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
}

.project-card.icon-dance::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='5' r='2'/%3E%3Cpath d='M10 21l2.1-6.1L8 11l4.3-1.7L15 12l3.6.8M12.2 9.4L9.8 11'/%3E%3C/svg%3E");
}

.project-card.icon-biotech::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10M9 3v6.2L5.6 16a4 4 0 003.5 6h5.8a4 4 0 003.5-6L15 9.2V3'/%3E%3Cpath d='M8 14h8M8.8 18h6.4'/%3E%3C/svg%3E");
}

.project-card.icon-marketing::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M7 14l3-3 2.5 2.5L16 10l3 4M8 20h8'/%3E%3C/svg%3E");
}

.project-card.icon-jobboard::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M8 6V4h8v2M3 11h18'/%3E%3C/svg%3E");
}

.project-card.icon-banking::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-5 9 5M5 10v8M9 10v8M15 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E");
}

.project-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.24);
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(99, 102, 241, 0.08);
  color: #3d42d2;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 10px;
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tabs {
  display: grid;
  gap: 16px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  border: 1px solid rgba(99, 102, 241, 0.24);
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.tab-btn.active {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.tab-panel {
  display: block;
}

.tab-panel[hidden] {
  display: none !important;
}

.tab-section-gap {
  margin-top: 16px;
}

.list-clean {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list-clean li + li {
  margin-top: 8px;
}

.split-list {
  columns: 2;
  column-gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: none;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 240ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.experience-list {
  display: grid;
  gap: 14px;
}

.experience-list article {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.experience-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.46);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.experience-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.75),
    rgba(237, 244, 255, 0.78)
  );
}

.cta-action {
  display: flex;
  justify-content: flex-start;
}

.site-footer {
  width: var(--container);
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #475268;
  font-size: 0.93rem;
}

.site-footer a {
  color: inherit;
}

.page-intro {
  margin-top: 34px;
}

.contact-quick-links {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  line-height: 1.5;
  font-weight: 400;
  font-size: 0.92rem;
}

.contact-quick-links a {
  color: var(--accent);
  text-decoration: none;
}

.contact-quick-links a:hover {
  color: #4f46e5;
}

.timeline {
  display: grid;
  gap: 16px;
}

.experience-timeline {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 16px;
}

.experience-timeline .timeline-item {
  position: relative;
  z-index: 1;
  padding: 20px 20px 22px;
}

.experience-timeline .timeline-item h2 {
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.2;
  color: var(--text);
}

.experience-timeline .timeline-item .meta {
  color: var(--text);
  font-weight: 600;
}

.experience-timeline .timeline-item > p {
  color: var(--muted);
  font-weight: 500;
}

.role-head {
  grid-column: 4;
  grid-row: 1;
}

.role-tmrw {
  grid-column: 3;
  grid-row: 1;
}

.role-mediacurrent {
  grid-column: 2;
  grid-row: 1;
}

.role-code {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item .meta {
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
}

.timeline-item ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #222838;
}

.detail-trigger {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.38);
  background: rgba(99, 102, 241, 0.08);
  color: #555ce0;
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.detail-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.62);
  background: rgba(99, 102, 241, 0.15);
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
}

.detail-modal-panel {
  position: relative;
  width: min(640px, 92vw);
  max-height: min(82vh, 720px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 52px rgba(8, 12, 22, 0.28);
  padding: 22px 22px 20px;
  z-index: 1;
}

.detail-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(67, 79, 103, 0.25);
  background: #ffffff;
  color: #334155;
  cursor: pointer;
}

#detail-modal-title {
  margin: 2px 36px 12px 0;
  font-size: clamp(1.06rem, 2.2vw, 1.35rem);
}

#detail-modal-content ul {
  margin: 0;
  padding-left: 18px;
  color: #1f2937;
}

#detail-modal-content li + li {
  margin-top: 8px;
}

.timeline-item li + li {
  margin-top: 8px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.impact-grid article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.impact-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.impact-grid strong {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.impact-grid span {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-aerion {
  padding: 52px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
}

.contact-shell {
  max-width: 760px;
  margin: 0 auto;
}

.contact-shell .eyebrow {
  margin-bottom: 14px;
}

.contact-shell h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  margin-bottom: 8px;
}

.contact-intro {
  color: #6b6b6b;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 24px;
}

.contact-aerion-form {
  display: grid;
  gap: 14px;
}

.contact-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-aerion-form label {
  display: grid;
  gap: 7px;
  color: #8b8b8b;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-aerion-form input,
.contact-aerion-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.94rem;
}

.contact-aerion-form input::placeholder,
.contact-aerion-form textarea::placeholder {
  color: #c0c0c0;
}

.contact-aerion-form input:focus,
.contact-aerion-form textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
}

.contact-aerion-form textarea {
  resize: none;
}

.contact-submit {
  width: 100%;
}

.contact-callout {
  margin: 18px 0 0;
  text-align: center;
  color: #c0c0c0;
  font-size: 0.78rem;
}

.contact-callout a {
  color: #6366f1;
  text-decoration: none;
}

.contact-callout a:hover {
  color: #4f46e5;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-list span {
  display: block;
  color: #4d576d;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.contact-list a,
.contact-list p {
  margin: 0;
  color: var(--text);
  text-decoration: none;
}

form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.94rem;
  color: #353f55;
}

input,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(67, 79, 103, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(105, 125, 170, 0.32);
  border-color: rgba(105, 125, 170, 0.45);
}

.form-submit {
  width: fit-content;
}

#form-feedback {
  min-height: 1.2em;
  margin: 0;
  color: #334261;
  font-size: 0.9rem;
}

#form-feedback.form-feedback-success {
  color: #16a34a;
}

#form-feedback.form-feedback-error {
  color: #dc2626;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2.5%, -1.6%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-2.1%, 1.8%, 0) scale(0.98);
  }
}

.section,
.site-header,
.site-footer {
  animation: floatIn 580ms ease both;
}

.section:nth-of-type(2) {
  animation-delay: 70ms;
}

.section:nth-of-type(3) {
  animation-delay: 140ms;
}

.section:nth-of-type(4) {
  animation-delay: 210ms;
}

@media (max-width: 980px) {
  .cards-grid,
  .portfolio-grid,
  .education-grid,
  .skills-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-two-col {
    grid-template-columns: 1fr;
  }

  .experience-timeline {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .role-head,
  .role-tmrw,
  .role-mediacurrent,
  .role-code {
    grid-column: auto;
    grid-row: auto;
  }

  .split-list {
    columns: 1;
  }

  .hero {
    min-height: 58vh;
  }
}

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

  .site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    padding-top: 14px;
    backdrop-filter: blur(10px);
    background: rgba(248, 250, 255, 0.75);
    border-bottom: 1px solid rgba(34, 42, 58, 0.09);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 4vw;
    width: min(270px, 92vw);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: var(--surface-strong);
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .cta {
    padding: 24px;
  }
}
