:root {
  --navy: #0C0E16;
  --navy-raised: #101725;
  --beige: #E7DCCE;
  --caramel: #B7794A;
  --cocoa: #3A120B;
  --meltina-cream: #F9D79F;
  --meltina-red: #BD020A;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-text: "Libre Caslon Text", Georgia, serif;
  --font-ui: "Inter", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --logo-h: 34px;
}

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

html { background: var(--navy); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--beige);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

p, h2 { margin: 0; font-weight: 400; }

.track { position: relative; height: 2629svh; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--navy);
  contain: strict;
}

.glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(42% 38% at 62% 52%, rgba(183, 121, 74, 0.10), rgba(183, 121, 74, 0) 70%);
  opacity: 0;
  pointer-events: none;
}

.word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  clip-path: inset(50% 0 50% 0);
}
.word__text {
  display: block;
  font-family: var(--font-display);
  font-size: 30vw;
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--beige);
  transform-origin: 58% 50%;
  will-change: transform, opacity;
}

.horizon {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 1px;
  background: var(--beige);
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: center;
}

.masthead {
  position: absolute;
  z-index: 10;

  pointer-events: none;
  inset-block-start: calc(env(safe-area-inset-top) + 20px);
  inset-inline-start: var(--gutter);
}

.logo {
  display: block;
  pointer-events: auto;
  height: var(--logo-start-h, var(--logo-h));
  transform-origin: center;
}
.logo { position: relative; }
.logo__img {
  display: block;
  height: 100%;
  width: auto;
  opacity: 0;
  animation: fade 1400ms var(--ease-out) 200ms forwards;
  transition: visibility 0s 300ms;
}
.logo__dark {
  position: absolute;
  inset: 0;
  height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 300ms ease;
}
.stage[data-tone="dark"] .logo__img { visibility: hidden; transition-delay: 0s; }
.stage[data-tone="dark"] .logo__dark { opacity: 1; }

.gateway {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  display: grid;
  gap: 10px;
  justify-items: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--beige);
  pointer-events: none;
}
.gateway__line { opacity: 0; animation: fade 1400ms var(--ease-out) 900ms forwards; }
.gateway__line + .gateway__line { animation-delay: 1050ms; }

.cue {
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(env(safe-area-inset-bottom) + 36px);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--beige);
}
.cue > span { display: inline-block; opacity: 0; animation: fade-cue 1400ms var(--ease-out) 1600ms forwards; }

@keyframes fade { to { opacity: 1; } }
@keyframes fade-cue { to { opacity: 0.55; } }

.who {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.who__label {
  display: flex;
  align-items: center;
  gap: 14px;
  align-self: start;
  padding-top: 0.9em;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0;
}

.who__label-text { display: grid; }
.who__label-text > span { grid-area: 1 / 1; }
.who__label-next { opacity: 0; }
.who__rule {
  display: block;
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transform-origin: left center;
}
.who__statement {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--beige);
}
.who__statement em { font-family: var(--font-text); font-style: italic; font-size: 0.92em; }

.story {
  --born-size: min(10vw, 21vh);
  --born-top: 30vh;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.born {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: var(--born-top);
  font-family: var(--font-display);
  font-size: var(--born-size);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--beige);
  transform-origin: left top;
  will-change: transform, opacity;
}
.born__row { display: block; overflow: hidden; padding-block: 0.02em 0.06em; }
.born__w { display: inline-block; opacity: 0; will-change: transform; }

.story__copy {
  position: absolute;
  inset-inline-start: 46vw;
  inset-inline-end: var(--gutter);
  top: calc(var(--born-top) + var(--born-size) * 0.98);
  max-width: 26em;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.18;
  color: var(--beige);
}
.story__para { position: absolute; inset-inline: 0; top: 0; }
.story__para em { font-family: var(--font-text); font-style: italic; font-size: 0.92em; }

.why {
  --gate-y: 47%;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.passage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--gap, 40vw);
  margin-left: calc(var(--gap, 40vw) / -2);
  background:
    linear-gradient(90deg, rgba(231, 220, 206, 0) 0%, rgba(231, 220, 206, 0.055) 30%, rgba(231, 220, 206, 0.075) 50%, rgba(231, 220, 206, 0.055) 70%, rgba(231, 220, 206, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  transform: scaleX(0);
  opacity: 0;
}
.gate {
  position: absolute;
  inset-inline: 0;
  top: var(--gate-y);
  display: flex;
  justify-content: center;
  translate: 0 -50%;
  font-family: var(--font-display);
  font-size: 20vw;
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--beige);
  direction: ltr;
  white-space: nowrap;
}
.gate__half { display: block; overflow: hidden; padding-block: 0.04em 0.02em; will-change: transform, opacity; }
.gate__in { display: block; opacity: 0; will-change: transform; }
.gate__half:first-child .gate__in { padding-right: 0.01em; }

.why__copy {
  position: absolute;
  inset-inline: 0;
  top: var(--gate-y);
  translate: 0 -50%;
  height: 4.2em;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.32;
  color: var(--beige);
}
.why__para { position: absolute; inset-inline: 0; top: 0; }
.why__para em { font-family: var(--font-text); font-style: italic; font-size: 0.92em; }

.products {
  --cream: #F9D79F;
  --red: #BD020A;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.warmth {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 120vmax;
  height: 120vmax;
  margin: -60vmax 0 0 -60vmax;
  background: radial-gradient(closest-side, rgba(249, 215, 159, 0.22), rgba(249, 215, 159, 0.07) 45%, rgba(249, 215, 159, 0) 75%);
  opacity: 0;
}

