/* MyXavi — myxavi.com marketing site
   Brand: navy + gold | Display: Manrope | Body: IBM Plex Sans */

:root {
  --navy: #1e2a5e;
  --navy-2: #2b3a7a;
  --navy-deep: #0e1530;
  --gold: #c79a3a;
  --gold-2: #a87814;
  --gold-soft: rgba(199, 154, 58, 0.16);
  --canvas: #f3f5fa;
  --canvas-2: #e7ebf4;
  --ink: #121826;
  --ink-2: #3a4254;
  --ink-3: #6b7280;
  --white: #ffffff;
  --hairline: rgba(20, 24, 32, 0.1);
  --shadow: 0 24px 60px -28px rgba(18, 25, 51, 0.45);
  --radius: 1.25rem;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --font-display: "Manrope", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--navy-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-2);
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy-deep);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 38rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 0.75rem;
}

/* —— Nav —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy-deep);
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 22%;
}

.brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--navy);
}

.nav-cta,
.btn.nav-cta {
  display: none !important;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta,
  .btn.nav-cta {
    display: inline-flex !important;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-toggle {
  border: 1px solid var(--hairline);
  background: var(--white);
  border-radius: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 49;
  background: var(--canvas);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

.nav-drawer a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--navy-deep);
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #4a5cb8, var(--navy-2));
  color: var(--white) !important;
  box-shadow: 0 12px 32px -12px rgba(30, 42, 94, 0.65);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px -12px rgba(30, 42, 94, 0.75);
}

.btn-gold {
  background: linear-gradient(180deg, #e8c56a, var(--gold) 55%, var(--gold-2));
  color: #1a1408 !important;
  box-shadow: 0 12px 32px -12px rgba(168, 120, 20, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--navy) 28%, transparent);
  color: var(--navy) !important;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff !important;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 2.25rem) 0 2.5rem;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 21, 40, 0.55) 0%, rgba(18, 25, 51, 0.72) 45%, rgba(18, 25, 51, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 70% 15%, rgba(199, 154, 58, 0.18), transparent 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  color: #fff;
  max-width: 14ch;
  margin: 0 0 1rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
}

/* —— Overlapping stack (all pages) —— */
#main {
  position: relative;
  isolation: isolate;
}

#main > .stack-layer,
#main > [data-stack] {
  position: relative;
  backface-visibility: hidden;
}

/* Velocity applied to inner content — not the pinned layer itself */
.stack-velocity {
  transform: translate3d(0, calc(var(--v-y, 0) * 1px), 0)
    skewY(calc(var(--v-skew, 0) * 1deg));
  transform-origin: center top;
  will-change: transform;
  backface-visibility: hidden;
}

#main > .section:not(.section-navy),
#main > .page-hero,
#main > article.page-hero {
  background: var(--canvas);
}

/* Overlap visual ringan — tanpa gap navy kosong antar section */
#main > .stack-layer + .stack-layer,
#main > [data-stack] + [data-stack] {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

#main > .hero.stack-layer,
#main > .hero[data-stack] {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--navy-deep);
}

#main > .page-hero.stack-layer,
#main > article.page-hero.stack-layer {
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
}

#main > .section-navy.stack-layer,
#main > .section-navy[data-stack] {
  box-shadow: 0 -28px 60px -30px rgba(0, 0, 0, 0.45);
  /* solid navy so pin/opacity never reveals light canvas under white text */
  background-color: #0e1530;
}

#main > .pin-stage.stack-layer {
  background: var(--canvas-2);
}

#main > .overlap-wrap.stack-layer {
  background: transparent;
  box-shadow: none;
  padding-bottom: 0.5rem;
}

.site-footer.stack-footer {
  margin-top: 0;
  border-radius: 0;
  z-index: 40;
}

/* —— Overlapping panel —— */
.overlap-wrap {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
}

.panel {
  background: var(--white);
  border-radius: calc(var(--radius) + 0.5rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--hairline);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.panel-dark {
  background: var(--navy-deep);
  color: #fff;
  border-color: transparent;
}

.panel-dark h2,
.panel-dark h3 {
  color: #fff;
}

.panel-dark p {
  color: rgba(255, 255, 255, 0.72);
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

.section-tight {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

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

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

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

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--gold-soft);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
}

/* Price cards */
.price-grid {
  display: grid;
  gap: 1.25rem;
}

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

.price-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  background: var(--navy-deep);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow);
}

.price-card.featured h3,
.price-card.featured .price {
  color: #fff;
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 0.5rem 0 1rem;
}

.price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-3);
}

.price-card.featured .price small {
  color: rgba(255, 255, 255, 0.55);
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
  color: var(--ink-2);
}

/* Pin stack */
.pin-stage {
  position: relative;
  background: var(--canvas-2);
}

.pin-panel {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

/* Blog */
.article-list {
  display: grid;
  gap: 1rem;
}

.article-teaser {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}

.article-teaser:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--hairline));
  transform: translateY(-2px);
}

.article-teaser h2 {
  font-size: 1.35rem;
  margin: 0;
  color: var(--navy-deep);
}

.article-meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  color: var(--ink-2);
}

.prose a {
  font-weight: 600;
}

.prose .cta-box {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--navy) 6%, var(--white));
  border: 1px solid var(--hairline);
}

