/* BuyOrr
   Shares its ink, paper, type and oval with Orr Foods. Everything else is its own. */

@font-face { font-family: 'Besley'; src: url(/assets/fonts/besley.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Besley'; src: url(/assets/fonts/besley-italic.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Chivo'; src: url(/assets/fonts/chivo.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F8F3EA;
  --paper-2: #EFE7DA;
  --paper-3: #E7DCCA;
  --white: #FDFBF6;
  --ink: #3B1730;
  --ink-deep: #2A0F22;
  --ink-soft: rgba(59, 23, 48, .74);
  --rule: rgba(59, 23, 48, .16);
  --rule-inv: rgba(248, 243, 234, .2);
  --paper-soft: rgba(248, 243, 234, .76);
  --rhubarb: #EAB8AE;
  --error: #8A1C2C;

  --t-pool: #EAB8AE;
  --t-table: #DAD6CE;
  --t-search: #D3D7A8;
  --t-review: #F2E2BB;

  --display: 'Besley', 'Clarendon', Georgia, serif;
  --text: 'Chivo', 'Helvetica Neue', Arial, sans-serif;

  --gut: clamp(20px, 4.2vw, 64px);
  --gap: clamp(16px, 1.8vw, 28px);
  --sec: clamp(72px, 9.5vw, 152px);
  --max: 1440px;
  --mast-h: 84px;

  --ease: cubic-bezier(.62, .02, .18, 1);
  --ease-out: cubic-bezier(.25, .6, .1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mast-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
p, dd, li { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gut); top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 600 .9375rem/1 var(--display); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Type ---------- */

.h2 {
  font: 600 clamp(2.125rem, 4.5vw, 4.375rem)/1.02 var(--display);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.h3 {
  font: 600 clamp(1.75rem, 2.9vw, 2.75rem)/1.05 var(--display);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(18px, 2.2vw, 30px);
  font: italic 500 1.0625rem/1.2 var(--display);
}
.kicker::before {
  content: ""; flex: none; width: 22px; height: 14px;
  border: 1.25px solid currentColor; border-radius: 50%;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 600 .9375rem/1.1 var(--display); letter-spacing: -.005em;
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn:hover { background: var(--rhubarb); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .875rem; }

.link {
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font: 600 .9375rem/1.2 var(--display);
  text-decoration: none;
}
.link--quiet { border-bottom-color: var(--rule); }
.arr { flex: none; width: 24px; height: 12px; transition: transform .4s var(--ease); }
.link:hover .arr { transform: translateX(6px); }

/* ---------- Brand ---------- */

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.brand__mark { width: 43px; height: 26px; }
.brand__word { font-size: 1.625rem; line-height: 1; white-space: nowrap; }
.brand__buy { font-family: var(--text); font-weight: 400; letter-spacing: -.035em; }
.brand__orr { font-family: var(--display); font-weight: 850; letter-spacing: -.035em; }

/* ---------- Masthead ---------- */

.mast {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  transition: box-shadow .3s var(--ease-out);
}
.mast.is-stuck { box-shadow: 0 1px 0 var(--rule); }

.mast__in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; height: var(--mast-h);
}
.mast__nav { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.mast__nav a {
  position: relative; padding: 10px 0;
  font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.mast__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.mast__nav a:hover::after, .mast__nav a[aria-current="page"]::after { transform: scaleX(1); }

.mast__side { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2vw, 28px); }
.mast__tel { font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mast__tel:hover { text-decoration: underline; text-underline-offset: 4px; }

.mast__menu {
  display: none; padding: 10px 0; border: 0; background: none; cursor: pointer;
  font: italic 500 1.0625rem/1 var(--display);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}

/* ---------- Menu ---------- */

.deck {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: var(--ink); color: var(--paper);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s .35s;
}
.deck[hidden] { display: none; }
.deck.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.deck__in { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 32px; }
.deck__top { display: flex; align-items: center; justify-content: space-between; height: var(--mast-h); }
.deck .mast__menu { display: block; }
.deck__nav { margin-top: clamp(24px, 6vh, 56px); border-top: 1px solid var(--rule-inv); }
.deck__nav a {
  display: block; padding: 18px 0; border-bottom: 1px solid var(--rule-inv);
  font: 600 clamp(2rem, 9vw, 3rem)/1.05 var(--display); letter-spacing: -.03em; text-decoration: none;
}
.deck__nav a[aria-current="page"] { font-style: italic; }
.deck__foot { display: grid; gap: 8px; margin-top: auto; padding-top: 40px; }
.deck__foot a { text-decoration: none; font-size: 1.0625rem; }

/* ---------- Hero (home): full-screen film ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: max(640px, 100svh);
  background: var(--ink-deep); color: var(--paper);
}
.hero video {
  position: absolute; inset: 0; z-index: -4; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.hero.is-playing video { opacity: 1; }
/* The film keeps its own colour. It is darkened only where type sits: behind the headline and the masthead. */
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(24, 9, 19, .92), rgba(24, 9, 19, .46) 50%, rgba(24, 9, 19, .14) 76%, rgba(24, 9, 19, .5));
}

.hero__in { padding-block: calc(var(--mast-h) + 40px) clamp(40px, 4.6vw, 64px); }
.hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.hero__h {
  font: 600 clamp(2.75rem, 8.1vw, 7.5rem)/.96 var(--display);
  letter-spacing: -.04em;
}
.hero__h span { display: block; text-wrap: balance; }
.hero__pause {
  margin-bottom: .9em; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: italic 500 .9375rem/1 var(--display); color: var(--paper-soft);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .2s;
}
.hero__pause:hover { color: var(--paper); }

.hero__foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end; row-gap: 28px;
  margin-top: clamp(28px, 3.4vw, 48px); padding-top: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid var(--rule-inv);
}
.hero__lead { grid-column: 1 / 7; max-width: 37em; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.5; }
.hero__cta { grid-column: 8 / 13; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px 32px; }

.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--rhubarb); border-color: var(--rhubarb); }

/* Over the film the masthead is clear with paper type; past it, it is the usual one. */
.top-film .mast { position: fixed; left: 0; right: 0; transition: background-color .35s var(--ease-out), color .35s var(--ease-out), box-shadow .3s var(--ease-out); }
.top-film .mast:not(.is-past) { background: transparent; color: var(--paper); box-shadow: none; }
.top-film .mast.is-stuck:not(.is-past) { background: var(--ink-deep); }
.top-film .mast:not(.is-past) .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.top-film .mast:not(.is-past) .btn:hover { background: var(--rhubarb); border-color: var(--rhubarb); }

/* ---------- Bands ---------- */

.band { padding-block: var(--sec); }
.band--ink { --line: var(--rule-inv); background: var(--ink); color: var(--paper); }
.band--white { background: var(--white); }
.band--oat { background: var(--paper-2); }

.split {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px;
  align-items: end;
  margin-bottom: clamp(44px, 5.6vw, 88px);
}
.split > :first-child { grid-column: 1 / 8; }
.split__p { grid-column: 9 / 13; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-soft); }
.band--ink .split__p { color: var(--paper-soft); }

/* ---------- The price list (home) ---------- */

.pl { --pen: #8A1C2C; padding-block: var(--sec); background: var(--white); }
.pl__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; align-items: end; }
.pl__head .kicker { grid-column: 1 / -1; margin-bottom: 4px; }
.pl__h { grid-column: 1 / 8; font: 600 clamp(2rem, 4vw, 3.75rem)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.pl__p { grid-column: 9 / 13; font-size: clamp(1rem, 1.15vw, 1.0938rem); line-height: 1.5; color: var(--ink-soft); }

.pl__sheet { margin-top: clamp(48px, 6vw, 96px); }
.pl__cap {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink);
  font: italic 500 .9375rem/1.2 var(--display);
}
.pl__cap span:nth-child(2) { font-weight: 400; }
.pl__cap span:last-child { text-align: right; }

.pl__table { width: 100%; border-collapse: collapse; text-align: left; }
.pl__table thead th { padding: 14px 0 12px; border-bottom: 1px solid var(--ink); font-size: .8125rem; font-weight: 500; color: var(--ink-soft); }
.pl__table thead th:last-child, .pl__price { text-align: right; }
.pl__table tbody td, .pl__table tbody th {
  padding: clamp(20px, 2.5vw, 36px) 24px clamp(20px, 2.5vw, 36px) 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline; font-weight: 400;
}
.pl__table tbody tr:last-child > * { border-bottom: 2px solid var(--ink); }
.pl__table tbody td:last-child { padding-right: 0; }
.pl__no { width: 6%; font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.pl__table tbody .pl__name { width: 38%; font: 600 clamp(1.75rem, 3.7vw, 3.5rem)/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.pl__by, .pl__vol { font-size: clamp(.9688rem, 1.15vw, 1.0625rem); color: var(--ink-soft); }
.pl__by { width: 22%; }
.pl__price { position: relative; white-space: nowrap; }
.pl__amt { position: relative; display: inline-block; font-size: clamp(1.75rem, 3.7vw, 3.5rem); line-height: 1; }
.pl__price em {
  position: absolute; right: 0; top: calc(100% - clamp(20px, 2.5vw, 36px) + 8px);
  font: italic 400 .9375rem/1 var(--display); color: var(--ink-soft);
}
.is-ours .pl__price em { color: var(--pen); font-weight: 500; }

/* Price shown the way a guide shows it: more pound signs, more expensive */
.lb { font-family: var(--display); font-weight: 600; letter-spacing: .05em; white-space: nowrap; }
.lb b { font-weight: inherit; }
.lb i { font-style: normal; opacity: .2; }

/* The pen ring round the price worth having, drawn as the list comes into view */
.pl__ring { position: absolute; left: -.34em; top: -.3em; width: 1.36em; height: 1.5em; overflow: visible; }
.pl__ring path {
  fill: none; stroke: var(--pen); stroke-width: 2.25; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease) .7s;
}
.pl__sheet.is-in .pl__ring path, html:not(.js) .pl__ring path { stroke-dashoffset: 0; }
.pl__note { margin-top: 44px; font-size: .8125rem; color: var(--ink-soft); }

@media (max-width: 960px) {
  .pl__h, .pl__p { grid-column: 1 / -1; }
  .pl__p { max-width: 34em; }
}

/* Small screens: the table becomes a run of entries */
@media (max-width: 720px) {
  .pl__cap { grid-template-columns: 1fr auto; }
  .pl__cap span:nth-child(2) { display: none; }
  .pl__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pl__table, .pl__table tbody { display: block; }
  .pl__table tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding-block: 20px 22px; border-bottom: 1px solid var(--rule); }
  .pl__table tbody tr:last-child { border-bottom: 2px solid var(--ink); }
  .pl__table tbody td, .pl__table tbody th, .pl__table tbody tr:last-child > * { padding: 0; width: auto; border-bottom: 0; }
  .pl__no { display: none; }
  .pl__table tbody .pl__name { grid-column: 1; grid-row: 1; width: auto; font-size: clamp(1.75rem, 8.4vw, 2.5rem); }
  .pl__price { grid-column: 2; grid-row: 1; }
  .pl__amt { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .pl__by { grid-column: 1 / -1; margin-top: 12px; }
  .pl__vol { grid-column: 1 / -1; margin-top: 2px; }
  .pl__price em { top: calc(100% + 42px); white-space: nowrap; }
}

/* ---------- Oval numerals ---------- */

.num {
  display: inline-grid; place-items: center; flex: none;
  width: 54px; height: 34px; border-radius: 50%;
  background: var(--tint, var(--rhubarb));
  font: 500 .8125rem/1 var(--text); font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.num--line { background: none; border: 1.25px solid currentColor; }

/* ---------- Desks (services list) ---------- */

.desks { border-top: 1px solid var(--ink); }
.desk {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center;
  padding-block: clamp(22px, 2.8vw, 40px);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.desk::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 calc(var(--gut) * -.5);
  background: var(--tint); opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.desk:hover::before, .desk:focus-visible::before { opacity: 1; }
.desk .num { grid-column: 1; }
.desk__name {
  grid-column: 2 / 8;
  font: 600 clamp(2.25rem, 5.5vw, 5.25rem)/1 var(--display); letter-spacing: -.04em;
  transition: transform .5s var(--ease);
}
.desk:hover .desk__name { transform: translateX(10px); }
.desk__what { grid-column: 8 / 12; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.desk__what em { display: block; margin-bottom: 6px; font: italic 500 1.125rem/1.2 var(--display); color: var(--ink); }
.desk__go {
  grid-column: 12; justify-self: end;
  display: grid; place-items: center;
  width: 62px; height: 39px; border: 1.25px solid var(--ink); border-radius: 50%;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.desk:hover .desk__go { background: var(--ink); color: var(--paper); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gap); }
.step { padding-top: 20px; border-top: 1px solid var(--ink); }
.step__h { margin: clamp(28px, 3.4vw, 52px) 0 12px; min-height: 2.24em; font: 600 1.375rem/1.12 var(--display); letter-spacing: -.02em; }
.step p { font-size: .9688rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Categories ---------- */

.cats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 104px);
  border-top: 1px solid var(--ink);
}
.cat {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 2px 8px;
  height: 100%; padding-block: 22px; border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.cat__n { grid-row: 1 / 3; font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.cat__name {
  font: 600 clamp(1.25rem, 1.75vw, 1.5625rem)/1.15 var(--display); letter-spacing: -.02em;
  transition: transform .45s var(--ease);
}
.cat:hover .cat__name { transform: translateX(8px); }
.cat__eg { font-size: .9375rem; color: var(--ink-soft); }
.cats__more { margin-top: clamp(28px, 3vw, 44px); font: italic 400 1.125rem/1.4 var(--display); }
.cats__more a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Who it is for: the board (home) ---------- */

.bd { padding-block: var(--sec); background: var(--ink-deep); color: var(--paper); }
.bd__head { margin-bottom: clamp(36px, 4.6vw, 68px); }
.bd__h { max-width: 17em; font: 600 clamp(1.875rem, 3.9vw, 3.625rem)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }

.bd__board { padding: clamp(14px, 2vw, 30px); border-radius: 12px; background: #1B0915; box-shadow: inset 0 0 0 1px rgba(248, 243, 234, .1); }
/* Every letter sits in its own cell: 20 for the name, 22 for what they buy, 8 for the status, 2 gaps */
.bd__grid { --n: 52; container-type: inline-size; }
.bd__cap, .bd__rows li { display: flex; --cell: calc(100cqw / var(--n)); }
.bd__cap { margin-bottom: calc(100cqw / var(--n) * .5); font: italic 400 clamp(.75rem, 1.05vw, .9375rem)/1 var(--display); color: var(--paper-soft); }
.bd__cap span:nth-child(1) { width: calc(var(--cell) * 21); }
.bd__cap span:nth-child(2) { width: calc(var(--cell) * 23); }
.bd__rows li { margin-bottom: calc(var(--cell) * .3); }
.bd__f { display: flex; flex: none; }
.bd__f--name, .bd__f--buys { margin-right: var(--cell); }
.bd__f--buys { color: var(--paper-soft); }
.bd__f--st { color: var(--rhubarb); }
.bd__f--st.is-priced { color: #D3D7A8; }
.fc {
  position: relative; display: grid; place-items: center; flex: none;
  width: calc(var(--cell) - 2px); height: calc(var(--cell) * 1.6); margin-right: 2px;
  border-radius: 2px; background: rgba(248, 243, 234, .075);
  font: 600 calc(var(--cell) * .9)/1 var(--text); text-transform: uppercase;
}
.fc::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1px; background: #1B0915; }

/* Small screens: the board keeps only the names, so the letters stay a readable size */
@media (max-width: 720px) {
  .bd__grid { --n: 20; }
  .bd__f--buys, .bd__f--st, .bd__cap span:nth-child(n + 2) { display: none; }
  .bd__f--name { margin-right: 0; }
}

/* ---------- Who it is for, and the house ---------- */

.who__list {
  max-width: 21em;
  font: 500 clamp(1.75rem, 3.7vw, 3.5rem)/1.12 var(--display); letter-spacing: -.03em;
}
.who__p { max-width: 30em; margin-top: clamp(24px, 2.6vw, 36px); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-soft); }

.house {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px;
  align-items: center;
  margin-top: var(--sec); padding-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--rule);
}
.house--flush { margin-top: 0; padding-top: 0; border-top: 0; }
.venn { grid-column: 1 / 7; width: 100%; height: auto; overflow: visible; }
.venn text { fill: currentColor; }
.venn .venn__side { font: 400 46px/1 var(--text); letter-spacing: -.035em; }
.venn .venn__mid { font: 850 62px/1 var(--display); letter-spacing: -.035em; fill: var(--paper); }
.house__copy { grid-column: 8 / 13; }
.house__copy p:not(.kicker) { margin-top: 20px; color: var(--ink-soft); }
.house__copy .house__links { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 32px; color: var(--ink); }

/* ---------- The ask (form band) ---------- */

.ask { padding-block: var(--sec); background: var(--rhubarb); }
.ask__in {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px;
  align-items: start;
}
.ask__copy { grid-column: 1 / 7; }
.ask__p { max-width: 31em; margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); }
.ask__tel { margin-top: 24px; font-size: .9375rem; }
.ask__tel a { font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.ask .form { grid-column: 8 / 13; }

/* ---------- Forms ---------- */

.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.field { display: block; margin-bottom: 26px; }
.field__lab { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 500; }
.field__lab i { font: italic 400 .8125rem var(--display); opacity: .8; }
.field input, .field textarea, .field select {
  display: block; width: 100%;
  padding: 8px 0 10px;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent;
  font: 400 1.0625rem/1.4 var(--text); color: var(--ink);
  appearance: none; -webkit-appearance: none;
  transition: box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233B1730' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(59, 23, 48, .5); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; box-shadow: 0 1px 0 var(--ink); }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field__err { display: block; margin-top: 7px; font-size: .8125rem; font-weight: 500; color: var(--error); }

/* Oval tick boxes */
.tick {
  flex: none; width: 28px; height: 18px;
  border: 1.25px solid var(--ink); border-radius: 50%;
  transition: background-color .25s var(--ease-out);
}
input:checked + .tick { background: var(--ink); }
input:focus-visible + .tick { outline: 2px solid var(--ink); outline-offset: 3px; }

.choices { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 12px; font-size: .8125rem; font-weight: 500; }
.choices legend i { font: italic 400 .8125rem var(--display); opacity: .8; }
.choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gap); }
.choice { display: flex; align-items: center; gap: 12px; font-size: 1rem; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.form__note { flex: 1 1 14em; max-width: 24em; font-size: .8125rem; line-height: 1.45; }
.form__note a { text-underline-offset: 3px; }

/* ---------- Page tops ---------- */

.top { padding-block: clamp(48px, 6.6vw, 104px) clamp(56px, 6.6vw, 104px); }
.top__h {
  font: 600 clamp(2.75rem, 7.6vw, 7.25rem)/.96 var(--display);
  letter-spacing: -.04em; text-wrap: balance;
}
.top__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px;
  align-items: end;
  margin-top: clamp(32px, 4.4vw, 68px);
}
.top__lead { grid-column: 7 / 13; font-size: clamp(1.125rem, 1.55vw, 1.4375rem); line-height: 1.42; }
.top__aside { grid-column: 1 / 6; }

.jump { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px 0 6px;
  border: 1px solid var(--rule); border-radius: 999px;
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: border-color .25s;
}
.jump a:hover { border-color: var(--ink); }
.jump .num { width: 44px; height: 30px; }

/* ---------- Service sections ---------- */

.svc { padding-block: clamp(56px, 7.4vw, 120px); border-top: 1px solid var(--rule); }
.svc__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; align-items: start; }
.svc__head {
  grid-column: 1 / 6; position: sticky; top: calc(var(--mast-h) + 32px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1.579; border-radius: 50%;
  background: var(--tint); text-align: center;
}
.svc__head .num { background: none; border: 1.25px solid currentColor; }
.svc__name {
  margin-top: clamp(10px, 1.2vw, 18px);
  font: 600 clamp(2.5rem, 5vw, 4.75rem)/1 var(--display); letter-spacing: -.04em;
}
.svc__what { margin-top: 10px; font: italic 500 clamp(1.0625rem, 1.5vw, 1.375rem)/1.2 var(--display); }
.svc__body { grid-column: 7 / 13; }
.svc__lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; }
.svc__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap);
  margin: clamp(32px, 3.6vw, 52px) 0 clamp(28px, 3vw, 44px);
}
.svc__list div { padding: 18px 0 24px; border-top: 1px solid var(--ink); }
.svc__list dt { font: 600 1.1875rem/1.2 var(--display); letter-spacing: -.015em; }
.svc__list dd { margin-top: 8px; font-size: .9688rem; color: var(--ink-soft); }

/* ---------- Four-up notes (principles, checks) ---------- */

.notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.note { padding-top: 20px; border-top: 1px solid currentColor; }
.note__h { margin: clamp(28px, 3.4vw, 52px) 0 12px; font: 600 1.375rem/1.12 var(--display); letter-spacing: -.02em; }
.note p { font-size: .9688rem; color: var(--ink-soft); }
.band--ink .note p { color: var(--paper-soft); }

/* ---------- Category blocks ---------- */

.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 104px); }
.block { padding: 24px 0 clamp(36px, 4vw, 56px); border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--mast-h) + 24px); }
.block__h { margin-top: clamp(20px, 2.4vw, 32px); font: 600 clamp(1.5rem, 2.4vw, 2.125rem)/1.08 var(--display); letter-spacing: -.025em; }
.block ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 18px; }
.block li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .9688rem; color: var(--ink-soft); }

