/* AJ Associates stylesheet. No outside fonts or libraries. Weak devices (html.lite) and reduced-motion visitors get no animation at all. */

/* Fonts are hosted here (Latin only). The fallbacks are close in size. */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/public-sans.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/public-sans-italic.woff2) format("woff2"); }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../assets/fonts/besley.woff2) format("woff2"); }

:root {
  --paper: #fcfdfe;
  --paper-2: #f2f4f6;   /* the one cool light grey-blue: section tints, hovers, the light buttons */
  --paper-3: #e8ecf1;   /* a step deeper, for strips */
  --card: #ffffff;
  --ink: #0b1526;
  --ink-2: #2a3549;
  --muted: #566179;
  --text: #4a566d;   /* body text under a heading: a lighter slate than the headings, 7.3:1 on the page */
  --navy: #0d2b52;
  --blue: #254a8c;   /* a calm, deep blue: less saturated than before so it never looks neon; the navy stays the dark colour */
  --gold: #b4884a;   /* kept only for the review stars and the small crates in the drawings */
  --brass: #254a8c;   /* the accent: the site's blue. The name is from when this was gold; it now drives every line, marker, focus ring and highlight */
  --brass-ink: #254a8c;   /* accent text on light */
  --brass-lt: #a3b9e0;   /* accent on navy: a soft, light blue */
  --brass-tint: #e5eaf3;   /* a pale blue wash */
  --navy-soft: #b3c1d6;   /* soft blue-grey on navy */
  --navy-deep: #1a2d4a;
  --bronze: #2e2211;
  --red: #a4361f;
  --wa: #1f9d55;
  --line: rgba(11, 21, 38, .14);
  --line-l: rgba(245, 247, 250, .18);
  --display: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Besley", Georgia, "Times New Roman", serif;   /* headings; the sans-serif above stays for everything else */
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cut: clamp(12px, 2vw, 32px);
  --gut: clamp(1.4rem, 5.5vw, 4rem);
  --sp: clamp(4.5rem, 9vw, 8.5rem);
  --r: 6px;
  --hdr: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); -webkit-text-size-adjust: 100%; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.75 var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
p, li, blockquote { text-wrap: pretty; }
::selection { background: var(--navy-soft); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(var(--wrapw, 1240px), 100% - var(--gut) * 2); margin-inline: auto; }
/* very large screens (27-inch and up): the page grows a little with the screen, so the side margins do not get huge; nothing changes below 1680px */
@media (min-width: 1680px) { :root { --wrapw: min(1640px, calc(1240px + (100vw - 1680px) * .75)); } }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* type */
.eyebrow {
  font: 650 max(.9rem, 13px)/1.3 var(--sans); letter-spacing: .01em;
  color: var(--brass-ink); display: flex; align-items: center; gap: .7rem;
}

h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }   /* Besley has tall capitals and long tails, so it needs more room between lines than a sans */
h1 { line-height: 1.24; }
.on-dark h1, .on-dark h2, .step h3 { font-weight: 500; }   /* light letters on navy look heavier than dark ones on paper, so the navy bands take the lighter weight */
h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); letter-spacing: -.012em; }
h1 em, h2 em { font-style: normal; }   /* the em keeps its line break but takes the heading's colour; only two headings are two-tone, below */
#route-h em { color: var(--blue); }   /* "Which of these sounds like you?" */
.cta-band:not(.plain) h2 em { color: var(--navy-soft); }   /* the main closing band, "Tell us what you need." */
h2, .h2 { font-size: clamp(1.75rem, 3.9vw, 2.65rem); }
.approach h2 { color: var(--navy-soft); }   /* the second half of a heading on navy is a soft blue-grey; */
#home h1 em { color: inherit; }   /* the Home headline is plain white on both lines; the em only keeps the line break */
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.75; color: var(--ink-2); max-width: 33rem; }
.on-dark .lead { color: rgba(245, 247, 250, .82); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
  padding: 1.05rem 1.8rem; border-radius: var(--r); font-weight: 650; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent; line-height: 1.2;
  transition: transform .18s, background-color .18s, color .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--blue); }
.btn-light { background: var(--paper-2); color: var(--navy); }   /* a warm off-white, softer than the page white, so it stays easy on the eye on navy */
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--ink); background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn-ghost { border-color: var(--line-l); color: var(--paper); }
.on-dark .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-sm { padding: .7rem 1.1rem; font-size: .88rem; }
.tlink { font-weight: 650; font-size: .93rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; }
.tlink:hover { color: var(--brass-ink); }
.tlink .i { transition: transform .18s; }
.tlink:hover .i { transform: translateX(3px); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background-color .25s ease; }
.hdr.stuck { border-color: var(--line); box-shadow: 0 6px 18px -14px rgba(11, 21, 38, .5); }
.hdr-dark { background: var(--navy); color: var(--paper); }   /* Home, at the very top: a navy bar with no divider that joins the navy hero (core.js removes the class once the page scrolls) */
.logo { display: grid; }   /* Home: the two logo marks sit on top of each other and cross-fade with the bar */
.logo img { grid-area: 1 / 1; transition: opacity .25s ease; }
.logo .m-light { opacity: 0; }
.hdr-dark .logo .m-light { opacity: 1; }
.hdr-dark .logo .m-dark { opacity: 0; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 30px; height: auto; }
.brand b { display: block; font: 700 .95rem/1 var(--display); letter-spacing: .1em; transition: color .25s ease; }
.brand small { display: block; font-size: max(.54rem, 10px); letter-spacing: .17em; color: var(--muted); margin-top: .22rem; text-transform: uppercase; white-space: nowrap; transition: color .25s ease; }
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: 1.08rem; } .eyebrow { letter-spacing: .12em; } }
.nav { display: none; }
.nav a { text-decoration: none; font-size: .88rem; font-weight: 550; padding: .3rem .1rem; position: relative; color: var(--ink-2); }
.nav a:not(.btn) { transition: color .25s ease; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:not(.btn):hover::after, .nav a.on::after, .nav > a[aria-current="page"]::after, .nav .dd-t[aria-current="page"]::after { transform: scaleX(1); }
.nav a.on, .nav a[aria-current="page"] { color: var(--ink); }
.burger { width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: var(--r); background: none; display: grid; place-content: center; gap: 5px; transition: border-color .25s ease; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s, background-color .25s ease; }
.hdr-dark .burger { border-color: var(--line-l); }
.hdr-dark .burger span { background: var(--paper); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.open { display: flex; flex-direction: column; position: absolute; top: var(--hdr); left: 0; right: 0; background: var(--paper); padding: .6rem var(--gut) 1.4rem; border-bottom: 1px solid var(--line); gap: .1rem; }
.nav.open a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.nav .btn { color: #fff; }
.nav.open .btn { margin-top: 1rem; border: 0; }
.hdr-dark .brand b { color: var(--paper); }
@media (min-width: 1060px) {
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 1.5rem; }
  .nav .btn { padding: .5rem 1.05rem; font-size: max(.82rem, 12.5px); }
  .hdr-dark .nav > a:not(.btn), .hdr-dark .nav .dd-t { color: rgba(245, 247, 250, .86); }   /* the menu panels that drop down stay light, with dark text */
  .hdr-dark .nav > a:not(.btn):hover, .hdr-dark .nav .dd-t:hover, .hdr-dark .nav > a[aria-current="page"] { color: #fff; }
}

/* hero */
.hero { position: relative; padding: clamp(4.5rem, 11vw, 10rem) 0 clamp(8rem, 16vw, 14rem); overflow: hidden; background: var(--navy); color: var(--paper); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 4.5rem; align-items: center; }
.hero h1 { margin: 1.8rem 0 2rem; }
.hero .lead { margin-bottom: 2.8rem; }
@media (min-width: 900px) {
  .hero .lead { max-width: 38rem; font-size: 1.3rem; }
  .hero .btn { padding: 1.2rem 2.1rem; font-size: 1.02rem; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }


/* band / stats */
.band { background: var(--navy); color: var(--paper); padding: calc(var(--cut) + 2.6rem) 0 calc(var(--cut) + 2.2rem); clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); margin: calc(var(--cut) * -1) 0; position: relative; z-index: 2; }
.band ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.6rem 1.4rem; }
.band li { border-left: 1px solid var(--line-l); padding-left: 1.1rem; }
.band strong { display: block; font: 600 clamp(2rem, 5vw, 3rem)/1 var(--display); color: var(--paper); font-variant-numeric: lining-nums tabular-nums; }
.band span { font-size: .86rem; color: rgba(245, 247, 250, .75); }
.band strong .of { margin-left: .12em; font: 600 .55em/1 var(--display); color: rgba(245, 247, 250, .65); letter-spacing: 0; }
@media (min-width: 760px) { .band ul { grid-template-columns: repeat(4, 1fr); } }

/* sections */
.sec { padding: var(--sp) 0; }
.sec-head { max-width: 44rem; margin-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.sec-head h2 { margin: 1.4rem 0 1.5rem; }
.sec-head p { color: var(--text); max-width: 36rem; }

/* questions: a short chat, the visitor's question on the left and our reply on the right */
.qs { display: grid; gap: 1.4rem; max-width: 50rem; }
.ask-side h2 { margin: 0 0 1.6rem; }
@media (min-width: 1000px) { .ask-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; align-items: center; } .ask-grid .qs { order: -1; } .ask-side { padding-left: 1rem; } }   /* the heading sits level with the middle of the questions */
.q { display: grid; gap: .7rem; }
.q h3 { justify-self: start; max-width: 36rem; margin: 0; padding: 1.1rem 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 1.3rem 1.3rem 1.3rem .3rem; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 1.3; }
.q h3 a { color: var(--ink); text-decoration: none; }
.q h3 a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .2em; }
.q p { justify-self: end; max-width: 30rem; margin: 0; padding: 1.05rem 1.5rem; background: var(--navy); color: rgba(245, 247, 250, .88); border-radius: 1.3rem 1.3rem .3rem 1.3rem; }
.q p b { color: #fff; }
/* the chat: as you scroll, the exchange level with the middle of the screen is full size and the others are smaller and fainter (wheel.js adds .wheel) */
.qs.wheel .q { padding-block: .6rem; transform: scale(.92); opacity: .62; transition: transform .25s ease, opacity .25s ease; }
.qs.wheel .q.on { transform: none; opacity: 1; }

/* each exchange is spaced and sized differently, like real messages */
.q h3, .q p { width: fit-content; text-wrap: wrap; }
.qs > .q:nth-child(1) h3 { max-width: 27rem; }
.qs > .q:nth-child(1) p { max-width: 31rem; margin-right: 6%; }
.qs > .q:nth-child(2) { gap: .35rem; }
.qs > .q:nth-child(2) h3 { max-width: 38rem; margin-left: 7%; }
.qs > .q:nth-child(2) p { max-width: 24rem; }
.qs > .q:nth-child(3) { gap: 1.1rem; }
.qs > .q:nth-child(3) h3 { max-width: 23rem; }
.qs > .q:nth-child(3) p { max-width: 32rem; margin-right: 12%; }
@media (max-width: 640px) { .q h3, .q p { max-width: 92% !important; margin-inline: 0 !important; } .q h3 { margin-right: auto !important; } .q p { margin-left: auto !important; } }

.contact-head { display: grid; gap: 2rem; margin-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.contact-head .sec-head { margin-bottom: 0; }

/* services */
.services { background: var(--paper-2); }
.services { border-radius: 50% 50% 0 0 / clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) 0 0; }   /* soft tinted sections open with one wide, gentle arc; the dark navy bands keep the diagonal cut */
.svc-grid { display: grid; gap: 3.5rem; }
.svc-side p { color: var(--ink-2); margin: 0 0 2rem; max-width: 28rem; }
.acc { overflow-anchor: none; }
.acc details[open] .pn { animation: pn-in .28s ease both; }
@keyframes pn-in { from { opacity: 0; } to { opacity: 1; } }
.acc details { border-top: 1px solid var(--ink); background: transparent; }
.acc details:last-child { border-bottom: 1px solid var(--ink); }
.acc summary { list-style: none; display: grid; grid-template-columns: 1fr 1.6rem; gap: .6rem; align-items: center; padding: 1.75rem .2rem; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .t { font: 600 clamp(1.1rem, 2.2vw, 1.5rem)/1.3 var(--display); letter-spacing: -.01em; }
.acc summary .pm { width: 1.6rem; height: 1.6rem; position: relative; }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.acc summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc summary:hover .t { color: var(--blue); }
.acc .pn { padding: .2rem .2rem 2.8rem 3.2rem; }
.acc .pn > p { margin-bottom: 1.6rem; max-width: 40rem; color: var(--ink); font-size: 1.02rem; }
.acc .pn li { padding: 1.05rem 0; border-top: 1px dashed var(--line); position: relative; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.acc .pn li b { color: var(--navy); display: block; margin-bottom: .2rem; font: 700 1.02rem/1.35 var(--sans); }
.acc .pn .btn { margin-top: 1.8rem; }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: 4fr 7.4fr; gap: 7rem; }
  .svc-side { position: sticky; top: 120px; align-self: start; }
}

/* approach */
.approach { position: relative; isolation: isolate; background: var(--navy); color: var(--paper); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 calc(100% - var(--cut))); padding: calc(var(--cut) + 3.8rem) 0 calc(var(--cut) + 3rem); margin: calc(var(--cut) * -1) 0; }
.approach .sec-head p { color: rgba(245, 247, 250, .8); }
.steps { display: grid; gap: 3.2rem; }
/* the four steps are set big, each word with its sentence under it, two across on wide screens */
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.step { padding: 1rem 0; }
.step h3 { font-family: var(--serif); margin: 0 0 .5rem; font-size: clamp(1.7rem, 7vw, 2.1rem); line-height: 1.25; letter-spacing: -.005em; }
.step p { margin: 0; max-width: 30rem; color: var(--navy-soft); font-size: 1.02rem; line-height: 1.7; }
@media (min-width: 900px) {
  .approach .sec-head { margin-bottom: 3.4rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.2rem 5rem; }
  .step { padding: 0; }
  .step h3 { margin: 0 0 .7rem; font-size: clamp(1.9rem, 2.8vw, 2.4rem); }
}
/* wider screens: three parts side by side, the heading, then the first two steps, then the other two */
@media (min-width: 1100px) {
  .approach { display: grid; align-content: center; min-height: 33rem; }   /* keeps the band the same height it had with the longer step text */
  .approach .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; align-items: center; }
  .approach .sec-head { margin: 0; }
  .steps { grid-column: 2 / 4; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: 3rem; }
  .step h3 { font-size: clamp(1.8rem, 2.2vw, 2.2rem); }
}

.result { background: var(--ink); color: var(--paper); padding: 2.6rem 2rem; border-radius: 4px; position: relative; box-shadow: 0 2px 12px rgba(13, 43, 82, .12); }

.result h3 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 0 0 1.8rem; }
.result li { display: flex; gap: .8rem; padding: .95rem 0; border-top: 1px solid var(--line-l); font-size: .93rem; color: rgba(245, 247, 250, .9); }
.result li .i { color: var(--brass-lt); margin-top: .25rem; stroke-width: 2.4; }

@media (min-width: 900px) {  .result { margin-top: 3rem; } }

/* team */
.team { background: var(--paper-2); }
.team-grid { display: grid; gap: 4.5rem; align-items: start; }
blockquote { font: italic 500 clamp(1.25rem, 2.4vw, 1.65rem)/1.35 var(--display); border-left: 3px solid var(--brass); padding-left: 1.5rem; margin: 2.6rem 0; color: var(--ink); }

.people { display: grid; gap: 3.4rem; }
.person { background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: translate .28s ease, box-shadow .28s ease, border-color .28s ease; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; transition: transform .5s ease; }
.person .b { padding: 1.9rem 1.8rem 2.1rem; }
.person h3 { font-size: 1.6rem; }
.person .role { font-size: max(.84rem, 12.5px); font-weight: 650; color: var(--brass-ink); margin: .5rem 0 1.1rem; }
.person p { font-size: .93rem; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.7rem; }
.tags li { font-size: max(.74rem, 12px); font-weight: 600; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.22, .61, .36, 1); cursor: default; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; align-items: start; max-width: 40rem; } .person:nth-child(2) { margin-top: 3rem; } }
@media (min-width: 980px) { .team-grid { grid-template-columns: 4.4fr 7.6fr; gap: clamp(4rem, 8vw, 8rem); } .team-side { position: sticky; top: 120px; } }

