/* =============================================================
   SENSE PARTNERS LANDING PAGE
   Brand-aligned: Titillium Web + Open Sans, Sense Yellow + Charcoal
   Light body sections, dark hero & footer
   ============================================================= */

/* --- Custom Properties --- */
:root {
  /* Brand palette (light theme — body sections) */
  --bg-primary:   #FFFFFF;
  --surface-1:    #F3F3F3;
  --surface-2:    #F3F3F3;
  --surface-3:    #EDEDED;
  --border:       #EDEDED;
  --border-light: #D0D0D0;

  --accent:       #FFCD00;
  --accent-hover: #E5B800;
  --accent-glow:  rgba(255, 205, 0, .15);
  --navy:         #293C5B;
  --link:         #1863DC;

  --text-primary: #3C3C3B;
  --text-body:    #3C3C3B;
  --text-muted:   #6F6F6E;

  --white:        #FFFFFF;

  /* Dark sections (hero, footer) */
  --dark-bg:      #3C3C3B;
  --dark-footer:  #2A2A2A;
  --dark-text:    #FFFFFF;
  --dark-muted:   rgba(255, 255, 255, .6);
  --dark-border:  rgba(255, 255, 255, .1);

  /* Typography — Sense Brand */
  --font-display: 'Titillium Web', 'Arial', sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container:   1200px;
  --container-narrow: 800px;
  --nav-height:  72px;
  --radius:      6px;
  --radius-lg:   12px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* =============================================================
   NAV — dark bar throughout (matches hero, consistent header)
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(60, 60, 59, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
}

.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .03em;
  transition: color .2s;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .625rem 1.25rem;
  background: var(--accent);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius);
  transition: background .2s;
}

.nav__cta:hover {
  background: var(--accent-hover);
}

/* Burger — mobile only */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Open state — expand nav with stacked dropdown panel */
  .nav--open {
    height: auto;
    background: rgba(60, 60, 59, .98);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  }
  .nav--open .nav__inner {
    flex-wrap: wrap;
    align-items: flex-start;
    height: auto;
    padding-bottom: var(--space-sm);
    row-gap: 0;
  }
  .nav--open .nav__logo,
  .nav--open .nav__burger {
    height: var(--nav-height);
    display: flex;
    align-items: center;
  }
  .nav--open .nav__logo { order: 0; }
  .nav--open .nav__burger { order: 1; margin-left: auto; }
  .nav--open .nav__links { order: 2; }
  .nav--open .nav__cta { order: 3; }
  .nav--open .nav__links {
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    gap: 0;
    padding: var(--space-xs) 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }
  .nav--open .nav__links li { width: 100%; }
  .nav--open .nav__links a {
    display: block;
    padding: .875rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .nav--open .nav__links li:last-child a { border-bottom: none; }
  .nav--open .nav__cta {
    display: inline-flex;
    flex: 1 0 100%;
    justify-content: center;
    margin-top: var(--space-sm);
    text-align: center;
  }

  /* Burger → X animation when open */
  .nav--open .nav__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav--open .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  .nav--open .nav__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}


/* =============================================================
   HERO — dark section with Sense Yellow accent
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  background: var(--dark-bg);
  overflow: hidden;
}

/* Engineering grid background */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 205, 0, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 205, 0, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Gradient overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 60%, rgba(255, 205, 0, .08), transparent),
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(42, 42, 42, .6), transparent);
}

/* Animated horizontal scan line */
.hero__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 205, 0, .25) 20%,
    rgba(255, 205, 0, .5) 50%,
    rgba(255, 205, 0, .25) 80%,
    transparent
  );
  animation: scanline 8s ease-in-out infinite;
}

@keyframes scanline {
  0%, 100% { top: 15%; opacity: 0; }
  10%      { opacity: 1; }
  90%      { opacity: 1; }
  50%      { top: 85%; }
}

/* Decorative corner brackets */
.hero__bracket {
  position: absolute;
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  opacity: .3;
}

.hero__bracket--tl {
  top: calc(var(--nav-height) + 24px);
  left: 24px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.hero__bracket--br {
  bottom: 24px;
  right: 24px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  padding: .375rem .875rem;
  border: 1px solid rgba(255, 205, 0, .3);
  border-radius: 100px;
  background: rgba(255, 205, 0, .08);
  animation: fadeInDown .8s ease-out both;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: var(--space-md);
  animation: fadeInUp .8s ease-out .15s both;
}

.hero__title-accent {
  color: var(--accent);
  display: block;
  text-shadow: 0 0 60px rgba(255, 205, 0, .25);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--dark-muted);
  max-width: 580px;
  margin: 0 auto var(--space-lg);
  animation: fadeInUp .8s ease-out .3s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp .8s ease-out .45s both;
}

