/* Accounts automation by Afterclose: the public site (#389, redesigned in #406).
   Deep-green hero, cream body, one 1160px column on an 8px rhythm.
   Type: Instrument Sans (display and body), Instrument Serif (the quote only),
   JetBrains Mono (identifiers and the statement-check panel). Phone first
   below 760px. */

:root {
  --paper: #f4f0e6;
  --ink: #263b32;
  --muted: #596358;
  --muted-2: #4c564d;
  --green: #2d493d;
  --deep: #1f332b;
  --light: #f5f1e6;
  --sage: #c5d0ba;
  --sage-2: #b3c2a8;
  --sage-dim: #a9b9a0;
  --node: #faf8f1;
  --line: #c8cabe;
  --hair: #e3e0d3;
  --shell: #ebe8dc;
  --shell-hair: #d2cfc1;
  --accent: #d8b36b;
  --hair-dark: rgba(245, 241, 230, .10);
  --text-on-dark: #f5f1e6;
  --sub-on-dark: #b7c4ad;

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-btn: 8px;
  --r-panel: 12px;
  --r-card: 16px;
  --col: 1160px;
  --gut: 24px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/24px var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, dl, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; }
a { color: inherit; text-decoration: none; }
b { font-weight: 500; }

/* ---------- Frame ---------- */
.col { max-width: var(--col); margin: 0 auto; padding: 0 var(--gut); }
section { border-bottom: 1px solid var(--hair); }

/* ---------- Nav: dark over the hero, light everywhere else ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 64px;
  color: var(--text-on-dark);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(31, 51, 43, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--hair-dark); }
.nav.light { background: rgba(244, 240, 230, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); border-bottom-color: var(--hair); }
.nav-row { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 22px; height: 22px; flex: none; }
.mark .a { fill: var(--sage); transition: fill .3s var(--ease); }
.mark .b { fill: var(--light); transition: fill .3s var(--ease); }
.nav.light .mark .a { fill: var(--green); }
.nav.light .mark .b { fill: #8fa394; }
.brand-name { font-size: 18px; line-height: 20px; font-weight: 600; letter-spacing: -.02em; }
nav { display: flex; align-items: center; gap: 16px; }
.nav-link {
  font-size: 14px; line-height: 20px; font-weight: 500;
  padding: 4px 8px; border-radius: var(--r-btn);
  color: var(--sub-on-dark);
  transition: background-color .15s, color .15s;
}
.nav-link:hover { background: rgba(245, 241, 230, .08); color: var(--text-on-dark); }
.nav.light .nav-link { color: var(--muted); }
.nav.light .nav-link:hover { background: var(--shell); color: var(--ink); }
.nav.light .nav-link[aria-current="page"] { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 12px 16px;
  font: 500 16px/20px var(--sans);
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(21, 30, 25, .05);
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--sage); color: var(--ink); }
.btn-primary:hover { background: var(--sage-2); }
.page .btn-primary { background: var(--green); color: var(--light); }
.page .btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(245, 241, 230, .28); box-shadow: none; }
.btn-ghost:hover { background: rgba(245, 241, 230, .08); border-color: rgba(245, 241, 230, .42); }
.btn-nav { height: 36px; padding: 5px 10px; font-size: 14px; line-height: 20px; box-shadow: none; background: var(--sage); color: var(--ink); }
.btn-nav:hover { background: var(--sage-2); }
.nav.light .btn-nav { background: var(--green); color: var(--light); }
.nav.light .btn-nav:hover { background: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--deep) 0%, #24403a 70%, var(--green) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  border-bottom: 0;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 560px at 74% 46%, rgba(216, 179, 107, .16), transparent 70%),
    radial-gradient(560px 420px at 88% 0%, rgba(197, 208, 186, .12), transparent 70%);
}
.scene { position: absolute; top: 0; bottom: 94px; left: 50%; right: 0; pointer-events: none; }
.scene canvas { display: block; width: 100%; height: 100%; }
.hero-col { position: relative; z-index: 2; height: 806px; padding-top: 64px; }
.hero-copy { padding-top: 136px; }
h1 {
  max-width: 820px;
  font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.02em;
  color: var(--text-on-dark);
}
h1 span { font-weight: 400; color: var(--sub-on-dark); }
.hero-p { margin-top: 24px; max-width: 520px; color: var(--sub-on-dark); }
.cta-row { display: flex; gap: 16px; margin-top: 32px; }

.works-with {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 94px; background: var(--paper); color: var(--ink);
  border-top: 1px solid var(--hair);
}
.works-row { height: 94px; display: flex; align-items: center; gap: 40px; }
.works-label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); }
.works-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: -.005em; }
.works-logo img { height: 26px; width: auto; }
.works-logo img.hubdoc { height: 24px; }
.works-note { margin-left: auto; font-size: 14px; line-height: 20px; color: var(--muted); }
#hero-end { position: absolute; left: 0; right: 0; bottom: 94px; height: 1px; }

/* ---------- Headings (two-tone) ---------- */
h2 {
  font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -.01em;
  max-width: 768px; color: var(--ink);
}
h2 span { font-weight: 400; color: var(--muted); }
.card-head h3, .data-block h3 {
  font-size: 24px; line-height: 29px; font-weight: 500; letter-spacing: -.004em;
  max-width: 528px; color: var(--ink);
}
.card-head h3 span, .data-block h3 span { font-weight: 400; color: var(--muted); }

