/* Maison de Caviar: black ink on white card */

@font-face {
  font-family: "Libre Bodoni";
  src: url("/assets/fonts/libre-bodoni.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Bodoni";
  src: url("/assets/fonts/libre-bodoni-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("/assets/fonts/pinyon-script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --stone: #4a4a4a;      /* secondary text on paper, 8.9:1 (accessibility adaptation) */
  --ash: #a3a3a3;        /* secondary text on ink, 7.9:1 (accessibility adaptation) */
  --rule: rgba(10, 10, 10, 0.18);
  --rule-strong: rgba(10, 10, 10, 0.9);
  --rule-light: rgba(255, 255, 255, 0.28);

  --serif: "Libre Bodoni", "Bodoni 72", "Didot", serif;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;

  --hair: 1px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1440px;
  --section: clamp(6rem, 13vw, 12rem);
  --masthead: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--masthead);
  scrollbar-color: var(--ink) var(--mist);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--ink);
  accent-color: var(--ink);
}

::selection { background: var(--ink); color: var(--paper); }
.london ::selection, .counter ::selection, .footer ::selection, .menu ::selection { background: var(--paper); color: var(--ink); }

img, video, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: var(--hair) solid currentColor; outline-offset: 5px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.75rem 1.25rem; background: var(--ink); color: var(--paper);
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- type voices ---------- */

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
}

/* The signature logo: mixed-case Bodoni, italic "de", caviar pearls for the i's */
.logo { font-family: var(--serif); font-weight: 400; line-height: 1; white-space: nowrap; }
.sig { display: inline-block; letter-spacing: 0.01em; }
.sig .de { font-family: "Pinyon Script", "Libre Bodoni", serif; font-style: normal; font-size: 1.05em; margin: 0 -0.02em 0 0.02em; position: relative; top: 0.08em; }
.pi { position: relative; }
.pi::after {
  content: ""; position: absolute; left: 50%; top: 0.03em;
  width: 0.2em; height: 0.2em; border-radius: 50%;
  transform: translateX(-50%); background: currentColor;
  box-shadow: inset 0.035em 0.035em 0 -0.012em var(--pearl-hl, var(--paper));
}
.hero, .footer, .menu, .masthead:not(.is-solid), body.menu-open .masthead { --pearl-hl: var(--ink); }
.masthead.is-solid { --pearl-hl: var(--paper); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.label,
.masthead__nav a, .masthead__cta,
.button, .textlink,
.grade dt, .field label, .field legend, .choice span,
.footer__col h2 {
  font-family: var(--sans);
  font-weight: 450;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- controls ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 2.25rem;
  border: var(--hair) solid var(--ink);
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.button:hover { background: var(--ink); color: var(--paper); }
.button--light { border-color: var(--paper); color: var(--paper); }
.button--light:hover { background: var(--paper); color: var(--ink); }

.textlink {
  display: inline-block;
  padding-bottom: 0.35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% var(--hair) no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.textlink:hover { background-size: 0% var(--hair); background-position: 100% 100%; }
.textlink--light { color: var(--paper); }

/* ---------- masthead ---------- */

.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--masthead);
  color: var(--paper);
  border-bottom: var(--hair) solid transparent;
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.masthead.is-solid {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--rule);
}
.masthead__inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.masthead__nav { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.masthead__nav a, .masthead__cta { position: relative; padding: 0.5rem 0; }
.masthead__nav a::after, .masthead__cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: var(--hair);
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.masthead__nav a:hover::after, .masthead__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.masthead__mark { font-size: clamp(1.45rem, 1.9vw, 1.75rem); white-space: nowrap; transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }
/* The hero carries the wordmark; the masthead takes it over once the film scrolls away. */
.js .masthead:not(.is-solid):not(.menu-open-head) .masthead__mark { opacity: 0; transform: translateY(6px); pointer-events: none; }
.masthead__end { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}

.menu-toggle .bar { transform-box: view-box; transform-origin: 12px 12px; transition: transform 0.45s var(--ease-out); }
.menu-toggle[aria-expanded="true"] .bar--a { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar--b { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--masthead) + 3rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1;
  padding: 0.9rem 0; border-bottom: var(--hair) solid var(--rule-light);
}
.menu__foot { font-size: 0.95rem; color: var(--ash); }
body.menu-open { overflow: hidden; }
body.menu-open .masthead__mark { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
body.menu-open .masthead { background: var(--ink); color: var(--paper); border-bottom-color: var(--rule-light); }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--paper); background: var(--ink);
  overflow: hidden;
}
.hero__films {
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  background: var(--ink);
}
.hero__film {
  width: 100%; height: 100%; object-fit: cover;
  animation: surface 2.4s var(--ease-out) both;
}
.hero__film:nth-child(2) { animation-delay: 0.2s; }
.hero__still { overflow: hidden; }
.hero__still img { width: 100%; height: 100%; object-fit: cover; animation: drift 26s ease-in-out infinite alternate; }
.hero.is-paused .hero__still img { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
.hero__film:nth-child(3) { animation-delay: 0.4s; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 22%),
    linear-gradient(to top, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.15) 55%, rgba(10,10,10,0.1) 100%);
}
.hero__content {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
}
.hero__news {
  display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15; margin-bottom: 0.4rem; font-weight: 400;
}
.hero__title {
  font-size: min(calc((100vw - 2 * var(--gutter)) / 7.25), 11.5rem);
  margin-left: -0.03em;
  white-space: nowrap;
  animation: settle 2.2s var(--ease-out) 0.25s both;
}
.hero__foot {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: clamp(1.5rem, 3vh, 2rem);
  border-top: var(--hair) solid var(--rule-light);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
}
.hero__line { font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 400; max-width: 30rem; }
.hero__actions { display: flex; align-items: center; gap: 2.25rem; flex-wrap: wrap; }