.famsel {
  position: absolute;
  z-index: 9;
  inset-inline: 0;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(40px, 7vw, 120px);
  opacity: 0;
  pointer-events: none;
}
.famsel__entry {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 10px 4px 18px;
  border: 0;
  background: none;
  color: var(--beige);
  cursor: pointer;
  opacity: 0.6;
  touch-action: manipulation;
  transition: opacity 200ms ease, transform 160ms var(--ease-out);
}
.famsel__entry:active { transform: scale(0.97); }
.famsel__num { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.32em; color: var(--cream); }
.famsel__name { font-family: var(--font-display); font-size: clamp(34px, 4vw, 64px); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.famsel__rule {
  position: absolute;
  inset-inline: 4px;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 240ms var(--ease-out);
}
.famsel__entry[aria-pressed="true"] { opacity: 1; }
.famsel__entry[aria-pressed="true"] .famsel__rule { transform: scaleX(0.25); }
@media (hover: hover) and (pointer: fine) {
  .famsel__entry:hover { opacity: 1; }
  .famsel__entry:hover .famsel__rule { transform: scaleX(1); }
}
.famsel__entry:focus-visible { outline: none; opacity: 1; }
.famsel__entry:focus-visible .famsel__rule { transform: scaleX(1); }

.products[data-active="confectionery"] .warmth {
  background: radial-gradient(closest-side, rgba(183, 121, 74, 0.2), rgba(183, 121, 74, 0.06) 45%, rgba(183, 121, 74, 0) 75%);
}

.family { position: absolute; inset: 0; }

.scene--film.scene--pro { --film-w: min(60vw, calc(44svh * 16 / 9)); }
.scene--pro .film { top: 46%; }
.scene--pro .film__video {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent);
  mask-composite: intersect;
}
.pro__title {
  position: absolute;
  inset-inline: var(--gutter);
  top: calc(46% - var(--film-w) * 9 / 32 - clamp(52px, 7.5svh, 80px));
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1;
  letter-spacing: 0.24em;
  padding-inline-start: 0.24em;
  text-transform: uppercase;
  color: var(--beige);
}
.pro__copy {
  position: absolute;
  inset-inline: var(--gutter);
  top: calc(46% + var(--film-w) * 9 / 32 + clamp(20px, 3.2svh, 34px));
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  text-align: center;
  color: var(--beige);
}
.pro__range { font-family: var(--font-display); font-size: clamp(15px, 1.3vw, 19px); letter-spacing: 0.26em; padding-inline-start: 0.26em; text-transform: uppercase; }
.pro__msg { font-family: var(--font-text); font-style: italic; font-size: clamp(15px, 1.15vw, 17px); color: rgb(231 220 206 / 0.78); }
.pro__cta {
  margin-top: 8px;
  padding: 15px 30px;
  border: 1px solid #A47C68;
  color: var(--beige);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  touch-action: manipulation;
  transition: background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .pro__cta:hover { background: rgb(164 124 104 / 0.16); }
}
.pro__cta:focus-visible { outline: 1px solid var(--beige); outline-offset: 4px; }

.coll--pro .coll-end { bottom: calc(env(safe-area-inset-bottom) + 5vh); inset-inline: auto var(--gutter); }

.kako__brand {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  translate: 0 -50%;
  margin: 0;
  display: flex;
  justify-content: center;
  line-height: 0;
}
.kako__badge { display: block; width: clamp(150px, 14vw, 210px); height: auto; }
.kako__mount {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(58vw, 900px);
  translate: -50% -50%;
  opacity: 0;
  will-change: transform, opacity;
}
.kako__pack { display: block; width: 100%; height: auto; user-select: none; }
.kako__name {
  position: absolute;
  inset-inline: 0;
  top: calc(45% + min(58vw, 900px) / 6 + 40px);
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  text-align: center;
}
.kako__title { font-family: var(--font-text); font-style: italic; font-size: clamp(22px, 2vw, 32px); color: var(--beige); }
.kako__sub { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: rgb(63 153 167); }

.scene--kako-film { --film-w: min(72vw, calc(62svh * 16 / 9)); }
.scene--kako-film .film__video {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
}

.family--confectionery .family__word { font-size: min(6.2vw, 13vh); letter-spacing: 0.1em; }
.family--confectionery .choice__name { font-family: var(--font-text); font-style: italic; letter-spacing: 0.01em; }
.family--confectionery .choice__num { color: var(--caramel); }
.family__word {
  position: absolute;
  z-index: 8;
  inset-inline: 0;
  top: 17vh;
  text-align: center;
  font-family: var(--font-display);
  font-size: min(12vw, 22vh);
  line-height: 0.86;
  letter-spacing: 0.06em;
  color: var(--beige);
  direction: ltr;
}
.family__mask { display: inline-block; overflow: hidden; padding-block: 0.04em 0.02em; }
.family__mask > span { display: inline-block; opacity: 0; will-change: transform; }

.choices {
  position: absolute;
  z-index: 9;
  inset-inline: 0;
  top: 56%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(28px, 5vw, 80px);
  opacity: 0;
  pointer-events: none;
}
.choices__divider { width: 1px; height: 54px; background: var(--beige); opacity: 0.25; }
.choice {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 4px 14px;
  border: 0;
  background: none;
  color: var(--beige);
  cursor: pointer;
  opacity: 0.55;
  touch-action: manipulation;
  transition: opacity 200ms ease, transform 160ms var(--ease-out);
}
.choice[aria-pressed="true"] { opacity: 1; }
.choice:active { transform: scale(0.97); }
.choice__num { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.32em; color: var(--meltina-cream); }
.choice__name { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 38px); line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
.choice__rule {
  position: absolute;
  inset-inline: 4px;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-out);
}
.choice[aria-pressed="true"] .choice__rule { transform: scaleX(0.35); }
@media (hover: hover) and (pointer: fine) {
  .choice:hover { opacity: 1; }
  .choice:hover .choice__rule { transform: scaleX(1); }
}
.choice:focus-visible { outline: none; opacity: 1; }
.choice:focus-visible .choice__rule { transform: scaleX(1); }

.back {
  position: absolute;
  z-index: 9;
  inset-inline-end: var(--gutter);
  bottom: calc(env(safe-area-inset-bottom) + 9vh);
  padding: 8px 0;
  border: 0;
  background: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beige);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  touch-action: manipulation;
}
.back > span:not([data-i18n]) { display: inline-block; margin-inline-end: 6px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .back:hover > span:not([data-i18n]) { transform: translateX(-4px); }
}
.back:focus-visible { outline: 1px solid rgba(231, 220, 206, 0.5); outline-offset: 4px; }
.back--home { bottom: calc(env(safe-area-inset-bottom) + 9vh - 34px); }