/* ---------- "What" section + bento ---------- */
.what { padding: 96px 0 48px; }
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.card { position: relative; overflow: hidden; background: var(--shell); border-radius: var(--r-card); }
.card::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--shell-hair); border-radius: inherit; pointer-events: none; }
.card-head { padding: 24px 24px 0; }
.card-wide { grid-column: span 12; min-height: 440px; }
.card-7 { grid-column: span 7; height: 428px; }
.card-7 .card-head h3 { max-width: 100%; }
.card-5 { grid-column: span 5; height: 428px; }
.map-note { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* Flow: the agent map as a four-column pipeline */
.flow {
  display: grid;
  grid-template-columns: 1.15fr 40px 1.2fr 40px 1.5fr 40px 1.15fr;
  align-items: center; gap: 0;
  padding: 40px 32px 32px;
}
.wire { color: #8b9a89; justify-self: center; width: 40px; height: auto; }
.wire path { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.fnode {
  background: var(--node); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(38, 59, 50, .06), 0 6px 12px -6px rgba(38, 59, 50, .10);
}
.fhead { display: flex; gap: 12px; align-items: flex-start; }
.f-inbox { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.f-inbox img { flex: none; }
.f-team .fhead { flex-direction: column; gap: 12px; }
.f-team .icon { margin-top: 0; }
.ftext { display: flex; flex-direction: column; gap: 2px; }
.ftext b { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); letter-spacing: .005em; }
.ftext span { font-size: 13px; line-height: 18px; color: var(--muted-2); }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--green); margin-top: 1px; }
.f-agent { background: var(--green); border-color: var(--green); color: var(--light); }
.f-agent .icon { color: var(--sage); }
.f-agent .ftext b { color: var(--light); }
.f-agent .ftext span { color: var(--sage); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips li {
  font-size: 12px; line-height: 16px; font-weight: 500;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(197, 208, 186, .14); border: 1px solid rgba(197, 208, 186, .25); color: var(--sage);
}
.f-out { display: grid; grid-template-rows: repeat(3, 108px); gap: 12px; }
.f-res { display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; }
.f-res .fhead:has(img.hubdoc) { flex-direction: column; gap: 8px; }
.cad { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.f-res img { flex: none; margin-top: 1px; }
.f-res img.hubdoc { height: 20px; width: auto; margin: 0; }
.f-res .ftext span { font-size: 12px; line-height: 16px; }
.f-team { border-color: var(--sage-dim); background: #e8ede5; }

/* Panels inside the narrow cards, cropped at the card's edge */
.panel {
  --crop: 26px;
  position: absolute; left: 26px; right: -26px; bottom: -26px; top: 118px;
  background: var(--node);
  border: 1px solid var(--shell-hair); border-right: 0; border-bottom: 0;
  border-top-left-radius: var(--r-panel);
  overflow: hidden;
}
.ph { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px calc(24px + var(--crop)) 18px 24px; border-bottom: 1px solid var(--hair); }
.ph-title { display: flex; flex-direction: column; gap: 4px; }
.ph-title b { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -.01em; }
.ph-title span { font: 400 13px/18px var(--mono); color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px 0 8px; border-radius: 6px; white-space: nowrap;
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink);
  background: var(--shell); border: 1px solid var(--shell-hair);
}
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-dim); }
.dot-pending { background: var(--accent); }
.dot-done { background: #6f8f7a; }
.dot-live { background: var(--sage); box-shadow: 0 0 0 3px rgba(197, 208, 186, .18); }
.kv { padding: 8px calc(24px + var(--crop)) 0 24px; }
.kv > div {
  display: grid; grid-template-columns: 118px 1fr auto; gap: 0 12px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--hair);
}
.kv > div:last-child { border-bottom: 0; }
.kv dt { font-size: 12px; line-height: 18px; color: var(--muted); }
.kv dd { margin: 0; font-size: 14px; line-height: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.kv .kv-meta { font-size: 12px; color: var(--muted); text-align: right; }
.pf { display: flex; align-items: center; gap: 10px; margin: 8px calc(24px + var(--crop)) 0 24px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 13px; line-height: 18px; color: var(--muted-2); }

.panel-log { background: var(--deep); border-color: #2a4237; color: var(--light); font-family: var(--mono); }
.lh { display: flex; justify-content: space-between; align-items: center; padding: 14px calc(18px + var(--crop)) 14px 18px; font-size: 11px; line-height: 14px; color: var(--sage-dim); border-bottom: 1px solid rgba(197, 208, 186, .12); }
.lh span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--sage); }
.log { width: 100%; border-collapse: collapse; font-size: 12.5px; line-height: 18px; }
.log th, .log td { text-align: left; font-weight: 400; padding: 5px calc(18px + var(--crop)) 5px 18px; }
.log td:last-child, .log th:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--light); }
.log td:first-child { color: #d9dfd0; padding-left: 30px; }
.log .lg th { padding-top: 14px; padding-bottom: 4px; color: var(--sage-dim); font-size: 11px; letter-spacing: .02em; text-align: left; }
.log .warn td:last-child { color: var(--accent); }
.log .warn td:first-child::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 0 7px 2px -12px; }
.log .sub td { padding-top: 0; padding-left: 30px; color: var(--sage-dim); font-size: 11.5px; }
.panel-log::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to top, var(--deep), rgba(31, 51, 43, 0)); }

