html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* Liquid glass effect */
  .liquid-glass {
    background: rgba(0, 0, 0, 0.4);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
  }
  .liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
      rgba(255,255,255,0.3) 0%,
      rgba(255,255,255,0.1) 20%,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0) 60%,
      rgba(255,255,255,0.1) 80%,
      rgba(255,255,255,0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
  }

  /* Heading char animation */
  .char {
    display: inline-block;
    opacity: 0;
    transform: translateX(-18px);
    transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }
  .char.in {
    opacity: 1;
    transform: translateX(0);
  }
  /* Preserve spaces */
  .char.space {
    width: 0.28em;
  }

  /* Image reveal: fade + subtle scale */
  .img-reveal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1500ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 1500ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .img-reveal.in {
    opacity: 1;
    transform: scale(1);
  }

  /* Collage tile reveal: slide up + fade */
  .tile-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .tile-reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* Editorial carousel: continuous right-to-left scroll */
  @keyframes ed-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  #edCarousel .ed-track {
    width: max-content;
    transform: translateX(0);
  }
  #edCarousel.ed-running .ed-track {
    animation: ed-scroll 35s linear infinite;
  }

  /* Collection carousel: button-controlled */
  #colCarouselWrap .col-track {
    width: max-content;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  /* Finale CTA button hover */
  .finale-btn {
    transition: background-color 300ms ease, color 300ms ease;
  }
  .finale-btn:hover {
    background-color: #000000;
    color: #ffffff;
  }

  /* FadeIn helper */
  .fade-in {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--fade-dur, 1000ms) cubic-bezier(0.22, 1, 0.36, 1),
                transform var(--fade-dur, 1000ms) cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }
  .fade-in.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hover transition for "Find Your Shade" */
  .btn-ghost {
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
  }
  .btn-ghost:hover {
    background-color: #ffffff;
    color: #000000;
  }
  .btn-solid {
    transition: transform 300ms ease, background-color 300ms ease;
  }
  .btn-solid:hover {
    background-color: #f5f5f5;
  }

  /* Subtle vignette in case of poor video contrast — disabled per spec (no overlay) */

  /* Make sure video stays behind everything */
  .bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  /* Finale heading: lines wrap naturally on mobile, single-line from md+ */
  #finaleHeading > div {
    white-space: normal;
  }
  @media (min-width: 768px) {
    #finaleHeading > div {
      white-space: nowrap;
    }
  }

  /* Footer legal links should wrap on small screens */
  .footer-legal {
    flex-wrap: wrap;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
  }

  @media (max-width: 767px) {
    html,
    body {
      overflow-x: hidden;
    }

    body {
      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
    }

    .bg-video {
      inset: 0 auto auto 50%;
      width: 210%;
      height: auto;
      min-height: 0;
      max-width: none;
      transform: translateX(-50%);
      object-fit: contain;
      object-position: center top;
      background-color: #000;
    }

    nav {
      top: 12px !important;
      left: 14px !important;
      right: auto !important;
      width: calc(100% - 28px) !important;
    }

    nav .liquid-glass {
      width: 100%;
      box-sizing: border-box;
      padding: 10px 14px;
      gap: 12px;
    }

    nav a:first-child {
      font-size: 1.12rem;
      flex-shrink: 0;
    }

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

    h1#heading {
      font-size: clamp(2.45rem, 13vw, 3.8rem);
      line-height: 0.98;
      max-width: 11ch;
    }

    body > section:first-of-type > .absolute.inset-x-0.bottom-0 {
      padding-bottom: 3.5rem !important;
    }

    #subheading {
      max-width: 20rem;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    #cta {
      gap: 10px;
      margin-top: 1.15rem;
    }

    #cta a {
      min-width: 0;
      padding: 0.7rem 1.05rem;
      font-size: 0.82rem;
    }

    #productSection {
      min-height: 760px;
    }

    #productImage {
      inset: auto 0 0 0;
      height: 58%;
      object-fit: contain;
      object-position: center bottom !important;
      background-color: #F5EFE6;
    }

    #productSection .relative.z-10 {
      min-height: 760px;
      padding-top: 5.7rem;
      padding-bottom: 2rem;
    }

    #productHeading {
      font-size: clamp(2rem, 10.5vw, 2.85rem) !important;
      line-height: 1.02 !important;
      max-width: 9.5ch;
      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
    }

    #productSub {
      max-width: 19.5rem;
      margin-top: 1.15rem;
      margin-bottom: 1.35rem;
      font-size: 0.92rem;
      line-height: 1.68;
      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
    }

    #productCta a {
      padding: 0.72rem 1.45rem;
      font-size: 0.82rem;
    }

    #productSubMsg {
      right: 1.25rem;
      bottom: 1.4rem;
      width: 10.5rem;
      font-size: 0.78rem;
    }

    #editorialSection > .px-6 {
      padding-top: 4.5rem;
      margin-bottom: 2.5rem;
    }

    #edMain,
    #edSub,
    #edMain * {
      word-break: normal !important;
      overflow-wrap: normal !important;
      hyphens: none !important;
    }

    #edMain {
      max-width: 21rem;
      font-size: clamp(1.02rem, 4.45vw, 1.2rem) !important;
      line-height: 1.72 !important;
      letter-spacing: 0 !important;
    }

    #edSub {
      max-width: 20.75rem;
      font-size: 0.875rem;
      line-height: 1.8;
    }

    #edCarousel .ed-track {
      gap: 10px !important;
    }

    #edCarousel img {
      height: 220px !important;
      max-width: 82vw;
      object-fit: contain;
      background-color: rgba(245, 239, 230, 0.06);
    }

    #editorialSection .grid.grid-cols-2.lg\:grid-cols-4 {
      column-gap: 18px;
      row-gap: 34px;
    }

    #editorialSection .ed-feat {
      padding-left: 0 !important;
      padding-right: 0 !important;
      min-width: 0;
    }

    #editorialSection .ed-feat > div:first-child {
      margin-bottom: 0.85rem;
      font-size: 0.78rem;
    }

    #editorialSection .ed-feat > div:nth-child(2) {
      min-height: 2.15rem;
      margin-bottom: 0.45rem;
      font-size: 0.86rem;
      line-height: 1.28;
      letter-spacing: 0.02em;
    }

    #editorialSection .ed-feat p {
      font-size: 0.78rem;
      line-height: 1.62;
    }

    #collectionSection #colImageWrap {
      height: auto;
      min-height: 0;
      max-height: none;
      padding-top: 1.3rem;
      padding-bottom: 1.7rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #collectionSection #colImageWrap img {
      position: static !important;
      width: min(84vw, 328px) !important;
      height: auto !important;
      max-height: 68vh;
      object-fit: contain;
      object-position: center top;
      background-color: #F5EFE6;
    }

    #collectionSection .relative.w-full.py-16 {
      padding-top: 3.5rem;
      padding-bottom: 4.25rem;
    }

    #collectionSection .flex.items-start.justify-between {
      align-items: center;
      margin-bottom: 1.75rem;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    #colHeading {
      max-width: 13rem;
      font-size: clamp(2.45rem, 14vw, 3.7rem) !important;
      line-height: 0.98 !important;
    }

    #colArrow {
      width: 52px !important;
      height: 52px !important;
      margin-left: 0.75rem;
    }

    #colCarouselWrap {
      padding-left: 1.25rem !important;
    }

    #colCarouselWrap .col-track {
      gap: 10px !important;
    }

    #colCarouselWrap .col-card {
      width: min(78vw, 292px) !important;
      border-radius: 14px !important;
      background-color: #EFE4D7;
    }

    #colCarouselWrap .col-card img {
      object-fit: contain !important;
      object-position: center center;
    }

    #colCarouselWrap .col-card .liquid-glass {
      max-width: calc(100% - 4.25rem);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    #colTagline {
      padding-left: 1.25rem !important;
      padding-right: 1.25rem !important;
      margin-top: 1.65rem;
      letter-spacing: 0.16em !important;
      line-height: 1.7;
    }

    #finaleSection {
      height: 82vh !important;
      min-height: 560px !important;
    }

    #finaleBg {
      object-fit: contain;
      object-position: center top;
      background-color: #000;
    }

    #finaleSection .relative.z-10 {
      justify-content: center !important;
      padding-top: 9.5rem;
      padding-bottom: 2.75rem;
    }

    #finaleSection .text-center {
      transform: translateY(2.2rem);
    }

    #finaleHeading {
      font-size: clamp(2rem, 9.4vw, 2.75rem) !important;
      line-height: 1.1 !important;
      letter-spacing: 0 !important;
    }

    #finaleSub {
      margin-top: 1rem;
      font-size: 0.95rem;
    }

    #finaleCta {
      margin-top: 1.35rem;
    }

    #finaleCta a {
      padding: 0.85rem 1.55rem;
      font-size: 0.92rem;
    }

    #siteFooter .py-16 {
      padding-top: 3.7rem;
      padding-bottom: 3.4rem;
    }

    #siteFooter form {
      max-width: none;
    }

    #siteFooter input,
    #siteFooter button[type="submit"] {
      width: 100%;
      border-right: 1px solid rgba(255,255,255,0.3);
    }

    #siteFooter .grid.grid-cols-2.md\:grid-cols-4 {
      column-gap: 1.5rem;
      row-gap: 2.25rem;
    }

    #siteFooter h4 {
      margin-bottom: 1rem;
    }

    .footer-legal {
      column-gap: 1rem;
      row-gap: 0.65rem;
      line-height: 1.6;
    }
  }
