@layer reset, base, layout, components, overrides, motion;

@font-face {
  font-family: Questrial;
  src: url(fonts/Questrial-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(fonts/IBMPlexSans-Light.woff2) format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(fonts/IBMPlexSans-Regular.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: SourceSerifVietnamese;
  src: url(fonts/SourceSerif4-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f3e2d9;
  --paper: #f4f1eb;
  --gold: #d7b05a;
  --dark: #2c2924;
  --ink: #171614;
  --line: #c7bdb2;
  --lux-black: #141311;
  --lux-black-2: #1b1916;
  --lux-gold: #c5a358;
  --lux-gold-2: #d7b05a;
  --lux-gold-ink: #7c5e24;
  --lux-text: #e8e2d9;
  --lux-muted: #b0a89e;
  --lux-muted-dark: #6c6255;
  --lux-line: rgba(215, 176, 90, 0.22);
  --lux-cream: #f4f1eb;
  --lux-blush: #f3e2d9;
  --lux-dark: #24201b;
  --display: Questrial, 'Century Gothic', sans-serif;
  --serif: SourceSerifVietnamese, Georgia, serif;
  --body: Plex, Arial, sans-serif;
  --icon-list: url("/assets/icons/list.svg");
  --icon-magnifying-glass: url("/assets/icons/magnifying-glass.svg");
  --icon-caret-down: url("/assets/icons/caret-down.svg");
  --icon-caret-left: url("/assets/icons/caret-left.svg");
  --icon-caret-right: url("/assets/icons/caret-right.svg");
  --icon-user: url("/assets/icons/user.svg");
  --icon-handbag: url("/assets/icons/handbag.svg");
  --icon-x: url("/assets/icons/x.svg");
  --icon-truck: url("/assets/icons/truck.svg");
  --icon-shield-check: url("/assets/icons/shield-check.svg");
  --icon-chat-circle: url("/assets/icons/chat-circle.svg");
  --icon-diamonds-four: url("/assets/icons/diamonds-four.svg");
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

@layer reset {
  html {
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  :where(*, *::before, *::after) {
    box-sizing: inherit;
  }
}

@layer base {
  body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 300 1.0625rem/1.5 var(--body);
    font-size-adjust: from-font;
  }
  button, input, select, textarea {
    font: inherit;
    color: inherit;
  }
  button, a, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  a:hover {
    color: #9b6d19;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    text-wrap: balance;
  }
  p {
    margin: 0 0 1.375rem;
    text-wrap: pretty;
  }
  :where(button, a, input, select, summary, textarea):focus-visible {
    outline: 2px solid #9b6d19;
    outline-offset: 4px;
  }
  [hidden] {
    display: none !important;
  }
  .visually-hidden:where(:not(:focus-within, :active)),
  .screen-reader-text,
  .skip-link:not(:focus) {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }
  .skip-link:focus {
    position: fixed;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--ink);
  }
  ::selection {
    background: #dfc58b;
    color: #25211b;
  }
}

@layer layout {
  .demo-ribbon {
    min-block-size: 2.125rem;
    padding: 0.45rem 1rem;
    background: #71501d;
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.4;
  }
  .announcement {
    min-block-size: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--ink);
    font: 400 0.8125rem/1.35 var(--body);
    letter-spacing: 0.0125em;
    padding: 0.4rem 1rem;
    text-align: center;
  }
  .site-header {
    position: relative;
    z-index: 30;
    min-block-size: 7.125rem;
    background: var(--dark);
  }
  .chocolate-home .site-header {
    background: rgba(32, 27, 21, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .chocolate-home #main {
    margin-block-start: -7.125rem;
  }
  .header-inner {
    padding: 0 2.5rem;
    min-block-size: inherit;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.125rem minmax(0, 1fr);
    align-items: center;
  }
  .header-left,
  .header-right {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  .header-left {
    gap: 1.25rem;
    color: #fff;
    font: 400 0.875rem var(--display);
    white-space: nowrap;
  }
  .header-right {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(0.625rem, 1.15vw, 1.125rem);
    font: 400 0.875rem var(--display);
    color: #fff;
    white-space: nowrap;
  }
  .header-right .desktop-nav {
    flex: none;
    font-size: clamp(0.75rem, 0.95vw, 0.875rem);
    letter-spacing: 0.02em;
  }
  .header-right .desktop-nav[aria-current] {
    color: var(--lux-gold-2);
  }
  .brand {
    width: 7rem;
    height: 4.875rem;
    border: 2px solid var(--gold);
    background: #3c0101;
    color: #fff;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }
  .brand img.custom-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  @media (min-width: 1600px) {
    .header-inner {
      padding-inline: 3.75rem;
    }
  }
  @media (max-width: 1059px) {
    .header-right .desktop-nav {
      display: none;
    }
    .header-right {
      gap: 0.25rem;
    }
  }
  @media (max-width: 760px) {
    body {
      font-size: 1rem;
    }
    .announcement {
      font-size: 0.75rem;
      padding-inline: 1rem;
    }
    .site-header {
      min-block-size: 5.625rem;
    }
    .chocolate-home #main {
      margin-block-start: -5.625rem;
    }
    .header-inner {
      padding-inline: 0.875rem;
      grid-template-columns: minmax(0, 1fr) 6.25rem minmax(0, 1fr);
    }
    .header-left {
      gap: 0.2rem;
    }
    .header-right {
      gap: 0;
    }
    .brand {
      width: 5.75rem;
      height: 4rem;
    }
  }
  @media (max-width: 400px) {
    .header-inner {
      padding-inline: 0.5rem;
      grid-template-columns: minmax(0, 1fr) 5.25rem minmax(0, 1fr);
    }
    .brand {
      width: 4.75rem;
      height: 3.5rem;
    }
  }
}

@layer components {
  .icon {
    display: inline-block;
    inline-size: var(--icon-size, 1.5625rem);
    block-size: var(--icon-size, 1.5625rem);
    flex: none;
    background-color: currentColor;
    -webkit-mask: var(--icon) no-repeat center / contain;
    mask: var(--icon) no-repeat center / contain;
    pointer-events: none;
    forced-color-adjust: none;
  }
  .icon-button {
    border: 0;
    padding: 0.5rem;
    min-inline-size: 2.75rem;
    min-block-size: 2.75rem;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .header-left .icon,
  .header-right .icon {
    color: var(--gold);
  }
  .header-left .menu-button .icon {
    color: #fff;
    --icon-size: 1.875rem;
  }
  .cart-count {
    position: absolute;
    right: 0.125rem;
    top: 0.125rem;
    min-width: 1rem;
    height: 1rem;
    border-radius: 50%;
    font: 600 0.625rem/1rem var(--body);
    text-align: center;
    background: var(--gold);
    color: #24211b;
  }
  .cart-count:empty {
    display: none;
  }

  /* Language popover picker */
  .language-picker {
    position: relative;
    font: 400 0.8125rem var(--display);
    color: inherit;
  }
  .language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-block-size: 2.75rem;
    padding: 0.25rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
  }
  .language-wide {
    display: inline-block;
    min-width: 4rem;
    text-align: right;
  }
  .language-short {
    display: none;
    min-width: 1.25rem;
    text-align: center;
  }
  @media (max-width: 760px), (min-width: 1060px) and (max-width: 1320px) {
    .header-right .language-wide {
      display: none;
    }
    .header-right .language-short {
      display: inline-block;
    }
  }
  @media (max-width: 760px) {
    .header-left .icon-button,
    .header-right .icon-button {
      min-inline-size: 2.5rem;
      padding: 0.375rem;
    }
    .header-left .icon,
    .header-right .icon {
      --icon-size: 1.375rem;
    }
    .header-left .menu-button .icon {
      --icon-size: 1.625rem;
    }
  }
  .language-picker .icon {
    --icon-size: 0.75rem;
    color: currentColor;
  }
  .language-options {
    min-width: 8.5rem;
    background: var(--paper);
    color: var(--ink);
    padding: 0.5rem 0;
    border: 1px solid rgba(197, 163, 88, 0.25);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
    z-index: 60;
  }
  .language-options button {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    font: 0.8125rem var(--body);
    color: var(--ink);
  }
  .language-options button:hover,
  .language-options button[aria-pressed="true"] {
    color: var(--lux-gold-ink);
    font-weight: 600;
  }
  @supports (position-area: block-end) {
    #language-options[popover] {
      inset: auto;
      margin: 0;
      position-area: block-end span-inline-start;
      position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
    }
  }
  @supports not (position-area: block-end) {
    #language-options[popover],
    #language-options.is-popover-fallback {
      position: fixed;
      inset: auto;
      margin: 0;
    }
  }

  /* Buttons */
  .button,
  button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.8125rem 1.625rem;
    min-block-size: 2.875rem;
    border-radius: 0;
    font: 400 0.8125rem/1.3 var(--display);
    letter-spacing: 0.045em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    color: var(--ink);
    cursor: pointer;
  }
  .button:hover {
    background: #c69e49;
    color: #111;
  }
  .button-outline {
    background: transparent;
    color: var(--gold);
  }
  .button-outline:hover {
    background: var(--gold);
    color: var(--dark);
  }
  .eyebrow {
    font: 0.875rem/1.6 var(--display);
    letter-spacing: 0.08em;
  }

  /* Native modal dialogs + top layer animation + scroll containment */
  dialog {
    opacity: 0;
    transition-property: opacity, transform, display, overlay;
    transition-duration: 0.24s;
    transition-timing-function: ease-out;
    transition-behavior: allow-discrete;
  }
  dialog[open] {
    opacity: 1;
    @starting-style {
      opacity: 0;
    }
  }
  dialog:modal {
    overscroll-behavior: contain;
  }
  dialog::backdrop {
    overflow: hidden;
    overscroll-behavior: contain;
    background-color: rgba(21, 19, 14, 0);
    backdrop-filter: blur(2px);
    transition-property: background-color, display, overlay;
    transition-duration: 0.24s;
    transition-timing-function: ease-out;
    transition-behavior: allow-discrete;
  }
  dialog[open]::backdrop {
    background-color: rgba(21, 19, 14, 0.44);
    @starting-style {
      background-color: rgba(21, 19, 14, 0);
    }
  }
  .side-panel {
    position: fixed;
    inset: 0 auto 0 0;
    width: 27.5rem;
    max-width: 92vw;
    height: 100svh;
    max-height: 100svh;
    margin: 0;
    padding: 1.75rem 2rem;
    background: var(--paper);
    border: 0;
    color: var(--ink);
    overflow-y: auto;
  }
  .search-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 2.8125rem max(6%, 1.25rem);
    border: 0;
    background: var(--paper);
    color: var(--ink);
    max-height: 90svh;
    overflow-y: auto;
  }
  .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.1875rem;
    gap: 1.25rem;
  }
  .panel-heading h2 {
    font: 1.375rem var(--display);
    margin: 0;
  }
  .panel-heading .icon {
    color: var(--ink);
  }
  .menu-panel nav > a,
  .menu-panel summary {
    display: block;
    padding: 1.125rem 0;
    border-bottom: 1px solid #d4c9b8;
    font: 1.25rem var(--display);
    cursor: pointer;
  }
  .menu-panel summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-panel summary::-webkit-details-marker {
    display: none;
  }
  .menu-panel summary::after {
    content: '+';
    font: 1.5rem var(--body);
  }
  .menu-panel details[open] > summary::after {
    content: '−';
  }
  .menu-panel .menu-categories {
    display: grid;
    padding: 0.5rem 0 0.75rem 1.25rem;
    gap: 0;
  }
  .menu-panel .menu-categories > a {
    display: block;
    padding: 0.65rem 0;
    font-size: 1rem;
  }
  #menu-panel .menu-sub summary {
    font-size: 1rem;
    padding: 0.65rem 0;
    border-bottom: 0;
  }
  #menu-panel .menu-sub summary::after {
    font-size: 1.125rem;
    color: var(--lux-gold-ink);
  }
  #menu-panel .menu-sub > div {
    display: grid;
    padding: 0.25rem 0 0.5rem 1rem;
    border-left: 1px solid rgba(124, 94, 36, 0.35);
    margin-left: 0.125rem;
  }
  #menu-panel .menu-sub > div a {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--ink);
  }
  .menu-note {
    margin: 2.5rem 0;
    color: var(--lux-muted-dark);
    font-size: 0.875rem;
  }
  .search-panel form {
    display: flex;
    border-bottom: 1px solid #6f6559;
    padding: 0.625rem 0;
    margin-bottom: 1.5rem;
  }
  .search-panel input {
    border: 0;
    background: none;
    font-size: 1.5rem;
    flex: 1;
    width: 100%;
    min-width: 0;
  }
  .search-panel .icon {
    color: var(--ink);
  }
  .search-panel #search-results {
    margin-top: 1.5rem;
  }
  .search-result {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  /* Smooth native <details> disclosure */
  details::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
  }
  details:not([open])::details-content {
    block-size: 0;
  }

  /* Hero Carousel */
  .hero {
    height: 46.3vw;
    min-height: 30.625rem;
    max-height: 56.25rem;
    position: relative;
    background: #6a5449;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s, visibility 0.9s;
  }
  .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
  }
  .hero picture,
  .hero picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
  }
  .hero-copy {
    position: absolute;
    inset: 0;
    margin-inline: auto;
    max-width: 65.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 6.5rem 1.5rem 2.8rem;
  }
  .hero-copy h1,
  .hero-copy h2 {
    white-space: pre-line;
    text-wrap: balance;
    max-width: min(60rem, 92vw);
    font-size: clamp(1.625rem, 1rem + 2.4vw, 3.5rem);
    line-height: 1.24;
    margin-bottom: 2.25rem;
  }
  .hero-copy p {
    font: 400 clamp(1rem, 0.9rem + 0.85vw, 1.6875rem)/1.4 var(--display);
    max-width: 53.125rem;
    margin-bottom: 1.75rem;
  }
  .hero-button {
    color: #211c16;
  }
  .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(20, 19, 17, 0.32);
    border: 0;
    min-inline-size: 2.75rem;
    min-block-size: 2.75rem;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    touch-action: manipulation;
  }
  .hero-arrow .icon {
    color: #fff;
  }
  .hero-prev {
    left: 1rem;
  }
  .hero-next {
    right: 1rem;
  }
  .hero:hover .hero-arrow,
  .hero:focus-within .hero-arrow,
  .hero-arrow:focus-visible {
    opacity: 1;
  }
  .hero-controls {
    position: absolute;
    bottom: 1.5rem;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 3;
  }
  .hero-pause {
    background: rgba(20, 19, 17, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    min-inline-size: 2rem;
    min-block-size: 2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    touch-action: manipulation;
  }
  .hero-dot {
    inline-size: 1.5rem;
    block-size: 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    touch-action: manipulation;
  }
  .hero-dot::before {
    content: "";
    inline-size: 0.5rem;
    block-size: 0.5rem;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .hero-dot[aria-current="true"]::before {
    background: transparent;
    inline-size: 0.6875rem;
    block-size: 0.6875rem;
    border-width: 2px;
    outline: 1px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
  }

  /* Philosophy */
  .philosophy-section {
    padding: 5.625rem 8% 6.25rem;
    text-align: center;
    background: var(--dark);
    color: var(--gold);
  }
  .philosophy-section .eyebrow {
    color: #eee4d9;
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
  }
  .philosophy-section h2 {
    white-space: pre-line;
    font: 400 clamp(1.75rem, 1.1rem + 1.8vw, 2.9375rem)/1.3 var(--serif);
    max-width: 70rem;
    margin: 0 auto 2.5rem;
  }
  .brand-intro {
    max-width: 43.75rem;
    margin: 1.5rem auto 2.25rem;
    line-height: 1.9;
    font-size: 1.0625rem;
    color: #f0e9df;
  }

  /* Range & Featured Products */
  .range-section,
  .professional-section,
  .showroom-section {
    padding: 5.3125rem 6%;
    text-align: center;
  }
  .range-section {
    background: #fff;
  }
  .range-section > h2,
  .professional-section > h2,
  .showroom-section > h2,
  .featured-products > h2 {
    font-size: clamp(1.75rem, 1.15rem + 1.8vw, 2.5rem);
  }
  .range-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 81.25rem;
    margin: 2.625rem auto 0;
  }
  .range-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
  }
  .range-tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
    transition: transform 0.3s ease;
  }
  .range-tile:hover img {
    transform: translateY(-4px);
  }
  .range-tile > span {
    font: 1.5rem var(--display);
    margin: 1.25rem 0 0.4375rem;
  }
  .range-tile small {
    font-size: 0.875rem;
    color: var(--lux-muted-dark);
  }

  .featured-products {
    background: #fff;
    text-align: center;
    padding: 4.375rem 3.125rem 4.6875rem;
  }
  .product-tabs {
    display: flex;
    justify-content: center;
    gap: 1.375rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 3.125rem;
    overscroll-behavior-x: contain;
  }
  .product-tabs [role="tab"] {
    position: relative;
    flex: none;
    padding: 0.625rem 0.25rem;
    min-block-size: 2.75rem;
    border: 0;
    background: transparent;
    text-transform: uppercase;
    font: 0.75rem var(--display);
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .product-tabs [role="tab"][aria-selected="true"] {
    color: var(--lux-gold-ink);
  }
  .product-tabs [role="tab"][aria-selected="true"]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    border-block-end: 2px solid currentColor;
  }
  .featured-track {
    overflow-x: auto;
    margin-bottom: 2.375rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
    overscroll-behavior-x: contain;
  }
  .featured-track ul.products {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    margin: 0 0 0.75rem;
    padding: 0;
  }
  .featured-track ul.products li.product {
    flex: 0 0 calc((100% - 4rem) / 3);
    scroll-snap-align: start;
    text-align: center;
    min-width: 0;
  }
  .featured-track ul.products li.product .product-title {
    font-family: var(--display);
    font-size: 0.9375rem;
    line-height: 1.4;
    margin: 0.75rem 0 0.3125rem;
  }
  .featured-track ul.products li.product .price {
    display: block;
    font-size: 0.9375rem;
    color: var(--lux-gold-ink);
  }
  .featured-track ul.products li.product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
  }
  .featured-products .collection-link {
    margin-top: 2.375rem;
  }
  .preview-product-image {
    position: relative;
    overflow: hidden;
    background: #fff;
  }
  .preview-product-image img {
    display: block;
    width: 100%;
    transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .preview-product-image .product-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
  }
  @media (hover: hover) and (pointer: fine) and (min-width: 761px) {
    .preview-product-image:hover img {
      transform: scale(1.025);
    }
    .preview-product-image:hover .product-hover {
      opacity: 1;
    }
  }

  /* Editorial rows */
  .editorial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(31.25rem, 42vw, 40rem);
  }
  .editorial-image {
    overflow: hidden;
    min-width: 0;
    background: var(--lux-dark);
  }
  .editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .editorial-row:hover .editorial-image img {
    transform: scale(1.03);
  }
  .editorial-copy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 4.6875rem 12%;
    background: var(--lux-dark);
    color: var(--lux-gold);
  }
  .editorial-copy .eyebrow {
    color: #eee2d2;
    margin-bottom: 1.75rem;
  }
  .editorial-copy h2 {
    font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 1.875rem;
  }
  .editorial-copy > p:not(.eyebrow) {
    color: var(--lux-text);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.55;
  }
  .editorial-copy .button {
    margin-top: 0.75rem;
  }
  .editorial-row.reverse .editorial-image {
    order: 2;
  }
  .collection-row .editorial-copy {
    background: var(--lux-cream);
    color: var(--lux-gold-ink);
  }
  .collection-row .editorial-copy .eyebrow {
    color: var(--lux-muted-dark);
  }
  .collection-row .editorial-copy > p:not(.eyebrow) {
    color: #4c4234;
  }

  /* Light-surface button-outline contrast */
  .brand-lindochine :is(.collection-row, .featured-products, .showroom-section, .store-page, .tone-cream, .tone-blush) .button-outline {
    color: var(--lux-gold-ink);
    border-color: #a88848;
  }
  .brand-lindochine :is(.collection-row, .featured-products, .showroom-section, .store-page, .tone-cream, .tone-blush) .button-outline:hover {
    background: var(--lux-gold-ink);
    border-color: var(--lux-gold-ink);
    color: #fff;
  }

  /* Professional & Showrooms */
  .professional-section {
    background: var(--dark);
    color: var(--paper);
    content-visibility: auto;
    contain-intrinsic-block-size: auto 32rem;
  }
  .professional-section > p:not(.eyebrow) {
    color: var(--lux-text);
  }
  .professional-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.875rem;
    max-width: 68.75rem;
    margin: 2.5rem auto 0;
  }
  .professional-tile {
    display: block;
  }
  .professional-tile img,
  .cacao-mass-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--paper);
  }
  .cacao-mass-visual {
    background: linear-gradient(rgba(39, 34, 26, 0.33), rgba(39, 34, 26, 0.33)), url('images/lindochine/cacao-drying-800w.webp') center / cover;
  }
  .professional-tile h3 {
    font-size: 1.3125rem;
    margin: 1.4375rem 0 0.625rem;
  }
  .professional-tile > span {
    font-size: 0.8125rem;
    color: var(--gold);
  }

  .showroom-section {
    background: var(--paper);
    content-visibility: auto;
    contain-intrinsic-block-size: auto 32rem;
  }
  .showroom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.375rem 3rem;
    max-width: 67.5rem;
    margin: 2.375rem auto;
    align-items: start;
  }
  .showroom-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .showroom-grid p {
    line-height: 1.8;
  }
  .showroom-grid a {
    color: var(--lux-gold-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Service Strip + Footer */
  .service-strip {
    background: var(--lux-black);
    color: var(--lux-text);
    border-top: 1px solid var(--lux-line);
    border-bottom: 1px solid var(--lux-line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 2.875rem 5%;
    text-align: center;
  }
  .service-strip > div {
    padding: 0.375rem 1.5rem;
    border-left: 1px solid var(--lux-line);
  }
  .service-strip > div:first-child {
    border-left: 0;
  }
  .service-strip .icon {
    color: var(--lux-gold);
    --icon-size: 1.875rem;
    margin: 0 auto 0.5rem;
  }
  .service-strip h3 {
    color: var(--lux-gold);
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    margin: 0.875rem 0 0.375rem;
    font-weight: 400;
  }
  .service-strip p {
    color: var(--lux-muted);
    font-size: 0.875rem;
    margin: 0;
  }

  .site-footer {
    background: var(--lux-black-2);
    color: var(--lux-text);
    padding: 4.375rem 5% 1.625rem;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 82.5rem;
    margin: 0 auto;
  }
  .site-footer h2 {
    color: var(--lux-gold);
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    font-weight: 400;
    margin: 0 0 1.375rem;
  }
  .site-footer p {
    color: var(--lux-muted);
    font-size: 0.875rem;
    line-height: 1.7;
  }
  .site-footer section > a {
    display: block;
    color: var(--lux-text);
    font-size: 0.875rem;
    padding: 0.35rem 0;
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.2s, opacity 0.2s;
  }
  .site-footer section > a:hover {
    color: var(--lux-gold-2);
    opacity: 1;
  }
  .footer-language {
    display: inline-flex;
    border: 1px solid var(--lux-line);
    margin-top: 1.125rem;
  }
  .footer-language button {
    background: none;
    border: 0;
    color: var(--lux-muted);
    padding: 0.5625rem 0.875rem;
    min-width: 5.5rem;
    min-block-size: 2.75rem;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  .footer-language button[aria-current="true"] {
    color: var(--lux-black);
    background: var(--lux-gold);
  }
  .newsletter-row {
    display: flex;
    align-items: flex-end;
    gap: 0.875rem;
    margin: 0.5rem 0 1rem;
  }
  .newsletter-row input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--lux-muted);
    color: var(--lux-text);
    padding: 0.625rem 0.125rem;
    font-size: max(1rem, 1em);
    border-radius: 0;
  }
  .newsletter-row input:focus-visible {
    outline: 2px solid var(--lux-gold-2);
    outline-offset: 4px;
    border-bottom-color: var(--lux-gold);
  }
  .newsletter-row button {
    flex: none;
    white-space: nowrap;
    min-width: 7.25rem;
    min-block-size: 2.75rem;
    text-align: center;
    background: var(--lux-gold);
    color: var(--lux-black);
    border: 0;
    padding: 0.6875rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    transition: background-color 0.2s;
  }
  .newsletter-row button:hover {
    background: var(--lux-gold-2);
  }
  .newsletter-check {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    color: var(--lux-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0.5rem 0;
  }
  .newsletter-check input {
    accent-color: var(--lux-gold);
    margin-top: 0.2rem;
    min-inline-size: 1.125rem;
    min-block-size: 1.125rem;
  }
  .newsletter-check label {
    cursor: pointer;
  }
  #newsletter-form [role="status"] {
    color: var(--lux-gold-2);
    font-size: 0.8125rem;
    min-height: 1.2em;
    margin: 0.5rem 0 0;
  }
  .site-footer a[href^="mailto:"] {
    overflow-wrap: anywhere;
  }
  .footer-bottom {
    max-width: 82.5rem;
    margin: 3.375rem auto 0;
    padding-top: 1.375rem;
    border-top: 1px solid var(--lux-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    color: var(--lux-muted);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
  .developer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--lux-muted);
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
  }
  .developer-credit img {
    width: 2.125rem;
    height: 1.875rem;
    object-fit: contain;
    flex: none;
    background: transparent;
    padding: 3px;
    border: 1px solid var(--lux-line);
  }
  .preview-footer {
    color: var(--lux-muted);
    text-align: center;
    font-size: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--lux-line);
  }

  @media (max-width: 1100px) {
    .editorial-row {
      min-height: 31.25rem;
    }
    .editorial-copy {
      padding: 3.5rem 10%;
    }
    .featured-products {
      padding-inline: 1.875rem;
    }
    .range-grid {
      gap: 1rem;
    }
  }
  @media (max-width: 900px) {
    .site-footer .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
    .footer-newsletter,
    .footer-about {
      grid-column: 1 / -1;
    }
  }
  @media (max-width: 860px) {
    .editorial-row {
      grid-template-columns: 1fr;
      min-height: 0;
    }
    .editorial-row.reverse .editorial-image {
      order: 0;
    }
  }
  @media (max-width: 760px) {
    .hero {
      height: 75svh;
      min-height: 36.25rem;
      max-height: 43.125rem;
    }
    .hero-copy {
      padding: 6.5rem 1.25rem 4rem;
    }
    .hero-copy h1,
    .hero-copy h2 {
      font-size: clamp(1.5rem, 1.1rem + 2.6vw, 2.375rem);
      max-width: 21.25rem;
      margin-bottom: 1.75rem;
    }
    .hero-copy p {
      font-size: 1rem;
      margin-bottom: 1.75rem;
    }
    .hero-arrow {
      display: none;
    }
    .hero-controls {
      right: 1.25rem;
      bottom: 1.25rem;
    }
    .philosophy-section {
      padding: 4rem 1.5rem;
    }
    .range-section,
    .professional-section,
    .showroom-section {
      padding: 3.4375rem 1.25rem;
    }
    .range-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.75rem 0.875rem;
      margin-top: 1.875rem;
    }
    .range-tile > span {
      font-size: 1.3125rem;
    }
    .featured-products {
      padding: 3.4375rem 1.25rem;
    }
    .product-tabs {
      justify-content: flex-start;
      margin: 1.5rem -1.25rem 1.875rem;
      padding-inline: 1.25rem;
    }
    .featured-track {
      margin-right: -1.25rem;
    }
    .featured-track ul.products {
      gap: 1.125rem;
    }
    .featured-track ul.products li.product {
      flex-basis: 78%;
    }
    .professional-grid {
      grid-template-columns: 1fr;
      max-width: 26.25rem;
      gap: 2.375rem;
    }
    .professional-tile img,
    .cacao-mass-visual {
      aspect-ratio: 16 / 9;
    }
    .showroom-grid {
      grid-template-columns: 1fr;
      gap: 1.75rem;
    }
    .service-strip {
      grid-template-columns: 1fr;
      padding: 1.875rem 1.25rem;
    }
    .service-strip > div {
      border-left: 0;
      border-top: 1px solid var(--lux-line);
      padding: 1.25rem 0;
    }
    .service-strip > div:first-child {
      border-top: 0;
    }
    .site-footer {
      padding: 3.125rem 1.375rem 1.375rem;
    }
    .site-footer .footer-grid {
      grid-template-columns: 1fr;
      gap: 2.125rem;
    }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
    .search-panel {
      padding: 1.5rem 1.25rem;
    }
    .search-panel input {
      font-size: 1.25rem;
    }
  }
}