/* ---------- Quote band ---------- */
.quote-band { padding: 48px 0; }
.quote-card {
  position: relative; overflow: hidden;
  background: var(--sage); border: 1px solid #b2c0a7; border-radius: var(--r-panel);
  padding: 32px;
  color: var(--ink);
}
.quote-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -220px;
  border-radius: 50%; background: rgba(45, 73, 61, .22); filter: blur(100px); pointer-events: none;
}
.quote-head { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--green); }
.quote-glyph { margin-top: 24px; height: 40px; overflow: hidden; font: 400 80px/80px var(--serif); color: var(--green); }
blockquote {
  margin-top: 4px; max-width: 760px;
  font: 400 36px/44px var(--serif); letter-spacing: -.005em; color: var(--ink);
  text-indent: -.35em;
}
.quote-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 32px; }
.attribution { display: flex; align-items: center; gap: 14px; }
.att-rule { width: 30px; height: 1px; background: var(--green); }
.attribution b { display: block; font-size: 14px; line-height: 20px; font-weight: 500; }
.attribution span { display: block; font-size: 12px; line-height: 16px; color: var(--green); }
.quote-context { font: 400 13px/20px var(--mono); color: var(--green); text-align: right; }

/* ---------- Team ---------- */
.team { padding: 96px 0; }
.team-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink);
}
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s var(--ease); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover svg { transform: translate(2px, -2px); }
.data-block { padding-top: 6px; }
.data-block h3 { max-width: 400px; }