.sitenav {
  position: fixed;
  z-index: 10;

  left: 50%;
  transform: translateX(-50%);
  inset-block-start: calc(env(safe-area-inset-top) + 26px);
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 40px);
  opacity: 0;
  pointer-events: none;
}
.sitenav > a {
  position: relative;
  padding: 6px 0;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--beige);
  opacity: 0.5;
  transition: opacity 200ms ease, color 300ms ease;
}
.sitenav > a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 220ms var(--ease-out);
}
.sitenav > a[aria-current="true"] { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .sitenav > a:hover { opacity: 1; }
  .sitenav > a:hover::after { transform: scaleX(1); }
}
.sitenav > a:focus-visible { outline: none; opacity: 1; }
.sitenav > a:focus-visible::after { transform: scaleX(1); }
.stage[data-tone="dark"] .sitenav > a { color: var(--cocoa); }

.exp-home {
  position: absolute;
  z-index: 9;
  inset-inline-end: var(--gutter);
  inset-block-end: calc(env(safe-area-inset-bottom) + 56px);
  padding: 8px 0;
  border: 0;
  background: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cocoa);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  touch-action: manipulation;
}
.exp-home > span:not([data-i18n]) { display: inline-block; margin-inline-end: 6px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .exp-home:hover > span:not([data-i18n]) { transform: translateX(-4px); }
}
.exp-home:focus-visible { outline: 1px solid rgba(58, 18, 11, 0.5); outline-offset: 4px; }

.range { position: absolute; inset: 0; visibility: hidden; }
.range__pack {
  position: absolute;
  left: 50%;
  display: block;
  width: auto;
  opacity: 0;
  user-select: none;
  will-change: transform, opacity;
}

.range__pack--jar,
.range__slot { z-index: 8; height: min(62vh, 66vw); bottom: 5vh; translate: -50% 0; transform-origin: 50% 62%; }

.range__slot {
  aspect-ratio: 1296 / 1214;
  display: grid;
  place-items: center;
  background: radial-gradient(closest-side, rgba(231, 220, 206, 0.06), rgba(231, 220, 206, 0));
}
.range__slot-note { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--beige); opacity: 0.35; }
.range__copy {
  position: absolute;
  inset-inline-start: var(--gutter);
  bottom: calc(env(safe-area-inset-bottom) + 9vh);
  max-width: 34em;
  color: var(--beige);
}
.range__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; }
.range__sub { margin-top: 10px; font-family: var(--font-text); font-style: italic; font-size: clamp(16px, 1.3vw, 20px); }
.range__meta { margin-top: 14px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cream); }

.exp { position: absolute; inset: 0; z-index: 5; visibility: hidden; }
.exp__seq { position: absolute; inset: 0; width: 100%; height: 100%; }

.exp-caption,
.exp-illus {
  position: absolute;
  z-index: 7;
  inset-block-end: calc(env(safe-area-inset-bottom) + 24px);
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0;
  pointer-events: none;
  transition: color 300ms ease;
}
.exp-caption { inset-inline-start: var(--gutter); font-size: 11px; letter-spacing: 0.28em; }
.exp-illus { inset-inline-end: var(--gutter); font-size: 10px; letter-spacing: 0.22em; }
.stage[data-tone="dark"] .exp-caption,
.stage[data-tone="dark"] .exp-illus { color: var(--cocoa); }

.exp-word {
  position: absolute;
  z-index: 6;
  inset-inline: 0;
  inset-block-start: 22svh;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(64px, 17vw, 300px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--cocoa);
  direction: ltr;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.exp-jar {
  position: absolute;
  z-index: 7;
  inset-inline-start: 50%;
  inset-block-end: 7svh;
  height: min(64svh, 82vw);
  aspect-ratio: 1296 / 1214;
  translate: -50% 0;
  opacity: 0;
  pointer-events: none;
}
.exp-jar__img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.exp-jar__shadow {
  position: absolute;
  inset-inline: 8%;
  inset-block-end: -3%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58, 18, 11, 0.45), rgba(58, 18, 11, 0));
  opacity: 0;
}
.exp-copy {
  position: absolute;
  z-index: 8;
  inset-inline-start: var(--gutter);
  inset-block-end: calc(env(safe-area-inset-bottom) + 56px);
  max-width: 26ch;
  color: var(--cocoa);
  pointer-events: none;
}
.exp-copy__title { font-family: var(--font-text); font-style: italic; font-size: clamp(20px, 2.2vw, 32px); line-height: 1.2; }
.exp-copy__claim { margin-top: 14px; font-size: 13px; letter-spacing: 0.04em; }
.exp-copy__sizes { margin-top: 6px; font-size: 12px; letter-spacing: 0.16em; color: var(--meltina-red); }

.coll { position: absolute; inset: 0; z-index: 5; visibility: hidden; pointer-events: none; }

.coll__glow {
  --g: 183 121 74;
  position: absolute;
  left: 50%;
  top: 58%;
  width: 110vmax;
  height: 110vmax;
  margin: -55vmax 0 0 -55vmax;
  background: radial-gradient(closest-side, rgb(var(--g) / 0.22), rgb(var(--g) / 0.07) 45%, rgb(var(--g) / 0) 75%);
  opacity: 0;
}

