  :root{
    /* ---- Design tokens (edit these to re-theme the section) ---- */
    --hero-ink:        #14110f;   /* near-black overlay base */
    --hero-ivory:      #f6f1e7;   /* text / eyebrow */
    --hero-brass:      #b08d57;   /* accent line, hover */
    --hero-brass-dim:  #8a6f45;
    --hero-overlay-top:    rgba(20,17,15,0.05);
    --hero-overlay-bottom: rgba(20,17,15,0.75);

    --hero-font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --hero-font-utility: 'Jost', 'Helvetica Neue', sans-serif;

    --hero-pad-x: clamp(24px, 6vw, 96px);
    --hero-pad-y: clamp(28px, 6vh, 72px);
  }

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


  /* ============ HERO SLIDER SECTION ============ */
  .hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    height:100svh; /* correct mobile viewport height */
    overflow:hidden;
    background:var(--hero-ink);
  }

  .hero-slider .swiper,
  .hero-slider .swiper-wrapper{
    width:100%;
    height:100%;
  }

  .hero-slider .swiper-slide{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
  }

  /* ---- Media layer (image / video / gif — all treated the same way) ---- */
  .hero-media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }
  .hero-media img,
  .hero-media video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    transform:scale(1.06);
    transition:transform 7s cubic-bezier(.2,.6,.2,1);
  }
  .swiper-slide-active .hero-media img,
  .swiper-slide-active .hero-media video{
    transform:scale(1);
  }

  /* ---- Overlay gradient for legibility ---- */
  .hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,
      var(--hero-overlay-top) 0%,
      rgba(20,17,15,0.02) 42%,
      var(--hero-overlay-bottom) 100%);
    pointer-events:none;
  }

  /* ---- Content block ---- */
  .hero-content{
    position:absolute;
    left:50%;
    transform: translateX(-50%);
    /* right:0; */
    bottom:0;
    padding:var(--hero-pad-y) var(--hero-pad-x);
    z-index:3;
    color:var(--hero-ivory);
    max-width:920px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  .hero-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:12px;
    font-family:var(--hero-font-utility);
    font-size:12px;
    letter-spacing:0.32em;
    text-transform:uppercase;
    color:var(--hero-ivory);
    opacity:0.85;
    margin:0 0 18px;
    overflow:hidden;
  }
  .hero-eyebrow::before{
    content:"";
    width:28px;
    height:1px;
    background:var(--hero-brass);
    display:inline-block;
  }

  .hero-title{
    font-family:var(--hero-font-display);
    font-weight:500;
    font-style:italic;
    font-size:clamp(2.4rem, 6vw, 5rem);
    text-align: center;
    line-height:1.04;
    margin:0 0 18px;
    letter-spacing:0.005em;
  }

  .hero-subtitle{
    font-family:var(--hero-font-utility);
    font-weight:400;
    text-align: center;
    font-size:clamp(0.95rem, 1.3vw, 1.15rem);
    line-height:1.6;
    letter-spacing:0.01em;
    color:var(--hero-ivory);
    opacity:0.82;
    max-width:52ch;
    margin:0 0 34px;
  }

  .hero-cta{
    display:inline-flex;
    align-items:center;
    gap:14px;
    font-family:var(--hero-font-utility);
    font-size:12px;
    font-weight:500;
    letter-spacing:0.24em;
    text-transform:uppercase;
    color:var(--hero-ivory);
    text-decoration:none;
    padding:16px 30px;
    border:1px solid rgba(246,241,231,0.55);
    transition:background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  }
  .hero-cta:hover{
    background:var(--hero-ivory);
    color:var(--hero-ink);
    border-color:var(--hero-ivory);
  }
  .hero-cta svg{ width:14px; height:14px; transition:transform .35s ease; }
  .hero-cta:hover svg{ transform:translateX(4px); }

  /* ---- Reveal-on-active animation ---- */
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-cta{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .9s ease, transform .9s ease;
  }
  .swiper-slide-active .hero-eyebrow{ transition-delay:.25s; }
  .swiper-slide-active .hero-title{ transition-delay:.4s; }
  .swiper-slide-active .hero-subtitle{ transition-delay:.55s; }
  .swiper-slide-active .hero-cta{ transition-delay:.7s; }
  .swiper-slide-active .hero-eyebrow,
  .swiper-slide-active .hero-title,
  .swiper-slide-active .hero-subtitle,
  .swiper-slide-active .hero-cta{
    opacity:1;
    transform:translateY(0);
  }

  /* ---- Signature element: editorial slide index / progress rail (right side) ---- */
  .hero-index{
    position:absolute;
    right:var(--hero-pad-x);
    bottom:var(--hero-pad-y);
    z-index:4;
    display:flex;
    align-items:center;
    gap:14px;
    font-family:var(--hero-font-display);
    color:var(--hero-ivory);
  }
  .hero-index .current{
    font-size:1.4rem;
    font-style:italic;
    min-width:1.4ch;
    text-align:right;
  }
  .hero-index .rail{
    position:relative;
    width:64px;
    height:1px;
    background:rgba(246,241,231,0.3);
    overflow:hidden;
  }
  .hero-index .rail-fill{
    position:absolute;
    left:0; top:0; bottom:0;
    width:0%;
    background:var(--hero-brass);
    transition:width .5s ease;
  }
  .hero-index .total{
    font-size:0.85rem;
    opacity:0.6;
    font-family:var(--hero-font-utility);
  }

  @media (max-width:640px){
    .hero-content{ max-width:100%; }
    .hero-index{ display:none; } /* keep mobile content uncluttered */
  }

  /* ---- Reduced motion ---- */
  @media (prefers-reduced-motion: reduce){
    .hero-media img, .hero-media video{ transition:none; transform:none; }
    .hero-eyebrow, .hero-title, .hero-subtitle, .hero-cta{
      transition:none; opacity:1; transform:none;
    }
  }