/* ---------- Next step + footer (dark band) ---------- */
.next { background: var(--green); color: var(--text-on-dark); border-bottom: 0; }
.next-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; padding-top: 96px; padding-bottom: 96px; }
.next-col.next-slim { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; }
.next h2 { color: var(--text-on-dark); max-width: 560px; }
.next h2 span { color: var(--sub-on-dark); }
.next .btn-primary { margin-top: 32px; }
.setup-list { padding-top: 8px; }
.setup-list::before { content: "Setup includes"; display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.setup-list li { font-size: 14px; line-height: 20px; color: var(--sub-on-dark); padding: 12px 0; border-top: 1px solid var(--hair-dark); }
.footer { border-top: 1px solid var(--hair-dark); }
.next > .footer:first-child { border-top: 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; height: 72px; font-size: 14px; line-height: 20px; color: var(--sub-on-dark); }
.footer a:hover { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reading pages: Your data, Get set up, thanks, missing answers ---------- */
.page { padding: calc(64px + 80px) 0 96px; }
.page h1 { color: var(--ink); }
.page h1 span { color: var(--muted); }
.page .lede { margin-top: 20px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--muted); }
.page section { max-width: 680px; padding: 48px 0 0; margin-top: 48px; border-top: 1px solid var(--hair); border-bottom: 0; }
.page h2 { font-size: 24px; line-height: 30px; }
.page h2 + * { margin-top: 20px; }
.page .prose p { max-width: 68ch; }
.prose p + p, .prose p + ul, .prose ul + p, .prose h3 + p { margin-top: 12px; }
.prose h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin-top: 28px; }
.prose ul { padding-left: 20px; list-style: disc; max-width: 68ch; }
.prose li + li { margin-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sage-dim); }
.prose a:hover { text-decoration-color: currentColor; }
.prose h1 + p { margin-top: 20px; }
.services { border-top: 1px solid var(--hair); }
.services li { padding: 16px 0; border-bottom: 1px solid var(--hair); max-width: 68ch; }
.services strong { display: block; font-weight: 500; margin-bottom: 2px; }
.services .new { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font: 600 11px/16px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--sage); }
.services + .prose { margin-top: 8px; }

.enquiry { max-width: 560px; }
.enquiry p + p, .enquiry p + fieldset, .enquiry fieldset + p, .enquiry fieldset + fieldset { margin-top: 24px; }
.enquiry label { display: block; }
.enquiry p > label { font-weight: 500; margin-bottom: 6px; }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry input[type="tel"], .enquiry input[type="number"] {
  width: 100%; height: 46px; padding: 10px 12px;
  font: 400 16px/24px var(--sans); color: var(--ink);
  background: var(--node); border: 1px solid var(--line); border-radius: var(--r-btn);
  transition: border-color .15s;
}
.enquiry input:hover { border-color: var(--sage-dim); }
.enquiry input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.enquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.enquiry legend { font-weight: 500; padding: 0; margin-bottom: 8px; }
.enquiry fieldset label { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.enquiry input[type="radio"] { margin: 4px 0 0; accent-color: var(--green); flex: none; }
.enquiry small { display: block; margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--muted); }
.enquiry small a { text-decoration: underline; text-underline-offset: 3px; }
.enquiry .btn { min-width: 140px; }

