/* ORLA NAILS. One neutral grotesk, a restrained scale, colour carried by images and section fields. */

@font-face {
  font-family: "Albert Sans";
  src: url("assets/fonts/albert-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("assets/fonts/albert-sans-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f4f0ea;
  --paper-2: #ebe4da;
  --ink: #231f20;
  --muted: #5f5657;
  --rule: rgba(35, 31, 32, .18);
  --cherry: #6e1420;
  --cherry-deep: #4e0c16;
  --cherry-bright: #9b1c2c;
  --rose: #ecdad1;
  --sand: #e3d0bb;
  --bottle: #1f3b2f;
  --cream: #f6eee3;
  --m: clamp(20px, 4.2vw, 64px);
  --gap: clamp(16px, 2vw, 28px);
  --head: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --t-12: .75rem;
  --t-14: .875rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-22: clamp(1.25rem, 1.1rem + .5vw, 1.4rem);
  --t-32: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --t-56: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-16)/1.55 "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cherry-bright); outline-offset: 3px; border-radius: 1px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: var(--m); top: -100px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 10px; }

.label {
  font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }


/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 26px;
  background: var(--cherry); color: var(--cream);
  border: 0; border-radius: 0; cursor: pointer;
  font-size: var(--t-14); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: background .25s var(--ease);
}
.button:hover { background: var(--cherry-deep); }
.button--light { background: var(--cream); color: var(--cherry); }
.button--light:hover { background: #fff; }

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: var(--t-14); font-weight: 500; letter-spacing: .02em;
  text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .35em;
}
.link:hover { text-decoration-thickness: 2px; }
.link--light { color: var(--cream); }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--head); padding: 0 var(--m);
  background: rgba(244, 240, 234, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  justify-self: start; font-size: var(--t-14); font-weight: 600; letter-spacing: .32em; text-decoration: none; white-space: nowrap;
}
.masthead__nav ul { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.masthead__nav a { font-size: var(--t-14); text-decoration: none; padding: 10px 0; display: inline-block; }
.masthead__nav a:hover { text-decoration: underline; }
.masthead__request {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: var(--t-14); font-weight: 500; text-decoration: none;
}
.count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 13px; background: var(--cherry); color: var(--cream); font-size: var(--t-12); font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Shared section head ---------- */
section { padding: clamp(72px, 10vw, 152px) var(--m); }
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 18px;
  margin-bottom: clamp(40px, 6vw, 88px);
}
.section-head h2, .request h2 {
  grid-column: 1 / span 7;
  font-size: var(--t-56); font-weight: 350; line-height: 1.02; letter-spacing: -.035em;
}
.section-head__dek { grid-column: 9 / span 4; align-self: end; color: var(--muted); max-width: 40ch; }

/* ---------- Cover ---------- */
/* The photograph runs edge to edge with the H1 set on the silk. The image is always scaled to the
   viewport width (height capped at its own ratio) and anchored to one edge, so the title, sized and
   placed in vw, keeps the same spot on the picture at every width: bottom right on the landscape
   frame, below the fingers; top left on the upright crop, above the thumb. */