.hero__pause {
  position: absolute; right: var(--gutter); top: calc(var(--masthead) + 1.5rem);
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: var(--hair) solid var(--rule-light); border-radius: 50%;
  color: var(--paper); cursor: pointer; opacity: 0.75;
  transition: opacity 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.hero__pause:hover { opacity: 1; border-color: var(--paper); }
.hero__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }

@keyframes surface {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes settle {
  from { opacity: 0; filter: blur(10px); transform: translateY(0.08em); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* ---------- section frame ---------- */

.house, .collection, .craft, .ritual, .enquire, .london__inner, .footer__top, .footer__legal {
  max-width: var(--max); margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}

/* ---------- the house ---------- */

.house {
  padding-top: var(--section); padding-bottom: clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem;
  align-items: center;
}
.house__text { grid-column: 1 / span 6; display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.house__title { font-size: clamp(2.5rem, 5vw, 5.25rem); }
.house__body { display: grid; gap: 1.25rem; color: var(--stone); max-width: 46ch; }
.house__body p:first-child { color: var(--ink); font-size: clamp(1.1rem, 1.4vw, 1.25rem); font-weight: 400; line-height: 1.6; }
.house__body .textlink { justify-self: start; margin-top: 0.75rem; color: var(--ink); }
.house__plate { grid-column: 8 / span 5; }

/* figures */
figure { margin: 0; }
.house__plate img, .step img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist);
}
.house__plate, .step figure { overflow: hidden; }
figcaption { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--stone); }
/* images settle from a slight zoom as they arrive; they are always visible */
.js .reveal img { transition: transform 1.6s var(--ease-out); }
.js .reveal:not(.is-in) img { transform: scale(1.08); }

/* ---------- names ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: var(--hair) solid var(--rule-strong); border-bottom: var(--hair) solid var(--rule-strong);
  padding: clamp(1.1rem, 2vw, 1.6rem) 0; margin-bottom: var(--section);
}
.ticker__track {
  --gap: clamp(1.5rem, 3vw, 3rem);
  display: flex; align-items: center; gap: var(--gap); width: max-content; padding-left: var(--gap);
  font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.1; white-space: nowrap;
  animation: ticker 50s linear infinite;
}
.ticker__track i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink); flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- collection / grader's card ---------- */

.collection { padding-bottom: var(--section); }
.collection__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.collection__intro { color: var(--stone); max-width: 38ch; }

.grader {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.grader__index { display: flex; flex-direction: column; border-top: var(--hair) solid var(--rule); position: sticky; top: calc(var(--masthead) + 2rem); }
.grader__index [role="tab"] {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.15rem 1.25rem 1.15rem 0;
  background: transparent; border: 0; border-bottom: var(--hair) solid var(--rule);
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.2; text-align: left;
  cursor: pointer; isolation: isolate;
  transition: color 0.45s var(--ease-out), padding 0.45s var(--ease-out);
}
.grader__index [role="tab"]::before {
  content: ""; position: absolute; inset: -1px 0 -1px 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.grader__index [role="tab"]::after {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  border: var(--hair) solid currentColor; opacity: 0; transition: opacity 0.3s;
}
.grader__index [role="tab"]:hover { padding-left: 0.75rem; }
.grader__index [role="tab"]:hover::after { opacity: 0.5; }
.grader__index [role="tab"][aria-selected="true"] { color: var(--paper); padding-left: 1.25rem; }
.grader__index [role="tab"][aria-selected="true"]::before { transform: scaleX(1); }
.grader__index [role="tab"][aria-selected="true"]::after { opacity: 1; background: var(--paper); border-color: var(--paper); }
.grader__index [role="tab"]:focus-visible { outline-offset: -5px; }
.grader__index [role="tab"][aria-selected="true"]:focus-visible { outline-color: var(--paper); }

.card {
  border: var(--hair) solid var(--rule-strong);
  display: grid; align-content: start;
  min-height: 100%;
}
.card__plate { position: relative; overflow: hidden; background: var(--ink); border-bottom: var(--hair) solid var(--rule-strong); }
.card__plate img {
  width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover;
  transition: opacity 0.35s var(--ease-out), transform 1.2s var(--ease-out);
}
.card.is-swapping .card__plate img { opacity: 0; transform: scale(1.03); }
.card__plate figcaption {
  position: absolute; left: 0; bottom: 0; margin: 0;
  padding: 0.55rem 1rem; background: var(--paper); color: var(--ink); font-size: 0.8125rem;
}
.card__plate figcaption i { font-family: var(--serif); font-size: 0.95rem; }
.card__medium { color: var(--stone); }
.card__body { padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.card:focus-visible { outline-offset: 6px; }
.card__head { display: grid; gap: 1.25rem; padding-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: var(--hair) solid var(--rule); }
.card__name { font-family: var(--serif); font-size: clamp(2.75rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.02em; }
.card__notes { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 400; line-height: 1.6; max-width: 48ch; }

.card [data-field] { display: inline-block; transition: opacity 0.22s var(--ease-out), transform 0.5s var(--ease-out); }
.card.is-swapping .card__body [data-field] { opacity: 0; transform: translateY(6px); }

.card__grades {
  margin: 0;
  display: grid; grid-template-columns: 1.25fr 1fr 1fr;
  border-top: var(--hair) solid var(--rule);
}
.grade { padding: 1.5rem 1.5rem 0 0; display: grid; gap: 1rem; align-content: start; }
.grade + .grade { padding-left: 1.5rem; border-left: var(--hair) solid var(--rule); }
.grade dt { color: var(--stone); }
.grade dd { margin: 0; display: grid; gap: 0.9rem; }
.grade__value { font-size: 0.95rem; line-height: 1.5; }

.tone {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); height: 3rem;
  max-width: 15rem; margin-bottom: 8px;
}
.tone__step {
  background: var(--t);
  display: flex; align-items: flex-end; padding: 0 0 0.35rem 0.45rem;
  font-size: 0.6875rem; letter-spacing: 0.12em; line-height: 1;
  color: var(--ink);
}
.tone__step:nth-child(3) { color: var(--paper); }
.tone__marker {
  position: absolute; top: calc(100% + 5px); height: 3px;
  left: calc(var(--from, 1) * 33.333%);
  width: calc((var(--to, 1) - var(--from, 1) + 1) * 33.333%);
  background: var(--ink);
  transition: left 0.7s var(--ease-io), width 0.7s var(--ease-io);
  pointer-events: none;
}

.grain {
  --unit: 14px; /* 1 mm */
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: 4.25rem auto; column-gap: 0.75rem; align-items: center;
  max-width: 12rem;
}
.grain__pearl {
  grid-column: 1; grid-row: 1; justify-self: start;
  width: calc(var(--mm, 2.9) * var(--unit)); height: calc(var(--mm, 2.9) * var(--unit));
  border-radius: 50%; background: var(--pearl, #2e2e2e); border: var(--hair) solid var(--ink);
  transition: width 0.7s var(--ease-io), height 0.7s var(--ease-io), background-color 0.7s var(--ease-io);
}
.grain__rule {
  grid-column: 1; grid-row: 2;
  position: relative; display: flex; justify-content: space-between;
  width: calc(4 * var(--unit)); height: 6px; border-bottom: var(--hair) solid var(--ink);
}
.grain__rule::before { content: ""; width: var(--hair); height: 6px; background: var(--ink); }
.grain__rule i { width: var(--hair); height: 6px; background: var(--ink); }
.grain__rule i:not(:last-child) { height: 3px; align-self: flex-end; }
.grain__scale { grid-column: 2; grid-row: 2; font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--stone); }

.card__foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem;
  padding-top: clamp(1.25rem, 2vw, 1.75rem); border-top: var(--hair) solid var(--rule);
}
.card__fine { font-size: 0.8125rem; color: var(--stone); }

/* ---------- sturgeon band ---------- */

.band {
  position: relative; overflow: hidden;
  display: grid; align-content: end;
  padding-top: clamp(4rem, 9vw, 8rem);
  color: var(--ink); background: var(--paper);
  border-top: var(--hair) solid var(--rule); border-bottom: var(--hair) solid var(--rule);
}
.band__art { max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4.5rem); }
.band__sketch { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
/* the sketch is revealed head to tail, as if drawn across the band */
.js .band__sketch { clip-path: inset(0 0 0 0); transition: clip-path 2.6s var(--ease-io); }
.js .band__art:not(.is-in) .band__sketch { clip-path: inset(0 100% 0 0); }
.band__title {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4.5rem);
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.15;
}
.band__title { text-wrap: balance; }

/* ---------- craft ---------- */

.craft { padding-top: var(--section); padding-bottom: var(--section); }
.craft__title { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.craft__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem);
}
.step { display: grid; gap: 1rem; align-content: start; }
/* one deliberate stagger: each step steps down by the same interval */
.step:nth-child(2) { margin-top: clamp(0rem, 4vw, 4rem); }
.step:nth-child(3) { margin-top: clamp(0rem, 8vw, 8rem); }
.step h3 {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15;
  margin-top: 0.5rem; padding-top: 1rem; border-top: var(--hair) solid var(--rule-strong);
}
.step p { color: var(--stone); max-width: 38ch; }

/* ---------- ritual ---------- */

.ritual {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding-top: var(--section); padding-bottom: var(--section);
}
.ritual__media { margin: 0; aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.ritual__media video { width: 100%; height: 100%; object-fit: cover; }
.ritual__title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.doors { border-top: var(--hair) solid var(--rule-strong); }
.door {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0.75rem 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: var(--hair) solid var(--rule);
}
.door h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.door p { color: var(--stone); max-width: 46ch; }
.door .textlink { grid-column: 2; justify-self: start; margin-top: 0.75rem; }

/* ---------- the caviar counter: a menu card on ink ---------- */
/* The food photograph is the only colour on the site. */

.counter { background: var(--ink); color: var(--paper); --pearl-hl: var(--ink); }
.counter__inner {
  max-width: var(--max); margin: 0 auto;
  padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}
.counter__card { display: grid; gap: 0; }
.counter__title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 4.2vw, 4rem); line-height: 1.04;
}
.counter__intro { color: var(--ash); margin: 1.25rem 0 clamp(2rem, 4vw, 3rem); max-width: 38ch; }

