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

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2b1b10;
  background: #110806;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 249, 230, 0.4);
}

.nav-title-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-title {
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fdf4d7;
  text-shadow: 0 0 12px rgba(255, 216, 146, 0.85),
    0 0 24px rgba(145, 89, 26, 0.8);
}

.nav-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 237, 209, 0.75);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  color: rgba(255, 239, 214, 0.85);
  padding-bottom: 0.1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    #ffedc2,
    #f0b865,
    #c0672c,
    #f0b865
  );
  transition: width 0.25s ease-out;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  color: #fbeccb;
  font-size: 1.4rem;
}

/* Sections (slides) */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem 3.5rem;
  color: #2b1407;
}

.section-home {
  padding-top: 0;
  margin-top: 0;
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

.section-inner {
  max-width: 1120px;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(40, 18, 6, 0.8);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 243, 215, 0.7);
  border: 1px solid rgba(152, 91, 37, 0.28);
}

.section-label i {
  font-size: 0.85rem;
}

.section-title {
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(36, 15, 6, 0.9);
}

.section-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(93, 54, 20, 0),
    rgba(126, 76, 35, 0.8),
    rgba(93, 54, 20, 0)
  );
}

/* HOME SECTION - Warm brown/orange tones */
.section-home {
  background-image: 
    /* Aged paper texture - fine lines */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 2px
    ),
    /* Parchment fibers */
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(139, 90, 43, 0.08) 3px,
      rgba(139, 90, 43, 0.08) 4px
    ),
    /* Scroll edge shadows */
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.15) 0%,
      transparent 3%,
      transparent 97%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    /* Aged spots and stains */
    radial-gradient(
      ellipse 800px 400px at 15% 25%,
      rgba(60, 30, 10, 0.2) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 600px 300px at 85% 75%,
      rgba(50, 25, 8, 0.18) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle 200px at 50% 50%,
      rgba(40, 20, 5, 0.15) 0%,
      transparent 30%
    ),
    /* Cracks and weathering */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(0, 0, 0, 0.03) 50px,
      rgba(0, 0, 0, 0.03) 51px
    ),
    /* Main ancient gradient - warm brown/orange */
    linear-gradient(
      135deg,
      #010000 0%,
      #010000 7%,
      #0a0402 7%,
      #0a0402 15%,
      #1a0a05 15%,
      #1a0a05 23%,
      #2d150a 23%,
      #2d150a 33%,
      #4a2515 33%,
      #4a2515 44%,
      #6b3d25 44%,
      #6b3d25 53%,
      #8a5235 53%,
      #8a5235 61%,
      #6b3d25 61%,
      #6b3d25 71%,
      #4a2515 71%,
      #4a2515 81%,
      #2d150a 81%,
      #2d150a 90%,
      #1a0a05 90%,
      #1a0a05 100%,
      #0a0402 100%
    );
  color: #200f05;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  background: rgba(49, 25, 10, 0.45);
  border: 1px solid rgba(254, 226, 182, 0.5);
  color: #ffe5b8;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title {
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff6dd;
  text-shadow: 0 0 18px rgba(53, 23, 4, 0.9),
    0 0 36px rgba(245, 187, 115, 0.9);
}

.hero-title span {
  display: block;
}