.cover { padding: 0 0 clamp(56px, 8vw, 120px); }
.cover__media { position: relative; width: 100%; background: var(--rose); }
.cover__media img {
  width: 100%;
  height: min(66.667vw, max(440px, calc(100vh - var(--head) - 72px)));
  height: min(66.667vw, max(440px, calc(100svh - var(--head) - 72px)));
  object-fit: cover; object-position: 50% 100%;
}
.cover__title {
  position: absolute; right: 4.3vw; bottom: 4.4vw; margin: 0;
  font-size: 5.2vw; font-weight: 300; line-height: 1; letter-spacing: -.04em; text-align: right; white-space: nowrap;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(40, 6, 12, .25), 0 0 40px rgba(40, 6, 12, .35);
}
.cover__br { display: block; }
.cover__br--upright { display: none; }
/* Upright screens get the 4:5 crop (see the picture source with the same query). */
@media (max-aspect-ratio: 1/1) {
  .cover__media img {
    height: min(125vw, max(420px, calc(100vh - var(--head) - 72px)));
    height: min(125vw, max(420px, calc(100svh - var(--head) - 72px)));
    object-position: 50% 0;
  }
  .cover__title { right: auto; bottom: auto; left: 5.2vw; top: max(20px, 6vw); font-size: 8.4vw; text-align: left; }
  .cover__br--upright { display: block; }
}
.cover__body { padding: 0 var(--m); }
.cover__text { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px var(--gap); padding-top: clamp(24px, 3vw, 44px); }
.cover__lede { color: var(--muted); max-width: 46ch; }
.cover__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.cover__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap);
  margin-top: clamp(48px, 6vw, 96px); padding: 0 var(--m);
}
.cover__facts div { border-top: 1px solid var(--ink); padding-top: 12px; }
.cover__facts dt { font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cover__facts dd { font-size: var(--t-32); font-weight: 350; letter-spacing: -.03em; line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Sample book ---------- */
.book { background: var(--paper); border-top: 1px solid var(--rule); }
.book__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.book__stage { grid-column: 1 / span 6; position: sticky; top: calc(var(--head) + 24px); }
.book__panel { grid-column: 8 / -1; }

.plate-figure__frame { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 1 / 1; }
.plate-figure__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .9s var(--ease); }
.plate-figure__frame.is-changing img { opacity: 0; transform: scale(1.015); }
.sheet { position: absolute; inset: 0; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.sheet__box { position: relative; display: block; width: 100%; }
.sheet__box img { width: 100%; height: auto; }
.sheet__mark {
  position: absolute; width: 25%; height: 50%; top: 0; left: 0;
  box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 100vmax rgba(35, 31, 32, .5);
  transition: left .45s var(--ease), top .45s var(--ease);
  pointer-events: none;
}
.views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.views button {
  min-height: 44px; padding: 0 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--rule);
  font-size: var(--t-14);
}
.views button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.finish-index {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap);
  border-bottom: 1px solid var(--rule);
}
.finish-index a {
  display: flex; align-items: baseline; min-height: 52px; padding: 14px 0;
  border-top: 1px solid var(--rule); text-decoration: none; font-size: var(--t-18); letter-spacing: -.01em;
  position: relative;
}
.finish-index a:hover { color: var(--cherry); }
.finish-index a[aria-selected="true"] { color: var(--cherry); }
.finish-index a[aria-selected="true"]::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--cherry);
}

.finish { padding-top: clamp(28px, 3vw, 44px); }
.finish:focus { outline: none; }
.finish__title { font-size: var(--t-32); font-weight: 350; letter-spacing: -.03em; line-height: 1.1; }
.finish__text { color: var(--muted); margin-top: 12px; max-width: 46ch; }

.spec { margin-top: 28px; display: grid; gap: 22px; }
.spec fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.spec legend { font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 0; margin-bottom: 10px; }
.spec legend .opt { margin-left: .5em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; }
.chips input, .swatches input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--rule); font-size: var(--t-14); transition: background .2s, color .2s, border-color .2s;
}
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span, .swatches input:focus-visible + .sw { outline: 2px solid var(--cherry-bright); outline-offset: 2px; }

.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatches label { position: relative; }
.sw {
  display: grid; place-items: center; width: 44px; height: 58px; overflow: hidden;
  border: 1px solid var(--rule); background: var(--paper-2);
}
.sw img { width: 100%; height: 100%; object-fit: cover; }
.sw--open { font-size: var(--t-12); color: var(--muted); }
.swatches input:checked + .sw { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatches label:hover .sw { border-color: var(--ink); }

.finish__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.finish__status { min-height: 1.6em; margin-top: 12px; font-size: var(--t-14); color: var(--cherry); }

.tray { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ink); }
.tray__title { display: flex; justify-content: space-between; }
.tray__empty { color: var(--muted); font-size: var(--t-14); margin-top: 12px; }
.tray__list, .request__list { margin-top: 10px; }
.tray__list li, .request__list li {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-14); line-height: 1.4;
}
.tray__list img, .request__list img { width: 56px; height: 56px; object-fit: cover; background: var(--paper-2); }
.tray__list strong, .request__list strong { font-weight: 600; }
.remove {
  min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font-size: var(--t-14); text-decoration: underline; text-underline-offset: .25em;
}
.tray__go { margin-top: 8px; }