.carte { list-style: none; margin: 0; padding: 0; border-top: var(--hair) solid var(--rule-light); }
.carte li { border-bottom: var(--hair) solid var(--rule-light); }
.carte__item {
  position: relative; display: grid; gap: 0.45rem; width: 100%;
  padding: clamp(1.1rem, 2vw, 1.5rem) 2.5rem clamp(1.1rem, 2vw, 1.5rem) 0;
  background: none; border: 0; color: var(--ash); text-align: left; cursor: pointer;
  transition: color 0.45s var(--ease-out), padding 0.45s var(--ease-out);
}
.carte__item::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  transform: translateY(-50%) scale(0.4); background: var(--paper); opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.carte__name { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.25rem); line-height: 1.1; }
.carte__with { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }
.carte__item:hover, .carte__item[aria-pressed="true"] { color: var(--paper); }
.carte__item[aria-pressed="true"] { padding-left: 1rem; }
.carte__item[aria-pressed="true"]::after { opacity: 1; transform: translateY(-50%) scale(1); }
.carte__item:focus-visible { outline-color: var(--paper); outline-offset: -2px; }
.counter__fine { margin-top: clamp(1.75rem, 3vw, 2.5rem); font-size: 0.8125rem; color: var(--ash); }

.counter__frame { margin: 0; padding: clamp(0.75rem, 1.2vw, 1.1rem); border: var(--hair) solid var(--rule-light); }
.counter__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #141414; }
.counter__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.7s var(--ease-out), transform 1.4s var(--ease-out);
}
.counter__stage img.is-shown { opacity: 1; transform: none; }

