/* Hallmark · theme: custom · redesign: full · idea: "a portrait salon for pets" · job: buy · hero: the salon wall · nav: one bar on the wall · footer: colophon block · axes: dark/roman-serif/chromatic-gold · posture: committed · contrast: pass · fold: pass · v2.0.0 */ /* Hallmark · dismissed F17 · the gift tag is a hanging label; its three short lines are the name, the price and what it buys */
/* Furbox site.css: the portrait salon's shared look, for every page on furbox.app and for the guide pages.
   One file, no imports, no script. Everything sits in the "site" cascade layer, so a page's own CSS always wins over it.
   Fonts: Castoro and Alegreya Sans, self-hosted from /fonts/ by the @font-face rules below.
   The markup each block expects (take a shell from /dog-portraits, whose links are absolute):
     bar      header.masthead > nav.container.bar > a.wordmark, ul.bar__links > li > a,
              details.bar__menu > summary + ul > li > a (the phone menu, no script), a.btn.btn--line
     footer   footer.colophon > div.container.colophon__grid > p.colophon__mark + div.colophon__body
              (p, nav > ul > li > a, .foot-links > div > b + a)
     rooms    .room (the oxblood salon), .room--plaster, .room--plaster-2 (reading rooms), .room--slate
     article  main.prose (full width) or a .prose box set to a width: a reading room, each block at the measure. h1 h2 h3 p ul ol table blockquote figure figcaption
              details > summary (questions) code pre hr, ol.sources (or .sources > ol), .cta, and the guide pages' own .dek .date .by
              .scroll .list .use; an <article> inside is read the same way
     action   .cta > (h2) p + a (a bare link or a.btn: the gilt button; point it at https://furbox.app/#start)
     pieces   .hang > .lamp + .frame > .mat > img, with figcaption.plaque > b; .btn, .btn--line, .crumbs, .fine */
/* Fonts, served from this site (latin subsets, the weights the pages use) */
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/alegreya-sans-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/alegreya-sans-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Castoro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/castoro-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* What the text is set in until those arrive: local faces sized to the same average width and the same ascent and descent
   (from the woff2 metrics: Castoro 755/245/330 over Georgia, Alegreya Sans 800/200/200 over Arial), so the swap moves nothing. */
