:root {
  --bg-color: #0c0805;
  --ink: #f3e6cf;
  --accent: #e8a545;
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ── Site logo (top right, standalone on every page) ─────────────────── */
#site-logo {
  position: fixed;
  top: 3vh;
  right: 4.5vw;
  z-index: 55;
  height: 75px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(244, 185, 66, 0.3));
}

@media (max-width: 900px) {
  #site-logo { top: 1.4vh; right: 5vw; height: 45px; }
}

/* ── Page navigation (top left) ───────────────────────────────────── */
/* A dark glass pill behind the nav keeps gold text/pipes legible no matter
   what sits behind it — a bright video frame, the golden BG.png scene, or
   a plain dark page background. */
#page-nav {
  position: fixed;
  top: 3vh;
  left: 4.5vw;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  max-width: 62vw;

  background: rgba(7, 14, 16, 0.55);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(244, 185, 66, 0.20);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;

  font-family: var(--font-body, 'Outfit', 'Helvetica Neue', Arial, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-nav-link {
  color: rgba(243, 230, 207, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-nav-link:hover,
.page-nav-link:focus-visible {
  color: var(--gold, var(--accent));
}

.page-nav-link.active {
  color: var(--gold, var(--accent));
  cursor: default;
}

.page-nav-sep {
  color: rgba(244, 185, 66, 0.45);
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  #page-nav {
    top: 2.2vh;
    left: 5vw;
    font-size: 0.65rem;
    gap: 8px;
    padding: 0.4rem 0.85rem;
  }
}

/* ── Mobile hamburger toggle — the tripundra mark itself ─────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out-cubic, ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { transform: rotate(90deg); }

/* On desktop the links sit inline as direct flex children of #page-nav. */
.page-nav-links { display: contents; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  /* Collapsed = a plain circle around just the hamburger; opening
     restores the familiar pill shape and padding. */
  #page-nav {
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }
  #page-nav.nav-open {
    width: auto;
    height: auto;
    padding: 0.4rem 0.85rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .page-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s var(--ease-out-cubic, ease), opacity 0.3s ease, margin-top 0.35s ease;
  }

  .page-nav-links.open {
    width: 100%;
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(244, 185, 66, 0.2);
  }

  /* The pill shape reads oddly once the menu expands downward — soften
     the corners while open so it looks like a dropdown, not a blob. */
  #page-nav.nav-open { border-radius: 24px; }

  .page-nav-sep { display: none; }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  /* min-height (not height): a fixed height:100% on both html and body
     stops the viewport from scrolling once a descendant's content grows
     past one screen (confirmed on about.html) — min-height still gives a
     full-bleed background on short pages without capping taller ones. */
  min-height: 100%;
  background: var(--bg-color);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/* ---------------------------------- */
/* Phase 1 — sequential logo preloader */
/* ---------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  pointer-events: none;
  will-change: opacity;
}

/* Stacked, cross-fading logo frames (1..5), centered mid-page */
.loader-stage {
  position: relative;
  width: min(300px, 62vw);
  aspect-ratio: 508 / 465;
}

.loader-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 26px rgba(232, 165, 69, 0.28));
  animation: loader-cycle 5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.loader-img:nth-child(1) { animation-delay: 0s; }
.loader-img:nth-child(2) { animation-delay: -1s; }
.loader-img:nth-child(3) { animation-delay: -2s; }
.loader-img:nth-child(4) { animation-delay: -3s; }
.loader-img:nth-child(5) { animation-delay: -4s; }

@keyframes loader-cycle {
  0%   { opacity: 0; transform: scale(0.97); }
  6%   { opacity: 1; transform: scale(1); }
  16%  { opacity: 1; transform: scale(1); }
  22%  { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}

/* Golden loading bar — rolls in step with each frame change */
.loader-bar-track {
  position: relative;
  width: min(210px, 46vw);
  height: 3px;
  margin-top: 34px;
  background: rgba(232, 165, 69, 0.16);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 42%;
  border-radius: 3px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent) 30%,
    #fff3d6 50%,
    var(--accent) 70%,
    transparent);
  animation: loader-bar-roll 1s linear infinite;
}

@keyframes loader-bar-roll {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  perspective: 1200px;
}

