/* ==========================================================================
   KLYVN — Ancient World page
   Loads AFTER style-butterfly.css. Header, footer, .btn-premium and the
   design tokens all come from that file; everything here is page-specific
   and namespaced with .aw- so nothing leaks into the other pages.
   ========================================================================== */

:root {
  --aw-ink:        #0B0705;   /* page background — warm black, not blue-black */
  --aw-ink-soft:   #140D08;   /* section background, one step up            */
  --aw-gold:       #C9A227;   /* primary metal                              */
  --aw-gold-light: #E7CD8C;   /* headline gold                              */
  --aw-gold-dim:   rgba(201, 162, 39, 0.28);
  --aw-text:       #E8E0D4;
  --aw-text-dim:   #B9AC99;
  --aw-hairline:   rgba(201, 162, 39, 0.18);

  --aw-slide-time: 6500ms;
}

.ancient-page {
  background: var(--aw-ink);
  color: var(--aw-text);
}

/* ==========================================================================
   HEADER — page-level overrides
   style-butterfly.css lays the header out as a 3-column grid (logo | nav |
   cta) capped at 1400px. This page only has two children, so the toggle
   would land in the middle column; and the 1400px cap puts the logo on a
   different left edge than the hero copy. Both are corrected here.
   ========================================================================== */

.ancient-page .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100% !important;   /* same as worlds */
  padding: 0 20px;              /* same as worlds: logo + toggle sit on the same edges */
  gap: 0;
}

/* ---------- Horizontal text menu ---------- */

.ancient-page .aw-nav { justify-self: center; }

.ancient-page .aw-nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ancient-page .aw-nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aw-text);
  padding-bottom: 6px;
  transition: color 0.35s var(--ease-premium);
}

.ancient-page .aw-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--aw-gold);
  transition: width 0.4s var(--ease-premium);
}

.ancient-page .aw-nav-link:hover { color: var(--aw-gold-light); }
.ancient-page .aw-nav-link:hover::after,
.ancient-page .aw-nav-link.is-current::after { width: 100%; }
.ancient-page .aw-nav-link.is-current { color: var(--aw-gold-light); }

/* ---------- Button + toggle, grouped at the right edge ---------- */

.ancient-page .header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ancient-page .btn-premium.aw-header-cta {
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--aw-gold-light);
  padding: 12px 24px;
  font-size: 10.5px;
  letter-spacing: 2px;
}

.ancient-page .btn-premium.aw-header-cta::before { display: none; }

.ancient-page .btn-premium.aw-header-cta:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--aw-gold-light);
  color: #FFF6E2;
  transform: translateY(-2px);
  box-shadow: none;
}

.ancient-page .header-toggle {
  position: relative;         /* anchor for the dropdown                        */
  justify-self: end;
}

.ancient-page .hamburger { display: flex; }

.ancient-page .hamburger {
  display: flex;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 205, 140, 0.4);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: border-color 0.35s var(--ease-premium), background 0.35s var(--ease-premium);
}
.ancient-page .hamburger span { width: 14px; }
.ancient-page .hamburger:hover {
  border-color: #E7CD8C;
  background: rgba(231, 205, 140, 0.08);
}

/* ---------- Desktop dropdown — revealed on hover / keyboard focus ---------- */

.ancient-page .desktop-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 200px;
  padding: 20px 24px;
  background: rgba(11, 7, 5, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.38s var(--ease-premium),
    transform 0.38s var(--ease-premium),
    visibility 0.38s;
}

.ancient-page .header-toggle:hover .desktop-dropdown,
.ancient-page .header-toggle:has(:focus-visible) .desktop-dropdown,
.ancient-page .desktop-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ancient-page .desktop-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ancient-page .desktop-dropdown-link {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--aw-text);
  transition: color 0.3s var(--ease-premium), letter-spacing 0.3s var(--ease-premium);
}

.ancient-page .desktop-dropdown-link:hover {
  color: var(--aw-gold-light);
  letter-spacing: 3.4px;
}

.ancient-page .desktop-dropdown-link.is-current { color: var(--aw-gold); }

.ancient-page .desktop-dropdown-link:focus-visible {
  outline: 1px solid var(--aw-gold-light);
  outline-offset: 4px;
}

/* Footer sits on the dark page */
.ancient-page .site-footer {
  background: #071f16;
  border-top: 1px solid var(--aw-hairline);
  padding: 26px 0;
  color: var(--aw-text-dim);
}

.ancient-page .site-footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #ffffff;
  
}