/* ---------- Statement (about) ---------- */

.say { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.say__big {
  grid-column: 1 / 9;
  font: 500 clamp(1.625rem, 3.2vw, 3rem)/1.14 var(--display); letter-spacing: -.028em;
}
.say__body { grid-column: 7 / 13; display: grid; gap: 1.1em; margin-top: clamp(16px, 2.4vw, 40px); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-soft); }
.band--ink .say__body { color: var(--paper-soft); }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; padding-bottom: var(--sec); }
.contact .form { grid-column: 1 / 8; padding-top: 28px; border-top: 1px solid var(--ink); }
.contact__side { grid-column: 9 / 13; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: italic 500 1rem/1.5 var(--display); }
.facts dd a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.facts dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.next { margin-top: clamp(36px, 4vw, 56px); }
.next__h { font: italic 500 1.0625rem/1.2 var(--display); }
.next ol { margin-top: 16px; counter-reset: n; border-top: 1px solid var(--rule); }
.next li { counter-increment: n; display: grid; grid-template-columns: 2em 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .9688rem; color: var(--ink-soft); }
.next li::before { content: counter(n); font: 600 1rem/1.5 var(--display); color: var(--ink); }
.next li b { display: block; font-weight: 600; color: var(--ink); }

/* ---------- Prose (privacy, simple pages) ---------- */