.hero-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: url(#chromaticAberration);
  transform: scale(1.06);
  will-change: filter, transform;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 55%, transparent 35%, rgba(0,0,0,0.35) 78%, rgba(0,0,0,0.75) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 6vw 12vh;
  max-width: 900px;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(14px);
}

.title {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  font-weight: 500;
  margin-top: 0.5rem;
}

.title .line {
  display: block;
  overflow: hidden;
}

.title .line span,
.title .line {
  opacity: 0;
  transform: translateY(100%);
}

.title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.subtitle {
  margin-top: 1.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(243, 230, 207, 0.75);
  opacity: 0;
  transform: translateY(14px);
}

.scroll-cue {
  position: absolute;
  right: 6vw;
  bottom: 6vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(243, 230, 207, 0.6);
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(243, 230, 207, 0.2);
  overflow: hidden;
}

.scroll-line i {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scroll-drip 1.8s ease-in-out infinite;
}

@keyframes scroll-drip {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ---------------------------------- */
/* Next section (placeholder)          */
/* ---------------------------------- */
.next {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 6vw;
}

.next h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  max-width: 20ch;
}

.next p {
  color: rgba(243, 230, 207, 0.6);
  max-width: 40ch;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
}

@media (max-width: 700px) {
  .hero-copy { padding-bottom: 16vh; }
  .scroll-cue { right: 6vw; bottom: 4vh; }
}

/* ================================================================ */
/* 3D SCENE SECTION                                                  */
/* ================================================================ */

/* Extended design tokens */
:root {
  --gold:    #F4B942;
  --amber:   #E09A2D;
  --deep-bg: #070E10;
  --mid-bg:  #0E1A1C;
  --ink-dim: rgba(243, 230, 207, 0.7);
  --font-body: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
}

/* ── Scene container ─────────────────────────────────────────── */
#scene-section {
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  background: url('../assets/BG_Space_169.png') center center / cover no-repeat;
}

@media (max-width: 600px) {
  #scene-section {
    background-image: url('../assets/BG_Space_916.png');
  }
}

#scene-section.active {
  pointer-events: all;
}

#three-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

/* ── Scene hint text ─────────────────────────────────────────── */
#scene-hint {
  position: absolute;
  bottom: 5.5vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 185, 66, 0.55);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  user-select: none;
}

#scene-hint.visible {
  opacity: 1;
}

/* ── Left content panel (PRD §12–13) ──────────────────────────── */
#content-panel {
  position: absolute;
  top:    0;
  left:   0;
  bottom: 0;
  width:  min(420px, 40vw);
  z-index: 25;

  /* Glassmorphism */
  background: rgba(7, 14, 16, 0.88);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  border-right: 1px solid rgba(244, 185, 66, 0.14);

  padding: 2rem 2.25rem 3rem;
  overflow-y: auto;
  overscroll-behavior: contain;

  /* Slide in from left */
  transform: translateX(-100%);
  transition: transform 0.52s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

#content-panel.open {
  transform: translateX(0);
}

/* Gold line at right edge of panel */
#content-panel::after {
  content: '';
  position: absolute;
  top: 8%; right: 0; bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 40%, transparent);
  opacity: 0.3;
}

/* ── Panel back button ─────────────────────────────────────────── */
#panel-close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;

  background: rgba(244, 185, 66, 0.07);
  border: 1px solid rgba(244, 185, 66, 0.22);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  color: rgba(244, 185, 66, 0.75);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#panel-close:hover,
#panel-close:focus-visible {
  background: rgba(244, 185, 66, 0.15);
  color: var(--gold);
  border-color: rgba(244, 185, 66, 0.45);
  outline: none;
}