.ancient-page .footer-powered { text-align: right; }
.ancient-page .site-footer a { color: var(--aw-gold-light); }
.ancient-page .site-footer a:hover { color: #fff; }

@media (max-width: 767px) {
  .ancient-page .footer-powered,
  .ancient-page .footer-copy { text-align: center; }
  .ancient-page .footer-powered { margin-top: 8px; }
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.aw-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #0B0705;
  display: flex;
  align-items: center;
}

.aw-slides {
  position: absolute;
  inset: 0;
}

.aw-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease-premium), visibility 1.2s;
}

.aw-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.aw-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
}

.aw-slide.is-active .aw-slide-img {
  animation: awDrift var(--aw-slide-time) linear forwards;
}

@keyframes awDrift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.09); }
}

/* Left scrim so the copy always sits on dark, whatever the photo */
.aw-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(8, 5, 3, 0.54) 0%,
      rgba(8, 5, 3, 0.60) 26%,
      rgba(8, 5, 3, 0.35) 52%,
      rgba(8, 5, 3, 0.10) 72%,
      rgba(8, 5, 3, 0.55) 100%);
}

.aw-scrim-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 7, 5, 0) 0%, rgba(11, 7, 5, 0.92) 100%);
}

.aw-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 6%;
}

.aw-copy {
  max-width: 560px;
}

/* ---------- World tag ---------- */

.aw-world-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.aw-world-icon {
  width: 30px;
  height: 36px;
  color: var(--aw-gold);
  flex-shrink: 0;
}

.aw-world-icon svg { width: 100%; height: 100%; display: block; }

.aw-world-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--aw-gold-light);
}

/* ---------- Headline ---------- */

.aw-title {
  font-family: 'Cormorant Garamond', var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 50px);
  line-height: 1.06;
  letter-spacing: 3px;
  color: #F3E7CE;
  margin: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;

}

.aw-title-line { display: block; }

.aw-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 210px;
  margin: 26px 0 18px;
}

.aw-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,162,39,0.85) 0%, rgba(201,162,39,0) 100%);
}

.aw-rule-spark {
  width: 14px;
  height: 14px;
  color: var(--aw-gold-light);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(231, 205, 140, 0.6));
}

.aw-rule-spark svg { width: 100%; height: 100%; display: block; }

.aw-kicker {
  font-family: 'Cormorant Garamond', var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.6px;
  color: var(--aw-gold-light);
  margin: 0 0 18px;
}

.aw-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.95;
  color: #ffffff;
  max-width: 430px;
  margin: 0 0 36px;
}

/* ---------- Hero CTA: outlined gold, overrides the filled site button ---------- */

.aw-hero .btn-premium.aw-cta {
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--aw-gold-light);
  padding: 16px 30px;
  font-size: 12px;
  letter-spacing: 2.2px;
}

.aw-hero .btn-premium.aw-cta::before { display: none; }

.aw-hero .btn-premium.aw-cta:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--aw-gold-light);
  color: #FFF6E2;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   HERO RIGHT RAIL — vertical square thumbnails as slider navigation
   ========================================================================== */

.aw-rail {
  position: absolute;
  right: 3.2%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.aw-rail-caption {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 2;
  text-transform: uppercase;
  color: var(--aw-text-dim);
  text-align: center;
  margin: 0;
}

.aw-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aw-thumb {
  position: relative;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.30);
  background: #0B0705;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.45s var(--ease-premium),
    border-color 0.45s var(--ease-premium),
    transform 0.45s var(--ease-premium);
}

.aw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-thumb:hover { opacity: 0.85; transform: translateX(-3px); }

.aw-thumb.is-active {
  opacity: 1;
  border-color: var(--aw-gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* progress bar along the bottom of the active thumbnail */
.aw-thumb.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--aw-gold-light);
  transform-origin: left center;
  animation: awProgress var(--aw-slide-time) linear forwards;
}

@keyframes awProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.aw-thumb:focus-visible {
  outline: 2px solid var(--aw-gold-light);
  outline-offset: 3px;
}

.aw-scroll-cue {
  color: var(--aw-gold-light);
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
  animation: awCue 2.4s ease-in-out infinite;
}

.aw-scroll-cue:hover { opacity: 1; }

@keyframes awCue {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ==========================================================================
   THE ANCIENT COLLECTION
   ========================================================================== */

.aw-collection {
  position: relative;
  background: var(--aw-ink-soft);
  border-top: 1px solid var(--aw-hairline);
  padding: 0 0 0;
}

.aw-collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  border-bottom: 1px solid var(--aw-hairline);
}

.aw-collection-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--aw-gold-light);
  margin: 0;
}

.aw-collection-meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.aw-collection-note {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--aw-text-dim);
  margin: 0;
}