/* ---------- london ---------- */

.london { background: var(--ink); color: var(--paper); overflow: hidden; }
.london__inner {
  padding-top: var(--section); padding-bottom: var(--section);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem;
}
.london__soon {
  grid-column: 1 / span 5; align-self: start;
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05;
  margin-bottom: 2rem;
}
.london__title {
  grid-column: 1 / -1;
  font-size: clamp(4rem, 17.5vw, 17rem);
  letter-spacing: 0.12em; margin-left: -0.05em; margin-right: -0.12em;
  line-height: 0.9;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: var(--hair) solid var(--rule-light);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.london__body { grid-column: 7 / span 6; display: grid; gap: 1.25rem; color: var(--ash); max-width: 52ch; }
.london__body p:first-child { color: var(--paper); font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 400; line-height: 1.6; }
.london__body .button { justify-self: start; margin-top: 1.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .london__title { transition: letter-spacing 2s var(--ease-out); }
  .js .london__title:not(.is-in) { letter-spacing: 0.17em; }
}

/* ---------- enquire ---------- */

.enquire {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 7rem);
  padding-top: var(--section); padding-bottom: var(--section);
}
.enquire__intro { display: grid; gap: 1.5rem; align-content: start; }
.enquire__intro p { color: var(--stone); max-width: 36ch; }
.enquire__direct { padding-top: 1.5rem; border-top: var(--hair) solid var(--rule); line-height: 2.2; }
.enquire__direct .textlink { color: var(--ink); letter-spacing: 0.02em; text-transform: none; font-size: 1rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 2.5rem; }
.field { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.field--wide, .field--choice, .form__submit, .form__status { grid-column: 1 / -1; }
.field label, .field legend { color: var(--stone); }
.optional { text-transform: none; letter-spacing: 0.04em; font-weight: 400; opacity: 0.85; margin-left: 0.35rem; }

.field input, .field textarea, .field select {
  width: 100%; padding: 0.7rem 0; border: 0; border-bottom: var(--hair) solid var(--rule-strong); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 1.0625rem; font-weight: 400;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.field input:hover, .field textarea:hover, .field select:hover { border-bottom-color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field__error { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.8125rem; color: var(--ink); }
.field__error::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; background: var(--ink); transform: translateY(-0.1rem); }
.field__error:empty { display: none; }

.select { position: relative; }
.select select { padding-right: 2rem; cursor: pointer; }
.select svg { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); pointer-events: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 0.9rem; }
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--hair) solid var(--rule-strong); }
.choice { position: relative; cursor: pointer; }
.choice + .choice { border-left: var(--hair) solid var(--rule-strong); }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.5rem; padding: 0.75rem 0.75rem; color: var(--ink); font-size: 0.6875rem;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.choice:hover span { background: var(--mist); }
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: var(--hair) solid var(--ink); outline-offset: 3px; }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; padding-top: 0.5rem; }
.form__note { font-size: 0.8125rem; color: var(--stone); max-width: 44ch; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.form__status { font-size: 0.95rem; }
.form__status:empty { display: none; }
.form__status { padding: 1.25rem 1.5rem; border: var(--hair) solid var(--rule-strong); }
.form__status a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: var(--paper); }
.footer__top { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__mark {
  display: block; font-size: clamp(2.6rem, 9vw, 8.5rem); white-space: nowrap;
  padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: var(--hair) solid var(--rule-light);
}
.footer__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.footer__col { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; }
.footer__col h2 { color: var(--ash); margin-bottom: 0.6rem; }
.footer__col a { position: relative; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: var(--hair);
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__col address { color: var(--ash); line-height: 1.7; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem;
  padding-top: 1.75rem; padding-bottom: calc(1.75rem + env(safe-area-inset-bottom));
  border-top: var(--hair) solid var(--rule-light);
  font-size: 0.8125rem; color: var(--ash); line-height: 1.65;
}
.footer__legal p:first-child { max-width: 82ch; }
.footer__legal p:last-child { white-space: nowrap; }

/* ---------- legal pages ---------- */

.page-legal .masthead { background: var(--paper); color: var(--ink); border-bottom-color: var(--rule); }
.legal {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--masthead) + clamp(4rem, 8vw, 7rem)) var(--gutter) var(--section);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 6vw, 7rem);
}
.legal__head { grid-column: 1 / -1; padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: var(--hair) solid var(--rule-strong); }
.legal h1 { font-family: var(--serif); font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: 1; margin-bottom: 1.25rem; }
.legal .legal__meta { color: var(--stone); max-width: 60ch; }

