/*
  Ember - the dark template. Charcoal ground, one amber glow, cinematic full-bleed photographs and a
  high-contrast Didone for display. The idea: heat at night. Photographs sit in firelight (a warm
  shade rises from the bottom of every frame) and the page's one statement lights up word by word.

  A company's colour is one line: change --brand (and --brand-glow, its lighter twin, if you like).
  The data may also set it: <html style="--brand: #..."> from theme.brand.
*/
:root {
  /* palette: the only colours in the template. Night and fire: smoky brown-black, ember orange, amber, cream; no blue night tones anywhere */
  --brand: #e3752d;        /* ember orange: buttons, the glow, prices */
  --brand-glow: #f6b45e;   /* amber, the lit end of the ember: italics, the statement's strong words */
  --brand-ink: #1a0c03;    /* text on an amber button */
  --ground: #140e0a;       /* smoky brown-black page */
  --surface: #1f1610;      /* a step up: bands, cards */
  --surface-2: #2b1f17;    /* two steps up: thumbnails waiting, chips */
  --ink: #f3e6d0;          /* warm cream */
  --muted: #bba58b;        /* secondary text, 8:1 on the ground, 7.5:1 on surface */
  --line: rgb(243 230 208 / .13);
  --line-strong: rgb(243 230 208 / .28);

  /* type */
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.015em;
  --t-hero: clamp(2.6rem, 1.1rem + 5vw, 5.75rem);
  --t-h2: clamp(2rem, 1.2rem + 2.6vw, 3.6rem);
  --t-h3: clamp(1.35rem, 1.1rem + .7vw, 1.75rem);
  --t-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);

  /* space and shape */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --r: 4px; --r-btn: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* the names the kit's motion and moment layers read */
  --bg: var(--ground); --card: var(--surface); --action: var(--brand); --action-ink: var(--brand-ink); --accent: var(--brand-glow);
  color-scheme: dark;

  /* sample kit (customiser, chat) themed from the palette */
  --kit-accent: var(--brand); --kit-accent-ink: var(--brand-ink); --kit-surface: var(--surface); --kit-ink: var(--ink); --kit-muted: var(--muted); --kit-line: var(--line-strong); --kit-radius: 4px; --kit-font: var(--font-text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 2px; }
/* the skip link: the header's first stop for Tab, invisible until focused, then shown over the wordmark */
.skip { position: absolute; left: 0; top: 50%; z-index: 2; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: 44px; padding: 0 18px; clip-path: none; transform: translateY(-50%); display: inline-flex; align-items: center; background: var(--brand); color: var(--brand-ink); border-radius: var(--r-btn); font-weight: 600; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the container is its own box (no padding), so its edges are the content lines left and right */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; position: relative; }
.eyebrow { font: 600 .875rem/1.3 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-glow); }
.muted { color: var(--muted); }
.lead { font-size: var(--t-lead); color: var(--muted); max-width: 40ch; }

/* every section is one screen (the fixed header lies over its top padding): content starts under the
   header, and a section with more than a screen of models grows rather than overlap the next */
.screen { min-height: 100svh; padding-block: calc(var(--header-h) + clamp(32px, 6vh, 48px)) 72px; display: flex; flex-direction: column; }
.screen > .wrap { flex: 1; display: flex; flex-direction: column; }
.section-head { display: grid; gap: var(--s-4); margin-bottom: clamp(32px, 5vh, 56px); max-width: 52rem; }
.section-head h2 { font-size: var(--t-h2); }
.band { background: var(--surface); }