.aw-arrows { display: flex; gap: 8px; }

.aw-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: transparent;
  color: var(--aw-gold-light);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium), color 0.35s var(--ease-premium);
}

.aw-arrow:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--aw-gold);
  color: #FFF6E2;
}

.aw-arrow:disabled { opacity: 0.3; cursor: default; }
.aw-arrow:focus-visible { outline: 2px solid var(--aw-gold-light); outline-offset: 2px; }

.aw-collection-body {
  display: flex;
  align-items: stretch;
}

.aw-track {
  display: flex;
  gap: 18px;
  flex: 1;
  min-width: 0;
  padding: 26px 26px 34px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 26px;
  scrollbar-width: none;
}

.aw-track::-webkit-scrollbar { display: none; }

.aw-look {
  position: relative;
  flex: 0 0 calc(20% - 15px);   /* five across, minus the shared gap */
  scroll-snap-align: start;
  padding: 12px;
  border: 1px solid var(--aw-hairline);
  background: #100A06;
  transition: border-color 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
}

.aw-look:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-4px);
}

.aw-look-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.aw-look-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,7,5,0) 45%, rgba(11,7,5,0.85) 100%);
}

.aw-look-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-premium);
}

.aw-look:hover .aw-look-media img { transform: scale(1.06); }

.aw-look-text {
  position: relative;
  padding: 18px 20px 26px;
  text-align: center;
}

.aw-look-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aw-gold-light);
  margin: 0 0 8px;
}

.aw-look-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 16px;
}

.aw-look-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aw-gold-light);
  transition: background 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium), color 0.4s var(--ease-premium);
}

.aw-look-link i { transition: transform 0.4s var(--ease-premium); }

.aw-look-link:hover {
  background: rgba(201, 162, 39, 0.14);
  border-color: var(--aw-gold);
  color: #FFF6E2;
}

.aw-look-link:hover i { transform: translateX(5px); }

/* Right-hand vertical note beside the track */
.aw-side-note {
  flex: 0 0 150px;
  border-left: 1px solid var(--aw-hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px;
}

.aw-side-note p {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  line-height: 2.2;
  text-transform: uppercase;
  color: var(--aw-text-dim);
  text-align: center;
  margin: 0;
}

.aw-side-mark {
  color: var(--aw-gold);
  font-size: 14px;
  opacity: 0.8;
}

/* ==========================================================================
   VALUE STRIP + WORLD SWITCHER
   ========================================================================== */

.aw-values {
  display: flex;
  align-items: stretch;
  background: var(--aw-ink);
  border-top: 1px solid var(--aw-hairline);
}

.aw-values-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aw-value {
  position: relative;
  padding: 34px 26px;
  text-align: center;
}

.aw-value + .aw-value::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26%;
  bottom: 26%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201,162,39,0) 0%, rgba(201,162,39,0.45) 50%, rgba(201,162,39,0) 100%);
}

.aw-value-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 14px;
  color: var(--aw-gold);
}

.aw-value-icon svg { width: 100%; height: 100%; display: block; }

.aw-value-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--aw-gold-light);
  margin: 0 0 7px;
}

.aw-value-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  color: #ffffff;
  margin: 0;
}

.aw-worlds-switch {
  flex: 0 0 150px;
  border-left: 1px solid var(--aw-hairline);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 20px 26px;
}

.aw-world-link {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--aw-text-dim);
  transition: color 0.35s var(--ease-premium), letter-spacing 0.35s var(--ease-premium);
}

.aw-world-link:hover { color: var(--aw-gold-light); letter-spacing: 3.4px; }

.aw-world-link.is-current { color: var(--aw-gold); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .aw-look { flex: 0 0 calc(33.3333% - 12px); }
  .ancient-page .aw-nav-list { gap: 26px; }
  .ancient-page .header-inner { gap: 20px; }
  .aw-side-note,
  .aw-worlds-switch { flex-basis: 130px; }
  .aw-rail { right: 2.4%; }
  .aw-thumb { width: 54px; height: 54px; }
}

@media (max-width: 991px) {
  .aw-look { flex: 0 0 calc(50% - 9px); }
  .ancient-page .aw-nav { display: none; }
  .aw-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-value:nth-child(n+3) { border-top: 1px solid var(--aw-hairline); }
  .aw-value:nth-child(3)::before { display: none; }
}