.coll__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 58%, rgba(4, 6, 12, 0) 38%, rgba(4, 6, 12, 0.78) 100%);
  opacity: 0;
}
.coll__line {
  position: absolute;
  inset-inline: 0;
  top: 33%;
  height: 1px;
  background: var(--beige);
  opacity: 0;
  transform: scaleX(0);
}
.scene { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.scene__head {
  position: absolute;
  inset-inline: 0;
  top: 12vh;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  color: var(--beige);
}
.scene--title .scene__head { top: 38%; gap: 18px; }
.scene__word {
  font-family: var(--font-display);
  font-size: 10vw;
  line-height: 0.86;
  letter-spacing: 0.05em;
  white-space: nowrap;
  direction: ltr;
}
.scene__pre { font-family: var(--font-text); font-style: italic; font-size: clamp(18px, 1.6vw, 26px); color: var(--caramel); }
.scene__sub,
.scene__meta { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.scene__img {
  position: absolute;
  left: 50%;
  top: 59%;
  width: min(62vw, 96vh);
  height: auto;
  translate: -50% -50%;
  opacity: 0;
  user-select: none;
  will-change: transform, opacity;
}

.scene--film { --film-w: min(78vw, calc(62svh * 16 / 9)); }
.film {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: calc(var(--film-w) * 9 / 16 * 1.36);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  clip-path: inset(50% 0);
}
.film__light {
  position: absolute;
  inset: 0;
  background: rgb(var(--film-bg, 12 14 22));
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
}
.film__video {
  position: relative;
  display: block;
  width: var(--film-w);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  pointer-events: none;
  will-change: transform, opacity;
}

.scene--toffee-hero { --film-w: min(64vw, calc(52svh * 16 / 9)); }
.scene--toffee-hero .film { top: 43%; height: calc(var(--film-w) * 9 / 16 * 1.9); }

.scene--toffee-hero .film__light {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.toffee-hero__head {
  position: absolute;
  inset-inline: 0;
  bottom: calc(env(safe-area-inset-bottom) + 11svh);
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  color: var(--beige);
  text-align: center;
}
.toffee-hero__name { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 38px); line-height: 1; letter-spacing: 0.32em; text-transform: uppercase; padding-inline-start: 0.32em; }
.toffee-hero__sub { font-family: var(--font-text); font-style: italic; font-size: clamp(15px, 1.2vw, 18px); color: var(--caramel); }

.toffee__label {
  position: absolute;
  inset-inline: 0;
  top: 17svh;
  margin: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--caramel);
}

.toffee__label--title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.32em;
  padding-inline-start: 0.32em;
  color: var(--beige);
}
.shelf {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(56px, 8vw, 160px);
}
.shelf__item { margin: 0; width: min(31vw, 520px); display: grid; justify-items: center; gap: clamp(16px, 2.6vh, 28px); will-change: transform, opacity; }
.shelf__item:nth-child(odd) { margin-top: -6svh; }
.shelf__item:nth-child(even) { margin-top: 6svh; }

.shelf__item:nth-child(odd) .shelf__name { translate: 0 6svh; }
.shelf__img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; user-select: none; }
.shelf__name { font-family: var(--font-text); font-style: italic; font-size: clamp(18px, 1.5vw, 23px); color: var(--beige); }

.shelf__slot { width: 100%; aspect-ratio: 2 / 1; }

.scene--royale-hero { --film-w: min(64vw, calc(52svh * 16 / 9)); }
.scene--royale-hero .film { top: 43%; }
.shelf__line {
  position: absolute;
  left: 50%;
  top: 75%;
  width: min(72vw, 1180px);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(183, 121, 74, 0.65), transparent);
  opacity: 0;
  transform: scaleX(0);
}

.scene--eclairs-hero { --film-w: min(64vw, calc(52svh * 16 / 9)); }
.scene--eclairs-hero .film { top: 43%; }
.scene--eclairs-hero .scene__head,
.scene--royale-hero .scene__head { top: auto; bottom: calc(env(safe-area-inset-bottom) + 9svh); gap: 14px; }

.scene__name {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige);
}

.lineup {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(90vw, 1600px);
  translate: -50% -50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 56px);
  pointer-events: none;
}
.lineup__item { margin: 0; will-change: transform, opacity; }
.lineup__inner {
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2.4vh, 26px);
  transition: opacity 300ms ease, transform 300ms var(--ease-out);
}
.lineup__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; user-select: none; }
.lineup__name {
  font-family: var(--font-display);
  font-size: clamp(12px, 0.95vw, 15px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--beige);
}
@media (hover: hover) and (pointer: fine) {
  .lineup:has(.lineup__inner:hover) .lineup__inner { opacity: 0.72; }
  .lineup:has(.lineup__inner:hover) .lineup__inner:hover { opacity: 1; transform: scale(1.03); }
}
.scene__rule {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(220px, 40vw);
  height: 1px;
  translate: -50% 0;
  background: var(--beige);
  opacity: 0;
  transform: scaleX(0);
}
.scene__meta {
  position: absolute;
  inset-inline-start: var(--gutter);
  bottom: calc(env(safe-area-inset-bottom) + 6vh);
  color: var(--beige);
  opacity: 0.8;
}
.coll-end {
  position: absolute;
  inset-inline: 0;
  bottom: calc(env(safe-area-inset-bottom) + 6vh);
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  opacity: 0;
}
.coll-end__link {
  padding: 8px 0;
  border: 0;
  background: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beige);
  cursor: pointer;
  touch-action: manipulation;
}
.coll-end__link > span:not([data-i18n]) { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .coll-end__link:first-child:hover > span:not([data-i18n]) { transform: translateX(-4px); }
  .coll-end__link:last-child:hover > span:not([data-i18n]) { transform: translateX(4px); }
}
.coll-end__link:focus-visible { outline: 1px solid rgba(231, 220, 206, 0.5); outline-offset: 4px; }

.line { display: block; overflow: hidden; padding-block: 0.04em 0.1em; }
.line > span { display: inline-block; opacity: 0; will-change: transform; }

.grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
}