/* ---------------------------------------------------------------- buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent; font: 600 .98rem/1 var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 0 transparent, 0 10px 40px -12px color-mix(in oklab, var(--brand) 70%, transparent); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--line-strong), var(--line-strong)); background-repeat: no-repeat; background-position: 0 calc(100% - 10px); background-size: 0% 1px, 100% 1px; }

/* ---------------------------------------------------------------- header */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: color-mix(in oklab, var(--ground) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav > .wrap { height: 100%; display: flex; align-items: center; gap: var(--s-6); }
.wordmark { min-width: 0; flex: 0 1 auto; display: inline-flex; align-items: baseline; gap: 5px; min-height: 44px; font: 500 1.35rem/1 var(--font-display); letter-spacing: -.01em; text-decoration: none; color: var(--ink); max-width: 22ch; }
.wordmark__dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--brand-glow); box-shadow: 0 0 12px 2px color-mix(in oklab, var(--brand) 80%, transparent); }
.wordmark__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__links { display: flex; gap: var(--s-6); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-weight: 500; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
.nav__cta { flex: none; }
.nav__toggle { flex: none; display: none; margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 .95rem var(--font-text); cursor: pointer; }
@media (max-width: 899px) {
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__cta { display: none; }
  .nav__links { display: none; position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; gap: 0; padding: var(--s-6) var(--gutter); background: var(--ground); overflow-y: auto; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { min-height: 64px; width: 100%; font: 500 1.8rem/1 var(--font-display); color: var(--ink); }
  .nav__links a[aria-current="page"] { box-shadow: none; color: var(--brand-glow); }
}

/* ---------------------------------------------------------------- photographs at night */
/* every photograph frame gets firelight: a warm shade from below and a charcoal fall-off at the edges,
   so daylight pictures sit in the dark page instead of punching holes in it */
.fire { position: relative; overflow: clip; background: var(--surface-2); }
.fire > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) brightness(.86) contrast(1.04); }
.fire::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 115%, color-mix(in oklab, var(--brand) 30%, transparent), transparent 60%),
              linear-gradient(to top, color-mix(in oklab, var(--ground) 70%, transparent), transparent 55%); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; padding-top: var(--header-h); display: flex; align-items: flex-end; isolation: isolate; overflow: clip; }
/* the photograph is the section's background layer; its firelight is the section's own ::after over it */
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; filter: saturate(.92) brightness(.86) contrast(1.04); }
.hero > .wrap { z-index: 1; }
.hero:has(> .hero__bg)::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  linear-gradient(90deg, color-mix(in oklab, var(--ground) 88%, transparent) 0%, color-mix(in oklab, var(--ground) 50%, transparent) 45%, transparent 75%),
  linear-gradient(to top, var(--ground) 0%, color-mix(in oklab, var(--ground) 40%, transparent) 35%, transparent 60%),
  radial-gradient(80% 60% at 20% 110%, color-mix(in oklab, var(--brand) 38%, transparent), transparent 70%); }
.hero__body { padding-block: clamp(48px, 10vh, 120px); display: grid; gap: var(--s-5); }
.hero__body > :not(h1) { max-width: 44rem; }
.hero h1 .l { display: block; }
.hero h1 { font-size: var(--t-hero); line-height: .98; }
.hero h1 em, .glow { font-style: italic; color: var(--brand-glow); text-shadow: 0 0 42px color-mix(in oklab, var(--brand) 55%, transparent); }
.hero .lead { color: color-mix(in oklab, var(--ink) 82%, transparent); }
/* the trust facts: one quiet line, an ember dot between them */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); padding: 0; margin: 0; list-style: none; }
.chips li { font-size: .95rem; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: var(--s-4); }
.chips li:not(:last-child)::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-glow); }
.chips:not(:has(li)) { display: none; }

