/* ==========================================================================
   CSS Custom Properties (Theme Variables)
   ========================================================================== */
:root {
  /* Default Theme: Dark Mode */
  --bg-main: #0B1220;
  --bg-secondary: #101A2D;
  --bg-card: #152137;
  
  --text-primary: #F7F9FC;
  --text-secondary: #AAB6C8;
  --text-muted: #7586A1;
  
  --accent-teal: #35D0BA;
  --accent-teal-hover: #2DB3A0;
  --accent-teal-transparent: rgba(53, 208, 186, 0.15);
  
  --accent-gold: #F4B860;
  --accent-blue: #60A5FA;
  
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.20);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  
  --nav-bg: rgba(11, 18, 32, 0.85);
  --menu-bg: #101A2D;
}

[data-theme="light"] {
  --bg-main: #F8F7F4;
  --bg-secondary: #FFFFFF;
  --bg-card: #EDEAE5;
  
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A68;
  --text-muted: #6B7280;
  
  --border: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.2);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --nav-bg: rgba(248, 247, 244, 0.85);
  --menu-bg: #FFFFFF;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-main);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role="list"], ol[role="list"], ul:not([class]), .nav-links, .mobile-nav-links, .role-highlights, .contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.role-highlights {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 1rem;
}

.role-highlights li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: var(--accent-teal);
  text-decoration: underline;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-teal);
  color: #000;
  padding: 8px 16px;
  z-index: 100;
  font-weight: 600;
  transition: top 0.2s ease;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.text-teal { color: var(--accent-teal); }
.text-gold { color: var(--accent-gold); }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.bg-alternate {
  background-color: var(--bg-secondary);
}

.w-full { width: 100%; }
.text-center { text-align: center; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }

/* ==========================================================================
   Components
   ========================================================================== */
   
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: #0B1220; /* Always dark text on teal */
}

.btn-primary:hover {
  background-color: var(--accent-teal-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-main);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.btn-disabled {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
  opacity: 0.7;
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--text-primary);
  transition: background-color 0.2s;
}

.icon-button:hover {
  background-color: var(--bg-card);
}

.icon-button:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

/* Tags & Badges */
.tag {
  display: inline-block;
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--bg-main);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  font-weight: 500;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-teal { background-color: rgba(53, 208, 186, 0.15); color: var(--accent-teal); }
.badge-amber { background-color: rgba(244, 184, 96, 0.15); color: var(--accent-gold); }
.badge-blue { background-color: rgba(96, 165, 250, 0.15); color: var(--accent-blue); }

.external-icon {
  font-size: 0.85em;
  opacity: 0.7;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-teal);
  letter-spacing: -0.05em;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-resume {
  display: none;
}

@media (min-width: 768px) {
  .nav-resume {
    display: inline-flex;
  }
}

.mobile-only {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }
}

/* Theme Toggle Icons */
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }

/* Mobile Menu */
.menu-icon, .close-icon { transition: opacity 0.2s; }
.navbar.menu-open .menu-icon { display: none; }
.navbar:not(.menu-open) .close-icon { display: none; }

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--menu-bg);
  z-index: 40;
  padding: 6rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-panel.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav-action {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */
.hero {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--accent-teal);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.availability-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  line-height: 1.4;
}

.availability-dot {
  color: var(--accent-teal);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-image-wrapper {
    margin: 0 0 0 auto;
  }
}

.hero-figure {
  margin: 0;
  padding: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
  background-color: var(--bg-card);
}

.hero-figure figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section: Headings
   ========================================================================== */
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 48rem;
}

/* ==========================================================================
   Section 2: About
   ========================================================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
  }
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text p {
  color: var(--text-secondary);
}

.about-quote {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-teal);
  padding-left: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-quote {
    padding-left: 2rem;
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Section 3: Impact
   ========================================================================== */
.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.metric-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.footnote {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   Section 4: Experience
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
}

/* Vertical line for desktop */
@media (min-width: 768px) {
  .timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 7px;
    height: calc(100% - 16px);
    width: 2px;
    background-color: var(--border);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 3rem;
  }
}

.timeline-dot {
  display: none;
}

@media (min-width: 768px) {
  .timeline-dot {
    display: block;
    position: absolute;
    top: 6px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    border: 4px solid var(--bg-secondary);
  }
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.role-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.role-company {
  color: var(--text-secondary);
  font-weight: 500;
}

.role-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: monospace;
}

.role-summary {
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Section 5: Building
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.project-card {
  display: flex;
  flex-direction: column;
}

.card-header {
  margin-bottom: 1rem;
}

.card-header .badge {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.card-tech {
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-action {
  margin-top: auto;
}

.insights-box {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-main));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
}

.insights-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.insights-desc {
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Section 6: Expertise
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.expertise-group {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.expertise-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.expertise-title::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-teal);
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.expertise-tags .tag {
  background-color: var(--bg-main);
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background-color: var(--bg-card);
}

/* ==========================================================================
   Section 7: Philosophy
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

.philosophy-card {
  padding: 2.5rem 2rem;
}

.philosophy-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.philosophy-body {
  color: var(--text-secondary);
}

.philosophy-quote {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--text-primary);
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
}

.philosophy-quote::before, .philosophy-quote::after {
  content: '"';
  color: var(--accent-teal-transparent);
}

/* ==========================================================================
   Section 8: Contact
   ========================================================================== */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header .section-subtitle {
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
}

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

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link:hover {
  color: var(--accent-teal);
}

.contact-text {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact-closing {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.footer-brand {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .footer-brand {
    flex: 0 0 auto;
  }
}

.footer-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.footer-title {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  font-weight: 500;
}

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

.footer-bottom {
  flex: 1 1 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Reveal
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
}

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