/* Footer */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(199, 154, 58, 0.14), transparent 55%),
    linear-gradient(180deg, #162040 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer p,
.site-footer .footer-address,
.site-footer .footer-bottom,
.site-footer li {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer strong {
  color: #fff;
  font-weight: 600;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff !important;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 22%;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.55);
}

.footer-address {
  margin-top: 1rem !important;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 36rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, var(--gold-soft), transparent 50%),
    var(--canvas);
}

.page-hero h1 {
  max-width: 16ch;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

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

.contact-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Reveal — keep content visible (opacity:0 caused empty gaps) */
[data-reveal] {
  opacity: 1;
  transform: translateY(18px);
  filter: none;
  transition: transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.65);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.wa-float-icon {
  display: block;
}

.wa-float:hover {
  transform: scale(1.05);
}

/* —— Story + media —— */
.story-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

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

  .story-grid-reverse > :first-child {
    order: 2;
  }

  .story-grid-reverse > :last-child {
    order: 1;
  }
}

.media-frame {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--hairline);
  background: var(--canvas-2);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, transparent 40%, rgba(14, 21, 48, 0.35) 100%),
    linear-gradient(0deg, transparent 60%, rgba(199, 154, 58, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.45s var(--ease);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 56%
  );
  z-index: 2;
  transform: translateX(-30%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.media-frame.is-in::before,
.media-frame:hover::before {
  opacity: 1;
  animation: photo-shine 2.8s var(--ease) infinite;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08) translate(var(--img-x, 0), var(--img-y, 0));
  transform-origin: center;
  will-change: transform, clip-path, filter;
  filter: saturate(1.08) contrast(1.04);
  animation: photo-kenburns 18s ease-in-out infinite alternate;
  clip-path: inset(8% 8% 8% 8% round 1rem);
  transition:
    clip-path 1s var(--ease),
    filter 0.5s var(--ease);
}

.media-frame.is-in img,
.media-frame:hover img {
  clip-path: inset(0 0 0 0 round 0);
  filter: saturate(1.12) contrast(1.06) brightness(1.03);
}

.media-frame:hover::after {
  opacity: 0.45;
}

.media-frame-dark {
  border-color: rgba(255, 255, 255, 0.08);
}

@keyframes photo-kenburns {
  0% {
    transform: scale(1.08) translate(var(--img-x, 0px), var(--img-y, 0px));
  }
  100% {
    transform: scale(1.18)
      translate(calc(var(--img-x, 0px) - 2.5%), calc(var(--img-y, 0px) - 1.5%));
  }
}

@keyframes photo-shine {
  0% {
    transform: translateX(-45%) rotate(8deg);
  }
  100% {
    transform: translateX(45%) rotate(8deg);
  }
}

.section-navy,
#main > .section-navy,
#main > .section-navy.stack-layer,
#main > .section-navy[data-stack] {
  position: relative;
  background-color: #0e1530 !important;
  background-image:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(199, 154, 58, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(43, 58, 122, 0.55), transparent 55%) !important;
  color: #fff !important;
  overflow: hidden;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy .lead,
.section-navy p,
.section-navy li {
  color: #fff !important;
}

.section-navy .lead,
.section-navy p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section-navy .eyebrow {
  color: var(--gold) !important;
}

.story-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.story-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-2);
}

.story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.story-list strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.story-list-light li {
  color: rgba(255, 255, 255, 0.88) !important;
}

.story-list-light strong,
.section-navy strong {
  color: #fff !important;
}

.card-media {
  padding: 0;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.card-media:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -30px rgba(18, 25, 51, 0.55);
}

.card-media img {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  transform: scale(1.06) translate(var(--img-x, 0), var(--img-y, 0));
  transition: filter 0.4s var(--ease);
  animation: photo-kenburns 16s ease-in-out infinite alternate;
  will-change: transform;
}

.card-media:hover img {
  filter: brightness(1.05) saturate(1.1);
}

.card-media h3,
.card-media p {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.card-media h3 {
  margin-top: 1.1rem;
}

.card-media p {
  padding-bottom: 1.35rem;
}

/* Scroll progress + ambient */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold), #e0c06a);
  transform-origin: left;
  pointer-events: none;
  transition: width 0.05s linear;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

/* overflow clip removed — breaks sticky/pin stack */

.divider-gold {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 1.5rem;
  border: none;
}

/* —— Custom cursor (agency) ——
   Never transition `transform` — position is driven by rAF lerp. */
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

html.cursor-visible .cursor-dot,
html.cursor-visible .cursor-ring {
  opacity: 1;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #e0b85a;
  box-shadow: 0 0 14px rgba(224, 184, 90, 0.75);
  transition: width 0.28s var(--ease), height 0.28s var(--ease), background 0.28s,
    box-shadow 0.28s, opacity 0.2s;
}

.cursor-ring {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s,
    background 0.3s, opacity 0.2s;
  mix-blend-mode: difference;
}

body.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(224, 184, 90, 0.35);
}

body.cursor-hover .cursor-ring {
  width: 72px;
  height: 72px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(224, 184, 90, 0.1);
}

body.cursor-down .cursor-ring {
  width: 30px;
  height: 30px;
  background: rgba(224, 184, 90, 0.28);
  border-color: #e0b85a;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .has-custom-cursor,
  .has-custom-cursor * {
    cursor: auto !important;
  }
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}