/* ---------------------------------------------------------------- categories: one cinematic strip */
.strip { flex: 1 1 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s-3); min-height: 0; }
.strip__item { position: relative; display: flex; align-items: flex-end; min-height: 280px; text-decoration: none; color: var(--ink); border-radius: var(--r); }
.strip__item > .fire { position: absolute; inset: 0; border-radius: var(--r); }
.strip__item > .fire > img { position: absolute; inset: 0; }
.strip__label { position: relative; z-index: 1; padding: var(--s-5); display: grid; gap: 6px; }
.strip__label h3 { font-size: var(--t-h3); }
.strip__label span { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- models: a price list by firelight */
.carte { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: model; }
.carte__row { counter-increment: model; border-bottom: 1px solid var(--line); }
.carte__link { display: grid; grid-template-columns: 3.2rem 132px minmax(0, 1fr) auto; align-items: center; gap: var(--s-5); padding: var(--s-4) 0; text-decoration: none; color: inherit; }
.carte__link::before { content: counter(model, decimal-leading-zero); font: italic 500 1.05rem/1 var(--font-display); color: var(--brand-glow); }
.carte__thumb { width: 132px; aspect-ratio: 4 / 3; border-radius: var(--r); }
.carte__name { display: grid; gap: 4px; min-width: 0; }
.carte__name h3 { font-size: var(--t-h3); overflow-wrap: anywhere; }
.carte__name span { color: var(--muted); font-size: .95rem; }
.price { font-variant-numeric: tabular-nums lining-nums; font-weight: 600; color: var(--brand-glow); white-space: nowrap; text-align: right; }
.price--ask { color: var(--muted); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .carte__link:hover h3 { color: var(--brand-glow); } }
@media (max-width: 720px) {
  .carte__link { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "thumb name" "thumb price"; row-gap: 6px; }
  .carte__link::before { display: none; }
  .carte__thumb { grid-area: thumb; width: 96px; }
  .carte__name { grid-area: name; }
  .price { grid-area: price; text-align: left; }
}

/* ---------------------------------------------------------------- statement (word-highlight) */
.statement { justify-content: center; }
.statement .wrap { justify-content: center; gap: var(--s-6); }
.statement__text { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.16; max-width: 30ch; }

/* the close (in the footer): the town set large */
.close__town { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(3.2rem, 1rem + 8vw, 8.5rem); line-height: .95; letter-spacing: -.03em; color: var(--brand-glow); text-shadow: 0 0 60px color-mix(in oklab, var(--brand) 45%, transparent); overflow-wrap: anywhere; }
.close__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-6); }
.close__row h2 { font-size: var(--t-h2); max-width: 16ch; }

/* ---------------------------------------------------------------- inner pages */
/* splits sit on a 12-column grid (5 + 7, or 6 + 6), the text column keeps its own air on the right */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s-6); align-items: start; flex: 1; }
.split > :first-child { grid-column: span 5; padding-right: clamp(0px, 3vw, 48px); }
.split > :last-child:not(:first-child) { grid-column: span 7; }
.split--even > :first-child, .split--even > :last-child:not(:first-child) { grid-column: span 6; }
.split > .fill-frame { align-self: stretch; min-height: 420px; }
.fill-frame { margin: 0; }
.frame { border-radius: var(--r); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* range page: one block per category */
.cat { scroll-margin-top: var(--header-h); }
.cat .split { align-items: stretch; }
.cat__media { min-height: 420px; }
.cat__media > img { position: absolute; inset: 0; }
.cat__side { display: grid; align-content: start; gap: var(--s-5); }
.cat__side h2 { font-size: var(--t-h2); }
.models { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.model { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.model__thumb { aspect-ratio: 1; border-radius: var(--r); }
.model__body { display: grid; gap: 6px; align-content: start; }
.model__body h3 { font-size: var(--t-h3); overflow-wrap: anywhere; }
.model__body p { color: var(--muted); }
.model__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); }
.model__foot .price { text-align: left; }
.jump { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0; margin: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; background: color-mix(in oklab, var(--ground) 50%, transparent); }
.jump a:hover { border-color: var(--brand); color: var(--brand-glow); }

/* range hero: every category photograph side by side, one frame */
.hero__bg--strip { display: flex; gap: 2px; }
.hero__bg--strip > .fire { flex: 1; min-width: 0; }
.hero__bg--strip > .fire::after { display: none; }

/* about: the promises as a numbered list */
.promises { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; }
.promises li { counter-increment: p; display: grid; grid-template-columns: 4rem 1fr; gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--line); font: 400 var(--t-h3)/1.3 var(--font-display); }
.promises li::before { content: counter(p, decimal-leading-zero); font-style: italic; color: var(--brand-glow); }
.promises:not(:has(li)) { display: none; }
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 10rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts dd.cap::first-letter { text-transform: uppercase; }
/* the gallery takes what the screen leaves under its heading: its rows share that height equally */
.gallery { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: var(--s-3); }
.gallery > .fire { border-radius: var(--r); }
section:has(> .wrap > .gallery:not(:has(img))) { display: none; }