@font-face { font-family: "Castoro Fallback"; src: local("Georgia"); size-adjust: 101.25%; ascent-override: 74.56%; descent-override: 24.2%; line-gap-override: 32.59%; }
@font-face { font-family: "Alegreya Sans Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 87.56%; ascent-override: 91.37%; descent-override: 22.84%; line-gap-override: 22.84%; }
@font-face { font-family: "Alegreya Sans Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 82.94%; ascent-override: 96.45%; descent-override: 24.11%; line-gap-override: 24.11%; }

@layer site {
/* Tokens: the salon's colours (each named for what it is in the room), the type and spacing scales */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-2xs: 0.8125rem; --text-xs: 0.875rem; --text-sm: 0.9375rem; --text-md: 1.125rem; --text-lg: 1.3rem; --text-xl: 1.6rem; --text-2xl: 2rem; --text-3xl: 2.5rem;
  --text-display: clamp(2.9rem, 4.6vw + 1rem, 5.5rem); --text-display-s: clamp(2.4rem, 3.4vw + 1rem, 4.25rem);
  --text-section: clamp(2.2rem, 2.6vw + 1rem, 3.6rem); --text-title: clamp(1.3rem, 0.7vw + 1rem, 1.7rem); --text-lead: clamp(1.2rem, 0.4vw + 1rem, 1.45rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-settle: 900ms;
  --color-error: oklch(80% 0.12 45); --color-success: oklch(80% 0.1 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 112px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* The salon. Every colour is taken from the paintings and the room they hang in. */
  --color-wall: oklch(31% 0.085 24);       /* oxblood, The Royal's velvet: the salon */
  --color-wall-deep: oklch(25% 0.07 22);   /* the same wall out of the light */
  --color-slate: oklch(30% 0.04 220);      /* the collection room, a cool wall the gilt warms against */
  --color-plaster: oklch(93% 0.02 78);     /* the reading rooms, Watercolor's paper */
  --color-plaster-2: oklch(89% 0.026 76);
  --color-ivory: oklch(96% 0.018 88);      /* the mats, and type set on a dark wall */
  --color-ivory-2: oklch(85% 0.03 80);
  --color-umber: oklch(24% 0.03 50);       /* type on plaster, the frames' wood */
  --color-umber-2: oklch(40% 0.03 55);
  --color-gilt: oklch(79% 0.11 82);        /* the frames, The General's epaulettes */
  --color-gilt-deep: oklch(60% 0.105 72);
  --color-gilt-ink: oklch(23% 0.04 60);
  --color-light: oklch(97% 0.06 90);       /* a picture light */
  --color-shade: oklch(14% 0.04 25);       /* what a frame casts on the wall */
  --color-wall-rule: oklch(46% 0.07 35);
  --color-plaster-rule: oklch(76% 0.03 70);
  --color-plaster-focus: oklch(40% 0.13 25);
  --color-slate-rule: oklch(45% 0.04 220);
  --color-twine: oklch(52% 0.17 25);       /* the red in a gift's baker's twine */

  /* The roles base.css reads, set for the salon wall; the plaster and slate rooms re-set them. */
  --color-paper: var(--color-wall); --color-paper-2: var(--color-wall-deep); --color-paper-3: var(--color-slate);
  --color-ink: var(--color-ivory); --color-ink-2: var(--color-ivory-2); --color-muted: oklch(74% 0.04 60);
  --color-rule: var(--color-wall-rule);
  --color-wall-focus: oklch(85% 0.13 86);
  --color-accent: var(--color-gilt); --color-accent-ink: var(--color-gilt-ink); --color-focus: var(--color-wall-focus);
  --shadow-frame: 0 26px 30px -22px oklch(14% 0.04 25 / 0.85), 0 3px 6px oklch(14% 0.04 25 / 0.35);
  --shadow-print: 0 14px 18px -14px oklch(14% 0.04 25 / 0.7);

  --font-display: "Castoro", "Castoro Fallback", ui-serif, Georgia, serif; --font-body: "Alegreya Sans", "Alegreya Sans Fallback", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-display);
  --radius-card: 2px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.01em; --display-weight: 400;
  --frame: 9px; --mat: clamp(12px, 1.5vw, 22px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* Rooms: the salon (oxblood, the default), the plaster reading rooms, the slate collection room */
.room { --lamp-h: 6px; position: relative; background: var(--color-paper); color: var(--color-ink); }
.room--plaster, .room--plaster-2 { --color-paper: var(--color-plaster); --color-ink: var(--color-umber); --color-ink-2: var(--color-umber-2); --color-rule: var(--color-plaster-rule); --color-focus: var(--color-plaster-focus); color-scheme: light; }
.room--plaster-2 { --color-paper: var(--color-plaster-2); }
.room--slate { --color-paper: var(--color-slate); --color-rule: var(--color-slate-rule); }
.container { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: var(--z-toast); background: var(--color-wall); }
h1, h2 { font-weight: 400; }
h1 { font-size: var(--text-display); line-height: 1; }
h2 { font-size: var(--text-section); line-height: 1.04; }
h3 { font-family: var(--font-display); font-weight: 400; }
.lead { color: var(--color-ink-2); }
.phrase { display: inline-block; }

.skip { position: absolute; display: flex; align-items: center; min-height: 44px; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ivory); color: var(--color-umber); }
.skip:focus-visible { top: var(--space-md); }

/* Controls: one gilt action, a line beside it */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-card); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--gilt { background: var(--color-gilt); border-color: var(--color-gilt); color: var(--color-gilt-ink); }
.btn--gilt:hover { background: var(--color-ivory); border-color: var(--color-ivory); }
.btn--line { background: transparent; border-color: var(--color-gilt); color: var(--color-ink); }
.btn--line:hover { background: color-mix(in oklab, var(--color-gilt) 16%, transparent); }

/* The bar on the wall */
.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky-nav); background: var(--color-wall); border-bottom: var(--rule-hair) solid var(--color-wall-rule); }
.masthead .bar { display: flex; align-items: center; gap: var(--space-xl); height: 64px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font: 400 2rem/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ivory); text-decoration: none; }
.bar__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.bar__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ivory-2); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; text-decoration: none; }
.bar__links a:hover { color: var(--color-ivory); text-decoration: underline; text-decoration-color: var(--color-gilt); }
.bar__menu { position: relative; display: none; }
.bar__menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-wall-rule); border-radius: var(--radius-card); font-size: var(--text-sm); font-weight: 700; list-style: none; cursor: pointer; }
.bar__menu summary::-webkit-details-marker { display: none; }
.bar__menu summary:hover { border-color: var(--color-gilt); }
.bar__menu ul { position: absolute; top: 100%; right: 0; z-index: var(--z-dropdown); display: grid; min-width: 12rem; margin: var(--space-xs) 0 0; padding: var(--space-xs) 0; list-style: none; background: var(--color-wall-deep); border: var(--rule-hair) solid var(--color-wall-rule); border-radius: var(--radius-card); }
.bar__menu a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); font-weight: 700; text-decoration: none; }
.bar__menu a:hover { background: var(--color-wall); }