/* reviews */
.rev-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.score { display: flex; align-items: center; gap: .8rem; }
.rev-body { display: flex; flex-direction: column; gap: 1.6rem; }
.rev-body .rail { min-width: 0; }
@media (min-width: 1060px) {
  .rev-body { flex-direction: row; align-items: center; gap: 3.4rem; }
  .rev-body .score { order: -1; flex: none; flex-direction: column; align-items: flex-start; gap: .9rem; padding-right: 1rem; align-self: stretch; justify-content: center; }
  .rev-body .rail { flex: 1; overflow: visible; margin: 0; padding: 0; gap: 2rem; }
  .rev-body .rail .rev:nth-child(n) { flex: 1 1 0; min-width: 0; }
}

.score b { font: 600 3.4rem/1 var(--display); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .i { fill: currentColor; stroke: none; width: 1.05rem; height: 1.05rem; }
.rail { display: flex; align-items: flex-start; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 0 var(--gut) 1.4rem; margin-inline: calc(var(--gut) * -1); scrollbar-width: thin; scrollbar-color: var(--brass) transparent; -webkit-overflow-scrolling: touch; }
.rev { position: relative; flex: 0 0 min(84vw, 360px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.1rem; transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.rev:hover { transform: translateY(-5px); }
/* each review is a speech bubble with an angular tail, and the reviewer sits below it; a soft tint stands in for a shadow, so it scrolls lightly */
.rev p { position: relative; flex: none; margin-top: auto; padding: 1.8rem 1.8rem 2.2rem; background: var(--paper-2); font: 500 1.1rem/1.55 var(--display);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.3rem), 3.4rem calc(100% - 1.3rem), 1.7rem 100%, 1.7rem calc(100% - 1.3rem), 0 calc(100% - 1.3rem)); }
.rev footer { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding: 0 0 0 .55rem; font-size: max(.85rem, 12.5px); }
.rev footer b { display: block; line-height: 1.2; }
.rev footer small { color: var(--muted); font-size: max(.75rem, 12px); }
/* refinements: no brass quote mark; the bubbles differ in width and height, and every second one is turned around (tail and name on the right), like a conversation */
.rev:nth-child(1) { flex-basis: min(84vw, 390px); }
.rev:nth-child(2) { flex-basis: min(84vw, 330px); margin-top: 2.4rem; }
.rev:nth-child(3) { flex-basis: min(84vw, 370px); margin-top: .8rem; }
.rev:nth-child(4) { flex-basis: min(84vw, 320px); margin-top: 3rem; }
.rev:nth-child(5) { flex-basis: min(84vw, 380px); margin-top: 1.2rem; }
.rev:nth-child(even) p { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.3rem), calc(100% - 1.7rem) calc(100% - 1.3rem), calc(100% - 1.7rem) 100%, calc(100% - 3.4rem) calc(100% - 1.3rem), 0 calc(100% - 1.3rem)); }
.rev:nth-child(even) footer { flex-direction: row-reverse; padding: 0 .55rem 0 0; text-align: right; }
.av { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 .95rem var(--sans); flex: none; }

/* network */
.network { background: var(--ink); color: var(--paper); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding: calc(var(--cut) + 7rem) 0 8rem; margin-top: calc(var(--cut) * -1); }
.net-grid { display: grid; gap: 5rem; }
.network .lead { margin-bottom: 2rem; }
.net-rows li { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--line-l); }
.net-rows li:last-child { border-bottom: 1px solid var(--line-l); }
.net-rows h3 { font-size: 1.2rem; margin-bottom: .2rem; letter-spacing: 0; }
.net-rows p { font-size: .94rem; color: rgba(245, 247, 250, .72); }
.pform { background: var(--card); color: var(--ink); padding: 2.4rem 2rem; border-radius: 4px; }
.pform h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.pform > p { font-size: .92rem; color: var(--muted); margin-bottom: 2rem; }
@media (min-width: 900px) { .net-grid { grid-template-columns: 6fr 5fr; gap: 8rem; } .pform { margin-top: 3.5rem; } }

/* forms */
.f { display: grid; gap: 1.5rem; }
.f2 { display: grid; gap: 1.5rem; }
.f label { display: block; font-size: max(.82rem, 12.5px); margin-bottom: .55rem; letter-spacing: .02em; color: var(--ink); font-weight: 700; }
.f input, .f select, .f textarea { width: 100%; padding: .95rem 1.05rem; border: 1.5px solid rgba(11, 21, 38, .52);   /* fields need a border you can see: at least 3:1 against the page */
  border-radius: var(--r); background: #fff; font-size: 1rem; min-height: 52px; color: var(--ink); }
.f input:hover, .f select:hover, .f textarea:hover { border-color: rgba(11, 21, 38, .78); }
.f input::placeholder, .f textarea::placeholder { opacity: 1; color: var(--muted); }
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 79, 150, .2); }
.f input:user-invalid, .f select:user-invalid { border-color: var(--red); }
.msg { font-size: .88rem; min-height: 1.3em; color: var(--blue); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
@media (min-width: 560px) { .f2 { grid-template-columns: 1fr 1fr; } }

/* contact */
.contact-grid { display: grid; gap: 5rem; align-items: start; }
.contact .f-wrap { background: var(--card); border: 1px solid var(--line); padding: 2.4rem 1.8rem; box-shadow: 0 2px 12px rgba(13, 43, 82, .08); }
.f-wrap h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.f-pane > p { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }
.info dl { margin: 0; }
.info .row { display: grid; grid-template-columns: 1.6rem 1fr; gap: 1.1rem; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.info .row:last-of-type { border-bottom: 1px solid var(--line); }
.info .i { color: var(--blue); margin-top: .25rem; width: 1.2rem; height: 1.2rem; }
.info dt { font-size: max(.72rem, 11px); font-weight: 650; letter-spacing: .01em; color: var(--brass-ink); }
.info dd { margin: .25rem 0 0; }
.info dd small { display: block; color: var(--muted); font-size: max(.82rem, 12.5px); }
.map { margin-top: 2.4rem; border: 1px solid var(--line); background: var(--paper-2); height: 15rem; position: relative; overflow: hidden; }
.map iframe { position: absolute; left: 0; top: -72px; width: 100%; height: calc(100% + 72px); border: 0; }  /* cropped to hide the map's own "Maps" card */
.map-link { margin-top: 1rem; display: inline-flex; align-items: center; min-height: 2.2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 8rem; } .contact .info { padding-top: 3rem; } .contact .f-wrap { padding: 3.2rem 3rem; } }

/* footer */
.ftr { background: var(--ink); color: rgba(245, 247, 250, .78); padding: 7rem 0 2.4rem; font-size: .95rem; border-top: 1px solid var(--line-l); }
.ftr-grid { display: grid; gap: 3.6rem; }
.ftr .brand b { color: var(--paper); }
.ftr .brand small { color: rgba(245, 247, 250, .55); }
.ftr .mission { margin: 1.2rem 0 0; max-width: 24rem; }
.ftr .ftr-h { font: 700 max(.72rem, 11px)/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--brass-lt); margin: 0 0 1rem; }
.ftr li { margin-bottom: .8rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-bot { border-top: 1px solid var(--line-l); margin-top: 1.4rem; padding-top: 2rem; font-size: max(.82rem, 12.5px); color: rgba(245, 247, 250, .55); display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; padding-right: 4.5rem; }
@media (min-width: 640px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }   /* tablets: two columns, so nothing is pushed past the edge */
@media (min-width: 960px) { .ftr-grid { grid-template-columns: 1.4fr .9fr .9fr minmax(17.5rem, 1.4fr); gap: 3rem; } }

/* low-end / reduced motion */
.lite *, .lite *::before, .lite *::after { transition: none !important; animation: none !important; }
html.lite { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { .hdr, .wa, .band, .approach, .network { display: none; } }

/* premium finishing */
.prog { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--brass); transform: scaleX(0); transform-origin: left; pointer-events: none; will-change: transform; }
.btn .i:last-child { transition: transform .2s; }
.btn:hover .i:last-child { transform: translateX(4px); }
/* principles */
.pull-row { margin: 0 0 clamp(9rem, 18vw, 16rem); }
@media (min-width: 900px) { .pull-row .pull { margin-left: auto; } }
.pull { position: relative; font: italic 500 clamp(1.7rem, 3.4vw, 2.7rem)/1.35 var(--display); letter-spacing: -.01em; max-width: 40rem; margin: 0; padding: 0; border: 0; color: var(--ink); }
.pull .qm { display: block; font: 500 6rem/.7 var(--display); height: 3rem; color: var(--brass); font-style: normal; }
.pull em { color: var(--blue); }
/* words fill in as the line scrolls into view (JS adds .pw to the quote; without it the text is simply shown) */
.pull.pw .w { opacity: .2; transition: opacity .35s ease; }
.pull.pw .w.on { opacity: 1; }
.pr-grid { display: grid; gap: 2.2rem; }
.pr-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.pr-row { position: relative; display: grid; grid-template-columns: 1fr; grid-template-areas: "t" "d"; row-gap: .3rem; align-items: center; margin: 0 -.8rem; padding: 1.9rem 1.1rem 1.9rem .8rem; background-color: transparent; transition: background-color .32s ease; }
.pr-row .t { grid-area: t; margin: 0; font: 600 clamp(1.7rem, 3.3vw, 2.5rem)/1.3 var(--display); color: var(--ink); transform-origin: 0 60%; transition: transform .32s cubic-bezier(.22, .61, .36, 1), color .25s ease; }
.pr-row .d { grid-area: d; font-size: .95rem; line-height: 1.55; color: var(--muted); max-width: 34rem; transition: transform .32s cubic-bezier(.22, .61, .36, 1), color .25s ease; }
.pr-row:hover .t { transform: scale(1.07); color: var(--navy); }
.pr-row:hover .d { transform: translateX(.45rem); color: var(--ink-2); }
@media (min-width: 900px) {
  .pr-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: center; }
  .pr-row { padding-top: 2.1rem; padding-bottom: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) { .pr-row:hover .t, .pr-row:hover .d { transform: none; } }

/* footer: where to find us (address, hours, directions, GSTIN) */
.ftr-visit { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line-l); max-width: 34rem; }
.ftr-visit address { font-style: normal; line-height: 1.7; }
.ftr-visit p { margin: .6rem 0 0; }
.ftr-visit .ftr-h { margin: 0 0 .9rem; }
.ftr-visit .ftr-ids { font-size: max(.82rem, 13px); color: rgba(245, 247, 250, .62); letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.ftr-visit .tlink { color: var(--brass-lt); }
.ftr-grid + .ftr-bot { margin-top: 3.2rem; }

/* fit to screen (Home, Packages, Team, Collab, Contact).
   JS adds .fit and sets --z (0.55 to 1) on landscape screens 900px and wider.
   The whole section is zoomed, so the layout stays the same and everything scales together. */
.fit { zoom: var(--z, 1); min-height: calc((100svh - var(--hdr)) / var(--z, 1)); display: flex; flex-direction: column; justify-content: center; }

/* tighter vertical spacing inside the fitted sections */
.fit .sec-head { margin-bottom: 1.6rem; }
/* home */
.fit.hero h1 { font-size: 3.7rem; margin: 1rem 0 1.1rem; }
.fit.hero .lead { margin-bottom: 1.6rem; }
/* referral */
.fit.network .net-grid { gap: 4rem; }
.fit.network .lead { margin-bottom: 1.4rem; }
.fit .net-rows li { padding: .95rem 0; }
.fit .pform { margin-top: 1.5rem; padding: 1.8rem 1.6rem; }
.fit .pform > p { margin-bottom: 1.1rem; }
/* contact */
.fit .contact-grid { gap: 3.5rem; }

.fit .f-pane > p { margin-bottom: 1rem; }

/* second pass: Contact and Packages need to stay readable */
.fit .contact-head { margin-bottom: 1.1rem; }
.fit.contact .sec-head p { margin: 0; }
.fit .f-wrap h3 { margin-bottom: .2rem; }
.fit .f label { margin-bottom: .3rem; }
.fit .f input, .fit .f select { min-height: 44px; padding-top: .6rem; padding-bottom: .6rem; }
.fit .f textarea { min-height: 72px; padding-top: .6rem; padding-bottom: .6rem; }
.fit .f, .fit .f2 { gap: .8rem; }
.fit .f-wrap { padding: 1.6rem 1.8rem; }
.fit .msg { min-height: 0; }
.fit .info .row { padding: .75rem 0; }
.fit .map { height: 9.5rem; margin-top: .9rem; }
.fit .map-link { margin-top: .7rem; }
.fit .sec-head p { margin-bottom: 0; }

/* phones: the first screen is the hero text and buttons */
@media (max-width: 899px) {
  .hero { padding: 0 0 calc(var(--cut) + 2.4rem); }
  .hero-grid { gap: 2.2rem; }
  .hero-grid > div:first-child { min-height: calc(100svh - var(--hdr) - 14rem); display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 0; }
  .hero h1 { margin: 1.2rem 0 1.2rem; }
  .hero .lead { font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.8rem; }
  .hero .cta-row { display: grid; gap: .8rem; max-width: 20rem; }
}
#route { padding-top: calc(var(--cut) + 4.5rem); padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }   /* the choices are quick to read, so this section is shorter */
#ask { padding-block: clamp(5rem, 9vw, 8rem); }
#reviews { padding-top: clamp(5.5rem, 10vw, 8.5rem); padding-bottom: clamp(5rem, 9vw, 7.5rem); }

h1.h2 { letter-spacing: -.02em; }

/* dropdowns + services mega-menu */
.dd { position: relative; }
.dd-btn { display: none; }
.nav .dd-t { display: inline-flex; align-items: center; gap: .35rem; }
.nav .dd-t .i { width: .8rem; height: .8rem; stroke-width: 2.4; transition: transform .2s; }
.menu a::after, .mega a::after { display: none !important; }
.mega-in { display: grid; }
.mega-list li a { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.mega-list li a .i { width: .8rem; height: .8rem; stroke-width: 2.4; opacity: .55; }
.mp { display: none; }
.mp.on { display: block; }

@media (min-width: 1060px) {
  .nav .dd { display: flex; align-items: center; height: var(--hdr); }
  .nav .dd-mega { position: static; }
  .nav .dd-t { height: auto; }
  .nav .dd:hover .dd-t .i, .nav .dd:focus-within .dd-t .i { transform: rotate(180deg); }

  .menu { position: absolute; top: 100%; left: -1.1rem; min-width: 15rem; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--brass); box-shadow: 0 22px 34px -22px rgba(11, 21, 38, .45); }
  .nav .menu a { display: block; padding: .7rem .9rem; font-size: .88rem; }
  .nav .menu a:hover { background: var(--paper-2); }
  .menu, .mega { visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .16s ease, transform .16s ease, visibility 0s .16s; }   /* slides down from the header and back up, quickly; only opacity and transform move */
  .dd:hover .menu, .dd:focus-within .menu, .dd:hover .mega, .dd:focus-within .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .16s ease, transform .16s ease, visibility 0s; }

  .mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 2px solid var(--brass); box-shadow: 0 34px 40px -30px rgba(11, 21, 38, .5); }
  .mega-in { grid-template-columns: 22rem 21rem 1fr; min-height: 21rem; }
  .mega-intro { padding: 2.2rem 2.2rem 2rem 0; }
  .mega-intro .mega-t { font: 600 1.6rem/1.3 var(--display); letter-spacing: -.015em; margin-bottom: .7rem; }
  .mega-intro .sub { font: 600 .95rem/1.4 var(--display); margin-bottom: .8rem; }
  .mega-intro p { font-size: .86rem; color: var(--muted); line-height: 1.65; margin-bottom: .8rem; }
  .mega-list { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: .6rem 0; background: var(--card); }
  .nav .mega-list a { padding: .82rem 1.4rem; font-size: .9rem; color: var(--ink-2); }
  .nav .mega-list a.on { background: var(--paper-2); color: var(--ink); }
  .mega-detail { padding: 2.2rem 0 2rem 2.6rem; }
  .mp .mp-t { font: 600 1.5rem/1.3 var(--display); text-wrap: balance; margin-bottom: 1rem; letter-spacing: -.01em; }
  .mp p { font-size: .95rem; color: var(--ink-2); max-width: 40rem; margin-bottom: 1.3rem; }
  .nav .mp a { color: var(--navy); font-weight: 650; font-size: .9rem; display: inline-flex; gap: .45rem; align-items: center; border-bottom: 1.5px solid var(--brass); padding: 0 0 2px; }
}
/* phones + small tablets: groups expand on tap */
@media (max-width: 1059px) {
  .nav.open { max-height: calc(100vh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; }
  .nav .dd { position: relative; border-bottom: 1px solid var(--line); }
  .nav.open .dd > a { border-bottom: 0; padding-right: 3rem; display: block; }
  .dd-btn { display: grid; place-items: center; position: absolute; right: 0; top: .35rem; width: 2.6rem; height: 2.6rem; border: 0; background: none; }
  .dd-btn .i { width: 1rem; height: 1rem; stroke-width: 2.4; transition: transform .2s; }
  .dd.open .dd-btn .i { transform: rotate(180deg); }
  .nav .dd-t .i { display: none; }
  .mega, .menu { display: none; }
  .dd.open .mega, .dd.open .menu { display: block; padding: 0 0 .8rem 1rem; }
  .mega-intro, .mega-detail { display: none; }
  .nav.open .mega a, .nav.open .menu a { padding: .6rem 0; font-size: .95rem; border-bottom: 0; }
  .nav.open .menu a { display: block; padding-left: 1.45rem; }
  .mega-list li a .i { display: none; }
}

/* page banner (inner pages) */
.page-hero { position: relative; isolation: isolate; color: var(--paper); background: var(--navy) center / cover; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding: clamp(2.4rem, 5vw, 3.9rem) 0 calc(var(--cut) + clamp(1.6rem, 3.2vw, 2.7rem)); margin-bottom: calc(var(--cut) * -1); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13, 43, 82, .97) 30%, rgba(13, 43, 82, .84)); }
.page-hero h1 { font-size: clamp(1.7rem, 3.3vw, 2.65rem); line-height: 1.3; margin: 0 0 1.1rem; max-width: 36ch; }
.page-hero h1 em { display: block; }   /* first half on one line, the coloured half on the next */
.page-hero .lead { color: rgba(245, 247, 250, .85); margin-bottom: 1.6rem; }
.page-hero.compact { padding: clamp(1.6rem, 3vw, 2.4rem) 0 calc(var(--cut) + clamp(.9rem, 2vw, 1.5rem)); }   /* the plain reference pages (FAQs, Updates, Useful links, Privacy, Terms) get a shorter banner */
.page-hero.compact .lead { margin-bottom: 0; }
/* two other looks for the banners, so the pages do not all open the same way */
.page-hero.flat { clip-path: none; margin-bottom: 0; padding-bottom: clamp(2.2rem, 4.5vw, 3.6rem); border-bottom: 4px solid var(--brass); }
.page-hero.light { background: var(--paper); color: var(--ink); clip-path: none; margin-bottom: 0; padding-bottom: clamp(1.6rem, 3.2vw, 2.6rem); border-bottom: 1px solid var(--line); }
.page-hero.light::before { display: none; }
.page-hero.light .crumbs { color: var(--ink-2); }
.page-hero.light .crumbs a:hover { color: var(--ink); }
.page-hero.light .lead { color: var(--text); }
.page-hero.flat + .after-slant, .page-hero.light + .after-slant { padding-top: clamp(2.8rem, 5.5vw, 4.6rem); }
.crumbs { font-size: max(.8rem, 12px); letter-spacing: .05em; color: rgba(245, 247, 250, .68); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 .5rem; opacity: .75; }
.after-slant { padding-top: calc(var(--cut) + clamp(3.5rem, 7vw, 6rem)); }