.prose { max-width: 44em; padding-bottom: var(--sec); }
.prose h2 { margin: 2.2em 0 .6em; font: 600 1.5rem/1.15 var(--display); letter-spacing: -.02em; }
.prose p, .prose ul { margin-bottom: 1em; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ink); text-underline-offset: 3px; }

.plain { padding-block: clamp(64px, 10vw, 160px) var(--sec); }
.plain__p { max-width: 30em; margin: clamp(24px, 3vw, 40px) 0 clamp(32px, 3.6vw, 48px); font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; }
.plain__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* ---------- Footer ---------- */

.end { padding-top: clamp(56px, 7vw, 104px); background: var(--ink-deep); color: var(--paper); overflow: hidden; }
.end__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 44px; }
.end__lead { grid-column: 1 / 6; }
.end__line { max-width: 19em; font: 500 clamp(1.25rem, 1.9vw, 1.75rem)/1.2 var(--display); letter-spacing: -.02em; }
.end__family { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font-size: .9375rem; text-decoration: none; color: var(--paper-soft); }
.end__family u { color: var(--paper); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.end__seal {
  display: grid; place-items: center; width: 58px; height: 37px;
  border: 1.25px solid var(--paper); border-radius: 50%;
  font: 850 1rem/1 var(--display); letter-spacing: -.02em; color: var(--paper);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.end__family:hover .end__seal { background: var(--paper); color: var(--ink-deep); }
.end__col { grid-column: span 2; }
.end__col:nth-child(2) { grid-column: 7 / 9; }
.end__col:last-child { grid-column: 11 / 13; }
.end__h { margin-bottom: 18px; font: italic 500 1rem/1.2 var(--display); }
.end__col li { margin-bottom: 11px; font-size: .9375rem; line-height: 1.35; }
.end__col a { text-decoration: none; overflow-wrap: anywhere; }
.end__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.end__col a span { display: block; font-size: .8125rem; color: var(--paper-soft); }
.end > .wrap { container-type: inline-size; }
.end__word {
  margin: clamp(48px, 7vw, 104px) 0 0 -.012em;
  font-size: 24vw; font-size: 26.5cqw; line-height: .8; white-space: nowrap;
  user-select: none;
}
.end__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(28px, 3.4vw, 48px); padding-block: 22px 26px;
  border-top: 1px solid var(--rule-inv);
  font-size: .8125rem; color: var(--paper-soft);
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .end__lead { grid-column: 1 / 13; }
  .end__col, .end__col:nth-child(2), .end__col:last-child { grid-column: span 4; }
}

@media (max-width: 960px) {
  :root { --mast-h: 68px; }
  .mast__in { grid-template-columns: 1fr auto; }
  .mast__nav, .mast__tel, .mast__side .btn { display: none; }
  .mast__menu { display: block; }

  .hero__lead, .hero__cta { grid-column: 1 / -1; }
  .hero__cta { justify-content: flex-start; }

  .split > :first-child, .split__p { grid-column: 1 / -1; }
  .split__p { max-width: 34em; }


  .desk { grid-template-columns: auto 1fr auto; column-gap: 16px; row-gap: 12px; }
  .desk .num { grid-column: 1; grid-row: 1; }
  .desk__name { grid-column: 2; grid-row: 1; }
  .desk__go { grid-column: 3; grid-row: 1; }
  .desk__what { grid-column: 2 / 4; grid-row: 2; max-width: 34em; }

  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .venn, .house__copy { grid-column: 1 / -1; }
  .venn { max-width: 560px; }

  .ask__copy, .ask .form { grid-column: 1 / -1; }
  .ask .form { max-width: 640px; }

  .top__lead, .top__aside { grid-column: 1 / -1; }
  .top__lead { max-width: 30em; }
  .top__aside { order: 2; }

  .svc__head, .svc__body { grid-column: 1 / -1; }
  .svc__head { position: static; max-width: 520px; }

  .say__big, .say__body { grid-column: 1 / -1; }
  .say__body { max-width: 36em; }

  .contact .form, .contact__side { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 70px 1fr; column-gap: 8px; padding-block: 20px 24px; }
  .step .num { grid-row: 1 / 3; }
  .step__h { margin: 4px 0 8px; min-height: 0; }
  .cats, .blocks { grid-template-columns: 1fr; }
  .end__col, .end__col:nth-child(2), .end__col:last-child { grid-column: span 6; }
  .end__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .brand__word { font-size: 1.4375rem; }
  .brand__mark { width: 38px; height: 23px; }
  .hero__cta .btn { width: 100%; }
  .form__pair, .choices__grid, .svc__list, .block ul { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; gap: 0; }
  .note { display: grid; grid-template-columns: 70px 1fr; column-gap: 8px; padding-block: 20px 24px; }
  .note .num { grid-row: 1 / 3; }
  .note__h { margin: 4px 0 8px; }
  .desk .num { display: none; }
  .desk__name, .desk__what { grid-column: 1 / 3; }
  .desk__what { grid-column: 1 / 4; }
  .desk__go { width: 52px; height: 33px; }
  .book__v--tier { font-size: 1.25rem; line-height: 1.4; }
  .book__foot { flex-direction: column; align-items: flex-start; }
  .book__foot p { text-align: left; }
  .form__end .btn { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