/* ---------- Tablet ---------- */
/* Below 1000px the four-column pipeline runs out of room: stack it. */
@media (max-width: 1000px) {
  .card-wide { min-height: 0; }
  .flow { display: block; padding: 24px; position: relative; }
  .wire { display: none; }
  .flow > .fnode, .f-out { margin-top: 10px; }
  .flow > .fnode:first-child { margin-top: 0; }
  .f-out { display: grid; grid-template-rows: none; gap: 10px; padding-left: 20px; border-left: 1px solid var(--sage-dim); margin-left: 12px; }
  .f-out .fnode { position: relative; }
  .f-out .fnode::before { content: ""; position: absolute; left: -21px; top: 50%; width: 14px; height: 1px; background: var(--sage-dim); }
  .f-out .fnode::after { content: ""; position: absolute; left: -11px; top: calc(50% - 3px); width: 4px; height: 4px; border-right: 1px solid var(--sage-dim); border-top: 1px solid var(--sage-dim); transform: rotate(45deg); }
  .f-res { padding: 12px 16px; }
}
@media (max-width: 960px) {
  .card-7, .card-5 { grid-column: span 12; }
  .team-grid, .next-col { grid-template-columns: 1fr; }
  .scene { left: 40%; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; }
  .nav-link { display: none; }
  .hero-col { height: auto; padding-bottom: 0; }
  .hero-copy { padding-top: 88px; }
  h1 { font-size: 32px; line-height: 36px; max-width: 100%; }
  h1 span { display: block; margin-top: 16px; font-size: 18px; line-height: 26px; letter-spacing: 0; }
  .hero-p { font-size: 15px; line-height: 22px; margin-top: 16px; }
  .cta-row { margin-top: 24px; gap: 12px; }
  .cta-row .btn { flex: 1; }
  .scene { position: relative; left: 0; right: 0; top: 0; bottom: 0; height: 360px; margin: 24px -16px 0; width: calc(100% + 32px); }
  .works-with { position: relative; height: auto; }
  .works-row { height: auto; flex-wrap: wrap; gap: 16px 24px; padding: 20px 16px; }
  .works-label { width: 100%; }
  .works-logo span { display: none; }
  .works-note { display: none; }
  #hero-end { position: static; height: 0; }

  .what { padding: 56px 0 32px; }
  h2 { font-size: 24px; line-height: 30px; }
  .bento { margin-top: 32px; gap: 16px; }
  .card-head { padding: 20px 20px 0; }
  .card-head h3 { font-size: 20px; line-height: 25px; }
  .card-wide { min-height: 0; }
  .card-7, .card-5 { height: auto; }
  .panel { --crop: 0px; position: relative; left: 0; right: auto; top: auto; bottom: auto; margin: 20px 20px -1px 20px; width: auto; min-height: 0; border-bottom: 0; border-right: 1px solid var(--shell-hair); border-top-right-radius: var(--r-panel); }
  .panel-log { border-right-color: #2a4237; padding-bottom: 16px; }
  .panel-bill { padding-bottom: 8px; }
  .panel-log::after { display: none; }
  .ph { padding: 16px calc(16px + var(--crop)) 14px 16px; }
  .kv { padding: 4px calc(16px + var(--crop)) 0 16px; }
  .kv > div { grid-template-columns: 100px 1fr; }
  .kv .kv-meta { grid-column: 2; text-align: left; }
  .pf { margin: 8px calc(16px + var(--crop)) 0 16px; }
  .log th, .log td { padding-left: 16px; padding-right: calc(16px + var(--crop)); }
  .lh { padding: 12px calc(16px + var(--crop)) 12px 16px; }
  .log td:first-child, .log .sub td { padding-left: 28px; }

  .quote-band { padding: 32px 0; }
  .quote-card { padding: 24px 20px; }
  blockquote { font-size: 28px; line-height: 34px; }
  .quote-foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 24px; }
  .quote-context { text-align: left; }

  .team { padding: 56px 0; }
  .team-grid { gap: 40px; }
  .next-col, .next-col.next-slim { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .next h2 { font-size: 24px; line-height: 30px; }
  .footer-row { height: auto; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; }

  .page { padding: calc(64px + 40px) 0 56px; }
  .page .lede { font-size: 16px; line-height: 24px; margin-top: 16px; }
  .page section { padding-top: 32px; margin-top: 32px; }
  .page h2 { font-size: 22px; line-height: 28px; }
  .enquiry p + p, .enquiry p + fieldset, .enquiry fieldset + p, .enquiry fieldset + fieldset { margin-top: 20px; }
}