/* A painting: a thin gilt frame, an ivory mat, its own light above */
.frame { position: relative; display: block; padding: var(--frame); background: linear-gradient(160deg, var(--color-gilt), var(--color-gilt-deep) 55%, var(--color-gilt)); box-shadow: var(--shadow-frame); }
.mat { position: relative; display: block; padding: var(--mat); background: var(--color-ivory); box-shadow: inset 0 0 0 1px var(--color-plaster-rule); }
.mat img, .mat .portrait__canvas { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hang { position: relative; display: grid; justify-items: center; }
.lamp { position: relative; z-index: var(--z-raised); justify-self: center; width: 38%; height: var(--lamp-h); margin-bottom: var(--space-md); border-radius: 3px; background: linear-gradient(var(--color-gilt), var(--color-gilt-deep)); box-shadow: var(--shadow-print); }
.lamp::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--space-md); background: var(--color-gilt-deep); }
/* the pool a picture light throws on the wall and the top of the painting; it warms on hover and focus */
.hang::before { content: ""; position: absolute; z-index: var(--z-raised); left: -10%; width: 120%; top: -18%; height: 90%; pointer-events: none; background: radial-gradient(closest-side at 50% 30%, color-mix(in oklab, var(--color-light) 34%, transparent), transparent); mix-blend-mode: soft-light; opacity: 0.7; transition: opacity var(--dur-long) var(--ease-out); }
.hang:hover::before, .hang:focus-within::before, .piece:hover .hang::before, .piece:focus-visible .hang::before { opacity: 1; }
.plaque { align-self: start; display: grid; gap: var(--space-3xs); text-wrap: pretty; font-size: var(--text-sm); color: var(--color-ink-2); }
.plaque b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 400; color: var(--color-ivory); }