.legal__toc { align-self: start; position: sticky; top: calc(var(--masthead) + 2rem); }
.legal__toc h2 { font-family: var(--sans); font-weight: 450; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); margin: 0 0 1rem; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; border-top: var(--hair) solid var(--rule); counter-reset: toc; }
.legal__toc li { counter-increment: toc; border-bottom: var(--hair) solid var(--rule); }
.legal__toc li::before { content: none; }
.legal__toc a {
  display: flex; gap: 0.9rem; padding: 0.6rem 0; font-size: 0.9375rem; line-height: 1.4;
  text-decoration: none; transition: padding 0.4s var(--ease-out);
}
.legal__toc ol a::before { content: counter(toc); min-width: 1.25rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.legal__toc a:hover { padding-left: 0.4rem; }
.legal__toc .legal__toc-other { margin-top: 2rem; display: grid; gap: 0.5rem; font-size: 0.9375rem; }

.legal__body { counter-reset: sec; min-width: 0; }
.legal__body > section { counter-increment: sec; padding-top: 0.5rem; }
.legal__body > section + section { margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: var(--hair) solid var(--rule); }
.legal__body h2 {
  display: flex; gap: 1rem; align-items: baseline;
  font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; margin: 0 0 1.25rem;
}
.legal__body h2::before { content: counter(sec); font-family: var(--sans); font-size: 0.875rem; color: var(--stone); min-width: 1.5rem; font-variant-numeric: tabular-nums; }
.legal__body h3 { font-family: var(--serif); font-size: 1.25rem; margin: 1.75rem 0 0.75rem; }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal p + p { margin-top: 1rem; }
.legal__body ul { list-style: none; display: grid; gap: 0.5rem; margin: 1rem 0; padding: 0; }
.legal__body ul li { padding-left: 1.25rem; position: relative; }
.legal__body ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.5rem; height: var(--hair); background: var(--ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__toc a, .legal__toc-other a { text-decoration: none; }
.legal__note { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border: var(--hair) solid var(--rule-strong); max-width: 68ch; }

.legal__table-wrap { margin: 1.5rem 0; overflow-x: auto; border-top: var(--hair) solid var(--rule-strong); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; min-width: 34rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: var(--hair) solid var(--rule); }
.legal th { font-weight: 450; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.legal td:first-child { font-family: var(--serif); font-size: 1.0625rem; width: 30%; }

.footer__legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.footer__legal-nav a { color: var(--paper); }
.footer__legal-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 640px) {
  .legal__table-wrap { overflow: visible; }
  .legal table { min-width: 0; }
  .legal thead { display: none; }
  .legal tr { display: block; padding: 1rem 0; border-bottom: var(--hair) solid var(--rule); }
  .legal td { display: block; border: 0; padding: 0.15rem 0; width: auto; }
  .legal td:first-child { width: auto; margin-bottom: 0.4rem; }
  .legal td + td::before {
    content: attr(data-label); display: block; margin-top: 0.5rem;
    font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone);
  }
}
@media (max-width: 1080px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .masthead__nav, .masthead__cta { display: none; }
  .menu-toggle { display: block; }
  .masthead__inner { grid-template-columns: 44px 1fr 44px; }
  .masthead__mark { grid-column: 2; justify-self: center; }
  .masthead__end { grid-column: 3; }
}

@media (max-width: 1080px) {
  .house__text { grid-column: 1 / span 7; }
  .house__plate { grid-column: 8 / -1; }
  .grader { grid-template-columns: 1fr; }
  .grader__index {
    position: static;
    flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    border-top: 0; border-bottom: var(--hair) solid var(--rule);
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  }
  .grader__index::-webkit-scrollbar { display: none; }
  .grader__index [role="tab"] {
    width: auto; flex: 0 0 auto; scroll-snap-align: start;
    padding: 0.9rem 1.1rem; border-bottom: 0; font-size: 1.2rem; white-space: nowrap;
  }
  .grader__index [role="tab"]::after { display: none; }
  .grader__index [role="tab"]:hover, .grader__index [role="tab"][aria-selected="true"] { padding-left: 1.1rem; }
  .ritual { grid-template-columns: 1fr 1fr; }
  .door { grid-template-columns: 1fr; }
  .counter__inner { grid-template-columns: 1fr; row-gap: clamp(2.5rem, 6vw, 3.5rem); }
  .counter__frame { order: -1; }
  .door .textlink { grid-column: 1; }
  .london__soon { grid-column: 1 / -1; }
  .london__body { grid-column: 4 / -1; }
  .enquire { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --masthead: 64px; }
  .masthead__mark { font-size: 1.35rem; }

  .hero__pause { top: auto; bottom: calc(clamp(2.5rem, 6vh, 4.5rem) + 0.25rem); }
  .hero__foot { padding-right: 3.5rem; }
  .hero__films { grid-template-columns: 1fr; }
  .hero__film--side { display: none; }
  .house__text, .house__plate { grid-column: 1 / -1; }
  .house__plate { max-width: 30rem; }
  .craft__steps { grid-template-columns: 1fr; gap: 3.5rem; }
  .step:nth-child(n) { margin-top: 0; }
  .step figure { max-width: 30rem; }
  .card__plate figcaption { position: static; padding: 0.7rem 1rem; border-top: var(--hair) solid var(--rule); }
  .card__grades { grid-template-columns: 1fr 1fr; }
  .grade:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: var(--hair) solid var(--rule); margin-top: 1.5rem; }
  .ritual { grid-template-columns: 1fr; }
  .ritual__media { aspect-ratio: 4 / 3; }
  .london__body { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; gap: 2rem; }
  .choices { grid-template-columns: 1fr 1fr; }
  .choice:nth-child(3) { border-left: 0; }
  .choice:nth-child(n+3) { border-top: var(--hair) solid var(--rule-strong); }
}

@media (max-width: 520px) {
  .hero__foot { padding-right: 0; }
  .hero__pause { top: calc(var(--masthead) + 1rem); bottom: auto; }
  .hero__actions { width: 100%; justify-content: space-between; gap: 1.5rem; }
  .card__grades { grid-template-columns: 1fr; }
  .grade + .grade { padding-left: 0; border-left: 0; border-top: var(--hair) solid var(--rule); margin-top: 1.5rem; }
  .grade:nth-child(3) { margin-top: 1.5rem; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__mark { font-size: 2.75rem; }
  .footer__legal p:last-child { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .hero__still img { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