/* single service page */
.svc-points { margin-top: 2rem; }
.svc-points li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.2rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.svc-points li:last-child { border-bottom: 1px solid var(--line); }
.svc-points .k { font: 600 1.05rem var(--display); color: var(--brass-ink); padding-top: .3rem; }
.svc-points h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; margin-bottom: .8rem; }
.svc-points p { color: var(--text); max-width: 36rem; }

/* single service page: three parts, each with its own scale and background */
.svc-handle { padding-bottom: clamp(4.5rem, 7vw, 6rem); }
.svc-handle h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.2; }
.svc-intro { margin-top: .7rem; max-width: 34rem; color: var(--text); font-size: 1rem; line-height: 1.6; }
.svc-scan { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); align-items: start; gap: 1.2rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); }   /* what we handle: every item visible at once, in short groups */
.svc-scan > div { padding: 1.7rem 1.6rem 1.4rem; background: var(--card); border: 0; border-radius: 8px; box-shadow: 0 2px 12px rgba(13, 43, 82, .1); transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease; }
@media (hover: hover) { .svc-scan > div:hover, .svc-scan > div:focus-within { transform: translateY(-4px); box-shadow: 0 8px 20px -8px rgba(13, 43, 82, .18); } }
@media (prefers-reduced-motion: reduce) { .svc-scan > div { transition: none; } .svc-scan > div:hover { transform: none; } }
.svc-scan h3 { margin-bottom: .8rem; font: 650 1.15rem/1.3 var(--display); color: var(--ink); letter-spacing: 0; }
.svc-scan ul { display: grid; gap: .4rem; }
.svc-scan li { color: var(--text); font-size: .98rem; line-height: 1.45; }
.svc-ask { margin-top: 2.2rem; color: var(--text); }
.svc-detail { margin-top: .9rem; }   /* the longer explanation sits behind a quiet "more" line, so the groups stay short */
.svc-detail summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; list-style: none; color: var(--navy); font-size: .9rem; font-weight: 600; border-bottom: 1.5px solid transparent; }
.svc-detail summary::-webkit-details-marker { display: none; }
.svc-detail summary::after { content: "+"; font-weight: 400; }
.svc-detail[open] summary::after { content: "\2013"; }
.svc-detail summary:hover { border-bottom-color: var(--brass); }
.svc-detail p { margin-top: .7rem; color: var(--text); font-size: .92rem; line-height: 1.65; }
.band.svc-band { padding-block: calc(var(--cut) + clamp(3rem, 6vw, 4.6rem)); }   /* the Home stats band, reused for "before you start" */
.svc-band h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.svc-rest { padding-top: clamp(4.5rem, 7vw, 6.5rem); }
.svc-sub { margin-top: clamp(3rem, 6vw, 4.6rem); }
.svc-sub h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc-sub.faq details:first-of-type { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.svc-more { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1rem; }
.svc-more a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid transparent; }
.svc-more a:hover { border-bottom-color: var(--brass); }

/* accordion panel actions (home) */
.acc .pn .pn-actions { display: flex; flex-wrap: wrap; gap: 1.1rem .7rem; margin-top: 1.8rem; }
.acc .pn .pn-actions .btn { margin-top: 0; }

/* call-to-action band */
.cta-band { background: var(--navy); }
.cta-in { display: grid; gap: 2.4rem; align-items: center; }
.cta-in h2 { margin: 0; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1.3fr 1fr; gap: 5rem; } .cta-in .cta-row { justify-content: flex-end; } }
.cta-band.network { padding: calc(var(--cut) + 4.5rem) 0 5.5rem; }
.cta-band.light { background: var(--paper); color: var(--ink); clip-path: none; margin-top: 0; padding: clamp(3.4rem, 6vw, 4.8rem) 0; }   /* the closing band is light, so it does not merge with the dark footer below it */
.cta-band.light h2 em { color: inherit; }

/* careers */
.roles { display: grid; gap: 2.2rem; }
.role h3 { font-size: 1.5rem; padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 2px solid var(--brass); }   /* the line sits under the title, not above it */
.role p { color: var(--text); font-size: .95rem; }
.apply { margin-top: 3.4rem; padding: 2.2rem; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(13, 43, 82, .08); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.apply h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.apply p { color: var(--ink-2); }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(3, 1fr); gap: 2.6rem; } .roles .role:nth-child(2) { margin-top: 2.2rem; } .roles .role:nth-child(3) { margin-top: 4.4rem; } .apply { padding: 2.6rem 2.8rem; grid-template-columns: 1.3fr 1fr; } .apply .cta-row { justify-content: flex-end; } }

/* collab page: standalone dark section (no slanted top) */
.network.flat { clip-path: none; margin-top: 0; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 9vw, 7rem); }

@media (max-width: 1059px) { .nav a::after { display: none !important; } .nav.open a[aria-current="page"] { color: var(--navy); font-weight: 700; } }

/* 404 / error pages */
.notfound { min-height: calc(100svh - var(--hdr)); display: grid; align-items: center; padding: clamp(3.5rem, 9vw, 7rem) 0; }
.nf-n { font: 500 clamp(6rem, 22vw, 14rem)/.85 var(--display); color: var(--brass-lt); letter-spacing: -.03em; margin-bottom: 3.4rem; padding-bottom: .1em; user-select: none; }
.notfound h1 { margin: 1.2rem 0 1.4rem; max-width: none; font-size: clamp(1.45rem, 6.4vw, 3.4rem); }   /* two lines: the plain part, then the coloured part */
.notfound h1 em { display: block; }
.notfound .lead { margin-bottom: 2.2rem; }

/* floating chat launcher (WhatsApp / Email / Call) */
.chat { pointer-events: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; transform: translateY(130px); transition: transform .3s; }
.chat.show, .chat.open { transform: none; }
.chat-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -8px rgba(11, 21, 38, .65); }
.chat-btn:hover { background: var(--blue); }
.chat-btn .i { grid-area: 1 / 1; width: 26px; height: 26px; stroke-width: 1.8; transition: transform .25s, opacity .2s; }
.chat-btn .i-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.open .chat-btn .i-c { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.open .chat-btn .i-x { opacity: 1; transform: none; }
.chat-menu { list-style: none; margin: 0; padding: .4rem; min-width: 14rem; display: grid; gap: .15rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 42px -18px rgba(11, 21, 38, .6); transform-origin: bottom right; opacity: 0; transform: translateY(8px) scale(.97); visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.chat.open .chat-menu { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .2s, transform .2s; }
.chat-menu a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 10px; text-decoration: none; font-weight: 650; font-size: .95rem; line-height: 1.2; }
.chat-menu a:hover, .chat-menu a:focus-visible { background: var(--paper-2); }
.chat-menu small { display: block; margin-top: .15rem; font-weight: 400; font-size: max(.76rem, 12px); color: var(--muted); }
.chat-menu .ic { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.chat-menu .ic .i { width: 1.1rem; height: 1.1rem; }
.chat-menu .ic.wa { background: var(--wa); }
.chat-menu .ic.mail { background: var(--blue); color: #fff; }
.chat-menu .ic.call { background: var(--blue); }
@media (min-width: 1060px) { .chat { display: none; } }   /* on desktop the buttons on the page are always in reach; the floating bubble is for phones and tablets */

.est { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem .9rem; padding: .95rem 0 .55rem; border-bottom: 1.5px dotted rgba(11, 21, 38, .3); font-size: .95rem; }
.est b { font: 600 1.55rem/1 var(--display); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.est input { grid-column: 1 / -1; width: 100%; margin: .55rem 0 0; accent-color: var(--navy); }

/* industries we serve: cards that stack like a deck as you scroll */
.ind-deck { display: grid; padding-bottom: 1rem; }
.ind-card { position: sticky; top: calc(var(--hdr) + clamp(1rem, 13vh, 7rem) + var(--i) * .8rem); margin-bottom: 5.2rem; }
@media (min-width: 900px) and (hover: hover) { html:not(.lite) .ind-card { filter: drop-shadow(0 -1px 3px rgba(11, 21, 38, .1)); } }
.ind-in { --ch: 2.4rem; position: relative; display: grid; grid-template-columns: 1fr; background: #ebeef3; overflow: hidden; clip-path: polygon(0 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% 100%, 0 100%); }   /* only the top-right corner is cut */
.ind-txt { padding: 1.8rem 1.6rem 2.4rem; display: flex; flex-direction: column; justify-content: center; }
.ind-card h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 .9rem; line-height: 1.3; }
.ind-card p { color: var(--ink-2); max-width: 32rem; }
.ind-card .tags { margin: 1.3rem 0 0; }
.ind-art { order: -1; position: relative; overflow: hidden; display: grid; place-items: center; padding: .8rem; height: 8.5rem; background: var(--navy); color: var(--paper); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.4rem), 0 100%); }
/* the drawings are soft filled shapes on a plain panel, a different look from the thin outline drawings on the Services list */
.ind-art svg { position: relative; z-index: 1; width: auto; height: 100%; max-width: 100%; stroke-width: 4.5; fill: currentColor; fill-opacity: 1; }

.v1 .ind-art { background: var(--paper-2); color: var(--navy); }

.v2 .ind-art { background: var(--blue); color: var(--paper); }
.v3 .ind-art { background: var(--brass-tint); color: var(--navy); }

.ind-note { margin-top: 1.6rem; color: var(--ink-2); }
.ind-note a { color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 800px) {
  .ind-in { --ch: 3.2rem; grid-template-columns: 1.05fr .95fr; min-height: 26rem; }
  .ind-txt { padding: 2.8rem 3rem 2.8rem 3.2rem; }
  .ind-card:nth-child(even) .ind-txt { padding: 2.8rem 3.2rem 2.8rem 3rem; }
  .ind-art { order: 0; height: auto; padding: 2.4rem 2.4rem 2.4rem 4.4rem; clip-path: polygon(3.6rem 0, 100% 0, 100% 100%, 0 100%); }
  .ind-card:nth-child(even) .ind-art { order: -1; padding: 2.4rem 4.4rem 2.4rem 2.4rem; clip-path: polygon(0 0, 100% 0, calc(100% - 3.6rem) 100%, 0 100%); }
  .ind-art svg { width: min(100%, 20rem); height: auto; }
}
@media (max-height: 640px) { .ind-card { position: relative; top: auto; } }

/* services: index with live preview (list left, detail right; accordion on phones) */
.sx-list { display: block; padding-bottom: 3rem; border-top: 1px solid var(--line); }
.sx-item { border-bottom: 1px solid var(--line); }
.sx-row { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t go"; align-items: center; column-gap: .9rem; padding: 1.5rem .4rem 1.5rem .8rem; text-decoration: none; transition: background-color .2s, padding .2s; }
.sx-t { grid-area: t; font: 600 clamp(1.3rem, 2.3vw, 1.85rem)/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }
.sx-row .i { grid-area: go; width: 1.1rem; height: 1.1rem; color: var(--navy); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.sx-item.on .sx-row { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--navy); }
.sx-item.on .sx-t { color: var(--navy); }
.sx-item.on .sx-item.on .sx-row .i { opacity: 1; transform: none; }
.sx-panel { display: none; }
.sx-item.on .sx-panel { display: block; }
.sx-body { padding: 1.4rem 1.2rem 1.8rem; }
.sx-body p { margin: 0; font: 500 1.2rem/1.4 var(--display); color: var(--ink); max-width: 30rem; }
.sx-body ul { margin: 1.1rem 0 1.4rem; }
.sx-body li { padding: .7rem 0; border-top: 1px solid var(--line); }
.sx-body li b { display: block; font: 600 1rem/1.3 var(--display); color: var(--navy); }
.sx-body li span { display: none; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.sx-go { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; }
.sx-go .sx-extra { margin: 0; }
@media (min-width: 900px) {
  .sx-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 3.5rem; border-top: 0; }
  .sx-item { display: contents; }
  .sx-row { grid-column: 1; grid-row: calc(var(--i) + 1); border-top: 1px solid var(--line); padding: 1.35rem .6rem 1.35rem 1rem; }
  .sx-item:last-child .sx-row { border-bottom: 1px solid var(--line); }
  .sx-row:hover { background: var(--paper-2); }
  .sx-row:hover .i { opacity: 1; transform: none; }
  .sx-panel { grid-column: 2; grid-row: 1 / span 8; border-radius: 6px; overflow: hidden; position: relative; align-self: stretch; visibility: hidden; opacity: 0; background: var(--card); border: 1px solid rgba(11, 21, 38, .08); box-shadow: 0 3px 14px rgba(13, 43, 82, .09); display: flex; flex-direction: column; }
  .sx-item.on .sx-panel { visibility: visible; opacity: 1; animation: sx-in .22s ease-out; }
  .sx-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem 2rem 1.8rem; }
  .sx-go { margin-top: auto; }
  .sx-body li span { display: block; }
}

/* home: "industries we serve" closing row inside the services section */
.ind-line { margin-top: clamp(2.6rem, 5vw, 4rem); }
.ind-line-in { display: grid; gap: 1.6rem; align-items: center; padding-top: 0; }
.ind-line h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: .8rem; }
.ind-line .tags { margin: 0 0 1.2rem; }
.ind-line .tags li { background: var(--card); }
@media (min-width: 900px) { .ind-line-in { grid-template-columns: 5fr 7fr; gap: 4rem; } }

/* legal pages */
.legal { padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal-in { max-width: 46rem; }
.legal .upd { font-size: max(.85rem, 12.5px); color: var(--muted); margin-bottom: 1.6rem; }
.legal h2 { position: relative; font-size: clamp(1.65rem, 2.8vw, 2.05rem); margin: 3.2rem 0 1rem; scroll-margin-top: calc(var(--hdr) + 1.5rem); }
.legal-toc { margin: 0 0 2.4rem; padding: 1.3rem 1.5rem 1.4rem; background: var(--card); border: 1px solid var(--line); }
.legal-toc p { margin: 0 0 .7rem; font: 650 max(.7rem, 11px)/1 var(--sans); letter-spacing: .01em; color: var(--brass-ink); }
.legal-toc ol { list-style: none; counter-reset: lt; display: grid; gap: .1rem 2rem; padding: 0; margin: 0; }
.legal-toc li { counter-increment: lt; display: grid; grid-template-columns: 2rem 1fr; align-items: baseline; }
.legal-toc li::before { content: counter(lt, decimal-leading-zero); font: 600 max(.85rem, 12.5px) var(--display); color: var(--brass-ink); }
.legal .legal-toc a { color: var(--navy); text-decoration: none; font-size: .95rem; line-height: 2; }
.legal .legal-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .legal-toc ol { grid-template-columns: 1fr 1fr; } }
.legal p, .legal li { color: var(--ink-2); line-height: 1.75; }
.legal p + p { margin-top: .9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; margin: .8rem 0; }
.legal li::marker { color: var(--brass); }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ftr-legal { display: inline-block; }
.ftr-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* loading screen: the logo alone on navy, shown only when the Home photo is slow, and faded away as soon as it arrives */
#splash { display: none; }
html.splash { overflow: hidden; scrollbar-gutter: stable; }
html.splash body { overflow: hidden; touch-action: none; overscroll-behavior: none; }
.splash #splash { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--navy); color: var(--paper); transition: opacity .45s ease; }
.splash #splash.go { opacity: 0; pointer-events: none; }
.sp-in { display: grid; justify-items: center; text-align: center; }
.sp-mark { width: 80px; height: auto; animation: spRise .6s cubic-bezier(.2, .7, .2, 1) both; }
.sp-word { margin: 1.1rem 0 0; font: 500 clamp(1.25rem, 4vw, 1.7rem)/1 var(--display); letter-spacing: .3em; padding-left: .3em; animation: spRise .6s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes spRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sp-mark, .sp-word { animation: none; } .splash #splash { transition: none; } }
/* the Home photo fades in once it is ready (without script it simply shows) */
.hero-bg { transition: opacity .6s ease; }
.js .hero-bg:not(.in) { opacity: 0; }

/* page transition: a quick fade. Desktop screens that are not low-end get a slanted wipe instead (the wipe repaints the page each frame, so phones and weak devices don't). Browsers without support just load normally. */
@view-transition { navigation: auto; }
#hdr { view-transition-name: site-header; }
#chat { view-transition-name: site-chat; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vtFade .18s ease-out both; }
@keyframes vtFade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) and (hover: hover) { html:not(.lite)::view-transition-new(root) { animation: vtIn .22s cubic-bezier(.4, 0, .2, 1) both; } }
@keyframes vtIn {
  from { clip-path: polygon(0 0, 100% 0, 100% -7vw, 0 0); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% + 7vw)); }
}
::view-transition-group(site-header), ::view-transition-group(site-chat) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.lite::view-transition-group(*), .lite::view-transition-old(*), .lite::view-transition-new(*) { animation: none !important; }