/* Colophon */
.colophon { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-wall-deep); color: var(--color-ivory); }
.colophon__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap-columns); row-gap: var(--space-lg); }
.colophon__mark { font: 400 3.5rem/1 var(--font-display); letter-spacing: var(--tracking-display); }
.colophon__body { display: grid; gap: var(--space-lg); }
.colophon__body p { max-width: 62ch; color: var(--color-ivory-2); }
.colophon nav { display: grid; gap: var(--space-xs); }
.colophon nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); margin: 0; padding: 0; list-style: none; }
.colophon nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.colophon a { text-decoration-color: var(--color-gilt-deep); }
/* inline links in the colophon keep their line but take a 44px tap */
.colophon__body p a { padding-block: var(--space-sm); }
.colophon a:hover { text-decoration-color: var(--color-gilt); }
.colophon__mark a { text-decoration: none; }
/* every style and idea page, listed under the footer of each page but the home */
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-wall-rule); }
.foot-links div { display: flex; flex-wrap: wrap; align-content: start; column-gap: var(--space-lg); }
.foot-links b { flex-basis: 100%; margin-bottom: var(--space-2xs); font: 400 var(--text-lg)/1.2 var(--font-display); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- the pages made from templates: styles, ideas ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--color-gilt-deep); }
.crumbs a:hover { color: var(--color-ink); text-decoration-color: var(--color-gilt); }
.crumbs span { color: var(--color-muted); }
.fine { font-size: var(--text-sm); color: var(--color-ink-2); }
.lp-hero { overflow: clip; padding-block: var(--space-sm) var(--section-gap-s); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-2xl); align-items: center; }
.lp-hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.lp-hero__text .crumbs { margin-bottom: var(--space-xs); }
.lp-hero h1 { max-width: 16ch; font-size: var(--text-display-s); line-height: 1.02; color: var(--color-ivory); }
.lp-hero .lead { max-width: 46ch; font-size: var(--text-lead); line-height: 1.45; }
.lp-hero--wide { padding-bottom: var(--space-2xl); }
.lp-hero--wide h1 { max-width: 20ch; }
.lp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); align-items: start; padding-top: var(--space-xl); }
.lp-pair > :last-child { margin-top: var(--space-3xl); }
.lp-pair .frame { --frame: 10px; }
.lp-frame { margin: 0; }
.lp-frame .frame { width: 100%; }
.lp-frame .plaque { justify-self: start; margin-top: var(--space-sm); }
.lp-more { padding-block: var(--section-gap-s) var(--section-gap); }
.lp-more h2 { margin-bottom: var(--space-2xl); }
.lp-wall { padding-block: var(--space-2xl) var(--section-gap); }
.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-2xl); row-gap: var(--space-2xl); align-items: start; }
.lp-grid > a { display: block; color: inherit; text-decoration: none; }
.lp-grid > a:nth-child(even) { margin-top: var(--space-xl); }
.lp-grid > a:hover .hang::before, .lp-grid > a:focus-visible .hang::before { opacity: 1; }
.lp-grid > a:hover .plaque b { text-decoration: underline; text-decoration-color: var(--color-gilt); text-underline-offset: 0.2em; }
.lp-grid > a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
/* the two paintings at the top are painted in as the page opens; the walls settle into their frames as they scroll in */
@keyframes paint { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes settle { from { transform: scale(1.06); opacity: 0.72; } }
@media (prefers-reduced-motion: no-preference) {
  .lp-pair .mat img { -webkit-mask-image: linear-gradient(105deg, var(--color-ink) 42%, transparent 58%); mask-image: linear-gradient(105deg, var(--color-ink) 42%, transparent 58%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: paint 1.2s var(--ease-out) 0.15s both; }
  .lp-pair > :last-child .mat img { animation-delay: 0.5s; }
  @supports (animation-timeline: view()) {
    .lp-grid .mat { overflow: hidden; }
    .lp-grid .mat img { animation: settle linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  }
}

/* ---------- static pages ---------- */
/* thanks and 404: one frame on the wall, a line under it */
.thanks, .gone { display: grid; place-content: center; justify-items: center; gap: var(--space-lg); padding-block: var(--section-gap-s); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); text-align: center; }
.thanks, .gone { min-height: calc(100svh - 64px); }
.thanks h1, .gone h1 { font-size: var(--text-display-s); color: var(--color-ivory); }
.thanks .lead, .gone .lead { max-width: 40ch; font-size: var(--text-lead); }
.easel { width: 9rem; margin-bottom: var(--space-sm); }
.easel .frame { width: 100%; }
.easel__canvas { display: block; aspect-ratio: 4 / 5; background: var(--color-plaster-2); }
.gone .easel { rotate: -3deg; transform-origin: 50% 0; }
@media (prefers-reduced-motion: no-preference) {
  .thanks .easel { animation: sway 2.4s var(--ease-in-out) 2; transform-origin: 50% 0; }
  .gone .easel { animation: askew 1.6s var(--ease-out) both; }
}
@keyframes sway { 50% { rotate: 2deg; } }
@keyframes askew { from { rotate: 4deg; } 40% { rotate: -6deg; } 70% { rotate: -1deg; } }

/* ---------- .prose: the reading room, for guides, policies and questions ---------- */
.prose { --measure: 32.5rem; --color-paper: var(--color-plaster); --color-ink: var(--color-umber); --color-ink-2: var(--color-umber-2); --color-rule: var(--color-plaster-rule); --color-focus: var(--color-plaster-focus); color-scheme: light;
  display: block; padding-block: var(--section-gap-s) var(--section-gap); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
  background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); line-height: 1.65; }
/* every block keeps the reading measure, centred; an <article> inside (the guide pages use one) is read the same way */
.prose > *, .prose > article > * { max-width: var(--measure); margin-inline: auto; }
.prose > * + *, .prose > article > * + * { margin-top: var(--space-md); }
.prose > :first-child, .prose > article > :first-child { margin-top: 0; }
.prose > p, .prose > article > p { max-width: var(--measure); }
.prose h1 { font-size: var(--text-display-s); line-height: 1.02; }
.prose h1 + p { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.prose > header > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: var(--space-2xl); font-size: var(--text-2xl); line-height: 1.12; }
.prose h3 { margin-top: var(--space-xl); font-size: var(--text-xl); line-height: 1.2; }
.prose h2 + *, .prose h3 + * { margin-top: var(--space-sm); }
.prose a:not(.btn, .cta > a) { color: var(--color-ink); text-decoration-color: var(--color-gilt-deep); }
.prose a:not(.btn, .cta > a):hover { text-decoration-color: var(--color-ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: var(--space-2xs); }
.prose li::marker { color: var(--color-gilt-deep); }
.prose ol > li::marker { font-family: var(--font-display); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: top; overflow-wrap: break-word; }
.prose thead th { border-bottom-color: var(--color-ink); font-weight: 700; }
.prose blockquote { margin-block: var(--space-xl); padding-left: var(--space-lg); border-left: 2px solid var(--color-gilt-deep); font: 400 var(--text-xl)/1.4 var(--font-display); }
.prose blockquote p + p, .prose blockquote footer { margin-top: var(--space-sm); }
.prose blockquote footer, .prose blockquote cite { font: 400 var(--text-sm)/1.4 var(--font-body); font-style: normal; color: var(--color-ink-2); }
.prose figure { margin-block: var(--space-xl); }
.prose figure img { width: 100%; border: var(--mat) solid var(--color-ivory); box-shadow: 0 0 0 1px var(--color-plaster-rule), var(--shadow-print); }
.prose figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.prose details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.prose :not(details) + details { margin-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); }
.prose details + details { margin-top: 0; }
.prose summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); font: 400 var(--text-lg)/1.3 var(--font-display); list-style: none; cursor: pointer; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-right: var(--space-2xs); border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-short) var(--ease-in-out); }
.prose summary:hover { text-decoration: underline; text-decoration-color: var(--color-gilt-deep); }
.prose details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.prose details > :not(summary) { padding-bottom: var(--space-md); color: var(--color-ink-2); }
.prose code { padding: 0.1em 0.35em; border-radius: var(--radius-card); background: var(--color-plaster-2); font: 0.88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.prose pre { overflow-x: auto; padding: var(--space-md); background: var(--color-plaster-2); }
.prose pre code { padding: 0; background: none; }
.prose hr { height: 0; margin-block: var(--space-2xl); border: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.prose .sources, .prose .sources ol, .prose .sources ul { font-size: var(--text-sm); color: var(--color-ink-2); }
.prose .sources a { overflow-wrap: anywhere; }
/* the markup the guide pages already use, read the same way: a standfirst, the byline and date, a wide table's scroller, an index list */
.prose .dek { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.prose .date, .prose .by { font-size: var(--text-sm); color: var(--color-ink-2); }
.prose .scroll { overflow-x: auto; }
.prose .list { padding-left: 0; list-style: none; }
.prose .list > li { margin: 0; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.prose .list a { font: 400 var(--text-lg)/1.3 var(--font-display); }
.prose .list p { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
/* the guide pages' resource box: square-cornered like every box in the salon (important, to win over the 14px of their own frame) */
.prose .use { border-radius: var(--radius-card) !important; background: var(--color-plaster-2); }
.prose .use > * + * { margin-top: var(--space-sm); }
.prose .use h2 { margin-top: 0; font-size: var(--text-xl); }
.prose .use code { background: var(--color-ivory); }
/* .cta: a piece of the salon wall set into the reading room, with the one gilt action */
.cta { --color-paper: var(--color-wall); --color-ink: var(--color-ivory); --color-ink-2: var(--color-ivory-2); --color-rule: var(--color-wall-rule); --color-focus: var(--color-wall-focus); color-scheme: dark;
  display: grid; justify-items: start; gap: var(--space-md); margin-block: var(--space-2xl); padding: var(--space-xl) var(--space-xl) var(--space-xl);
  background: linear-gradient(var(--color-gilt), var(--color-gilt-deep)) top / 100% 6px no-repeat, var(--color-paper); color: var(--color-ink); box-shadow: var(--shadow-frame); }
.prose .cta { margin-top: var(--space-2xl); }
.cta h2, .cta h3 { margin: 0; font-size: var(--text-2xl); line-height: 1.12; color: var(--color-ivory); }
.cta p { max-width: 52ch; color: var(--color-ink-2); }
/* the action is the gilt button, a .btn or a bare link */
.cta > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: var(--space-xs); padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-gilt); border-radius: var(--radius-card); background: var(--color-gilt); color: var(--color-gilt-ink); font: 700 var(--text-md)/1 var(--font-body); text-decoration: none; }
.cta > a:hover { background: var(--color-ivory); border-color: var(--color-ivory); }
.prose .facts { list-style: square; }
.prose.lp-read { --measure: var(--container); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap-columns); align-items: start; }
.lp-read > * { grid-column: 2; max-width: 40em; margin-top: 0; margin-inline: 0; }
.prose.lp-read > :is(p, ul, ol) { max-width: 29em; }
.lp-read > h2 { grid-column: 1; max-width: none; font-size: var(--text-3xl); line-height: 1.08; }
.lp-read > h2:not(:first-child), .lp-read > h2:not(:first-child) + * { margin-top: var(--space-3xl); }
.lp-read > h2 + details { border-top: var(--rule-hair) solid var(--color-ink); }

@media (min-width: 61rem) { .lp-hero:not(.lp-hero--wide) { display: grid; align-content: center; min-height: calc(100svh - 64px); } }
@media (max-width: 60rem) {
  .masthead .bar { gap: var(--space-md); }
  .bar__links { display: none; }
  .bar__menu { display: block; }
  .colophon__grid, .lp-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .lp-hero__grid { row-gap: var(--space-xl); }
  .lp-pair { column-gap: var(--space-md); padding-top: 0; }
  .lp-pair > :last-child { margin-top: var(--space-xl); }
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); row-gap: var(--space-xl); }
  .lp-grid > a:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--space-md) / 2); margin-top: 0; }
  .prose.lp-read { grid-template-columns: minmax(0, 1fr); }
  .lp-read > *, .lp-read > h2 { grid-column: 1; }
  .lp-read > h2 { font-size: var(--text-2xl); }
  .lp-read > h2 + * { margin-top: var(--space-sm); }
  .lp-read > h2:not(:first-child) + * { margin-top: var(--space-sm); }
  .lp-more h2 { margin-bottom: var(--space-xl); }
  .foot-links { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: var(--space-lg); }
}
@media (max-width: 24rem) {
  .masthead .bar { gap: var(--space-xs); }
  .wordmark { font-size: 1.6rem; }
  .bar__menu summary, .masthead .btn { padding: 0 var(--space-sm); font-size: var(--text-sm); }
}