.contact {
  --bronze: #A47C68;
  --error: #D58C77;
  padding: clamp(96px, 16svh, 180px) var(--gutter) clamp(80px, 13svh, 150px);
  background: var(--navy);
  color: var(--beige);
}
.contact__inner { max-width: 880px; margin: 0 auto; }
.contact__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.contact__rule { width: 48px; height: 1px; background: currentColor; opacity: 0.5; }
.contact__title {
  max-width: 20em;
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.contact__title .nowrap { white-space: nowrap; }
.contact__lead {
  max-width: 34em;
  margin: 22px 0 clamp(56px, 9svh, 96px);
  font-family: var(--font-text);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgb(231 220 206 / 0.78);
}

.contact__details {
  display: grid;
  justify-items: center;
  gap: 26px;
  max-width: 1160px;
  margin: clamp(120px, 20svh, 220px) auto 0;
  padding-top: clamp(64px, 10svh, 110px);
  border-top: 1px solid rgb(231 220 206 / 0.12);
  text-align: center;
  font-style: normal;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.7;
  color: rgb(231 220 206 / 0.72);
}
.contact__mark { width: 40px; height: 1px; background: var(--bronze); margin-bottom: 8px; }
.contact__place, .contact__lines { display: grid; justify-items: center; margin: 0; }
.contact__name {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 23px);
  letter-spacing: 0.04em;
  color: var(--beige);
}
.contact__link {
  color: var(--beige);
  text-decoration: none;
  background: linear-gradient(var(--bronze), var(--bronze)) 0 100% / 0 1px no-repeat;
  transition: background-size 240ms var(--ease-out), color 200ms ease;
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
  .contact__link:hover { background-size: 100% 1px; }
}
.contact__link:focus-visible { outline: 1px solid var(--bronze); outline-offset: 3px; }
.enquiry { position: relative; }
.enquiry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4.6svh, 46px) clamp(24px, 4vw, 56px); }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgb(231 220 206 / 0.62);
}
.field__req { color: var(--bronze); }
.field__input {
  display: block;
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgb(231 220 206 / 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--beige);
  caret-color: var(--bronze);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.4;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field__input--area { min-height: 150px; resize: vertical; line-height: 1.55; }
.field__input:focus { border-bottom-color: var(--bronze); box-shadow: 0 1px 0 0 var(--bronze); }
.field[data-invalid] .field__input { border-bottom-color: var(--error); }
.field[data-invalid] .field__input:focus { box-shadow: 0 1px 0 0 var(--error); }

.field__input:-webkit-autofill,
.field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--beige);
  box-shadow: 0 0 0 1000px var(--navy) inset;
  transition: background-color 9999s;
}
.field__error { margin: 8px 0 0; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.02em; color: var(--error); }
.field__error:empty { display: none; }
.enquiry__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 6svh, 56px); }
.enquiry__note { margin: 0; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(231 220 206 / 0.5); }
.enquiry__note span:not([data-i18n]) { color: var(--bronze); }
.enquiry__send {
  padding: 18px 36px;
  border: 1px solid var(--bronze);
  border-radius: 0;
  background: transparent;
  color: var(--beige);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .enquiry__send:hover { background: rgb(164 124 104 / 0.16); }
}
.enquiry__send:active { transform: scale(0.98); }
.enquiry__send:focus-visible { outline: 1px solid var(--beige); outline-offset: 4px; }
.enquiry__send:disabled { opacity: 0.6; cursor: progress; }
.enquiry__status { margin: 18px 0 0; font-family: var(--font-ui); font-size: 12px; color: var(--error); }
.enquiry__status:empty { display: none; }
.enquiry__thanks { padding: clamp(24px, 6svh, 64px) 0; outline: none; animation: thanks-in 700ms var(--ease-out) both; }
.enquiry__thanks-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.enquiry__thanks-text { margin: 0; font-family: var(--font-text); font-style: italic; font-size: 18px; color: rgb(231 220 206 / 0.8); }

.enquiry__offline { margin: 22px 0 0; font-family: var(--font-ui); font-size: 12px; line-height: 1.6; letter-spacing: 0.02em; color: rgb(231 220 206 / 0.62); transition: color 300ms ease; }
.enquiry__offline[data-emph] { color: var(--beige); }
.enquiry__offline-link { color: inherit; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
@keyframes thanks-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .enquiry__thanks { animation: none; } }
@media (max-width: 700px) {
  .contact__link { padding-block: 6px; }
  .enquiry__grid { grid-template-columns: 1fr; }
  .enquiry__foot { flex-direction: column-reverse; align-items: stretch; }
  .enquiry__send { width: 100%; }
}

.end {
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 50svh;
  padding: var(--gutter);
  text-align: center;
  background: var(--navy-raised);
  color: var(--beige);
  font-family: var(--font-text);
  font-size: 16px;
}
.end__small { font-family: var(--font-ui); font-size: 12px; opacity: 0.6; }

.langswitch {
  position: fixed;
  z-index: 30;
  inset-block-start: calc(env(safe-area-inset-top) + 26px);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
  color: var(--beige);
  opacity: 0;
  animation: fade 1400ms var(--ease-out) 200ms forwards;
  transition: color 300ms ease;
}
.langswitch[data-tone="dark"] { color: var(--cocoa); }
.langswitch__opt {
  position: relative;

  margin: -12px -4px;
  padding: 18px 8px;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-ui);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.28em;
  padding-inline-end: calc(8px - 0.28em);
  text-transform: uppercase;
  opacity: 0.5;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 200ms ease;
}
.langswitch__opt::after {
  content: "";
  position: absolute;
  left: 8px;
  right: calc(8px - 0.28em);
  bottom: 12px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 220ms var(--ease-out);
}
.langswitch__opt[aria-pressed="true"] { opacity: 1; cursor: default; }
.langswitch__opt[aria-pressed="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .langswitch__opt:hover { opacity: 1; }
}
.langswitch__opt:focus-visible { outline: 1px solid currentColor; outline-offset: -6px; opacity: 1; }
.langswitch__sep { font-family: var(--font-ui); font-size: 10px; opacity: 0.35; }

html[lang="ar"] {
  --font-display: "Libre Caslon Display", "Amiri", "Libre Caslon Text", Georgia, serif;
  --font-text: "Libre Caslon Text", "Amiri", Georgia, serif;
  --font-ui: "Inter", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
}
[data-l10n] { letter-spacing: 0; text-transform: none; font-style: normal; font-size: 0.96em; }
[data-l10n] em { font-style: normal; }

html[lang="ar"] :is(.sitenav, .gateway, .cue, .who__label, .contact__label, .field__label, .enquiry__note, .enquiry__send,
  .back, .coll-end__link, .exp-home, .pro__cta, .pro__range, .exp-caption, .exp-illus, .kako__sub, .toffee__label,
  .scene__sub, .lineup__name, .end__small, .enquiry__offline) [data-l10n] { font-size: 1.16em; }

html[lang="ar"] .line { padding-block: 0.18em 0.3em; margin-block: -0.14em -0.2em; }
html[lang="ar"] .line > [data-l10n] { vertical-align: top; }
html[lang="ar"] .born__row { padding-block: 0.32em 0.4em; margin-block: -0.3em -0.34em; }

html[lang="ar"] :is(.pro__copy, .shelf__name, .lineup__name, .toffee__label, .toffee-hero__sub, .scene__sub, .kako__name,
  .range__copy, .exp-copy, .gateway, .cue, .who__label, .sitenav, .back, .coll-end__link, .exp-home, .enquiry__foot, .field__label) [data-l10n] { line-height: 1.35; }

html[lang="ar"] :is(.who__statement, .story__para, .why__para, .born__row, .contact__inner, .contact__details) { direction: rtl; }
html[lang="ar"] .who__statement { width: fit-content; }