.hero-title-main {
  background: linear-gradient(
    120deg,
    #fff6da 0%,
    #f7d48d 22%,
    #f1ae50 42%,
    #f7d48d 66%,
    #fff6da 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Games and Contact titles - metallic silver-gold like glass */
#games-title .hero-title-main,
#contact-title .hero-title-main {
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #ffffff 8%,
    #fafafa 16%,
    #fffef8 28%,
    #f7e8c8 40%,
    #f1d4a0 48%,
    #e8c88c 50%,
    #f1d4a0 52%,
    #f7e8c8 60%,
    #fffef8 72%,
    #fafafa 84%,
    #ffffff 92%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(53, 23, 4, 0.9),
    0 0 36px rgba(245, 187, 115, 0.9);
}

.hero-title-sub {
  margin-top: 0.5rem;
  font-size: 0.7em;
  letter-spacing: 0.32em;
  color: rgba(255, 244, 211, 0.9);
}

.hero-body {
  margin-top: 1.6rem;
  max-width: 30rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(41, 20, 10, 0.92);
  background: rgba(255, 247, 221, 0.85);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 16px 40px rgba(30, 12, 3, 0.55);
  border: 1px solid rgba(210, 158, 94, 0.6);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 240, 213, 0.78);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-item i {
  font-size: 0.85rem;
}

.hero-badge {
  align-self: flex-start;
  justify-self: center;
  width: min(260px, 70vw);
  aspect-ratio: 1 / 1.1;
  border-radius: 32px;
  padding: 1.2rem;
  background-image: 
    /* Fine parchment texture */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.015) 1px,
      rgba(0, 0, 0, 0.015) 2px
    ),
    /* Aged paper fibers */
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(139, 90, 43, 0.02) 2px,
      rgba(139, 90, 43, 0.02) 3px
    ),
    /* Subtle aged spots */
    radial-gradient(
      circle 100px at 30% 40%,
      rgba(40, 20, 8, 0.06) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle 80px at 70% 60%,
      rgba(35, 18, 6, 0.05) 0%,
      transparent 18%
    ),
    /* Main ancient gradient */
    linear-gradient(
      135deg,
      #0a0402 0%,
      #0a0402 10%,
      #150805 10%,
      #150805 20%,
      #2d150a 20%,
      #2d150a 30%,
      #4a2515 30%,
      #4a2515 40%,
      #6b3d25 40%,
      #6b3d25 50%,
      #8a5235 50%,
      #8a5235 60%,
      #6b3d25 60%,
      #6b3d25 70%,
      #4a2515 70%,
      #4a2515 80%,
      #2d150a 80%,
      #2d150a 90%,
      #150805 90%,
      #150805 100%,
      #0a0402 100%
    );
  box-shadow: 0 22px 60px rgba(18, 7, 2, 0.85);
  border: 1px solid rgba(255, 240, 210, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-pill {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(35, 13, 4, 0.9);
  background: rgba(255, 242, 212, 0.85);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(146, 87, 36, 0.6);
}

.hero-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(17, 5, 0, 0.8);
  border: 1px solid rgba(255, 245, 229, 0.7);
}

.hero-badge-title {
  margin-top: 0.2rem;
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff5d6;
  text-shadow: 0 0 16px rgba(35, 13, 4, 0.9);
}

.hero-badge-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(37, 15, 6, 0.95);
  background: rgba(255, 244, 214, 0.9);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(206, 153, 89, 0.7);
}

.hero-badge-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 240, 214, 0.9);
}

.hero-badge-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-badge-footer i {
  font-size: 0.78rem;
}

/* GAMES SECTION */
.section-games {
  background-image: 
    /* Parchment weave texture */
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.04) 1px,
      rgba(0, 0, 0, 0.04) 2px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(101, 67, 33, 0.06) 4px,
      rgba(101, 67, 33, 0.06) 5px
    ),
    /* Scroll vertical edges */
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.12) 0%,
      transparent 2%,
      transparent 98%,
      rgba(0, 0, 0, 0.06) 100%
    ),
    /* Ancient ink stains */
    radial-gradient(
      ellipse 600px 500px at 25% 30%,
      rgba(60, 20, 10, 0.22) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse 500px 400px at 75% 70%,
      rgba(50, 15, 8, 0.18) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle 150px at 60% 40%,
      rgba(40, 12, 6, 0.15) 0%,
      transparent 25%
    ),
    /* Weathering lines */
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 60px,
      rgba(0, 0, 0, 0.03) 60px,
      rgba(0, 0, 0, 0.03) 61px
    ),
    /* Faded scroll edges */
    linear-gradient(
      to right,
      rgba(100, 30, 20, 0.08) 0%,
      transparent 5%,
      transparent 95%,
      rgba(80, 50, 25, 0.05) 100%
    ),
    /* Main ancient gradient - red/burgundy */
    linear-gradient(
      135deg,
      #0a0100 0%,
      #0a0100 8%,
      #150302 8%,
      #150302 17%,
      #1f0503 17%,
      #1f0503 26%,
      #2d0a05 26%,
      #2d0a05 35%,
      #4a150a 35%,
      #4a150a 44%,
      #6b2012 44%,
      #6b2012 53%,
      #8a2d18 53%,
      #8a2d18 62%,
      #6b2012 62%,
      #6b2012 71%,
      #4a150a 71%,
      #4a150a 80%,
      #2d0a05 80%,
      #2d0a05 89%,
      #1f0503 89%,
      #1f0503 100%,
      #150302 100%
    );
}

.games-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.games-intro {
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(29, 13, 5, 0.94);
  background: rgba(255, 245, 220, 0.92);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(217, 154, 88, 0.7);
  box-shadow: 0 18px 44px rgba(23, 8, 2, 0.7);
}

.games-intro-rows {
  display: grid;
  gap: 0.9rem;
}

.games-intro-row-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(132, 78, 34, 0.95);
}

.games-intro-row-main {
  font-size: 0.95rem;
  color: rgba(32, 14, 4, 0.98);
}

.games-list {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 800px;
}