/* The privacy choice card (added by the loader in the head for visitors it asks first): a plaster card in the corner, the salon's buttons */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: var(--z-toast); max-width: 360px; margin-inline: auto 0; padding: 16px 18px; background: var(--color-plaster); color: var(--color-umber); border: var(--rule-hair) solid var(--color-plaster-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-frame); font: inherit; font-size: var(--text-sm); line-height: 1.45; color-scheme: light; }
.consent p { margin: 0; }
.consent__actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.consent button { font: 700 var(--text-sm)/1 var(--font-body); cursor: pointer; min-height: 44px; padding: 0 14px; border: var(--rule-hair) solid var(--color-gilt-deep); border-radius: var(--radius-card); background: transparent; color: inherit; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.consent button:hover { background: color-mix(in oklab, var(--color-gilt) 16%, transparent); }
.consent button[data-yes] { background: var(--color-gilt); color: var(--color-gilt-ink); border-color: var(--color-gilt); }
.consent button[data-yes]:hover { background: var(--color-ivory); border-color: var(--color-ivory); }
.consent button:focus-visible, .consent a:focus-visible { outline: 2px solid var(--color-plaster-focus); outline-offset: 2px; }
.consent a { color: inherit; text-decoration: underline; margin-left: auto; }
@media (max-width: 480px) { .consent { inset: auto 12px 12px 12px; max-width: none; } }
}