/* faq: every answer open */
.qa { margin: 0; border-top: 1px solid var(--line); }
.qa > div { padding: var(--s-6) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-3); }
.qa dt { font: 500 var(--t-h3)/1.25 var(--font-display); }
.qa dd { margin: 0; color: var(--muted); max-width: 62ch; }
.qa:not(:has(dt)) { display: none; }

/* contact */
.reach { display: grid; gap: var(--s-2); }
.reach a { font: 400 clamp(1.6rem, 1rem + 2.4vw, 3rem)/1.1 var(--font-display); text-decoration: none; color: var(--ink); overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.reach a:hover { color: var(--brand-glow); }
.reach small { color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-8) var(--s-6); background: var(--ground); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-7); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.footer ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.footer__about p { color: var(--muted); max-width: 36ch; margin-top: var(--s-3); }
.footer__notice { margin-top: 0; padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 899px) {
  .split > :first-child, .split > :last-child:not(:first-child), .split--even > :first-child, .split--even > :last-child:not(:first-child) { grid-column: 1 / -1; padding-right: 0; }
  .split > .fill-frame { min-height: 0; aspect-ratio: 4 / 3; }
  .sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
}
@media (max-width: 599px) {
  :root { --header-h: 64px; }
  .btn-row .btn { width: 100%; }
  .strip { grid-template-columns: 1fr; }
  .strip__item { min-height: 240px; }
  .hero__bg--strip { flex-direction: column; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .promises li { grid-template-columns: 2.6rem 1fr; }
  .model { grid-template-columns: 80px minmax(0, 1fr); }
  .gallery { flex: none; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .close__row .btn-row { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.after-list { margin-top: var(--s-6); }

/* faq: the hero holds the page; the questions scroll beside the title */
.hero--page { align-items: flex-start; }
.hero--page .split { padding-block: clamp(48px, 10vh, 120px); }
.hero--page .hero__body { padding-block: 0; }
.hero__list { display: grid; gap: var(--s-5); }
.qa-empty { display: grid; gap: var(--s-4); }
.reach + .facts { margin-top: var(--s-3); }

/* models: two columns of the list on a wide screen, so seven models still fit one screen */
@media (min-width: 1100px) {
  .carte { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-8); border-top: 0; }
  .carte__row:nth-child(-n + 2) { border-top: 1px solid var(--line); }
  .carte__link { grid-template-columns: 2.4rem 112px minmax(0, 1fr) auto; gap: var(--s-4); }
  .carte__thumb { width: 112px; }
}
.model { padding: var(--s-4) 0; grid-template-columns: 96px minmax(0, 1fr); }

/* phone hero: the photograph above, the words on the ground below, so text never sits on a busy picture */
@media (max-width: 599px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero__bg { position: relative; inset: auto; height: 32svh; flex: none; }
  .hero:has(> .hero__bg)::after { bottom: auto; height: 32svh; top: var(--header-h); }
  .hero__bg--strip { flex-direction: row; }
  .hero .hero__body { padding-block: var(--s-5) var(--s-6); gap: var(--s-4); }
  .hero--page .split { padding-block: var(--s-6); }
}

/* the closing screen: the town set large, the main action, then the links (one footer, one screen) */
.closing { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; position: relative; isolation: isolate; overflow: clip; padding-block: calc(var(--header-h) + 32px) 72px; border-top: 1px solid var(--line); }
.closing::before { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 80%; z-index: -1; background: radial-gradient(50% 50% at 50% 100%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 70%); }
.closing > .wrap { flex: 1; display: grid; align-content: space-between; gap: clamp(32px, 6vh, 64px); }
.closing__cta { display: grid; gap: var(--s-6); }
.closing__links { display: grid; gap: var(--s-6); }

/* a long company name wraps to two lines on a phone instead of losing its end */
@media (max-width: 599px) {
  .nav .wordmark { font-size: 1.1rem; line-height: 1.1; }
  .nav .wordmark__name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* below a desktop the category strip stops sharing one screen's height: each row of photographs keeps its own, and the section grows */
@media (max-width: 899px) {
  .strip { flex: none; grid-auto-rows: 260px; }
  .strip__item { min-height: 0; }
}
@media (max-width: 599px) { .strip { grid-auto-rows: 200px; } }

/* the SAMPLE bar (~40px, fixed at the bottom, added at build) must never hide the end of a page */
body { padding-bottom: 48px; }
.nav__chat { min-height: 44px; padding: 0 18px; font-size: .92rem; }
@media (max-width: 1099px) { .nav__chat { display: none; } }
.ask { min-height: 0; }

/* sections that hold a short list or the 3D stage size to their content instead of filling a screen */
.band, .screen.band { min-height: 0; }
/* 320px: long email buttons wrap inside the column instead of pushing the page wide */
.closing__cta, .close__row, .closing__links { min-width: 0; }
.close__row .btn, .reach a { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 599px) { .close__row h2 { max-width: none; } }
.close__row .btn { text-align: center; }

/* build: the 3D customiser's invitation, one full screen, in the hero's own language (photograph as a layer, charcoal and
   amber firelight over it). The left-weighted scrim keeps the text over the dark side of the picture at 4.5:1 or better. */
.build { position: relative; isolation: isolate; display: flex; align-items: center; min-block-size: 100vh; min-block-size: 100svh; padding-block: calc(var(--header-h) + var(--s-7)) var(--s-9); overflow: clip; }
.build__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: saturate(.92) brightness(.8) contrast(1.04); }
.build::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, color-mix(in oklab, var(--ground) 92%, transparent) 0%, color-mix(in oklab, var(--ground) 70%, transparent) 50%, color-mix(in oklab, var(--ground) 35%, transparent) 100%),
  linear-gradient(to top, var(--ground) 0%, transparent 40%),
  radial-gradient(80% 60% at 20% 110%, color-mix(in oklab, var(--brand) 32%, transparent), transparent 70%); }
.build__body { display: grid; gap: var(--s-5); justify-items: start; }
.build__body > :not(h2) { max-width: 44rem; }
.build h2 { font-size: var(--t-hero); line-height: 1; }
.build h2 em { font-style: italic; color: var(--brand-glow); text-shadow: 0 0 42px color-mix(in oklab, var(--brand) 55%, transparent); }
.build .lead { color: var(--ink); opacity: .92; }
.build .btn-row { margin-top: var(--s-3); }
/* entrance: one soft rise, staggered, when the block scrolls in (ember.js adds .is-in); never hidden without script or with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html.mo-js .build:not(.is-in) .build__body > * { opacity: 0; transform: translateY(18px); }
  html.mo-js .build .build__body > * { transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.mo-js .build .build__body > :nth-child(2) { transition-delay: .08s; }
  html.mo-js .build .build__body > :nth-child(3) { transition-delay: .16s; }
  html.mo-js .build .build__body > :nth-child(4) { transition-delay: .24s; }
}
/* Phones: each clause of the invitation headline on one line (headline rule: break only where the sentence breaks). */
@media (max-width: 600px) { .build h2 { font-size: min(var(--t-hero), 8.4vw); } }