html[lang="ar"] .sitenav { direction: rtl; }

html[lang="ar"] :is(.who, .story, .famsel, .choices, .range__copy, .back, .exp-copy, .exp-caption, .exp-illus, .exp-home, .coll-end) { direction: rtl; }

html[lang="ar"] :is(.exp-copy__sizes, .range__meta) span { direction: ltr; }
html[lang="ar"] .who__rule { transform-origin: right center; }
html[lang="ar"] .born { transform-origin: right top; }

html[lang="ar"] :is(.back, .exp-home, .coll-end__link) > span:not([data-i18n]) { scale: -1 1; }

html[lang="ar"] .exp-copy { max-width: none; }
html[lang="ar"] .field__error, html[lang="ar"] .enquiry__status { font-size: 12px; letter-spacing: 0; }

html[lang="ar"] :is(#enq-email, #enq-phone) { direction: ltr; text-align: right; }
html[lang="ar"] .contact__title .nowrap { white-space: normal; }

@media (min-width: 701px) and (max-width: 1100px) {
  .who__statement { font-size: clamp(28px, 3.9vw, 44px); }
  .story { --born-size: min(11.5vw, 20vh); }
  .story__copy { inset-inline-start: 48vw; font-size: clamp(18px, 2vw, 24px); }
}

@media (min-width: 701px) and (max-aspect-ratio: 1/1) {
  .who { grid-template-columns: 1fr; row-gap: 32px; }
  .who__label { padding-top: 0; }
  .who__statement { font-size: clamp(30px, 4.6vw, 46px); }
  .story { --born-size: 12.5vw; --born-top: 24svh; }
  .story__copy {
    inset-inline-start: var(--gutter);
    max-width: 30em;
    top: calc(var(--born-top) + var(--born-size) * 0.94 * 2 + 40px);
    font-size: clamp(20px, 2.8vw, 28px);
  }
  .family__word { top: 14svh; }

  .exp-jar { height: min(56svh, 78vw); inset-block-end: calc(env(safe-area-inset-bottom) + 200px); }
  .range__pack--jar, .range__slot { height: min(44vh, 62vw); bottom: auto; top: 28svh; }
  .famsel { flex-direction: column; align-items: center; gap: 36px; }
  .scene--film { --film-w: 92vw; }
  .scene--toffee-hero { --film-w: 92vw; }
  .scene--royale-hero { --film-w: 84vw; }
  .kako__mount { width: 82vw; }
  .kako__name { top: calc(45% + 82vw / 6 + 36px); }
  .shelf { flex-direction: column; gap: 6svh; }
  .shelf__item { width: min(70vw, 560px); }
  .shelf__item:nth-child(n) { margin-top: 0; }
  .shelf__item:nth-child(n) .shelf__name { translate: none; }
  .shelf__line { top: 86svh; }
  .lineup { width: 84vw; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8svh; }
}

@media (max-width: 700px) {
  :root { --logo-h: 28px; }
  .who {
    grid-template-columns: 1fr;
    row-gap: 28px;
    align-content: center;
  }
  .who__label { padding-top: 0; }
  .who__statement { font-size: clamp(25px, 6.6vw, 32px); line-height: 1.14; }
  .gateway { font-size: 10px; letter-spacing: 0.28em; }
  .story { --born-size: 19vw; --born-top: 19svh; }
  .born__row:first-child .born__w { display: block; }
  .story__copy {
    inset-inline-start: var(--gutter);
    top: calc(var(--born-top) + var(--born-size) * 0.94 * 3 + 32px);
    font-size: clamp(17px, 4.6vw, 21px);
  }
  .why__copy { font-size: clamp(15px, 4.1vw, 17px); }
  .exp-illus { inset-block-end: calc(env(safe-area-inset-bottom) + 48px); }
  .exp-word { inset-block-start: calc(84svh - min(52svh, 86vw) - 6vw); font-size: 19vw; letter-spacing: 0.02em; }
  .exp-jar { inset-block-end: 16svh; height: min(52svh, 86vw); }
  .exp-copy { inset-inline: var(--gutter); inset-block-end: calc(env(safe-area-inset-bottom) + 28px); max-width: none; text-align: center; }
  .exp-copy__claim { margin-top: 8px; }

  .family__word { top: 15svh; font-size: 17vw; }
  .choices { flex-direction: column; align-items: center; gap: 18px; top: 40svh; }
  .choices__divider { width: 32px; height: 1px; }
  .back { bottom: calc(env(safe-area-inset-bottom) + 6svh + 92px); inset-inline-start: var(--gutter); inset-inline-end: auto; }
  .back--home { inset-inline-start: auto; inset-inline-end: var(--gutter); }

  .sitenav { display: none; }
  .scene__head { top: 13svh; gap: 10px; }
  .scene--title .scene__head { top: 36svh; }
  .scene__img { width: 104vw; top: 54svh; }
  .lineup { width: calc(100vw - 2 * var(--gutter)); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 7svh; }
  .lineup__name { font-size: 11px; letter-spacing: 0.2em; }
  .scene--film { --film-w: 100vw; }
  .scene--toffee-hero { --film-w: 100vw; }
  .scene--royale-hero { --film-w: 88vw; }
  .kako__badge { width: 40vw; }
  .kako__name { top: calc(45% + 15vw + 32px); }
  .kako__mount { width: 90vw; }
  .toffee__label { top: 13svh; }
  .shelf { flex-direction: column; gap: 5svh; }
  .shelf__item { width: 84vw; gap: 12px; }
  .shelf__item:nth-child(n) { margin-top: 0; }
  .shelf__item:nth-child(n) .shelf__name { translate: none; }
  .shelf__line { top: 84svh; width: 80vw; }
  .scene__meta { bottom: calc(env(safe-area-inset-bottom) + 5svh); }
  .coll-end { bottom: calc(env(safe-area-inset-bottom) + 5svh + 40px); }
  .famsel { flex-direction: column; align-items: center; gap: 28px; }
  .famsel__name { font-size: clamp(30px, 9vw, 40px); }
  .family--confectionery .family__word { font-size: 9vw; }
  .exp-home { inset-block-end: auto; inset-block-start: calc(env(safe-area-inset-top) + 64px); }
  .range__pack--jar, .range__slot { height: auto; width: 74vw; bottom: auto; top: 27svh; }
  .range__copy { bottom: calc(env(safe-area-inset-bottom) + 6svh); inset-inline-end: var(--gutter); }
  .range__title { font-size: clamp(24px, 6.6vw, 30px); }
}

@media (prefers-reduced-motion: reduce) {
  .logo__img, .gateway__line, .cue > span, .langswitch { animation-duration: 400ms; animation-delay: 0ms; }
}

/* ---- Homepage and product pages (structure, 2026-11-07) ---- */

/* Our Products: the five products, chosen deliberately. Same type and behaviour as before, sized for five. */
.famsel { gap: clamp(28px, 4.2vw, 76px); }
.famsel__entry { text-decoration: none; }
.famsel__name { font-size: clamp(28px, 2.9vw, 50px); }

/* The return links are links now, with the look they had as buttons. */
.coll-end__link, .exp-home { text-decoration: none; }

/* A product page: the homepage menu gives way to one quiet way back to the product choice; the logo leads home. */
.product-back { display: none; }
.product-mode .sitenav { display: none; }
.product-mode .product-back {
  display: block;
  position: fixed;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  inset-block-start: calc(env(safe-area-inset-top) + 26px);
  padding: 6px 0;
  pointer-events: auto;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--beige);
  opacity: 0.85;
  touch-action: manipulation;
  transition: opacity 200ms ease, color 300ms ease;
}
.product-back > span:not([data-i18n]) { display: inline-block; margin-inline-end: 6px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .product-back:hover { opacity: 1; }
  .product-back:hover > span:not([data-i18n]) { transform: translateX(-4px); }
}
.product-back:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; opacity: 1; }
.stage[data-tone="dark"] .product-back { color: var(--cocoa); }
html[lang="ar"] .product-back { direction: rtl; }
html[lang="ar"] .product-back > span:not([data-i18n]) { scale: -1 1; }
html[lang="ar"] .product-back [data-l10n] { font-size: 1.16em; letter-spacing: 0; }