/* Stats row */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  animation: fadeInUp .8s ease-out .6s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: .02em;
  display: block;
  line-height: 1.1;
}

.hero__stat-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-border);
}

@media (max-width: 480px) {
  .hero__stats { gap: var(--space-md); }
  .hero__stat-number { font-size: 1.5rem; }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  transition: all .25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 0 rgba(255, 205, 0, .3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 32px rgba(255, 205, 0, .25);
  transform: translateY(-1px);
}

/* Ghost button — dark context (hero) */
.hero .btn--ghost {
  color: var(--dark-muted);
  border: 1.5px solid var(--dark-border);
}

.hero .btn--ghost:hover {
  border-color: rgba(255, 255, 255, .3);
  color: var(--white);
}

/* Ghost button — light context */
.btn--ghost {
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* =============================================================
   SECTIONS (shared — light theme)
   ============================================================= */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--surface-1);
}

.section__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

.section__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: var(--space-md);
}

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

/* 2-column grid (About section) */
.section__grid--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 768px) {
  .section__grid--2col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Placeholder visuals */
.placeholder-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px dashed var(--border-light);
}

/* About — credentials panel */
.about-credentials {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.credentials__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.credentials__list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.credentials__list li {
  font-size: .8125rem;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

.credentials__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .45em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

.values__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.value-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .375rem .75rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}

.value-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* =============================================================
   PRODUCTS
   ============================================================= */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.product-card__icon {
  margin-bottom: var(--space-md);
  --accent: var(--navy);
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: .02em;
  color: var(--text-primary);
  margin-bottom: .25rem;
}

.product-card__tagline {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.product-card__desc {
  font-size: .9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.product-card__features li {
  font-size: .8125rem;
  color: var(--text-body);
  padding-left: 1.25rem;
  position: relative;
}

.product-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

@media (max-width: 960px) and (min-width: 769px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =============================================================
   BENEFITS
   ============================================================= */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.benefit {
  padding: var(--space-lg);
  border-left: 2px solid var(--border);
  transition: border-color .3s;
}

.benefit:hover {
  border-color: var(--accent);
}

.benefit__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--surface-3);
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: color .3s;
}

.benefit:hover .benefit__number {
  color: rgba(255, 205, 0, .35);
}

.benefit__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .02em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.benefit__desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 960px) and (min-width: 769px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =============================================================
   PROCESS
   ============================================================= */
.process__timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-md);
}

.process__step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin-bottom: var(--space-md);
  position: relative;
  background: var(--accent-glow);
  transition: background .3s, color .3s, box-shadow .3s;
}

.process__step:hover .process__step-marker {
  background: var(--accent);
  color: var(--dark-bg);
  box-shadow: 0 0 20px var(--accent-glow);
}

.process__connector {
  flex: 0 0 auto;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border));
  margin-top: 28px;
}

.process__step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: .04em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.process__step-desc {
  font-size: .8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process__timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: var(--space-lg);
    gap: var(--space-lg);
  }
  .process__step { text-align: left; padding: 0; }
  .process__connector {
    width: 2px;
    height: 24px;
    margin-top: 0;
    margin-left: 27px;
    background: linear-gradient(180deg, var(--accent), var(--border));
  }
}

/* =============================================================
   FAQ
   ============================================================= */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color .2s;
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__question:hover { color: var(--navy); }

.faq__answer {
  padding-bottom: var(--space-md);
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials__carousel {
  max-width: 640px;
  margin: 0 auto;
}

.testimonial-card__video {
  margin-bottom: var(--space-md);
}

.testimonial-card__quote {
  text-align: center;
}

.testimonial-card__quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.8;
}

/* =============================================================
   CONTACT FORM
   ============================================================= */
.section--contact {
  background: var(--surface-1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

.contact-form__field label {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: .875rem 1rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-muted);
  opacity: .6;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

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

.contact-form__status {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  font-size: .875rem;
  text-align: center;
}

.contact-form__status:empty {
  display: none;
}

.contact-form__status--ok {
  background: rgba(34, 197, 94, .12);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, .3);
}

.contact-form__status--err {
  background: rgba(239, 68, 68, .12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, .3);
}

/* =============================================================
   FOOTER — dark section
   ============================================================= */
.footer {
  padding: var(--space-xl) 0;
  background: var(--dark-footer);
  border-top: none;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer .nav__logo-text {
  color: var(--white);
}

.footer__tagline {
  font-size: .8125rem;
  color: var(--dark-muted);
  margin-top: .25rem;
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
}

.footer__links a {
  font-size: .875rem;
  color: var(--dark-muted);
  transition: color .2s;
}

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

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: .75rem;
  color: var(--dark-muted);
  padding-top: var(--space-md);
  border-top: 1px solid var(--dark-border);
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered fade-in (JS adds .visible) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

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

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