/* ---------- Colour index ---------- */
.colour { background: var(--rose); }
.colour__spread { max-width: 1240px; margin: 0 auto; }
.colour__spread img { width: 100%; }
.colour__legend {
  max-width: 1240px; margin: clamp(28px, 3vw, 44px) auto 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap);
}
.colour__legend li {
  display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--rule); font-size: var(--t-14);
}
.colour__legend .chip { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* ---------- Interlude ---------- */
.interlude {
  background: var(--sand);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
}
.interlude__figure { grid-column: 1 / span 7; }
.interlude__text { grid-column: 9 / span 4; }
.quote {
  font-size: var(--t-56); font-weight: 300; font-style: italic; line-height: 1; letter-spacing: -.04em; color: var(--cherry);
}
.interlude__text p { margin-top: 28px; max-width: 42ch; }

/* ---------- Worn: paired model portraits ---------- */
.worn {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding-top: clamp(40px, 6vw, 96px);
}
.worn__head { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--head) + 32px); }
.worn__head .quote { margin-top: 0; }
.worn__dek { color: var(--muted); max-width: 34ch; margin-top: 24px; }
.worn__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--rose); }
.worn__fig--cherry { grid-column: 5 / span 4; grid-row: 1; }
.worn__fig--jade { grid-column: 9 / span 4; grid-row: 1; margin-top: clamp(64px, 10vw, 168px); }
.worn__fig--jade img { aspect-ratio: 3 / 4; background: #c4c5c3; }

/* ---------- Partnership ---------- */
.partner__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.partner__figure { grid-column: 1 / span 6; }
.menu { grid-column: 8 / -1; display: grid; gap: 40px; }
.menu__group h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.menu__item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.menu__item dt { font-size: var(--t-22); letter-spacing: -.015em; }
.menu__tag { font-size: var(--t-14); color: var(--cherry); align-self: baseline; text-align: right; }
.menu__text { grid-column: 1 / -1; color: var(--muted); font-size: var(--t-16); max-width: 46ch; }
.menu__kit { padding-top: 14px; color: var(--muted); max-width: 46ch; }

/* ---------- Process ---------- */
.process { background: var(--bottle); color: var(--cream); }
.process .section-head__dek { color: rgba(246, 238, 227, .78); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.steps li { border-top: 1px solid rgba(246, 238, 227, .5); padding-top: 16px; display: flex; flex-direction: column; }
.steps h3 { font-size: var(--t-22); font-weight: 400; letter-spacing: -.015em; }
.steps p { margin-top: 10px; color: rgba(246, 238, 227, .82); font-size: var(--t-16); }
.steps .steps__time { margin-top: auto; padding-top: 22px; color: var(--cream); font-size: var(--t-14); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.figures {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap);
  margin-top: clamp(64px, 8vw, 120px);
}
.figures div { border-top: 1px solid rgba(246, 238, 227, .5); padding-top: 14px; }
.figures dt { font-size: var(--t-56); font-weight: 300; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures dd { margin-top: 12px; color: rgba(246, 238, 227, .82); font-size: var(--t-14); max-width: 26ch; }
.figures__note { margin-top: 40px; font-size: var(--t-14); color: rgba(246, 238, 227, .78); max-width: 70ch; }

/* ---------- Guides: the buyer's library ---------- */
.guides { background: var(--paper-2); }
.library { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.library__feature { grid-column: 1 / span 6; display: block; background: var(--cherry-deep); color: var(--cream); text-decoration: none; }
.library__frame { overflow: hidden; aspect-ratio: 8 / 9; }
.library__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1.2s var(--ease); }
.library__copy { display: grid; gap: 14px; padding: clamp(26px, 3.2vw, 46px); }
.library__title { font-size: var(--t-32); font-weight: 350; line-height: 1.08; letter-spacing: -.025em; max-width: 15ch; }
.library__dek { color: rgba(246, 238, 227, .8); max-width: 38ch; }
.library__cta {
  margin-top: 12px; font-size: var(--t-14); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: rgba(246, 238, 227, .4); text-underline-offset: .5em;
  transition: text-decoration-color .25s var(--ease);
}
.library__feature:hover .library__frame img { transform: scale(1.035); }
.library__feature:hover .library__cta { text-decoration-color: currentColor; }
.library__shelves { grid-column: 8 / span 5; display: grid; row-gap: clamp(36px, 3.4vw, 52px); }
.shelf__title { margin-bottom: 6px; font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cherry); }
.shelf a {
  display: block; min-height: 44px; padding: 9px 0;
  font-size: var(--t-18); line-height: 1.45; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em;
  transition: color .2s, text-decoration-color .2s;
}
.shelf a:hover { color: var(--cherry); text-decoration-color: currentColor; }
@media (max-width: 1080px) {
  .library__feature { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; }
  .library__frame { aspect-ratio: 4 / 5; }
  .library__copy { align-self: end; }
  .library__shelves { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 64px; }
}
@media (max-width: 760px) {
  .library__feature { display: block; margin: 0 calc(var(--m) * -1); }
  .library__copy { padding: 26px var(--m) 30px; }
  .library__shelves { grid-template-columns: 1fr; margin-top: 52px; }
  .shelf a { font-size: var(--t-16); }
}

/* ---------- Request ---------- */
.request {
  background: var(--cherry); color: var(--cream);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
}
.request__intro { grid-column: 1 / span 5; }
.request__intro > p { margin-top: 22px; color: rgba(246, 238, 227, .86); max-width: 44ch; }
.request__picks { margin-top: 40px; border-top: 1px solid rgba(246, 238, 227, .55); padding-top: 16px; }
.request__list li { border-bottom-color: rgba(246, 238, 227, .25); }
.request__list .remove { color: var(--cream); }
.request__none { margin-top: 12px; font-size: var(--t-14); color: rgba(246, 238, 227, .86); }
.request a { color: var(--cream); }
.request :focus-visible { outline-color: var(--cream); }

.inquiry {
  grid-column: 7 / -1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 26px;
  padding-top: 8px;
}
.inquiry__row { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.inquiry__row--wide, .inquiry__error, .inquiry__actions, .inquiry__status { grid-column: 1 / -1; }
.inquiry label { font-size: var(--t-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.inquiry .opt { color: rgba(246, 238, 227, .72); margin-left: .4em; }
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(246, 238, 227, .6); border-radius: 0;
  color: var(--cream); font-size: var(--t-18);
}
.inquiry select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.inquiry select option { color: var(--ink); background: var(--paper); }
.inquiry textarea { resize: vertical; line-height: 1.5; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: rgba(246, 238, 227, .6); }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; border-bottom: 2px solid var(--cream); }
.inquiry input:focus-visible, .inquiry select:focus-visible, .inquiry textarea:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.inquiry [aria-invalid="true"] { border-bottom: 2px solid #ffd3a8; }
.inquiry__error { color: #ffe0c4; font-weight: 500; min-height: 0; }
.inquiry__error:empty, .inquiry__status:empty { display: none; }
.inquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.inquiry__status { font-size: var(--t-14); }
/* Without JavaScript the buttons would do nothing, so they are hidden and the noscript note explains why. */
html:not(.js) .inquiry__actions, html:not(.js) .inquiry__preview { display: none; }
.inquiry__preview { grid-column: 1 / -1; border-top: 1px solid rgba(246, 238, 227, .55); padding-top: 16px; }
.inquiry__text {
  margin: 12px 0 0; max-height: 22em; overflow: auto; padding: 16px;
  background: rgba(0, 0, 0, .16); color: var(--cream);
  font: 400 var(--t-14)/1.5 "Albert Sans", "Helvetica Neue", Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.foot {
  background: var(--ink); color: var(--cream); padding: clamp(56px, 7vw, 96px) var(--m) 32px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px;
  font-size: var(--t-14);
}
.foot__brand { grid-column: 1 / span 5; }
.wordmark--foot { font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); letter-spacing: .26em; font-weight: 500; margin-bottom: 14px; }
.foot__brand p:last-child { color: rgba(246, 238, 227, .78); max-width: 40ch; }
.foot__links { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 var(--gap); }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__note { grid-column: 1 / span 7; color: rgba(246, 238, 227, .7); max-width: 72ch; }
.foot__end { grid-column: 1 / -1; border-top: 1px solid rgba(246, 238, 227, .2); padding-top: 18px; color: rgba(246, 238, 227, .7); }

/* ---------- Gentle entrances ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .cover__title { animation: rise 1.1s var(--ease) both; }
  .js .cover__media img { animation: fade 1.4s .15s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .section-head h2 { grid-column: 1 / span 8; }
  .section-head__dek { grid-column: 1 / span 8; }
  .book__stage { grid-column: 1 / span 6; }
  .book__panel { grid-column: 7 / -1; }
  .interlude__figure { grid-column: 1 / -1; }
  .interlude__text { grid-column: 1 / span 10; margin-top: 48px; }
  .worn__head { grid-column: 1 / span 9; grid-row: 1; position: static; margin-bottom: 40px; }
  .worn__fig--cherry { grid-column: 1 / span 6; grid-row: 2; }
  .worn__fig--jade { grid-column: 7 / span 6; grid-row: 2; }
  .partner__figure { grid-column: 1 / -1; margin-bottom: 48px; }
  .menu { grid-column: 1 / span 10; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .request__intro { grid-column: 1 / -1; }
  .inquiry { grid-column: 1 / -1; margin-top: 48px; }
  .colour__legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --head: 92px; --m: 20px; }
  .masthead { grid-template-columns: 1fr auto; grid-template-rows: 48px 44px; height: auto; padding: 0 var(--m); }
  .masthead__nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--rule); }
  .masthead__nav ul { justify-content: space-between; gap: 8px; }
  .masthead__nav a { padding: 11px 0; font-size: .8125rem; }
  .masthead__request { grid-column: 2; grid-row: 1; }
  .wordmark { letter-spacing: .26em; }

  .cover__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .cover__facts dd { font-size: 1.6rem; }

  .section-head h2, .section-head__dek { grid-column: 1 / -1; }

  .book__grid { display: block; }
  .book__stage { position: static; }
  .plate-figure__frame { aspect-ratio: 5 / 4; }
  .book__panel { margin-top: 28px; }
  .finish-index a { font-size: var(--t-16); }

  .colour__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colour__spread { margin: 0 calc(var(--m) * -1); }

  .worn { display: block; }
  .worn__head { margin-bottom: 32px; }
  .worn__fig--cherry { margin-right: 12%; }
  .worn__fig--jade { margin: 36px 0 0 12%; }

  .interlude__figure { margin: 0 calc(var(--m) * -1); }
  .interlude__text, .menu { grid-column: 1 / -1; }
  .partner__figure { margin-left: calc(var(--m) * -1); margin-right: calc(var(--m) * -1); }

  .steps, .figures { grid-template-columns: 1fr; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures dt { font-size: 2.2rem; }

  .inquiry { grid-template-columns: 1fr; }
  .foot__brand, .foot__links, .foot__note { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Align the workbench plate with the two service groups. */
.partner__grid { align-items: stretch; }
.partner__figure { margin: 0; }
.partner__figure picture, .partner__figure img { display: block; width: 100%; height: 100%; }
.partner__figure img { object-fit: cover; object-position: 50% 48%; }
.partner__foot { grid-column: 1 / -1; margin-top: clamp(26px, 4vw, 58px); padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.partner__foot h3 { font-size: var(--t-22); font-weight: 400; margin-bottom: 6px; }
.partner__foot p { max-width: 65ch; color: var(--muted); }
.partner__foot a { flex: none; }
@media (min-width: 960px) {
  .partner__figure { position: relative; grid-column: 1 / span 6; }
  .partner__figure picture { position: absolute; inset: 0; }
  .partner__grid .menu { grid-column: 7 / -1; gap: 22px; padding-left: clamp(6px, 1.6vw, 30px); }
  .menu__item { padding: 12px 0; }
}
@media (max-width: 959px) {
  .partner__figure { margin-bottom: 28px; }
  .partner__figure img { height: auto; }
  .partner__grid .menu { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .partner__foot { align-items: flex-start; flex-direction: column; gap: 16px; }
}

/* ---------- Main navigation (direct page links, shared by every page) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.masthead__menu { display: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav__item { display: flex; align-items: center; }
.masthead__nav .nav__top { font-size: var(--t-14); text-decoration: none; padding: 10px 0; display: inline-block; text-underline-offset: .45em; }
.masthead__nav .nav__top:hover, .nav__top.is-section, .nav__top[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; }
.nav__top.is-section { text-decoration-color: var(--cherry); text-decoration-thickness: 2px; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 28px; height: 36px; margin-left: 2px; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--muted); border-radius: 4px;
}
.nav__toggle svg { transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__toggle:hover { color: var(--ink); }
.nav__panel { display: none; }
.nav__label { font-size: var(--t-12); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.masthead__nav .nav__list a, .masthead__nav .nav__aside { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-size: var(--t-16); }
.nav__list a:hover, .nav__aside:hover, .nav__card:hover .nav__card-title { text-decoration: underline; }
.nav__list a[aria-current="page"], .nav__card[aria-current="page"] .nav__card-title { color: var(--cherry); text-decoration: underline; }
.nav__strong { font-weight: 600; }
.nav__aside { margin-top: 14px; color: var(--cherry); font-weight: 500; }
.masthead__nav .nav__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.masthead__nav .nav__card { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; background: var(--cream); transition: border-color .2s; }
.nav__card:hover { border-color: var(--cherry); }
.nav__card-title { font-size: var(--t-18); font-weight: 500; }
.nav__card-dek { font-size: var(--t-14); color: var(--muted); }

@media (min-width: 861px) {
  .masthead { position: sticky; }
  .nav__item--panel { position: static; }
  .nav__panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px -24px rgba(35, 31, 32, .35);
  }
  .nav__item.is-open .nav__panel { display: block; }
  .nav__panel-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 28px var(--m) 34px; max-width: 1600px; margin: 0 auto; }
  .nav__group { grid-column: span 4; }
  .nav__group:first-child { grid-column: 3 / span 6; }
  .nav__group--wide:first-child { grid-column: 3 / span 6; }
  .masthead__nav .nav__list { display: block; }
  .nav__list--cols { columns: 2; column-gap: var(--gap); }
  .nav__list--cols li { break-inside: avoid; }
  /* Without JavaScript the panels open on hover and keyboard focus. */
  html:not(.js) .nav__item--panel:hover .nav__panel, html:not(.js) .nav__item--panel:focus-within .nav__panel { display: block; }
}

.foot__cols { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.foot__cols .foot__links { display: block; }
.foot__head { font-size: var(--t-12); letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 238, 227, .6); margin-bottom: 6px; }
@media (max-width: 1080px) {
  .foot__brand { grid-column: 1 / -1; }
  .foot__cols { grid-column: 1 / -1; }
  .foot__note { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}

/* Phone and small tablet: one header row with a Menu button that opens a grouped sheet. */
@media (max-width: 860px) {
  .nav__toggle { display: none; }
  html.js { --head: 60px; }
  .js .masthead { grid-template-columns: 1fr auto auto; grid-template-rows: var(--head); height: var(--head); column-gap: 14px; }
  .js .masthead__request { grid-column: 2; grid-row: 1; }
  .js .masthead__menu {
    display: inline-flex; grid-column: 3; grid-row: 1; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 12px;
    border: 0; border-left: 1px solid var(--rule); background: none; font-size: var(--t-14); font-weight: 500; cursor: pointer;
  }
  .masthead__menu-bars, .masthead__menu-bars::before { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s var(--ease); }
  .masthead__menu-bars::before { content: ""; position: absolute; top: 6px; }
  .masthead__menu-bars { transform: translateY(-3px); }
  .masthead__menu[aria-expanded="true"] .masthead__menu-bars { transform: rotate(45deg); }
  .masthead__menu[aria-expanded="true"] .masthead__menu-bars::before { transform: rotate(-90deg); top: 0; }
  .js .masthead__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--head)); height: calc(100dvh - var(--head));
    overflow-y: auto; overscroll-behavior: contain; grid-column: auto; grid-row: auto;
    background: var(--paper); border-top: 1px solid var(--rule); padding: 8px var(--m) 40px;
  }
  .js .masthead.is-open .masthead__nav { display: block; }
  .js .nav { display: block; }
  .js .nav__item { display: block; border-bottom: 1px solid var(--rule); padding: 6px 0 14px; }
  .js .masthead__nav .nav__top { font-size: var(--t-22); padding: 12px 0 6px; }
  .js .nav__panel { display: block; }
  .js .nav__group { margin-top: 12px; }
  .js .nav__list--cols { columns: 2; column-gap: var(--gap); }
  .js .masthead__nav .nav__list { display: block; }
  .js .masthead__nav .nav__cards { grid-template-columns: 1fr 1fr; }
  .js .masthead__nav .nav__card { padding: 12px 14px; }
  .js .nav__aside { margin-top: 6px; }
  body.nav-open { overflow: hidden; }
  /* Without JavaScript: a second row of top-level links. */
  html:not(.js) .masthead { grid-template-columns: 1fr auto; grid-template-rows: 48px 44px; height: auto; }
  html:not(.js) .masthead__nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--rule); }
  html:not(.js) .nav { justify-content: space-between; gap: 8px; }
  html:not(.js) .masthead__request { grid-column: 2; grid-row: 1; }
}
@media (max-width: 860px) and (min-width: 761px) { html:not(.js) { --head: 92px; } }
@media (max-width: 420px) {
  .js .masthead__nav .nav__cards { grid-template-columns: 1fr; }
  .js .masthead__request { font-size: .8125rem; gap: 6px; }
  .wordmark { letter-spacing: .2em; }
}

@media(max-width:860px){.js .nav__item--panel{display:grid;grid-template-columns:1fr 44px;align-items:center}.js .nav__toggle{display:inline-flex;width:44px;height:44px;justify-content:center;align-items:center}.js .nav__panel{display:none;grid-column:1/-1}.js .nav__item.is-open .nav__panel{display:block}}

.masthead { background: var(--cream,#f4f0ea); }
.masthead__request { white-space: nowrap; background: var(--cherry); color: var(--cream); padding: 0 1.15rem; border-radius: 2px; }
.masthead__request:hover { background: #4b101c; }
.masthead__request .count { background: transparent; color: inherit; border: 1px solid currentColor; }
.masthead__nav .nav__top { font-weight: 500; }
.masthead__nav .nav__top:hover, .masthead__nav .nav__top.is-section { color: var(--cherry); text-underline-offset: .55em; }
@media(min-width:861px){.nav__panel { box-shadow: 0 16px 26px rgba(35,22,18,.08); }.masthead__nav .nav__card { background: transparent; border-width: 0 0 1px; }}
@media(max-width:860px){.js .masthead { column-gap: 8px; }.js .masthead__request { padding: 0 .65rem; }.js .masthead__menu { border: 0; }.js .masthead__menu[aria-expanded="true"] .masthead__menu-bars::before { transform-origin: center; }.js .masthead__nav { background: var(--cream); }}
@media(max-width:400px){.js .masthead { padding-inline: 12px; }.js .masthead .wordmark { font-size: .72rem; letter-spacing: .2em; }.js .masthead__menu { padding-left: 2px; gap: 4px; }.js .masthead__request .count { min-width: 19px; height: 19px; padding: 0 3px; }}
@media(max-width:350px){.js .masthead { column-gap: 4px; padding-inline: 8px; }.js .masthead__request { padding-inline: .4rem; }}