@media (max-width: 700px) {
  .famsel { gap: 10px; }
  .famsel__entry { gap: 10px; padding: 8px 4px 14px; }
  .famsel__name { font-size: clamp(26px, 7.4vw, 34px); }
  /* Under the logo, clear of the language switch. */
  .product-mode .product-back { left: var(--gutter); transform: none; inset-block-start: calc(env(safe-area-inset-top) + 68px); }
}
/* The homepage holds no product: the Meltina experience layers stay out of sight, out of the tab order and out of
   the accessibility tree until a product page shows them. */
html:not(.product-mode) :is(.exp, .exp-caption, .exp-illus, .exp-word, .exp-jar, .exp-copy, .exp-home, .coll) { visibility: hidden !important; }
/* Phones, at the end of Meltina: "Back to our products" takes the header link's place (site.js hands over between them). */
@media (max-width: 700px) {
  .product-mode .exp-home { inset-inline-start: var(--gutter); inset-inline-end: auto; inset-block-start: calc(env(safe-area-inset-top) + 68px); }
  html[lang="ar"].product-mode .exp-home { direction: rtl; left: var(--gutter); right: auto; }
}

/* ---- Three collections (2026-11-07): Meltina, Toffee Collection, KAKO ---- */
/* One way up at the top of a collection or product page: the one that matches where the visitor is. */
html[data-up] .product-back { display: none; }
html[data-up="products"] .product-back[data-up="products"],
html[data-up="meltina"] .product-back[data-up="meltina"],
html[data-up="toffee"] .product-back[data-up="toffee"] { display: block; }
/* The collection's in-page return buttons give way to that link. */
.product-mode .family .back { display: none; }
/* A collection's products are links now, with the look they had as buttons: none is preselected. */
.choice { text-decoration: none; }
/* On collection and product pages the homepage's section label ("Our products") would only repeat the header link. */
.product-mode .who__label { visibility: hidden; }

/* ---- Phase 2: usability and responsiveness (2026-11-07) ---- */

/* The menu reveals itself to keyboard users the moment it takes focus, wherever the story is. */
.sitenav:focus-within { opacity: 1 !important; pointer-events: auto !important; }
/* Menu labels never break inside ("WHO WE / ARE" on tablets). */
.sitenav > a { white-space: nowrap; }

/* Contrast: resting (not current) labels and choices meet WCAG AA on navy and on the Meltina cream. */
.sitenav > a { opacity: 0.72; }
.sitenav > a[aria-current="true"] { opacity: 1; }
.langswitch__opt { opacity: 0.72; }
.langswitch__opt[aria-pressed="true"] { opacity: 1; }
.famsel__entry { opacity: 0.72; }
.choice { opacity: 0.72; }
.enquiry__note { color: rgb(231 220 206 / 0.7); }

/* Phones: the homepage menu, as a quiet row under the logo, spread across the page; it reads right to left in Arabic. */
@media (max-width: 700px) {
  html:not(.product-mode) .sitenav {
    display: flex;
    left: var(--gutter);
    right: var(--gutter);
    transform: none;
    inset-block-start: calc(env(safe-area-inset-top) + 68px);
    justify-content: space-between;
    gap: 12px;
  }
  /* A finger-sized target around each label, with no visible change. */
  .sitenav > a { padding-block: 13px; margin-block: -7px; }
  .product-mode .product-back, .product-mode .exp-home { padding-block: 13px; margin-block: -7px; }
}
/* Phones: the row under the logo sits a little higher, clear of the section label below it. */
@media (max-width: 700px) {
  html:not(.product-mode) .sitenav,
  .product-mode .product-back,
  .product-mode .exp-home { inset-block-start: calc(env(safe-area-inset-top) + 58px); }
}

/* ---- Phase 3: visual consistency (2026-11-07) ---- */

/* One navy, one texture, from the stage through Contact to the footer. */
.contact, .end { position: relative; isolation: isolate; }
.contact::before, .end::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain, none); opacity: 0.05;
}
/* The footer: the same navy as the rest of the page (it was a lighter blue), quiet and compact, set off by a hairline. */
.end {
  background: var(--navy);
  min-height: 0;
  padding: clamp(40px, 7svh, 72px) var(--gutter) calc(env(safe-area-inset-bottom) + clamp(40px, 7svh, 72px));
  border-top: 1px solid rgb(231 220 206 / 0.08);
}
/* No hard edge where the stage gives way to Contact: its lower edge settles into the navy as it leaves. */
.stage::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 28svh; z-index: 20; pointer-events: none;
  background: linear-gradient(to bottom, rgb(12 14 22 / 0), var(--navy) 92%);
  opacity: var(--release, 0);
}