/* structure quiz (company formation page) */
.sq-grid { display: grid; gap: 3rem; align-items: start; }
.structure { scroll-margin-top: calc(var(--hdr) + 1rem); }
.structure h2 { margin: 1rem 0 1.2rem; }
.structure .wrap > div > p:not(.eyebrow) { color: var(--ink-2); max-width: 32rem; }
.sq-cmp { margin-top: 2rem; border-top: 1px solid var(--line); }
.sq-cmp li { display: grid; gap: .15rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.sq-cmp b { font: 600 1.05rem var(--display); }
.sq-cmp span { color: var(--muted); font-size: .88rem; }
.sq { display: none; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(13, 43, 82, .08); padding: 1.8rem 1.6rem 1.6rem; }
.js .sq { display: block; }
.sq-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .9rem; }
.sq-top b { font: 600 1.25rem/1.3 var(--display); }
.sq-top span { font: 650 max(.64rem, 11px)/1 var(--sans); letter-spacing: .01em; color: var(--brass-ink); }
.sq-bar { height: 3px; background: var(--paper-2); margin: 0 0 1.4rem; }
.sq-bar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .3s; }
.sq-q { font: 600 1.45rem/1.3 var(--display); margin: 1.4rem 0 1.1rem; }
.sq-opt { display: block; width: 100%; text-align: left; margin: 0 0 .6rem; padding: .95rem 1.1rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); font-size: .95rem; color: var(--ink); cursor: pointer; transition: border-color .15s; }
.sq-opt:hover, .sq-opt:focus-visible { border-color: var(--navy); }
.sq-back { margin-top: .4rem; padding: .3rem 0; background: none; border: 0; font-size: max(.85rem, 12.5px); color: var(--muted); text-decoration: underline; cursor: pointer; }
.sq-res h3 { font: 600 clamp(1.7rem, 3.4vw, 2.2rem)/1.3 var(--display); color: var(--navy); margin: .3rem 0 .8rem; }
.sq-res p { color: var(--ink-2); line-height: 1.65; }
.sq-lbl { font-size: max(.85rem, 12.5px); color: var(--muted); margin: 1.4rem 0 0; }
.sq-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.2rem 0; }
.sq-kv div { background: var(--paper); border: 1px solid var(--line); padding: .7rem .8rem; font-size: max(.75rem, 12px); color: var(--muted); }
.sq-kv b { display: block; margin-top: .2rem; font-size: .9rem; font-weight: 650; color: var(--ink); }
.sq-act { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.sq-fine { margin-top: 1.2rem; font-size: max(.78rem, 12px); color: var(--muted); line-height: 1.5; }

.sx-extra { display: flex; width: fit-content; margin: 1.2rem 0 0; }
@media (min-width: 900px) { .sq-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } .sq { padding: 2.2rem 2.2rem 2rem; } }

/* FAQs */
.ask-all { margin-top: 2.4rem; }

.faq-tools { display: none; gap: .9rem; margin-bottom: 1.4rem; }
.js .faq-tools { display: grid; }
.faq-tools input { width: 100%; max-width: 38rem; padding: .7rem 1rem; background: #fff; border: 1.5px solid rgba(11, 21, 38, .52); border-radius: var(--r); font: inherit; font-size: .95rem; color: var(--ink); }
.faq-tools input:focus { outline: 0; border-color: var(--navy); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: .55rem; }
.faq-tabs button { padding: .5rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.faq-tabs button:hover { border-color: var(--ink); }
.faq-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-empty { padding: 2rem 0; color: var(--ink-2); }
.faq-empty a { color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq-cat { margin-bottom: 1.8rem; }
.faq-cat[hidden] { display: none; }
.faq-cat > h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin: 0 0 .7rem; padding: .7rem 1.1rem; background: var(--paper-3); }   /* the category name sits on a tinted strip, like the Useful links boxes */
.faq details { position: relative; margin-bottom: .3rem; background: transparent; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 1.2rem); }
.faq details[open] { background: var(--card); border-bottom-color: transparent; }
@media (hover: hover) {
  .faq details { transition: transform .25s ease, background-color .25s ease; }
  .faq details:not([open]):hover { background: var(--paper-2); transform: translateX(5px); }
  .faq details:not([open]):hover summary::after { transform: rotate(90deg); background: var(--card); }
}
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; padding: .78rem 1.3rem; font: 600 clamp(1.02rem, 1.6vw, 1.15rem)/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid var(--navy); border-radius: 50%; font: 400 1.1rem/1 var(--sans); color: var(--navy); transition: transform .3s ease, background-color .2s, color .2s; }
.faq details[open] summary { color: var(--navy); font-weight: 600; }
.faq details[open] summary::after { content: "\2013"; background: var(--navy); color: #fff; }
.faq-a { display: grid; border-top: 1px solid var(--line); }
.faq-text { padding: 1rem 1.3rem 1.2rem; max-width: 44rem; }
.faq-text p, .faq-text li { color: var(--ink); font-size: .97rem; line-height: 1.7; }
.faq-text p + p { margin-top: .9rem; }
.faq-text ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; margin: .8rem 0; }
.faq-text li::marker { color: var(--brass); }
.faq-text a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.faq-side { display: flex; flex-direction: column; gap: .5rem; padding: .8rem 1.3rem .9rem; background: var(--paper-2); font-size: max(.82rem, 12.5px); color: var(--muted); }
.faq-side p { margin: 0; }
.faq-side a, .faq-fb button { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(11, 21, 38, .3); text-underline-offset: 3px; font-weight: 400; }
.faq-side a:hover, .faq-fb button:hover { color: var(--navy); text-decoration-color: var(--navy); }
.faq-fb { white-space: nowrap; }   /* "Was this helpful? Yes · No" stays on one line */
.faq-fb button { min-width: 2.2rem; min-height: 2.4rem; padding: 0 .3rem; border: 0; background: none; font: inherit; cursor: pointer; }
.faq-fb[hidden] { display: none; }
.faq-fbmsg { color: var(--navy); }
.faq-fbmsg:empty { display: none; }
@media (min-width: 900px) {
  .faq-a { grid-template-columns: minmax(0, 1fr) 16rem; }
  .faq-side { justify-content: center; gap: .9rem; padding: 1rem 1.4rem 1rem 3rem; clip-path: polygon(2rem 0, 100% 0, 100% 100%, 0 100%); }
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) { .faq details:not([open]):hover { transform: none; } }
.faq-text .faq-asof { margin-top: .9rem; font: 500 max(.8rem, 12px)/1.3 var(--sans); letter-spacing: -.005em; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }

/* contact form panes */
.f-pane[hidden] { display: none; }

/* resources */
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.res-cal h2 { margin: 1rem 0 1.2rem; }
.res-grid > div:first-child > p:not(.eyebrow) { color: var(--ink-2); max-width: 30rem; }
.cal { background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(13, 43, 82, .08); padding: 1.6rem 1.5rem 1.3rem; }
.cal-tabs { display: none; gap: .5rem; margin-bottom: .6rem; }
.js .cal-tabs { display: flex; }
.cal-tabs button { padding: .45rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; font-size: max(.85rem, 12.5px); font-weight: 650; color: var(--ink-2); cursor: pointer; }
.cal-tabs button:hover { border-color: var(--ink); }
.cal-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal-row { display: grid; grid-template-columns: 3.6rem 1fr auto; gap: .9rem; align-items: center; padding: .95rem 0; border-bottom: 1.5px dotted rgba(11, 21, 38, .3); }
.cal-d { font: 600 1.6rem/1 var(--display); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.cal-d small { display: block; margin-top: .25rem; font: 700 max(.58rem, 10px)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cal-t { font-size: .95rem; }
.cal-p { font-size: max(.76rem, 12px); white-space: nowrap; padding: .25rem .65rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.cal-row.next { background: #fff; margin: 0 -.7rem; padding-inline: .7rem; border-bottom-color: transparent; }
.cal-row.next .cal-p { background: var(--navy); color: #fff; }
.cal-row.soon .cal-p { background: var(--brass-tint); color: var(--brass-ink); }
.cal-fine { margin: 1rem 0 0; font-size: max(.78rem, 12px); color: var(--muted); }
.chk-grid { display: grid; gap: 1.6rem; }
.chk-card { position: relative; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(13, 43, 82, .08); padding: 2.2rem 1.6rem 1.4rem; scroll-margin-top: calc(var(--hdr) + 1.4rem); }
.chk-card h4 { font: 600 1.35rem/1.32 var(--display); margin: 0 0 1.1rem; }
.chk-card ul { display: grid; gap: .15rem; }
.chk-card label { display: grid; grid-template-columns: 1.3rem 1fr; gap: .75rem; align-items: start; padding: .4rem .3rem; cursor: pointer; font-size: .92rem; color: var(--ink-2); line-height: 1.5; transition: background-color .15s; }
.chk-card label:hover { background: var(--paper-2); }
.chk-card input { position: absolute; opacity: 0; pointer-events: none; }
.chk-card .box { width: 1.1rem; height: 1.1rem; margin-top: .22rem; border: 1.5px solid var(--navy); background: #fff; transform: skewX(-12deg); transition: background-color .15s, border-color .15s; position: relative; }
.chk-card .box::after { content: ""; position: absolute; left: .26rem; top: .02rem; width: .3rem; height: .58rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg) scale(0); transition: transform .15s; }
.chk-card input:checked + .box { background: var(--navy); }
.chk-card input:checked + .box::after { transform: rotate(40deg) scale(1); }
.chk-card input:checked ~ .lbl { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(11, 21, 38, .3); }
.chk-card input:focus-visible + .box { outline: 2px solid var(--brass); outline-offset: 2px; }
.chk-prog { display: none; align-items: center; gap: .9rem; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: max(.8rem, 12px); color: var(--muted); }
.js .chk-prog { display: flex; }
.chk-prog .bar { flex: 1; height: 3px; background: var(--paper-2); }
.chk-prog .bar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .25s; }
.chk-card.done .chk-prog { color: var(--navy); font-weight: 650; }

@media (min-width: 900px) {
  .res-grid { grid-template-columns: 5fr 6fr; gap: 5rem; }
  .chk-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 2.4rem; }
}
.chk-card .tag { display: block; margin: 0 0 .8rem; font: 650 max(.68rem, 11px)/1 var(--sans); letter-spacing: .01em; color: var(--brass-ink); }
@media (min-width: 900px) {
  .chk-grid .chk-card:nth-child(even) { margin-top: 2.6rem; }
}

.f-pane h3 { color: var(--navy); }

/* resources: short notes, pinned to a dark board you scroll sideways */
.notes-board { background: var(--navy); color: var(--paper); padding: calc(var(--cut) + 4.5rem) 0 calc(var(--cut) + 4rem); clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); margin: calc(var(--cut) * -1) 0; position: relative; z-index: 2; }
.nb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.6rem; }
.nb-head h2 { margin: 1rem 0 1rem; }
.nb-head p:last-child { color: rgba(245, 247, 250, .8); max-width: 34rem; }
.nb-arrows { display: none; gap: .6rem; flex: none; }
.js .nb-arrows { display: flex; }
.nb-arrows button { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 1.5px solid rgba(245, 247, 250, .4); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; transition: background-color .2s, color .2s; }
.nb-arrows button:hover, .nb-arrows button:focus-visible { background: var(--paper); color: var(--ink); }
.nb-arrows .i { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.nb-rail { display: flex; gap: 1.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2rem max(var(--gut), calc((100vw - var(--wrapw, 1240px)) / 2)) 2.6rem; scrollbar-width: thin; scrollbar-color: var(--brass) transparent; -webkit-overflow-scrolling: touch; }
.nb-rail:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.pin { position: relative; flex: 0 0 min(84vw, 23rem); scroll-snap-align: center; background: var(--paper-2); color: var(--ink); padding: 2.5rem 1.7rem 1.7rem; box-shadow: 0 22px 34px -18px rgba(11, 21, 38, .7); transform: rotate(-1.2deg); transition: transform .3s ease; }
.pin:nth-child(even) { transform: rotate(1deg); margin-top: 1.4rem; }
.pin:nth-child(3n) { transform: rotate(-.4deg); }
.pin:hover { transform: rotate(0) translateY(-6px); }
.pin::before { content: ""; position: absolute; top: -.6rem; left: 50%; margin-left: -.65rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--brass-lt), var(--brass) 62%, var(--brass-ink)); box-shadow: 0 3px 6px rgba(11, 21, 38, .45); }
.pin::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1.7rem; height: 1.7rem; background: linear-gradient(135deg, transparent 50%, var(--brass-tint) 50%); }
.pin h3 { font-size: 1.35rem; margin: 0 0 1rem; line-height: 1.32; color: var(--ink); }
.pin p, .pin li { color: var(--ink-2); font-size: .96rem; line-height: 1.7; }
.pin p + p { margin-top: .8rem; }
.pin ul { list-style: disc; padding-left: 1.15rem; display: grid; gap: .35rem; }
.pin li::marker { color: var(--brass); }
/* the category and the date sit at the foot of each note, like the line along the bottom of a pinned notice */
.pin .pin-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding-top: .8rem; border-top: 1px dashed rgba(11, 21, 38, .22); font-size: max(.8rem, 12px); line-height: 1.3; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.pin .pin-foot span:first-child { font-weight: 650; color: var(--brass-ink); }
@media (max-width: 640px) { .nb-head { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .pin:hover { transform: rotate(-1.2deg); } .pin:nth-child(even):hover { transform: rotate(1deg); } }

/* dropdowns: styled list instead of the system pop-up (the real <select> stays underneath) */
.cs { position: relative; }
.cs-on select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cs-btn { position: relative; width: 100%; min-height: 52px; padding: .95rem 2.7rem .95rem 1.05rem; text-align: left; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid rgba(11, 21, 38, .52); border-radius: var(--r); cursor: pointer; transition: border-color .15s; }
.cs-btn::after { content: ""; position: absolute; right: 1.15rem; top: 50%; width: .5rem; height: .5rem; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.cs.open .cs-btn::after { transform: translateY(-25%) rotate(-135deg); }
.cs-btn:hover { border-color: rgba(11, 21, 38, .55); }
.cs-btn:focus-visible, .cs.open .cs-btn { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 79, 150, .2); }

.cs-invalid .cs-btn { border-color: var(--red); }
.cs-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; margin: 0; padding: .3rem; list-style: none; max-height: 22rem; overflow-y: auto; scrollbar-width: none; background: #fff; border: 0; border-top: 3px solid var(--brass); box-shadow: 0 18px 30px -14px rgba(11, 21, 38, .45); animation: csIn .16s ease-out; }
.cs-up .cs-list { top: auto; bottom: calc(100% + 6px); }
.cs-opt { position: relative; padding: .7rem .9rem .7rem 1rem; font-size: .95rem; line-height: 1.35; color: var(--ink); cursor: pointer; }
.cs-opt[data-empty] { color: var(--muted); }
.cs-opt.cs-act { background: var(--paper-2); }
.cs-opt[aria-selected="true"] { font-weight: 650; color: var(--navy); }
.fit .cs-btn { min-height: 44px; padding-top: .6rem; padding-bottom: .6rem; }
@keyframes csIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cs-list::-webkit-scrollbar { display: none; }

/* contact card: a little more breathing room */
.f-pane > h3 { margin-bottom: .8rem; }

/* footer bottom line: each item is its own block, so nothing collides at any width */
.ftr-bot > span { display: block; line-height: 1.6; }
.ftr-bot .ftr-ids { letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 720px) { .ftr-bot { flex-direction: column; gap: .5rem; } }

@keyframes sx-in { from { opacity: 0; } to { opacity: 1; } }

/* beta marker (set BETA = False in tools/build.py to remove it) */
.beta-note { margin: 1.2rem 0 0; padding-right: 4.5rem; font-size: max(.76rem, 12px); color: rgba(245, 247, 250, .62); }
.sx-item.sx-anim .sx-panel { overflow: hidden; }

/* no select or drag on the page (form fields still work) */
input, textarea, select { -webkit-user-select: text; user-select: text; }
img, svg, a, button { -webkit-user-drag: none; user-drag: none; }

/* beta fixes */
* { -webkit-tap-highlight-color: transparent; }
.chat-btn, .chat.open .chat-menu { pointer-events: auto; }
.acc details[open] summary .t { color: var(--navy); }
.mega-all { margin-top: .4rem; border-top: 1px solid var(--line); }
.mega-all a { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); }
.mega-all .i { width: .9rem; height: .9rem; stroke-width: 2.3; }
@media (max-width: 640px) { .brand small { display: none; } }
a, button, summary, label, input, select, textarea { touch-action: manipulation; }