/* ── Panel header ──────────────────────────────────────────────── */
.panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.panel-icon {
  font-size: 2.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.panel-meta { display: flex; flex-direction: column; gap: 0.2rem; }

.panel-category {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}

.panel-title {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── Panel story text ──────────────────────────────────────────── */
.panel-story {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.80;
  color: var(--ink-dim);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 185, 66, 0.10);
  padding-bottom: 1.75rem;
}

/* ── Article cards (PRD §13) ───────────────────────────────────── */
.panel-articles {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.article-card {
  background: rgba(244, 185, 66, 0.04);
  border: 1px solid rgba(244, 185, 66, 0.10);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, transform 0.18s;
}
.article-card:hover {
  background: rgba(244, 185, 66, 0.09);
  border-color: rgba(244, 185, 66, 0.28);
  transform: translateX(4px);
}
.article-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(244, 185, 66, 0.90);
  margin: 0 0 0.4rem;
  letter-spacing: 0.01em;
}
/* ── "See it in Patra" deep link ─────────────────────────────────── */
.panel-patra-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  background: rgba(244, 185, 66, 0.10);
  border: 1px solid rgba(244, 185, 66, 0.30);
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s, transform 0.18s;
}
.panel-patra-link:hover {
  background: rgba(244, 185, 66, 0.18);
  border-color: rgba(244, 185, 66, 0.5);
  transform: translateX(4px);
}
.panel-patra-link-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 185, 66, 0.95);
}
.panel-patra-link-arrow {
  font-size: 1rem;
  color: rgba(244, 185, 66, 0.95);
  transition: transform 0.22s;
}
.panel-patra-link:hover .panel-patra-link-arrow {
  transform: translateX(3px);
}

.article-desc {
  font-family: var(--font-body);
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(243, 230, 207, 0.60);
  margin: 0;
}

/* ── Featured "from Patra" excerpt card — image + title + excerpt + CTA ── */
.article-card--featured {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}
.article-card-img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: rgba(244, 185, 66, 0.07);
  padding: 0.9rem;
}
.article-card--featured .article-title { padding: 0.9rem 1.25rem 0; }
.article-card--featured .article-desc  { padding: 0.5rem 1.25rem 0; }
.article-readmore {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.9rem 1.25rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s ease;
}
.article-card--featured:hover .article-readmore { gap: 0.65rem; }

/* ── Right object label panel (PRD §10) ───────────────────────── */
#object-panel {
  position: absolute;
  right: 4vw;
  bottom: 8vh;
  z-index: 20;
  text-align: right;
  pointer-events: none;

  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
#object-panel.open {
  opacity: 1;
  transform: translateY(0);
}

.object-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 185, 66, 0.55);
  margin: 0;
}

/* ── WebGL fallback ──────────────────────────────────────────── */
.webgl-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 4rem 8vw;
  text-align: center;
  font-family: var(--font-body);
}

.webgl-fallback h3 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.webgl-fallback p {
  font-size: 0.95rem;
  color: var(--ink-dim);
  max-width: 36ch;
  line-height: 1.65;
}

/* ── Golden aura CSS pulse (complement to Three.js aura) ────── */
@keyframes aura-ring {
  0%   { transform: scale(0.9);  opacity: 0.5; }
  50%  { transform: scale(1.05); opacity: 0.2; }
  100% { transform: scale(0.9);  opacity: 0.5; }
}

/* ── Responsive adaptations ──────────────────────────────────── */
@media (max-width: 768px) {
  #content-panel {
    width:   100vw;
    top:     auto;
    bottom:  0;
    height:  65vh;
    border-right: none;
    border-top: 1px solid rgba(244, 185, 66, 0.14);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }
  #content-panel.open { transform: translateY(0); }
  #content-panel::after { display: none; }
  .panel-title  { font-size: 1.25rem; }
  .panel-story  { font-size: 0.88rem; }
  .panel-icon   { font-size: 2.1rem; }
  #scene-hint   { font-size: 0.68rem; letter-spacing: 0.2em; }
  #object-panel { display: none; }
}

@media (max-width: 480px) {
  #content-panel { height: 72vh; padding: 1.5rem 1.5rem 2.5rem; }
}

/* ── Skip-to-3D button ───────────────────────────────────────────────── */
#skip-to-3d {
  position: absolute;
  bottom: 5.5vh;
  right: 4.5vw;
  z-index: 10;

  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 185, 66, 0.85);

  /* No dark glass window here — that treatment is reserved for the navbar. */
  background: transparent;
  border: 1px solid rgba(244, 185, 66, 0.45);
  border-radius: 100px;
  padding: 0.65rem 1.35rem;
  cursor: pointer;

  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease,
              background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