/* Collection headings, one hierarchy: each product arrives under a display name of the same size and tracking. */
.toffee-hero__name { font-size: clamp(34px, 3.6vw, 56px); letter-spacing: 0.14em; padding-inline-start: 0.14em; }

/* Grams are lowercase "g", whatever the label style around them. */
.range__meta { text-transform: none; }
/* The grain, pre-blended (5%), so the stage's lower edge, Contact and the footer share one surface. */
.contact::before, .end::before { background-image: var(--grain-soft, none); opacity: 1; }
.stage::after {
  background: var(--grain-soft, none), var(--navy);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 92%);
  mask-image: linear-gradient(to bottom, transparent, #000 92%);
}

/* ---- Readability of functional UI text (approved by the user, 2026-11-07) ----
   Links, buttons, the language switch and form labels move from 10-11px to 12px. Same typefaces, same tracking,
   same hierarchy; decorative and compositional type (taglines, section labels, numbering, captions) is unchanged. */
.sitenav > a,
.langswitch__opt, .langswitch__sep,
.product-mode .product-back,
.back, .exp-home, .coll-end__link, .pro__cta,
.field__label, .enquiry__note, .enquiry__send { font-size: 12px; }
/* The smallest phones: the menu row keeps all three labels on one line. */
@media (max-width: 360px) {
  .sitenav > a { font-size: 11px; letter-spacing: 0.2em; }
}

/* ---------- Made in Oman / صنع في عُمان: header preview (2026-11-08) ----------
   Beside the Hormuz logo, in the header's own line: smaller and quieter than the Hormuz logo, vertically centred on
   it, separated by clear space only (no rule, border or backdrop). It follows the logo's side of the page (inline
   start), so it moves with it in either language. It arrives as the Hormuz logo settles into the header. */
:root {
  --logo-aspect: 2.684;                 /* the Hormuz wordmark, 408 x 152 */
  --moo-h: 38px;                        /* the mark's box (27% larger); its lettering stays far smaller than the Hormuz wordmark's */
  --moo-gap: 24px;                      /* clear space between the two marks */
}
.moo {
  position: fixed; z-index: 10; margin: 0; pointer-events: none;
  inset-block-start: calc(env(safe-area-inset-top) + 20px + (var(--logo-h) - var(--moo-h)) / 2);
  inset-inline-start: calc(var(--gutter) + var(--logo-h) * var(--logo-aspect) + var(--moo-gap));
  height: var(--moo-h);
  opacity: 0;
  transition: opacity 300ms ease;
}
.moo img { display: block; height: 100%; width: auto; }
.moo__dark { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms ease; }
.moo__light { transition: opacity 300ms ease; }
/* on a light stage the dark Hormuz logo is used; the Made in Oman mark shows its authorised full colours there */
.stage-dark-tone .moo__light { opacity: 0; }
.stage-dark-tone .moo__dark { opacity: 1; }
@media (max-width: 700px) {
  :root { --moo-h: 27px; --moo-gap: 16px; }
}
/* Narrow tablets (701-960 px): the centred menu begins close to the logos (English), so the mark sits beneath the
   Hormuz logo, aligned to its left edge, instead of beside it; the menu is left exactly as it is. */
@media (min-width: 701px) and (max-width: 960px) {
  .moo { --moo-h: 30px; inset-block-start: calc(env(safe-area-inset-top) + 20px + var(--logo-h) + 12px); inset-inline-start: var(--gutter); }
}

/* ---------- The persistent brand header (2026-11-08) ----------
   Hormuz Chocolate and Made in Oman together, fixed to the top of the viewport for the whole site: same place, size,
   colours and spacing as approved; above every scene (z-index over the stage, under the language switch's layer only
   where they never meet); no background. Scroll animations no longer move, fade or hide the Hormuz logo. */
.brandbar {
  position: fixed; z-index: 41; inset-block-start: calc(env(safe-area-inset-top) + 20px); inset-inline-start: var(--gutter);   /* above the page-change fade (40) */
  margin: 0; pointer-events: none;
}
/* The Hormuz logo keeps its approved homepage reveal (2026-11-08, option A): large and centred on the first screen,
   gliding into the header with the scroll (site.js), then fixed there for the rest of the site. While the opening
   film plays it is held back (the film draws its own logo in exactly this place); it returns the moment the film
   starts to fade, so the hand-over has no gap and no second logo. The Made in Oman mark stays fixed throughout. */
/* (2026-11-09: the Hormuz logo is no longer hidden during the opening film; it stays in the header, beside Made in
   Oman, from the first frame, and glides to its large centred place as the film fades: see site.js, openHold) */
.brandbar .moo { z-index: 29; opacity: 1 !important; }
/* the logos follow the stage's tone (light ink on dark scenes, dark ink on light ones), as before */
html.stage-dark-tone .brandbar .logo__img { visibility: hidden; transition-delay: 0s; }
html.stage-dark-tone .brandbar .logo__dark { opacity: 1; }
/* Tone change without a dip: the incoming ink fades in on top while the outgoing one stays fully visible beneath it,
   and is removed only once covered (both marks' dark-ink versions sit above their light ones). */
.brandbar .logo__img { transition: visibility 0s 0s; }
html.stage-dark-tone .brandbar .logo__img { transition: visibility 0s 320ms; }
.brandbar .moo__light { transition: opacity 0s 0s; }
html.stage-dark-tone .brandbar .moo__light { transition: opacity 0s 320ms; }

/* ---- The homepage menu from the first frame (2026-11-09) ----
   The menu sits in the fixed header layer (outside the stage), above the opening film (25) and the stage, under the
   language switch's layer; on light sections it takes the same dark ink as before. */
.sitenav { z-index: 27; }
html.stage-dark-tone .sitenav > a { color: var(--cocoa); }
html:not(.product-mode) .sitenav { opacity: 1; pointer-events: auto; }   /* visible from the first paint, before scripts run */