@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    .side-panel {
      transform: translateX(-1rem);
    }
    .search-panel {
      transform: translateY(-0.75rem);
    }
    dialog[open].side-panel {
      transform: none;
      @starting-style {
        transform: translateX(-1rem);
      }
    }
    dialog[open].search-panel {
      transform: none;
      @starting-style {
        transform: translateY(-0.75rem);
      }
    }
    details::details-content {
      transition: block-size 0.28s ease-in-out, content-visibility 0.28s ease-in-out, display 0.28s ease-in-out;
      transition-behavior: allow-discrete;
    }

    .motion-hero-ready .hero-slide {
      overflow: hidden;
    }
    .motion-hero-ready .hero-slide.is-active picture {
      animation: chocolate-hero-drift 7.2s cubic-bezier(0.2, 0.6, 0.3, 1) both;
      transform-origin: center;
    }
    .motion-hero-ready.motion-hero-paused .hero-slide.is-active picture {
      animation-play-state: paused;
    }
    .motion-hero-ready .hero-slide .hero-copy > * {
      opacity: 0;
      transform: translateY(0.75rem);
      transition: opacity 0.48s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .motion-hero-ready .hero-slide.is-active .hero-copy > * {
      opacity: 1;
      transform: translateY(0);
    }
    .motion-hero-ready .hero-slide.is-active .hero-copy p {
      transition-delay: 0.08s;
    }
    .motion-hero-ready .hero-slide.is-active .hero-copy .hero-button {
      transition-delay: 0.16s;
    }
    .motion-cacao-ready .editorial-image {
      clip-path: inset(0 8% 0 0);
      transition: clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .motion-cacao-ready .editorial-image img {
      transform: scale(1.035);
      transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .motion-cacao-ready .editorial-copy > * {
      opacity: 0;
      transform: translateY(0.875rem);
      transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .motion-cacao-ready .editorial-copy > h2 {
      transition-delay: 0.08s;
    }
    .motion-cacao-ready .editorial-copy > p:not(.eyebrow) {
      transition-delay: 0.16s;
    }
    .motion-cacao-ready .editorial-copy > a {
      transition-delay: 0.24s;
    }
    .motion-cacao-ready.motion-cacao-seen .editorial-image {
      clip-path: inset(0);
    }
    .motion-cacao-ready.motion-cacao-seen .editorial-image img {
      transform: scale(1);
    }
    .motion-cacao-ready.motion-cacao-seen .editorial-copy > * {
      opacity: 1;
      transform: none;
    }
    .js-motion .reveal {
      opacity: 0;
      transform: translateY(1.5rem);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .js-motion .reveal.is-visible {
      opacity: 1;
      transform: none;
    }
    @keyframes chocolate-hero-drift {
      from { transform: scale(1); }
      to { transform: scale(1.025); }
    }
    @media (max-width: 760px) {
      .motion-hero-ready .hero-slide.is-active picture {
        animation: none;
      }
      .motion-cacao-ready .editorial-image {
        clip-path: inset(0 4% 0 0);
      }
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    dialog,
    dialog::backdrop {
      transition-duration: 0.1s;
    }
    .hero-slide,
    .editorial-image img,
    .range-tile img,
    .preview-product-image img,
    .button {
      transition: none;
    }
    .js-motion .reveal {
      opacity: 1;
      transform: none;
    }
  }
}