.game-card {
  width: min(360px, 85vw);
  border-radius: 24px;
  padding: 1.75rem 2rem;
  background: rgba(255, 248, 235, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(18, 7, 2, 0.4),
    0 2px 8px rgba(18, 7, 2, 0.2);
  border: 1px solid rgba(210, 180, 140, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(18, 7, 2, 0.5),
    0 4px 12px rgba(18, 7, 2, 0.3);
}

.game-card-icon-wrapper {
  margin-bottom: 1.5rem;
}

.game-card-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 7, 2, 0.5),
    0 2px 8px rgba(18, 7, 2, 0.3);
  border: 3px solid rgba(255, 245, 230, 0.8);
  background: rgba(255, 250, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.game-card-title {
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  font-size: 1.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(35, 15, 5, 0.95);
  margin: 0;
  font-weight: 600;
}

.game-card-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(100, 60, 30, 0.9);
  margin: 0;
  font-weight: 500;
}


.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.game-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(80, 45, 20, 0.9);
  background: rgba(255, 242, 220, 0.8);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(180, 130, 80, 0.3);
  font-weight: 500;
}

.game-card-tag i {
  font-size: 0.7rem;
  opacity: 0.8;
}

/* CONTACT SECTION - Purple/brown tones */
.section-contact {
  background-image: 
    /* Aged manuscript texture */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 3px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 3px,
      rgba(80, 60, 50, 0.05) 3px,
      rgba(80, 60, 50, 0.05) 4px
    ),
    /* Scroll roll edges */
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      transparent 3%,
      transparent 97%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    linear-gradient(
      to right,
      rgba(50, 30, 30, 0.08) 0%,
      transparent 4%,
      transparent 96%,
      rgba(50, 30, 30, 0.08) 100%
    ),
    /* Ancient document stains */
    radial-gradient(
      ellipse 700px 600px at 20% 20%,
      rgba(40, 25, 20, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 600px 500px at 80% 80%,
      rgba(35, 20, 18, 0.18) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle 180px at 50% 60%,
      rgba(30, 18, 15, 0.15) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle 120px at 30% 70%,
      rgba(25, 15, 12, 0.12) 0%,
      transparent 25%
    ),
    /* Cracks and wear patterns */
    repeating-linear-gradient(
      30deg,
      transparent,
      transparent 80px,
      rgba(0, 0, 0, 0.02) 80px,
      rgba(0, 0, 0, 0.02) 81px
    ),
    /* Faded ink marks */
    linear-gradient(
      120deg,
      rgba(60, 40, 35, 0.06) 0%,
      transparent 20%,
      transparent 80%,
      rgba(60, 40, 35, 0.06) 100%
    ),
    /* Main ancient gradient - purple/brown */
    linear-gradient(
      135deg,
      #050201 0%,
      #050201 9%,
      #0a0302 9%,
      #0a0302 19%,
      #150805 19%,
      #150805 29%,
      #1f0f0a 29%,
      #1f0f0a 39%,
      #2d1815 39%,
      #2d1815 49%,
      #3d2520 49%,
      #3d2520 59%,
      #4a2d28 59%,
      #4a2d28 69%,
      #3d2520 69%,
      #3d2520 79%,
      #2d1815 79%,
      #2d1815 87%,
      #1f0f0a 87%,
      #1f0f0a 93%,
      #150805 93%,
      #150805 100%,
      #0a0302 100%
    );
}

.contact-card {
  max-width: 28rem;
  margin: 0 auto;
  background: rgba(255, 246, 222, 0.95);
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.6rem;
  border: 1px solid rgba(184, 118, 57, 0.9);
  box-shadow: 0 18px 46px rgba(18, 6, 2, 0.85);
}

.contact-description {
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(37, 17, 6, 0.96);
  margin-bottom: 1.1rem;
}

.contact-row {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: rgba(29, 13, 5, 0.98);
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(132, 78, 34, 0.98);
}

.contact-email a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(250, 227, 182, 0.95);
  border: 1px solid rgba(176, 106, 53, 0.95);
  box-shadow: 0 4px 10px rgba(138, 77, 37, 0.55);
  font-weight: 500;
}

.contact-email a i {
  color: rgba(138, 77, 37, 0.95);
}

.contact-email a:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(138, 77, 37, 0.7);
}

/* Footer */
.footer {
  padding: 1.3rem 1.5rem 1.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 231, 198, 0.7);
  background: radial-gradient(
      circle at 0 0,
      #3b1408 0%,
      #1a0703 36%,
      #090203 100%
    );
  border-top: 1px solid rgba(148, 90, 42, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-badge {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    padding-inline: 1rem;
  }

  .nav-links {
    position: fixed;
    inset: 3.1rem 0 auto;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(
      to bottom,
      rgba(36, 15, 6, 0.97),
      rgba(61, 34, 16, 0.97)
    );
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .hero-title {
    letter-spacing: 0.16em;
  }
}

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