@media (max-width: 767px) {

  .aw-hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 150px;
  }

  .aw-slide-img { object-position: 75% 60%; }

  .aw-scrim {
    background: linear-gradient(to bottom,
      rgba(8,5,3,0.80) 0%,
      rgba(8,5,3,0.35) 35%,
      rgba(8,5,3,0.75) 68%,
      rgba(8,5,3,0.96) 100%);
  }

  /* Header gutter matches the hero copy gutter on mobile too */
  .ancient-page .header-inner { padding: 0 24px; }
  .ancient-page .desktop-dropdown { display: none; }
  .ancient-page .btn-premium.aw-header-cta { display: none; }
  .ancient-page .header-inner { grid-template-columns: 1fr auto; gap: 0; }

  .aw-hero-inner { padding: 0 24px; }

  .aw-copy { max-width: 100%; }

  .aw-world-tag { margin-bottom: 16px; gap: 10px; }
  .aw-world-icon { width: 22px; height: 26px; }
  .aw-world-name { font-size: 11px; letter-spacing: 3.5px; }

  .aw-title { font-size: 34px; letter-spacing: 1.6px; }
  .aw-rule { width: 150px; margin: 16px 0 12px; }
  .aw-kicker { font-size: 18px; margin-bottom: 12px; }

  .aw-desc {
    font-size: 13px;
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .aw-hero .btn-premium.aw-cta { padding: 13px 22px; font-size: 11px; letter-spacing: 1.8px; }

  /* Rail becomes a horizontal strip pinned under the copy */
  .aw-rail {
    top: auto;
    bottom: 26px;
    left: 24px;
    right: 24px;
    transform: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .aw-rail-caption { display: none; }

  .aw-thumbs { flex-direction: row; gap: 10px; }

  .aw-thumb { width: 50px; height: 50px; }
  .aw-thumb:hover { transform: none; }

  .aw-scroll-cue { margin-left: auto; }

  .aw-collection-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 24px;
  }

  .aw-collection-meta { width: 100%; justify-content: space-between; }

  .aw-look { flex: 0 0 78%; padding: 10px; }
  .aw-track { gap: 14px; padding: 20px 20px 26px; scroll-padding-left: 20px; }

  .aw-side-note { display: none; }

  .aw-values { flex-direction: column; }
  .aw-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aw-value-title { font-size: 12px; letter-spacing: 1.6px; overflow-wrap: anywhere; }
.aw-value-desc  { font-size: 12px; }
  .aw-value { padding: 26px 16px; }

  .aw-worlds-switch {
    flex: 1 1 auto;
    border-left: none;
    border-top: 1px solid var(--aw-hairline);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 18px 20px;
  }
}

@media (max-width: 400px) {
  .aw-title { font-size: 29px; }
  .aw-thumb { width: 44px; height: 44px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .aw-slide.is-active .aw-slide-img,
  .aw-thumb.is-active::after,
  .aw-scroll-cue {
    animation: none !important;
  }
  .aw-slide { transition: none; }
  .aw-track { scroll-behavior: auto; }
}


/* ==========================================================================
   MOBILE / TABLET MENU — alignment fixes
   ========================================================================== */

@media (max-width: 991px) {

  /* Hamburger: stacked lines, perfectly centred, clean X when open */
  .ancient-page .hamburger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0;
  }

  .ancient-page .hamburger span {
    display: block;
    width: 14px;
    height: 1px;
    margin: 0;
    transform-origin: center;
    transition: transform 0.3s var(--ease-premium), opacity 0.3s var(--ease-premium);
  }

  /* gap (4px) + line height (1px) = 5px travel */
  .ancient-page .hamburger[aria-expanded="true"] span:nth-child(1),
  .ancient-page .hamburger.active span:nth-child(1),
  .ancient-page .hamburger.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .ancient-page .hamburger[aria-expanded="true"] span:nth-child(2),
  .ancient-page .hamburger.active span:nth-child(2),
  .ancient-page .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .ancient-page .hamburger[aria-expanded="true"] span:nth-child(3),
  .ancient-page .hamburger.active span:nth-child(3),
  .ancient-page .hamburger.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* Mobile menu panel: same 24px gutter as header + hero, centred links */
  .ancient-page .mobile-menu {
    padding: 110px 24px 40px;
    text-align: center;
    background: rgba(11, 7, 5, 0.97);
  }

  .ancient-page .mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ancient-page .mobile-nav-link {
    display: block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--aw-text);
    text-align: center;
  }

  .ancient-page .mobile-nav-link:hover,
  .ancient-page .mobile-nav-link.is-current { color: var(--aw-gold-light); }

  .ancient-page .btn-premium.btn-premium--mobile {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 34px auto 0;
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.5);
    color: var(--aw-gold-light);
    padding: 14px 26px;
    font-size: 11px;
    letter-spacing: 2px;
  }
  .ancient-page .btn-premium.btn-premium--mobile::before { display: none; }
}