/* "See all services" reacts like the other rows of the Services list */
@media (min-width: 1060px) {
  .nav .mega-all a { padding: .82rem 1.4rem; font-size: .9rem; }
  .nav .mega-all a:hover, .nav .mega-all a:focus-visible { background: var(--paper-2); color: var(--ink); }
}

/* navbar tagline: darker and tighter so it reads clearly */
.hdr .brand small { font-weight: 500; font-size: max(.66rem, 10px); letter-spacing: .06em; color: var(--ink-2); }
.hdr-dark .brand small { color: rgba(245, 247, 250, .72); }

/* phone polish: nothing wider than the screen, tap targets big enough */
a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .cal-row { grid-template-columns: 3.2rem 1fr; }
  .cal-row .cal-p { grid-column: 2; justify-self: start; }
  .cal-tabs { flex-wrap: wrap; }
}
@media (max-width: 899px) {
  .ftr li a, .ftr-legal a { display: inline-block; padding: .5rem 0; }
  .ftr-legal a { padding: .45rem .1rem; }
  .tlink { padding-top: .55rem; padding-bottom: .55rem; }

}

/* accessibility: the focus ring stays inside the cut-corner FAQ cards, and the dropdown placeholder text passes contrast */
.faq summary:focus-visible { outline-offset: -4px; border-radius: 0; }
.cs-ph { color: var(--muted); }

/* consent tick box on the forms */
.f .consent { display: grid; grid-template-columns: 1.15rem 1fr; gap: .75rem; align-items: start; margin: 0 0 1.1rem; font-size: max(.84rem, 12.5px); font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--ink-2); cursor: pointer; }
.f .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; pointer-events: none; }
.f .consent .cbx { width: 1.1rem; height: 1.1rem; margin-top: .2rem; border: 1.5px solid var(--navy); background: #fff; border-radius: 2px; position: relative; transition: background-color .15s; }
.f .consent .cbx::after { content: ""; position: absolute; left: .26rem; top: .02rem; width: .3rem; height: .58rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg) scale(0); transition: transform .15s; }
.f .consent input:checked + .cbx { background: var(--navy); }
.f .consent input:checked + .cbx::after { transform: rotate(40deg) scale(1); }
.f .consent input:focus-visible + .cbx { outline: 2px solid var(--brass); outline-offset: 2px; }
.f .consent input:user-invalid + .cbx { border-color: var(--red); }
.f .consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* shown only when scripts are off */
.noscript { margin: 0; padding: .75rem var(--gut); background: var(--ink); color: var(--paper); font-size: max(.85rem, 12.5px); line-height: 1.6; text-align: center; }
.noscript a { color: var(--brass-lt); text-decoration: underline; }