#skip-to-3d.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#skip-to-3d:hover,
#skip-to-3d:focus-visible {
  background: rgba(244, 185, 66, 0.12);
  color: var(--gold, #F4B942);
  border-color: rgba(244, 185, 66, 0.75);
  outline: none;
}


@media (max-width: 768px) {
  #skip-to-3d {
    font-size: 0.72rem;
    padding: 0.55rem 1.1rem;
    right: 5vw;
    bottom: 4vh;
  }
}

/* ── Carousel arrow buttons ──────────────────────────────────────────────── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  /* Circle size — enlarged so they read clearly as primary controls */
  width:  72px;
  height: 72px;
  border-radius: 50%;

  /* A soft dark glass disc keeps the gold glyph legible over any artifact
     or background, and reads as a clickable button rather than a hint. */
  background: rgba(7, 14, 16, 0.55);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border: 1.5px solid rgba(244, 185, 66, 0.55);
  box-shadow: 0 0 22px rgba(244, 185, 66, 0.12), 0 4px 18px rgba(0, 0, 0, 0.35);

  /* Arrow glyph */
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(244, 185, 66, 0.95);

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Transition — opacity driven by GSAP from JS; rest by CSS */
  transition: background 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              transform 0.15s ease,
              box-shadow 0.2s ease;

  /* Initial state: start hidden (GSAP fades in after spawn) */
  pointer-events: all;
  user-select: none;
}

.carousel-arrow--prev { left:  2.5vw; }
.carousel-arrow--next { right: 2.5vw; }

/* Hover */
.carousel-arrow:hover {
  background:   rgba(244, 185, 66, 0.22);
  border-color: rgba(244, 185, 66, 0.85);
  color:        #FFD979;
  box-shadow:   0 0 28px rgba(244, 185, 66, 0.30), 0 4px 18px rgba(0, 0, 0, 0.35);
  transform:    translateY(-50%) scale(1.08);
}

/* Press */
.carousel-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

/* Focus ring for keyboard users */
.carousel-arrow:focus-visible {
  outline: 2px solid rgba(244, 185, 66, 0.6);
  outline-offset: 3px;
}

/* Gentle attention pulse on first appearance */
@keyframes arrow-pulse {
  0%   { box-shadow: 0 0 0   0 rgba(244, 185, 66, 0.30); }
  60%  { box-shadow: 0 0 0  14px rgba(244, 185, 66, 0); }
  100% { box-shadow: 0 0 0  14px rgba(244, 185, 66, 0); }
}
.carousel-arrow.pulsed {
  animation: arrow-pulse 1.6s ease 0.3s 2;
}

@media (max-width: 768px) {
  .carousel-arrow {
    width:  58px;
    height: 58px;
    font-size: 1.45rem;
  }
  .carousel-arrow--prev { left:  3vw; }
  .carousel-arrow--next { right: 3vw; }
}

@media (max-width: 480px) {
  .carousel-arrow {
    width:  52px;
    height: 52px;
    font-size: 1.3rem;
  }
}


/* ── Site footer (shared) ────────────────────────────────────────────── */
#site-footer {
  position: relative;
  z-index: 30;
  min-height: 33vh;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 6vw;
  background: var(--bg-color);
  border-top: 1px solid rgba(244, 185, 66, 0.16);
}

/* "Crafted at Tvashta Labs" — sits directly under the copyright line
   in the left column, not centred above everything anymore. */
.foot-crafted {
  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold, var(--accent));
}

.footer-main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-col--left { display: flex; flex-direction: column; gap: 8px; }

.footer-copy {
  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 0.82rem;
  color: rgba(243, 230, 207, 0.55);
}

.footer-credit {
  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 185, 66, 0.65);
}

.footer-col--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* Vertical list format, per spec */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-nav a {
  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 230, 207, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--gold, var(--accent)); }

.footer-logo { height: 78px; width: auto; display: block; }

@media (max-width: 700px) {
  .footer-logo { height: 60px; }
}

@media (max-width: 700px) {
  #site-footer {
    align-items: flex-start;
    padding: 40px 6vw;
    gap: 24px;
    min-height: auto;
  }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-col--right { align-items: flex-start; }
  .footer-nav { align-items: flex-start; }
}