/* printing: content only, readable on white paper */
@media print {
  @page { margin: 16mm; }
  *, *::before, *::after { box-shadow: none !important; clip-path: none !important; animation: none !important; transition: none !important; text-shadow: none !important; }
  html { zoom: 1 !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hdr, .chat, #splash, .prog, .skip, .beta-note, .burger, .nav, .noscript, .faq-tools, .nb-arrows, .btn, .cta-band, .chk-prog, form, .cs, .tlink, .faq-side, .sq, .map { display: none !important; }
  .fit { zoom: 1 !important; min-height: 0 !important; padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .sec, section { opacity: 1 !important; transform: none !important; padding-top: 1.2rem !important; padding-bottom: 1.2rem !important; margin: 0 !important; background: none !important; }
  .on-dark, .on-dark *, .page-hero, .page-hero *, .band, .band *, .notes-board, .notes-board *, .approach, .approach *, .ftr, .ftr * { color: #000 !important; background: none !important; background-image: none !important; }
  .page-hero { padding: 0 0 .6rem !important; border-bottom: 1px solid #000; }
  h1, h2, h3 { break-after: avoid; }
  details, .pin, .chk-card, .faq-cat > h2, li { break-inside: avoid; }
  .nb-rail { display: block !important; overflow: visible !important; padding: 0 !important; }
  .pin { transform: none !important; background: #fff !important; border: 1px solid #999; margin: 0 0 .8rem !important; flex: none !important; }
  .faq details { background: #fff !important; border: 0 !important; border-bottom: 1px solid #bbb !important; }
  .faq summary::after { display: none !important; }
  .faq-a { display: block !important; }
  .ftr { padding: .6rem 0 0 !important; border-top: 1px solid #000; font-size: 9pt; }
  .ftr .wrap > div:first-child, .ftr ul, .ftr .ftr-h { display: none !important; }
  a { color: #000 !important; text-decoration: none !important; }
}

/* updates page */
.upd-wrap { max-width: 52rem; }
.upd-note { margin: 0 0 1.6rem; max-width: 62ch; font-size: .9rem; color: var(--muted); }
.upd-note a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.upd-item { display: grid; grid-template-columns: 10rem 1fr; gap: 0 2rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.upd-meta { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.upd-tag { font: 650 max(.72rem, 11px)/1 var(--sans); letter-spacing: .01em; color: var(--brass-ink); }
.upd-meta time { font: 600 1.05rem/1.2 var(--display); color: var(--ink); }
.upd-mh { margin: 3rem 0 .5rem; font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); color: var(--ink); }
.upd-main h3 { margin: 0 0 .7rem; font: 600 1.45rem/1.32 var(--display); color: var(--ink); }
.upd-main p { margin: 0 0 .8rem; color: var(--text); }
@media (max-width: 640px) { .upd-item { grid-template-columns: 1fr; gap: .6rem; } .upd-meta { flex-direction: row; gap: .9rem; align-items: center; } }
.chk-dl { margin-top: .9rem; display: inline-flex; }

/* checklist groups */
.chk-group { scroll-margin-top: calc(var(--hdr) + 1.4rem); }
.chk-gh { margin: 0; padding: 1.35rem 0; border-top: 1px solid var(--line); font: 600 1.6rem/1.3 var(--display); color: var(--ink); }
.chk-group:not(.shut) .chk-gh { padding-bottom: 1.7rem; }
.chk-group:last-child { border-bottom: 1px solid var(--line); }
.chk-group:last-child .chk-grid { padding-bottom: 2.4rem; }
.chk-group.shut .chk-grid { display: none; }
.chk-gt { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.chk-gt .t { flex: 1; min-width: 0; }
.chk-gt .c { flex: none; font: 400 max(.85rem, 12.5px)/1 var(--sans); color: var(--muted); }
.chk-gt .pm { position: relative; flex: none; width: 1rem; height: 1rem; }
.chk-gt .pm::before, .chk-gt .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: var(--navy); transition: transform .2s; }
.chk-gt .pm::after { transform: rotate(90deg); }
.chk-group:not(.shut) .chk-gt .pm::after { transform: rotate(0); }
.chk-gt:hover .t { color: var(--navy); }
.chk-gt:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.chk-wrap:not(.open) .chk-gt { cursor: default; }
.chk-wrap:not(.open) .chk-gt .pm { display: none; }
@media print { .chk-group.shut .chk-grid { display: grid !important; } .chk-gt .pm { display: none; } }
.chk-note { margin: -.4rem 0 1rem; max-width: 66ch; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.upd-main .upd-src { margin: 1rem 0 0; font-size: max(.82rem, 12.5px); color: var(--muted); }
.upd-main .upd-src a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* checklists: the first cards fade out, with "See all" over the fade */
.chk-wrap { position: relative; }
.chk-all.fold { overflow: hidden; }
.chk-wrap:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 13rem; pointer-events: none;
  background: linear-gradient(to bottom, rgba(252, 253, 254, 0) 0%, rgba(252, 253, 254, .5) 38%, rgba(252, 253, 254, .88) 66%, #fcfdfe 88%); }
.chk-seeall { position: relative; z-index: 2; display: flex; align-items: center; gap: .6rem; margin: 1.6rem auto 0; padding: .5rem .2rem; background: none; border: 0; font: 700 1.02rem/1.2 var(--sans); letter-spacing: .01em; color: var(--navy); cursor: pointer; }
.chk-seeall::after { content: ""; width: .6rem; height: .6rem; margin-top: -.25rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s, margin .2s; }
.chk-wrap.open .chk-seeall::after { transform: rotate(-135deg); margin-top: .25rem; }
.chk-wrap:not(.open) .chk-seeall { position: absolute; left: 50%; bottom: 1.6rem; margin: 0; transform: translateX(-50%); white-space: nowrap; border-bottom: 1.5px solid var(--brass); padding-bottom: .35rem; }
.chk-seeall:hover { color: var(--brass-ink); }
.chk-seeall:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
@media print { .chk-all.fold { max-height: none !important; overflow: visible; } .chk-wrap::after, .chk-seeall { display: none !important; } }

/* phone menu open: the page behind it stays still */
@media (max-width: 1059px) { html.nav-open { overflow: hidden; } }

/* contact on one screen: headline level with the middle of the picture, not at its foot */

/* contact on one screen: fields two to a row so the form is shorter, then drawn larger by the same amount.
   The page height doesn't change, so the heading, picture and details keep their size. */
.fit.contact .f { grid-template-columns: 1fr 1fr; column-gap: 1rem; row-gap: .8rem; align-items: start; }
.fit.contact .f .f2 { display: contents; }
.fit.contact .f .f-wide, .fit.contact .f .consent, .fit.contact .f .btn, .fit.contact .f .msg { grid-column: 1 / -1; }
.fit.contact #pane-enquire { zoom: var(--fk-enq, 1.12); }

/* "Where to start" on Home: four big lines, like a book's contents page */
.route-wrap { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .route-wrap { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: center; } .route .sec-head { margin-bottom: 0; } .route-row { padding-top: 2.1rem; padding-bottom: 2.1rem; } }
.route .sec-head { margin-bottom: 0; }
.route-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.route-list > li { border-bottom: 1px solid var(--line); }
.route-row { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t go" "d go"; column-gap: 1.5rem; row-gap: .3rem; align-items: center; margin: 0 -.8rem; padding: 1.55rem 1.1rem 1.55rem .8rem; color: inherit; text-decoration: none; cursor: pointer; background-color: transparent; transition: background-color .32s ease; }
.route-row .t { grid-area: t; font: 600 clamp(1.45rem, 2.6vw, 1.95rem)/1.3 var(--display); color: var(--ink); transform-origin: 0 60%; transition: transform .32s cubic-bezier(.22, .61, .36, 1), color .25s ease; }
.route-row .d { grid-area: d; font-size: .95rem; line-height: 1.55; color: var(--muted); max-width: 34rem; transition: transform .32s cubic-bezier(.22, .61, .36, 1), color .25s ease; }
.route-row .go, .route-row .pm { grid-area: go; }
.route-row .go { width: 1.3rem; height: 1.3rem; color: var(--navy); transition: transform .32s cubic-bezier(.22, .61, .36, 1); }
.route-row:hover, .route-row:focus-visible, .route-more[open] > summary { background-color: var(--paper-2); }   /* the same warm off-white as the light buttons and the section tints, not a peach tint of brass */
.route-row:hover .t, .route-row:focus-visible .t, .route-more[open] > summary .t { transform: scale(1.07); color: var(--navy); }
.route-row:hover .d, .route-row:focus-visible .d, .route-more[open] > summary .d { transform: translateX(.45rem); color: var(--ink-2); }
.route-row:hover .go { transform: translateX(6px); }
.route-row:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }
.route-more summary { list-style: none; }
.route-more summary::-webkit-details-marker { display: none; }
.route-row .pm { position: relative; width: 1rem; height: 1rem; margin-right: .15rem; }
.route-row .pm::before, .route-row .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: var(--navy); transition: transform .2s; }
.route-row .pm::after { transform: rotate(90deg); }
.route-more[open] .pm::after { transform: rotate(0); }
.route-sub { list-style: none; margin: 0; padding: .2rem 0 1.6rem .2rem; display: grid; gap: .1rem 2rem; }
@media (min-width: 700px) { .route-sub { grid-template-columns: 1fr 1fr; } }
.route-sub a { display: block; padding: .55rem 0; font-size: .97rem; color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.route-sub a:hover { text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .route-row:hover .t, .route-row:hover .d { transform: none; } }

/* the two guide pages */
.gd-wrap { max-width: 56rem; }
.gd h2 { margin-bottom: .6rem; }
.gd-lead { margin: 0 0 .4rem; color: var(--text); }
.gd-lead a, .svc-points a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.gd-alt { background: var(--paper-2); }
.sec.gd { padding-block: clamp(4.5rem, 10vw, 8.5rem); }   /* the guide pages breathe a little less than the rest of the site */
.gd-note { max-width: 40rem; }
.gd-note p { color: var(--text); }
.gd-note .cta-row { margin-top: 1.6rem; }
.gd-links { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .2rem 2rem; }
@media (min-width: 700px) { .gd-links { grid-template-columns: 1fr 1fr; } }
.gd-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.gd-links a:hover { border-color: var(--brass); }

/* tax estimate on the Resources page */
.res-est .est { padding-top: 0; }
.res-est .est label { font-size: 1rem; }
.res-est .res-grid a, .res-est p a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* phase 2 additions: how we work, sample review, situations, packages, industries */
.hw-flow { max-width: 44rem; margin-top: 1.6rem; font: 500 clamp(1.15rem, 1.9vw, 1.4rem)/1.6 var(--display); color: var(--text); }
.hw-flow b { font-weight: 700; color: var(--ink); }


.pk-wrap .who, .result .who { margin: .2rem 0 1rem; font-size: .93rem; line-height: 1.55; color: var(--muted); }
.ind-often { margin: .7rem 0 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.ind-often b { color: var(--ink-2); font-weight: 650; }

/* Resources: a bit of space between the eyebrow, heading and the paragraph next to the calendar and estimate */
.res-grid > div:first-child > h2 { margin: .9rem 0 1.3rem; }

/* tax estimate on Resources: one sentence, one big figure, in a card with cut corners */
.res-est .est-card { filter: drop-shadow(0 2px 5px rgba(11, 21, 38, .08)); }
/* the estimate card is drawn like a banknote: a thin double border and a faint ringed watermark circle */
.est-in { position: relative; overflow: hidden; background: var(--paper); padding: 1.9rem 1.9rem 1.7rem; border: 1px solid rgba(11, 21, 38, .24); border-radius: 6px; }
.est-in::before { content: ""; position: absolute; inset: .5rem; border: 1.5px solid rgba(13, 43, 82, .3); border-radius: 3px; pointer-events: none; }
.est-in::after { content: ""; position: absolute; right: -2.4rem; top: 50%; width: 13rem; height: 13rem; margin-top: -6.5rem; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 .35rem, rgba(13, 43, 82, .07) .35rem calc(.35rem + 1px)); pointer-events: none; }
.est-in > * { position: relative; z-index: 1; }
.est-in .est { padding-top: 0; }
.est-line { margin: 1.5rem 0 .3rem; color: var(--ink-2); font-size: .98rem; }
.est-big { margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.est-big span { font: 600 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.est-big small { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.est-big small b { font-weight: 650; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.est-fine { margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: max(.83rem, 12.5px); line-height: 1.55; color: var(--muted); }

/* Home services: links under the list */
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.4rem; margin-top: 2.2rem; }

/* Home services heading: the blue part stays on one line */
.svc-side h2 em { white-space: nowrap; }
.svc-side h2 { font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
@media (min-width: 900px) { .svc-side h2 { font-size: clamp(2.1rem, 3.1vw, 2.9rem); } }

/* team on one screen: the text sits level with the middle of the two cards instead of leaving the lower left empty */

/* packages: one sentence on the left, the answer on the right */
.pk-wrap { max-width: 72rem; }
.pk .sec-head { margin-bottom: 2.4rem; }
#pk-h { margin: 0 0 .8rem; font-size: clamp(2rem, 3.4vw, 2.7rem); }
.pk-grid { display: grid; gap: 2.6rem; align-items: center; }
@media (min-width: 1080px) { .pk-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.pk-say { container-type: inline-size; }
.pk-sentence { margin: 0 0 1.8rem; font: 600 clamp(1.3rem, 2.4vw, 2rem)/1.6 var(--display); letter-spacing: -.005em; color: var(--ink); }
/* size the sentence from the width of its own column, so each line stays on one line on any screen */
@supports (width: 1cqw) { .pk-sentence { font-size: clamp(1.1rem, 7cqw, 2.2rem); } }
.pk-sel { display: inline-block; position: relative; }
.pk-sel select { font: inherit; letter-spacing: inherit; color: var(--blue); background: transparent 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='%23b4884a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .1rem center / .8rem; border: 0; border-bottom: 2px solid var(--brass); border-radius: 0; padding: 0 1.4rem .05rem .1rem; margin: 0; cursor: pointer; -webkit-appearance: none; appearance: none; max-width: 100%; }
.pk-sel select:hover { border-bottom-color: var(--ink); }
.pk-sel select:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.pk-sel select option { font: 400 1rem var(--sans); color: var(--ink); }
.pk-sentence .ln { display: block; white-space: nowrap; }
.pk-val { font-weight: 600; color: var(--blue); white-space: nowrap; }
/* turnover slider */
.pk-range { position: relative; height: 1.8rem; }
.pk-ticks { position: absolute; left: 0; right: 0; top: 50%; display: flex; justify-content: space-between; padding: 0 .8rem; transform: translateY(-50%); pointer-events: none; }
.pk-ticks i { width: 1px; height: .55rem; margin: 0 -.5px; background: rgba(11, 21, 38, .22); }
.pk-range input::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--tone, var(--navy)) var(--p, 0%), rgba(11, 21, 38, .16) var(--p, 0%)); }
.pk-range input::-moz-range-track { height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--tone, var(--navy)) var(--p, 0%), rgba(11, 21, 38, .16) var(--p, 0%)); }
.pk-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: calc(-.75rem + 1px); border-radius: 50%; border: 1.5px solid var(--tone, var(--navy)); background: radial-gradient(circle, var(--brass) 0 26%, var(--paper) 30%); box-shadow: 0 2px 8px rgba(11, 21, 38, .18); transition: transform .15s ease; }
.pk-range input::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1.5px solid var(--tone, var(--navy)); background: radial-gradient(circle, var(--brass) 0 26%, var(--paper) 30%); box-shadow: 0 2px 8px rgba(11, 21, 38, .18); box-sizing: border-box; transition: transform .15s ease; }
.pk-range input:hover::-webkit-slider-thumb, .pk-range input:active::-webkit-slider-thumb { transform: scale(1.1); }
.pk-range input:hover::-moz-range-thumb, .pk-range input:active::-moz-range-thumb { transform: scale(1.1); }
.pk-range input { position: relative; width: 100%; height: 1.8rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pk-range input:focus { outline: none; }
.pk-range input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--brass); outline-offset: 3px; }
.pk-range input:focus-visible::-moz-range-thumb { outline: 3px solid var(--brass); outline-offset: 3px; }
.pk-ends { display: flex; justify-content: space-between; margin-top: .6rem; font-size: max(.8rem, 12px); letter-spacing: .02em; color: var(--muted); }
/* the answer */
.pk-result { margin: 0; padding: clamp(1.7rem, 3vw, 2.3rem) clamp(1.7rem, 3.4vw, 2.5rem); box-shadow: none; background-color: var(--tone, var(--ink)); transition: background-color .6s ease; }
.pk-result h3 { text-wrap: balance; margin: 0 0 .6rem; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.28; }
.pk-result .who { margin: 0 0 1.3rem; max-width: 34rem; font-size: 1rem; color: rgba(245, 247, 250, .85); }
.pk-three { margin: 0 0 1.7rem; }
.pk-three li { padding: .62rem 0; font-size: 1.03rem; color: var(--paper); }
.pk-three li:last-child { border-bottom: 1px solid var(--line-l); }
.pk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.pk-assure { margin: 0; font-size: .92rem; color: rgba(245, 247, 250, .8); }
.pk-more { margin-top: 1.4rem; }
.pk-more summary { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; list-style: none; color: var(--paper); font-size: .95rem; }
.pk-more summary span { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.pk-more summary::-webkit-details-marker { display: none; }
.pk-more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--brass); }
.pk-more[open] summary::after { content: "\2212"; }
.pk-more ul { margin: 1rem 0 0; }
.pk-more li { padding: .75rem 0; font-size: .95rem; }

/* packages on laptops: less space above, so the sentence and the answer fit one screen */
@media (min-width: 900px) {
  .sec.pk { padding-top: 4.5rem; padding-bottom: 4rem; }
  .pk .sec-head { margin-bottom: 2rem; }
  .pk-result { padding-top: 1.9rem; padding-bottom: 1.9rem; }
  .pk .sec-head p { max-width: none; }
}

/* the business-type dropdown inside the sentence: the site's own styled list, no boxed outline */
.pk-sel .cs { display: inline-block; position: relative; }
.pk-sel .cs-btn { width: auto; min-height: 0; padding: 0 1.45rem .05rem .1rem; font: inherit; letter-spacing: inherit; color: var(--blue); background: transparent; border: 0; border-bottom: 2px solid var(--brass); border-radius: 0; box-shadow: none; transition: border-color .2s, background-color .2s; }
.pk-sel .cs-btn:hover { border-bottom-color: var(--ink); }
.pk-sel .cs-btn:focus-visible, .pk-sel .cs.open .cs-btn { outline: none; box-shadow: none; border-bottom-color: var(--ink); background: var(--paper-2); }
.pk-sel .cs-btn::after { right: .15rem; width: .42rem; height: .42rem; border-color: var(--brass); }
.pk-sel .cs-list { left: -.4rem; right: auto; min-width: 15.5rem; top: calc(100% + .8rem); padding: .35rem; font: 400 1rem/1.35 var(--sans); letter-spacing: 0; text-align: left; white-space: nowrap; box-shadow: 0 18px 34px -18px rgba(11, 21, 38, .45); }
.pk-sel .cs-opt { padding: .75rem 1rem; }

/* when the choice changes, the answer's text flows in piece by piece: title, line, the three points, then the button */
@keyframes pkFlow { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pk-flow h3, .pk-flow .who, .pk-flow .pk-three li, .pk-flow .pk-cta, .pk-flow .pk-more { animation: pkFlow .5s cubic-bezier(.22, .61, .36, 1) both; }
.pk-flow .who { animation-delay: .07s; }

/* each business type gets its own tone from the site palette (ink, navy, slate, grey-navy, dark bronze), all kept dark so none looks brighter than the rest; it colours the answer card and the slider */
.pk-grid[data-tone="prop_s"] { --tone: var(--ink); }
.pk-grid[data-tone="prop_g"] { --tone: var(--navy); }
.pk-grid[data-tone="partnership"] { --tone: var(--ink-2); }
.pk-grid[data-tone="pvt_ltd"] { --tone: var(--navy-deep); }
.pk-grid[data-tone="individual"] { --tone: var(--bronze); }

.pk-flow .pk-three li { animation-delay: calc(.15s + var(--i, 0) * .08s); }
.pk-flow .pk-cta { animation-delay: calc(.2s + var(--n, 3) * .08s); }
.pk-flow .pk-more { animation-delay: calc(.26s + var(--n, 3) * .08s); }

/* the gap between the heading and the choices / answer follows the screen's height too: snug on a short screen, roomy on a tall one */
@media (min-width: 1080px) { .pk .sec-head { margin-bottom: clamp(2rem, calc((100vh - 640px) / 4), 6.5rem); } }

/* on wide screens the first view is one screen high and the heading stays put: its distance from the top depends only on the window's height (never on the answer's length), so it doesn't move as the slider changes the card; the next section starts below the fold */
@media (min-width: 1080px) {
  .sec.pk { min-height: min(calc(100vh - var(--hdr)), 64rem); padding-top: clamp(2.5rem, calc(40px + (100vh - 784px) * .37), 9rem); padding-bottom: 2.5rem; }
}

/* on wide screens the sentence and slider stay where they are while the answer grows, so the slider never moves under the finger */
@media (min-width: 1080px) { .pk-say { padding-top: 8rem; } }

.rev mark { background: linear-gradient(transparent 58%, rgba(37, 74, 140, .18) 58%); color: inherit; padding: 0 .08em; }   /* a marker-pen stroke under the key words of a quote */
.rev .av { background: transparent; border: 1px solid rgba(13, 43, 82, .35); color: var(--navy); font: 600 .95rem var(--display); }
@media (prefers-reduced-motion: reduce) { .rev:hover { transform: none; } }

.ind-art .ac { fill: var(--brass-lt); fill-opacity: .55; stroke: var(--brass-lt); }
.v1 .ind-art .ac { fill: var(--brass); stroke: var(--brass); }
.v3 .ind-art .ac { fill: var(--blue); fill-opacity: .4; stroke: var(--blue); }

/* tags: a very slight enlargement on hover, anchored to the bottom edge so it grows upwards and sideways and nothing else moves (a transform doesn't change the layout) */
.tags li:hover { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) { .tags li:hover { transform: none; } }
.team-side blockquote { text-wrap: balance; }   /* lines come out close to the same length */
/* leadership cards: a small lift on hover, with only a faint shadow */
@media (hover: hover) {
  .person:hover { translate: 0 -6px; border-color: rgba(11, 21, 38, .24); box-shadow: 0 10px 18px -14px rgba(11, 21, 38, .35); }
  .person:hover img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) { .person:hover { translate: none; } .person:hover img { transform: none; } }
/* phones: the "Not sure where to start?" link is hidden, the page flows straight into the list */
@media (max-width: 899px) { .svc-side .tlink { display: none; } .svc-side p { margin-bottom: 2.2rem; } }

/* hero headline: always exactly two lines. Each line stays whole and the size follows the width of its column, so nothing wraps on any screen */
@supports (container-type: inline-size) {
  .hero-grid > div:first-child { container-type: inline-size; }
  .hero h1, .fit.hero h1 { white-space: nowrap; font-size: min(clamp(2.1rem, 5.6vw, 4.7rem), 8.1cqi); }
  .fit.hero h1 { font-size: min(4.5rem, 8.1cqi); }
  .hero h1 em { display: block; }
}
/* phones: the small text and the buttons shrink along with the headline (same width ratio), capped at their usual size and never below a readable size */
@supports (container-type: inline-size) {
  @media (max-width: 899px) {
    .hero .lead { font-size: clamp(.9rem, 3.9cqi, 1.02rem); }
    .hero .btn { font-size: clamp(.84rem, 3.64cqi, .95rem); padding: 1.1em 1.9em; }
  }
}

.gd:not(.gd-alt) .gd-wrap > p:not(.eyebrow) { color: var(--text); max-width: 36rem; margin: 0; }
/* plain-text rows (steps, updates, partners, situations, calendar) never light up like links: the text just moves a little */
.svc-points h3, .upd-main h3, .net-rows h3, .svc-points .k, .cal-d { transition: transform .3s cubic-bezier(.22, .61, .36, 1), color .3s ease; }
@media (hover: hover) {
  .svc-points li:hover h3, .upd-item:hover .upd-main h3, .net-rows li:hover h3 { transform: translateX(.35rem); }
  .svc-points li:hover .k { transform: translateX(3px); color: var(--ink); }
  .cal-row:not(.next):hover .cal-d { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .svc-points li:hover h3, .upd-item:hover .upd-main h3, .net-rows li:hover h3, .svc-points li:hover .k, .cal-row:not(.next):hover .cal-d { transform: none; } }

/* form buttons: a small spinner shows while the form is being sent, and goes as soon as the answer appears */
.btn.is-sending { cursor: progress; opacity: .88; }
.btn.is-sending .i { display: none; }
.btn.is-sending::after { content: ""; flex: none; width: 1.05em; height: 1.05em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btnSpin .7s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-sending::after { animation: btnPulse 1.2s ease-in-out infinite !important; border-right-color: currentColor; } @keyframes btnPulse { 50% { opacity: .3; } } }
.lite .btn.is-sending::after { animation: btnSpin .7s linear infinite !important; }

/* short banner titles (Privacy, Terms, FAQs, Updates, Careers) stay on one line */
.page-hero.one-line h1 em { display: inline; }

/* useful links: one white box per category, stacked down the page on a soft grey band. A link shows itself with a drawn underline and a nudged arrow, not a coloured row */
.ul-sec { background: var(--paper-2); }
.ul-wrap { max-width: 62rem; }
.ul-note { margin: 0 0 2.2rem; font-size: .92rem; line-height: 1.6; color: var(--muted); max-width: 40rem; }
.ul-group { margin: 0 0 1.6rem; padding: 0 0 .7rem; overflow: hidden; background: #fff; border: 1px solid rgba(11, 21, 38, .1); border-radius: 8px; box-shadow: 0 1px 2px rgba(11, 21, 38, .05); }
.ul-group h2 { margin: 0 0 .4rem; padding: 1.05rem 1.8rem; font-size: 1.45rem; color: var(--navy); background: var(--paper-3); border-bottom: 1px solid rgba(11, 21, 38, .1); }
.ul-list { list-style: none; margin: 0 1.8rem; padding: 0; }
.ul-list li + li { border-top: 1px solid rgba(11, 21, 38, .1); }
.ul-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n go" "d d" "u u"; gap: .15rem .8rem; align-items: baseline; padding: .95rem 0; color: var(--ink); text-decoration: none; }
.ul-row .n { grid-area: n; justify-self: start; position: relative; font: 600 1.02rem/1.3 var(--display); transition: color .25s ease; }
.ul-row .n::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.ul-row .i { grid-area: go; width: 1rem; height: 1rem; stroke-width: 2.2; color: var(--brass-ink); transform: rotate(-45deg); transition: transform .25s ease; }
.ul-row .d { grid-area: d; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.ul-row .u { grid-area: u; font-size: max(.78rem, 12px); color: var(--muted); }
.ul-row:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.ul-src { margin: .5rem 1.8rem .9rem; font-size: max(.8rem, 12px); line-height: 1.5; color: var(--muted); }
@media (min-width: 800px) {
  .ul-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) 12.5rem auto; grid-template-areas: "n d u go"; gap: .2rem 1.6rem; }
  .ul-dark .ul-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) auto; grid-template-areas: "n d u"; }
}
@media (hover: hover) {
  .ul-row:hover .n { color: var(--navy); }
  .ul-row:hover .n::after { transform: scaleX(1); }
  .ul-row:hover .i { transform: rotate(-45deg) translateX(3px); }
}
/* the helplines box is dark, so the numbers read as a different kind of thing from the links */
.ul-dark { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.ul-dark h2 { color: #fff; background: rgba(255, 255, 255, .08); border-bottom-color: rgba(245, 247, 250, .16); }
.ul-dark .ul-list li + li { border-top-color: rgba(245, 247, 250, .22); }
.ul-dark .ul-row { color: var(--paper); grid-template-areas: "n u" "d d"; }
.ul-dark .ul-row .i { display: none; }
.ul-dark .ul-row .d { color: rgba(245, 247, 250, .78); }
.ul-dark .ul-row .u { font: 600 1.05rem/1.2 var(--display); color: var(--brass-lt); white-space: nowrap; }
.ul-dark .ul-row .n::after { background: var(--brass-lt); }
.ul-dark .ul-row:hover .n { color: #fff; }
.ul-dark .ul-src { color: rgba(245, 247, 250, .62); }

/* progress line: drawn by the browser's own scroll timeline (no script at all), only where that is supported */
@supports (animation-timeline: scroll()) {
  .prog { animation: progGrow linear both; animation-timeline: scroll(root block); }
  @keyframes progGrow { to { transform: scaleX(1); } }
}

/* weak devices (html.lite): flat edges and no soft shadows, so scrolling stays light. Strong devices keep every effect.
   The large slanted bands stay, they are part of the brand. */
.lite .rev p, .lite .ind-in, .lite .ind-art, .lite .faq-side { clip-path: none !important; }
.lite .pin, .lite .pin:nth-child(even), .lite .pin:nth-child(3n) { transform: none; }
.lite .pin, .lite .chat-btn, .lite .chat-menu, .lite .est-card, .lite .cs-list, .lite .hdr.stuck, .lite .person:hover { box-shadow: none !important; filter: none !important; }
.lite .ind-card { position: relative; top: auto; }
.lite .team-side, .lite .svc-side { position: static; }
.lite .rail, .lite .nb-rail { scroll-snap-type: x proximity; }
.lite .prog { display: none; }

/* navbar button: while the hero's own buttons are on screen it slides out to the right and the other menu items slide right to fill its place;
   when the hero scrolls away it slides back in from the right and pushes them left (wide screens only; --cta-w is its width, set by the script) */
@media (min-width: 1060px) {
  .hdr { overflow-x: clip; }   /* the hidden button sits past the right edge */
  .nav > .btn { transition: margin .38s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, background-color .18s, visibility 0s; }
  .hdr.cta-off .nav > .btn { margin-left: -1.5rem; margin-right: calc(-1 * var(--cta-w, 11rem)); opacity: 0; pointer-events: none; visibility: hidden; transition: margin .38s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, background-color .18s, visibility 0s .38s; }
}
/* smaller laptops: everything is a little smaller, the heroes keep their size */
@media (min-width: 900px) and (max-width: 1439px) {
  html { font-size: 90%; }
  .hero-grid, .page-hero > .wrap { zoom: 1.111; }
}
@media (min-width: 1440px) and (max-width: 1679px) {
  html { font-size: 94%; }
  .hero-grid, .page-hero > .wrap { zoom: 1.064; }
}
/* big monitors (1920 x 1080 and the like): everything a little smaller, as if the browser zoom were at about 86%; the very large 27-inch screens step back up */
@media (min-width: 1680px) and (max-width: 2199px) { html { font-size: 86%; } }
@media (min-width: 2200px) and (max-width: 2559px) { html { font-size: 94%; } }
/* "What's included": an index of short entries in two columns, with space between them and no divider lines */
.svc-points.plain { display: grid; gap: 2.6rem 3.5rem; }
.svc-points.plain li, .svc-points.plain li:last-child { display: block; padding: 0; border: 0; }
.svc-points.plain h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.svc-points.plain p { font-size: .95rem; line-height: 1.6; color: var(--muted); }
.svc-points.plain li:hover h3 { transform: none; }
@media (min-width: 760px) { .svc-points.plain { grid-template-columns: 1fr 1fr; } }
/* "After you contact us": no numbers, the steps read like a letter: first, then, next */
.svc-points.letter li, .svc-points.letter li:last-child { grid-template-columns: 8.5rem 1fr; padding: 1.5rem 0; border: 0; }
.svc-points.letter .k { font: 500 1.1rem/1.5 var(--display); color: var(--muted); padding-top: .2rem; }
@media (max-width: 640px) { .svc-points.letter li, .svc-points.letter li:last-child { grid-template-columns: 1fr; gap: .2rem; } }

/* "Starting a business": the steps are cards you swipe or step through (path.js adds the numbers and arrows; the moving is the browser's own scroll snapping) */
.path-bar { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; margin-top: 1.2rem; }   /* arrows and numbers stay together, at the left under the card */
.path-chips { display: flex; flex: 0 1 auto; gap: .35rem; }
.path-chips button { width: 2.1rem; height: 2.1rem; flex: 0 1 2.1rem; padding: 0; border: 1.5px solid rgba(13, 43, 82, .3); border-radius: 50%; background: transparent; font: 600 max(.85rem, 12.5px)/1 var(--display); color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.path-chips button.past { background: rgba(13, 43, 82, .09); }
.path-chips button[aria-current="step"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-points.stepper { display: flex; gap: .9rem; margin: 2.8rem calc(var(--gut) * -1) 0; padding: 0 var(--gut) .4rem; scroll-padding-inline: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.svc-points.stepper::-webkit-scrollbar { display: none; }
.svc-points.stepper li { flex: 0 0 86%; display: block; padding: 1.8rem 1.5rem 2rem; scroll-snap-align: start; background: var(--paper-2); border: 1px solid rgba(11, 21, 38, .12); border-radius: 6px; opacity: .5; transition: opacity .25s ease; }
.svc-points.stepper li.on { opacity: 1; }
.svc-points.stepper .k { display: none; }
.svc-points.stepper h3 { font-size: clamp(1.45rem, 5.6vw, 2rem); }
.svc-points.stepper li:hover h3 { transform: none; }
.path-arrow { display: grid; flex: none; place-items: center; width: 2.6rem; height: 2.6rem; border: 1.5px solid rgba(13, 43, 82, .3); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.path-arrow:hover:not(:disabled) { background: var(--paper-2); }
.path-arrow:disabled { opacity: .35; cursor: default; }
.path-prev .i { transform: rotate(180deg); }
@media (min-width: 900px) {
  .svc-points.stepper { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .svc-points.stepper li { flex-basis: 78%; padding: 2.2rem 2.2rem 2.4rem; }
  .svc-points.stepper h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
  .svc-points.stepper p { max-width: 34rem; font-size: 1.05rem; }
}

/* phones: smaller soft shadows on the pinned notes and the chat button, so there is less to paint while scrolling */
@media (max-width: 899px) {
  .pin { box-shadow: 0 8px 12px -8px rgba(11, 21, 38, .6); }
  .chat-btn { box-shadow: 0 4px 8px -4px rgba(11, 21, 38, .6); }
}

/* phones: a shorter first screen so the first figures peek in underneath, a larger headline that may break into four lines, and two equal buttons */
@media (max-width: 899px) {
  .hero h1, .fit.hero h1 { white-space: normal; text-wrap: balance; font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.22; }
}

/* hand-tuned details: the big headings are pulled left a hair so the edge of the letters, not the box, lines up with the text below */
@media (min-width: 900px) {
  .hero h1, .page-hero h1 { margin-left: -.045em; }
  .sec-head h2, .gd-wrap h2 { margin-left: -.03em; }
}

/* For business owners: each list has its own look */
/* the year of work, set out like a ledger: item, dotted leader, what we do */
.ledger { list-style: none; margin: 2rem 0 0; padding: 0; }
.ledger li { display: flex; align-items: baseline; gap: .6rem; padding: .9rem 0; }
.ledger b { flex: none; font: 600 clamp(1.15rem, 1.8vw, 1.4rem)/1.3 var(--display); color: var(--ink); }
.ledger i { flex: 1 1 1.5rem; min-width: 1rem; border-bottom: 2px dotted rgba(11, 21, 38, .28); transform: translateY(-.3rem); }
.ledger span { flex: none; max-width: 22rem; text-align: right; color: var(--text); font-size: .95rem; line-height: 1.4; }
@media (max-width: 640px) { .ledger li { display: block; } .ledger i { display: none; } .ledger span { display: block; max-width: none; text-align: left; margin-top: .15rem; } }
/* situations: problem and answer on a tile, two by two */
.sit { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.sit li { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.7rem; background: var(--paper-2); border-radius: 6px; }
.sit b { font: 600 1.3rem/1.3 var(--display); color: var(--ink); }
.sit span { color: var(--text); line-height: 1.55; }
.sit span::before { content: "\2192\00a0"; color: var(--brass-ink); font-weight: 700; }
@media (min-width: 800px) { .sit { grid-template-columns: 1fr 1fr; } }
/* already have an accountant: a checklist with empty boxes */
.checks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem 3rem; }
.checks li { position: relative; padding-left: 2.4rem; display: grid; gap: .25rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .22rem; width: 1.2rem; height: 1.2rem; border: 2px solid var(--navy); border-radius: 3px; }
.checks li::after { content: ""; position: absolute; left: .33rem; top: .22rem; width: .55rem; height: .95rem; border: solid var(--brass-ink); border-width: 0 3px 3px 0; transform: rotate(40deg) scale(.8); opacity: .9; }
.checks b { font: 600 1.2rem/1.3 var(--display); color: var(--ink); }
.checks span { color: var(--text); font-size: .95rem; line-height: 1.5; }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }

/* "After you contact us": heading and tile window centred on the page */
.gd-mid .gd-wrap { text-align: center; }
.gd-mid .eyebrow { justify-content: center; }
/* "After you contact us": a window of tiles you scroll, centred on the page; the tile in the middle is full size, the others are small and very faint (wheel.js adds .window) */
.svc-points.window { --wh: 21rem; --tile: 8rem; display: block; height: var(--wh); max-width: 38rem; margin: 1.6rem auto 0; padding-block: calc((var(--wh) - var(--tile)) / 2); overflow-y: auto; overscroll-behavior-y: auto; scroll-snap-type: y proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; text-align: left; }
.svc-points.window::-webkit-scrollbar { display: none; }
.svc-points.window:focus-visible { outline-offset: 4px; }
.svc-points.window li, .svc-points.window li:last-child { display: flex; flex-direction: column; justify-content: center; min-height: var(--tile); margin-bottom: .45rem; padding: 1.1rem 1.6rem; scroll-snap-align: center; background: var(--card); border: 1px solid rgba(11, 21, 38, .1); border-radius: 8px; transform: scale(.78); opacity: .62; cursor: pointer; transition: transform .25s ease, opacity .25s ease; }
.svc-points.window li.on { transform: none; opacity: 1; }
.svc-points.window .k { margin-bottom: .3rem; font: 600 max(.85rem, 12.5px)/1.2 var(--display); }
.svc-points.window li:hover h3, .svc-points.window li:hover .k { transform: none; }
.svc-points.window h3 { font-size: 1.25rem; margin-bottom: .3rem; }
@media (max-width: 640px) { .svc-points.window { --wh: 25rem; --tile: 10rem; } }

/* a plain hairline above a section that sits on the page background */
.gd-line { border-top: 1px solid var(--line); }
/* quiet closing line for reference pages */
.cta-soft { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.cta-soft-in { display: grid; gap: 1.6rem; align-items: center; }
.cta-soft h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
@media (min-width: 820px) { .cta-soft-in { grid-template-columns: 1fr auto; gap: 3rem; } }
/* For business owners: content starts on the same left edge as the heading above it */
.gd-left .gd-wrap { max-width: none; }
.gd-left .ledger, .gd-left .sit, .gd-left .checks { max-width: 58rem; }

/* readability: no text below 13px at any screen width. The rem sizes shrink with the laptop and monitor scaling above, so each small style keeps its size but never drops under the floor. :root:root lifts these over the earlier, more specific rules. */
:root:root .nav a { font-size: max(0.88rem, 13px); }
:root:root a.dd-t { font-size: max(0.88rem, 13px); }
:root:root div.mega-intro p { font-size: max(0.86rem, 13px); }
:root:root a.tlink { font-size: max(0.88rem, 13px); }
:root:root div.menu a { font-size: max(0.88rem, 13px); }
:root:root a.btn.btn-solid { font-size: max(0.88rem, 13px); }
:root:root p.eyebrow { font-size: max(0.833rem, 13px); }
:root:root a.btn.btn-ghost { font-size: max(0.88rem, 13px); }
:root:root ul.tags li { font-size: max(0.833rem, 13px); }
:root:root figure.rev b { font-size: max(0.868rem, 13px); }
:root:root figure.rev small { font-size: max(0.833rem, 13px); }
:root:root p.ftr-h { font-size: max(0.8rem, 13px); }
:root:root div.ftr-bot span { font-size: max(0.868rem, 13px); }
:root:root span.ftr-legal a { font-size: max(0.868rem, 13px); }
:root:root span.ftr-legal { font-size: max(0.868rem, 13px); }
:root:root ul.chat-menu small { font-size: max(0.833rem, 13px); }
:root:root p.crumbs a { font-size: max(0.833rem, 13px); }
:root:root p.crumbs span { font-size: max(0.833rem, 13px); }
:root:root p.crumbs { font-size: max(0.833rem, 13px); }
:root:root div.sx-body span { font-size: max(0.88rem, 13px); }
:root:root ul.sq-cmp span { font-size: max(0.88rem, 13px); }
:root:root div.sq-top span { font-size: max(0.764rem, 13px); }
:root:root p.role { font-size: max(0.908rem, 13px); }
:root:root div.f2 label { font-size: max(0.868rem, 13px); }
:root:root div.f label { font-size: max(0.868rem, 13px); }
:root:root label.consent span { font-size: max(0.868rem, 13px); }
:root:root label.consent a { font-size: max(0.868rem, 13px); }
:root:root form.f label { font-size: max(0.868rem, 13px); }
:root:root div.f-wide label { font-size: max(0.868rem, 13px); }
:root:root div.row dt { font-size: max(0.764rem, 13px); }
:root:root div.row small { font-size: max(0.868rem, 13px); }
:root:root div.faq-tabs button { font-size: max(0.86rem, 13px); }
:root:root p.faq-asof { font-size: max(0.872rem, 13px); }
:root:root p.faq-fb { font-size: max(0.868rem, 13px); }
:root:root .faq-fb button { font-size: max(0.868rem, 13px); }
:root:root p.faq-help { font-size: max(0.868rem, 13px); }
:root:root p.faq-help a { font-size: max(0.868rem, 13px); }
:root:root div.cal-tabs button { font-size: max(0.868rem, 13px); }
:root:root span.cal-d small { font-size: max(0.694rem, 13px); }
:root:root span.cal-p { font-size: max(0.833rem, 13px); }
:root:root p.cal-fine { font-size: max(0.833rem, 13px); }
:root:root p.est-fine { font-size: max(0.868rem, 13px); }
:root:root p.est-fine span { font-size: max(0.868rem, 13px); }
:root:root p.pin-foot span { font-size: max(0.833rem, 13px); }
:root:root span.c { font-size: max(0.908rem, 13px); }
:root:root span.tag { font-size: max(0.8rem, 13px); }
:root:root p.chk-note { font-size: max(0.88rem, 13px); }
:root:root span.cnt { font-size: max(0.833rem, 13px); }
:root:root span.upd-tag { font-size: max(0.764rem, 13px); }
:root:root p.upd-src { font-size: max(0.908rem, 13px); }
:root:root p.upd-src a { font-size: max(0.908rem, 13px); }
:root:root span.u { font-size: max(0.872rem, 13px); }
:root:root p.ul-src { font-size: max(0.833rem, 13px); }
:root:root div.path-chips button { font-size: max(0.868rem, 13px); }
:root:root span.k { font-size: max(0.908rem, 13px); }
:root:root p.upd { font-size: max(0.908rem, 13px); }
:root:root nav.legal-toc p { font-size: max(0.8rem, 13px); }
:root:root .menu a { font-size: max(0.88rem, 13px); }
:root:root .mega-list a { font-size: max(0.9rem, 13px); }
:root:root .mega-all a { font-size: max(0.9rem, 13px); }
:root:root .mp a { font-size: max(0.9rem, 13px); }
:root:root .ind-often b { font-size: max(0.9rem, 13px); }
:root:root p.ind-often { font-size: max(0.9rem, 13px); }
:root:root .svc-detail summary { font-size: max(0.9rem, 13px); }
:root:root .svc-detail p { font-size: max(0.92rem, 13px); }
:root:root p.pk-assure { font-size: max(0.92rem, 13px); }
:root:root .net-rows p { font-size: max(0.94rem, 13px); }
:root:root .pform p { font-size: max(0.92rem, 13px); }
:root:root .f-pane p { font-size: max(0.92rem, 13px); }
:root:root span.lbl { font-size: max(0.92rem, 13px); }
:root:root p.upd-note { font-size: max(0.9rem, 13px); }
:root:root .upd-note a { font-size: max(0.9rem, 13px); }
:root:root p.ul-note { font-size: max(0.92rem, 13px); }
:root:root span.d { font-size: max(0.9rem, 13px); }
:root:root .band:not(.svc-band) li > span { font-size: max(0.88rem, 13px); }

/* service pages: "Before you start" is two plain lists, what to bring and how long it takes */
.prep { display: grid; gap: 2.8rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.prep h3 { margin: 0 0 1rem; font: 500 1.35rem/1.2 var(--serif); color: var(--paper); }
.prep ul, .prep dl { margin: 0; padding: 0; list-style: none; display: block; }
.prep-docs li, .prep-time > div { padding: .85rem 0; border-top: 1px solid var(--line-l); border-left: 0; }
.prep-docs li { display: grid; gap: .15rem; padding-left: 0; }
.prep-docs b { color: var(--paper); font-weight: 600; font-size: 1rem; }
.prep-docs span { color: rgba(245, 247, 250, .75); font-size: max(.9rem, 13px); line-height: 1.5; }
.prep-time > div { display: grid; grid-template-columns: 1fr auto; column-gap: 1.4rem; row-gap: .2rem; }
.prep-time dt { color: var(--paper); font-weight: 600; font-size: 1rem; }
.prep-time dd { margin: 0; }
.prep-time .when { color: var(--brass-lt); font-weight: 600; font-size: 1rem; text-align: right; }
.prep-time .note { grid-column: 1 / -1; color: rgba(245, 247, 250, .75); font-size: max(.9rem, 13px); line-height: 1.5; }
@media (min-width: 900px) { .prep { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } }

/* the short note shown after an email link is clicked on a computer */
.copy-note { position: fixed; left: 50%; bottom: 1.6rem; z-index: 90; max-width: min(30rem, calc(100vw - 2rem)); padding: .9rem 1.2rem; background: var(--navy); color: var(--paper); font-size: max(.92rem, 13px); line-height: 1.5; border-radius: 6px; box-shadow: 0 8px 24px -8px rgba(13, 43, 82, .45); opacity: 0; transform: translate(-50%, .8rem); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.copy-note.on { opacity: 1; transform: translate(-50%, 0); }
@media print { .copy-note { display: none; } }
.hdr-dark .nav a:not(.btn)::after { background: currentColor; }   /* on the dark header the underline follows the white text */

/* about page: the quote sits on the left, and the story runs full width below it */
.story-wide { width: min(100% - 2 * var(--gut), 96rem); margin-inline: auto; }
.story { padding-top: clamp(3.2rem, 6vw, 5rem); }
.story-lead { margin: 0 0 clamp(2rem, 3.2vw, 2.8rem); font: 500 clamp(1.3rem, 2.2vw, 2rem)/1.4 var(--serif); letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
/* the paragraphs keep a comfortable line length, left-aligned under the heading; the opening statement stays full width */
.story-more { max-width: 46rem; }
.story-more p { margin: 0 0 1.3rem; color: var(--text); font-size: 1.1rem; line-height: 1.8; }
.story-more .tlink { margin-top: .6rem; }

/* industry cards with a photo: the photo fills the panel and keeps its slanted edge */
:root:root .ind-art.photo { padding: 0; }
.ind-art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* skeleton: a soft moving placeholder shows where a photo will appear, until it has loaded */
@keyframes skel { from { background-position: 120% 0; } to { background-position: -120% 0; } }
:root:root .ind-art.photo, .person img { background: linear-gradient(100deg, #dfe4eb 30%, #eef1f5 50%, #dfe4eb 70%) 0 0 / 220% 100%; animation: skel 1.5s linear infinite; }
:root:root .ind-art.photo img { animation: none; background: none; }
@media (prefers-reduced-motion: reduce) { :root:root .ind-art.photo, .person img { animation: none; } }
.lite .ind-art.photo, .lite .person img { animation: none !important; }

/* page photos */
/* Home: one photo behind the header, the headline and the stats strip; the bottom edge keeps the old slant */
.hero-stage { position: relative; isolation: isolate; margin-top: calc(var(--hdr) * -1 - 3px); padding-top: calc(var(--hdr) + 3px); margin-bottom: calc(var(--cut) * -1); background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 55%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 43, 82, .55) 0, rgba(13, 43, 82, 0) 16%), linear-gradient(90deg, rgba(13, 43, 82, .96) 0%, rgba(13, 43, 82, .88) 34%, rgba(13, 43, 82, .7) 52%, rgba(13, 43, 82, .5) 72%, rgba(13, 43, 82, .32) 100%); }
@media (max-width: 899px) {   /* phones: the same treatment, turned on its side: strongest behind the headline at the top, lighter lower down so the desk shows */
  .hero-bg { object-position: 80% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(13, 43, 82, .9) 0%, rgba(13, 43, 82, .82) 42%, rgba(13, 43, 82, .5) 72%, rgba(13, 43, 82, .4) 100%); }
}
.hero-stage .hero { background: transparent; }
.hero-stage .band { background: transparent; clip-path: none; margin-bottom: 0; }
.hdr-dark { background: transparent; }   /* Home at the very top: the bar is see-through over the photo (it turns light once the page scrolls) */

.story-photo, .svc-photo, .band-photo { display: block; width: 100%; height: auto; object-fit: cover; background: linear-gradient(100deg, #dfe4eb 30%, #eef1f5 50%, #dfe4eb 70%) 0 0 / 220% 100%; animation: skel 1.5s linear infinite; border-radius: 8px; }
.story-photo { aspect-ratio: 3 / 1; margin: 0 0 clamp(2.4rem, 5vw, 4rem); }
.svc-photo { aspect-ratio: 3.2 / 1; margin: 0 0 clamp(2.4rem, 4vw, 3.6rem); }
.photo-band { padding-top: calc(var(--cut) + 1.6rem); }
.band-photo { aspect-ratio: 3 / 1; }
@media (max-width: 640px) { .story-photo, .svc-photo, .band-photo { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .story-photo, .svc-photo, .band-photo { animation: none; } }
.lite .story-photo, .lite .svc-photo, .lite .band-photo { animation: none !important; }
body:has(.hero-stage) .prog { display: none; }   /* Home: no scroll-progress line across the top of the photo */
.hdr-dark.over { background: rgba(13, 43, 82, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lite .hdr-dark.over { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13, 43, 82, .85); }

/* Home, over the photo: the dropdowns get the same see-through frosted look as the bar, with light text */
@media (min-width: 1060px) {
  .hdr-dark .menu, .hdr-dark .mega { background: rgba(13, 43, 82, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line-l); box-shadow: none; color: var(--paper); }
  .hdr-dark .mega { border-bottom: 1px solid var(--line-l); }
  .hdr-dark .mega-list { background: transparent; border-color: var(--line-l); }
  .hdr-dark .nav .menu a, .hdr-dark .nav .mega-list a { color: rgba(245, 247, 250, .92); }
  .hdr-dark .nav .menu a:hover, .hdr-dark .nav .mega-list a:hover, .hdr-dark .nav .mega-list a.on, .hdr-dark .nav .mega-all a:hover, .hdr-dark .nav .mega-all a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }
  .hdr-dark .mega-list li.mega-all { border-color: var(--line-l); }
  .hdr-dark .mega-intro .mega-t, .hdr-dark .mega-intro .sub, .hdr-dark .mp .mp-t { color: #fff; }
  .hdr-dark .mega-intro p, .hdr-dark .mp p { color: rgba(245, 247, 250, .82); }
  .hdr-dark .nav .mp a, .hdr-dark .mega-intro .tlink { color: #fff; border-bottom-color: var(--brass-lt); }
  .lite .hdr-dark .menu, .lite .hdr-dark .mega { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13, 43, 82, .9); }
}
@media (min-width: 1060px) {   /* while a dropdown is open over the hero, the headline fades back so it never shows through or crowds the panel */
  .hero-grid { transition: opacity .2s ease; }
  body:has(.hdr-dark .dd:hover) .hero-grid, body:has(.hdr-dark .dd:focus-within) .hero-grid { opacity: .12; }
}

/* Home, over the photo, on phones and small tablets: the opened menu is the same see-through frosted navy as the bar, with light text */
@media (max-width: 1059px) {
  .hdr-dark .nav.open { background: rgba(13, 43, 82, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line-l); color: var(--paper); }
  .hdr-dark .nav.open a:not(.btn), .hdr-dark .nav.open .dd-t, .hdr-dark .nav.open .dd-btn { color: rgba(245, 247, 250, .92); }
  .hdr-dark .nav.open a:not(.btn):hover, .hdr-dark .nav.open a[aria-current="page"] { color: #fff; }
  .hdr-dark .nav.open a, .hdr-dark .nav.open .dd { border-bottom-color: var(--line-l); }
  .hdr-dark .nav.open .dd > a, .hdr-dark .nav.open .mega a, .hdr-dark .nav.open .menu a { border-bottom: 0; }
  .lite .hdr-dark .nav.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13, 43, 82, .94); }
}
@media (max-width: 1059px) {   /* while the menu is open over the hero, the headline fades back so it does not show through the links */
  .hero-grid, .hero-stage .band { transition: opacity .2s ease; }
  html.nav-open body:has(.hdr-dark) .hero-grid, html.nav-open body:has(.hdr-dark) .hero-stage .band { opacity: .08; }
}

/* ---- About page: everything centred. History, then the quote, then the people, then the commitments ---- */
.story-wide { text-align: center; }
.story { padding-top: clamp(7rem, 14vw, 13rem); padding-bottom: clamp(7rem, 14vw, 13rem); }
.story h1 { margin: 0 0 clamp(2rem, 3.4vw, 3rem); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.2; }
.story .story-body { max-width: 74rem; margin-inline: auto; }
.story-lead { max-width: 54rem; margin: 0 auto clamp(3rem, 5vw, 4.6rem); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.story-more { max-width: 56rem; margin-inline: auto; }
.story-more p { margin-bottom: 1.5rem; font-size: 1.12rem; line-height: 1.8; color: var(--ink-2); text-wrap: balance; }
.story-more .tlink { margin-top: .4rem; }
.story .pull-row { display: flex; justify-content: center; margin: clamp(8rem, 14vw, 13rem) auto 0; }
.story .pull-row .pull { max-width: 60rem; margin: 0 auto; font-size: clamp(1.4rem, 2.4vw, 2.1rem); text-align: center; text-wrap: balance; }
.story .pull .qm { height: 2.6rem; margin-inline: auto; }

/* the people: round colour portraits with the name and role underneath */
.team.sec { padding-block: clamp(7.5rem, 14vw, 13rem); background: var(--paper); }
.team-centre { display: block; text-align: center; }
.team-centre .team-side { position: static; max-width: 52rem; margin: 0 auto clamp(3.6rem, 7vw, 6rem); }
.team-centre .team-side blockquote { border: 0; padding: 0; margin: 1.2rem auto 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-2); }
.team-centre .people { justify-content: center; margin-inline: auto; text-align: center; }
@media (min-width: 640px) { .team-centre .people { max-width: 44rem; gap: 3rem; } .team-centre .person:nth-child(2) { margin-top: 0; } }
@media (max-width: 639px) { .team-centre .people { max-width: none; } }
.team-centre .person, .team-centre .person:hover { background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; translate: none; }
.team-centre .person img { display: block; width: min(100%, 15rem); aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%; object-fit: cover; object-position: 50% 14%; transform: none; animation: none; }
.team-centre .person:hover img { transform: none; }
.team-centre .person img[alt^="Jithu"] { background: #8b8890; object-position: 50% 40%; }   /* framed so his head is level with Alan's */
.team-centre .person img[alt^="Alan"], .team-centre .person:hover img[alt^="Alan"] { box-sizing: border-box; padding-top: 5%; background: #948e92; object-position: 50% 0; border-radius: 0; clip-path: circle(42.4% at 50% 50%); transform: scale(1.18); transform-origin: 50% 50%; }   /* a little closer, with studio backdrop above his head */
.team-centre .person .b { padding: 1.6rem 0 0; background: transparent; }
.team-centre .person h3 { font-size: 1.3rem; }
.team-centre .person .role { color: var(--muted); font-weight: 600; }
.team-centre .person .tlink { justify-content: center; }

/* the three commitments */
.principles.sec { padding-top: clamp(7.5rem, 14vw, 13rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.principles .pr-grid { display: block; max-width: 64rem; margin-inline: auto; text-align: center; }
.principles .pr-grid > div { margin-bottom: 2.6rem; }
.principles .pr-row { justify-items: center; margin: 0; padding: 2.8rem 1rem; }
.principles .pr-row .t { transform-origin: 50% 60%; backface-visibility: hidden; will-change: transform; }   /* a fixed origin, so the heading does not jitter as the pointer arrives */
.principles .pr-row:hover .t { transform: scale(1.04); }
.principles .pr-row .d { max-width: 44rem; margin-inline: auto; font-size: 1.02rem; transition: color .25s ease; }
.principles .pr-row:hover .d { transform: none; }

/* the closing line and buttons */
.about-end { padding-top: 0; padding-bottom: clamp(5rem, 9vw, 8rem); text-align: center; }
.about-end .ind-note { margin: 0 0 2rem; font-size: 1.08rem; }
.about-end .cta-row { justify-content: center; }
