/* ==========================================================================
   Sanderline Limited — site stylesheet (2026)
   Corporate: white and stone grounds, navy, one orange for actions,
   real photographs. See DESIGN.md.
   ========================================================================== */

@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --stone: #f3f2ee;
  --stone-2: #e7e5df;
  --rule: #dcdad3;

  --ink: #141a22;
  --ink-2: #4a525d;          /* secondary text, 7.6:1 on white */
  --navy: #0f2440;
  --navy-2: #17345a;
  --on-navy: #c4cfdd;        /* secondary text on navy */

  --orange: #c4501d;         /* actions; 4.9:1 with white text */
  --orange-deep: #a54115;
  --orange-soft: #f6dccd;

  --font: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(80px, 9vw, 136px);

  --r: 6px;
  --r-sm: 4px;

  --shadow: 0 1px 2px rgba(15, 36, 64, .06), 0 16px 32px -18px rgba(15, 36, 64, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: #b9bcc2 var(--stone);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums lining-nums;
  caret-color: var(--orange);
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: #f2a27c; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--navy); color: var(--white); border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-weight: 750; letter-spacing: -.026em; text-wrap: balance; color: var(--ink); }
.h1 { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4rem); line-height: 1.04; }
.h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.08; }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.on-dark, .on-dark .h1, .on-dark .h2, .on-dark .h3 { color: var(--white); }
.on-dark .lede { color: var(--on-navy); }

.link {
  color: var(--orange); font-weight: 650;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s var(--ease), color .2s;
}
.link:hover { color: var(--orange-deep); background-size: 0 1.5px; background-position: 100% 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Buttons: one pair ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px;
  font-weight: 650; font-size: 1rem; line-height: 1.2;
  color: var(--white); background: var(--orange);
  border: 1.5px solid var(--orange); border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, color .18s, border-color .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover .ico-down { transform: translateY(3px); }
.btn:active { transform: translateY(1px); }
.btn--line { color: var(--navy); background: transparent; border-color: var(--navy); }
.btn--line:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.on-dark .btn--line { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.on-dark .btn--line:hover { color: var(--navy); background: var(--white); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: var(--on-navy); font-size: .875rem; }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 40px; padding-block: 8px; }
.topbar__in a { color: var(--white); }
.topbar__in a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar__contact { display: flex; gap: 24px; }

.mast { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--rule); }
.mast__in { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { height: 60px; width: auto; }
.foot__brand .brand__logo { height: 56px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__list a {
  display: inline-block; padding: 12px 0; font-weight: 600; font-size: .9688rem;
  background: linear-gradient(var(--orange), var(--orange)) 0 calc(100% - 6px) / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="page"] { background-size: 100% 2px; }
.nav-toggle {
  display: none; min-height: 44px; padding: 8px 16px;
  background: transparent; border: 1.5px solid var(--navy); border-radius: var(--r-sm);
  font-weight: 650; font-size: .9375rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--stone); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  min-height: min(calc(100svh - 120px - 112px), 720px);
  align-items: center;
}
.hero__text { grid-column: 1 / span 6; padding-block: clamp(56px, 8vh, 104px); position: relative; z-index: 1; }
.hero__text .lede { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: calc(50% - var(--gap) / 2 + 2vw);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.facts { background: var(--navy); }
.facts__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: block; padding: 26px 24px 24px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.fact dt { font-size: .875rem; font-weight: 600; color: var(--on-navy); }
.fact dd { margin-top: 4px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--white); }

.clients { border-bottom: 1px solid var(--rule); }
.clients__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 36px; padding-block: 24px; }
.clients dt { font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.clients dd { display: flex; flex-wrap: wrap; gap: 4px 36px; font-size: 1.125rem; font-weight: 750; letter-spacing: -.01em; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px;
  align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px);
}
.section__head .h2 { grid-column: 1 / span 7; max-width: 18ch; }
.section__head p { grid-column: 8 / span 5; color: var(--ink-2); }

/* ---------- Supply lines ---------- */
.lines__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.lines__tab {
  flex: 1 1 0; min-width: max-content; min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 18px; margin-bottom: -1px;
  font-weight: 650; font-size: 1rem; color: var(--ink-2);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .25s var(--ease), background-color .2s;
}
.lines__tab:hover { color: var(--ink); background: var(--stone); }
.lines__tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--orange); }

.line {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px;
  align-items: center;
}
.line + .line { margin-top: 72px; }
.js .line + .line { margin-top: 0; }
.js .line[hidden] { display: none; }
.js .line.is-in .line__media img { animation: settle .7s var(--ease) both; }
.js .line.is-in .line__body { animation: rise .5s var(--ease) both; }
@keyframes settle { from { transform: scale(1.04); opacity: .4; } }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.line__media { grid-column: 1 / span 7; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone-2); }
.line__media img { width: 100%; height: 100%; object-fit: cover; }
.line__body { grid-column: 8 / span 5; }
.line__body > p { margin-top: 16px; color: var(--ink-2); }
.line__list { margin-top: 24px; border-top: 1px solid var(--rule); columns: 2; column-gap: 24px; }
.line__list li { break-inside: avoid; padding: 9px 0 9px 18px; border-bottom: 1px solid var(--rule); font-size: .9688rem; position: relative; }
.line__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; background: var(--orange); border-radius: 1px; }
.line__body .btn { margin-top: 28px; }

/* ---------- Delivered work ---------- */
.delivered { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.delivered__media { grid-column: 1 / span 5; position: sticky; top: 32px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.delivered__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.delivered__body { grid-column: 7 / span 6; }
.delivered__body > p { margin-top: 20px; color: var(--ink-2); }
.reg { margin-top: 40px; }
.reg__group { padding-block: 22px; border-top: 2px solid var(--navy); }
.reg__group + .reg__group { margin-top: 12px; }
.reg__group h3 { font-size: 1.375rem; font-weight: 750; letter-spacing: -.015em; color: var(--navy); }
.reg__group li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.reg__group li:last-child { border-bottom: 0; padding-bottom: 0; }
.reg__line { font-size: .875rem; font-weight: 600; color: var(--orange-deep); padding-top: 2px; }
.reg__scope { font-size: 1rem; }
.reg__note { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-2); }

/* ---------- How we work ---------- */
.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.how__body { grid-column: 1 / span 6; }
.how__body > p { margin-top: 20px; }
.how__values { margin-top: 36px; border-top: 1px solid var(--rule); }
.how__values > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.how__values dt { font-weight: 750; color: var(--navy); }
.how__values dd { color: var(--ink-2); }
.how__media { grid-column: 8 / span 5; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.how__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* ---------- Registrations ---------- */
.regs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.regs__list { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 2px solid var(--navy); }
.regs__list > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.regs__list dt { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.regs__list dd { margin-top: 2px; font-weight: 650; overflow-wrap: anywhere; }
.regs__side { grid-column: 9 / span 4; display: grid; gap: 16px; }
.regs__ask { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; }
.regs__ask h3 { font-size: 1.125rem; font-weight: 750; }
.regs__ask p { margin: 8px 0 16px; color: var(--ink-2); font-size: .9688rem; }
.doc {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  min-height: 92px; padding: 18px 20px;
  border-radius: var(--r);
  transition: transform .22s var(--ease), box-shadow .22s;
}
.doc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.doc:active { transform: translateY(0); }
.doc__icon { width: 44px; height: 52px; }
.doc__title { display: block; font-weight: 700; line-height: 1.3; }
.doc__meta { display: block; margin-top: 2px; font-size: .875rem; font-weight: 500; }
.doc__get { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.doc:hover .doc__get { transform: translateY(3px); }
.doc--lead { background: var(--navy); color: var(--white); }
.doc--lead .doc__meta { color: var(--on-navy); }
.doc--lead .doc__icon { color: #f2a27c; }

/* ---------- Close ---------- */
.close { position: relative; padding-block: var(--section); background: var(--navy); overflow: hidden; }
.close__media { position: absolute; inset: 0; }
.close__media img { width: 100%; height: 100%; object-fit: cover; }
.close__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 36, 64, .96) 0%, rgba(15, 36, 64, .9) 50%, rgba(15, 36, 64, .72) 100%); }
.close__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: center; }
.close__text { grid-column: 1 / span 7; }
.close__text .h2 { max-width: 16ch; }
.close__text p { margin-top: 22px; max-width: 46ch; font-size: 1.1875rem; color: var(--on-navy); }
.close__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.offices { grid-column: 9 / span 4; display: grid; gap: 12px; }
.office { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 18px 20px; }
.office h3 { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.office address { margin-top: 2px; line-height: 1.45; }
.office address b { font-weight: 750; color: var(--navy); }

/* ---------- Footer ---------- */
.foot { background: #0b1a2f; color: var(--on-navy); padding-block: 72px 32px; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.foot__brand { grid-column: 1 / span 4; }
.foot__brand .brand { color: var(--white); }
.foot__brand p { margin-top: 20px; max-width: 34ch; }
.foot__col { grid-column: span 2; }
.foot__col--wide, .foot__col--reach { grid-column: span 3; }
.foot__col h2 { margin-bottom: 12px; font-size: .9375rem; font-weight: 700; color: var(--white); }
.foot__col li a, .foot__col p a {
  display: inline-block; padding: 5px 0; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 0 1px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.foot__col li a:hover, .foot__col p a:hover { color: var(--white); background-size: 100% 1px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #263a55; color: #9fb0c6; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page header ---------- */
.hero--page .hero__grid { min-height: clamp(380px, 46vh, 500px); }
.hero--page .hero__text { padding-block: clamp(48px, 7vh, 88px); }
.hero--page .h1 { font-size: clamp(2.375rem, 1.3rem + 3vw, 3.5rem); }
.hero--plain .hero__grid { min-height: 0; }
.hero--plain .hero__text { grid-column: 1 / span 8; padding-block: clamp(48px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 20px; font-size: .9375rem; color: var(--ink-2); }
.crumbs a { font-weight: 600; color: var(--navy); }
.crumbs a:hover { color: var(--orange); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #9aa0a8; }
.crumbs ol { display: contents; }
.crumbs li { display: inline-flex; align-items: center; }

/* ---------- Split: text beside a photo ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.split__text { grid-column: 1 / span 6; }
.split__media { grid-column: 8 / span 5; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--flip .split__text { grid-column: 7 / span 6; grid-row: 1; }
.split--flip .split__media { grid-column: 1 / span 5; grid-row: 1; }
.split--top { align-items: start; }
.split__text > p { margin-top: 18px; color: var(--ink-2); }
.split__text > .lede + p { margin-top: 16px; }
.split__text .line__list { margin-top: 28px; }
.split__text .btn, .split__text .link-arrow { margin-top: 28px; }
.split + .split { margin-top: clamp(72px, 8vw, 112px); }

.text-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; }
.text-cols .h2 { grid-column: 1 / span 5; max-width: 16ch; }
.text-cols__body { grid-column: 7 / span 6; }
.text-cols__body > p + p { margin-top: 16px; }
.text-cols__body > p:not(.lede) { color: var(--ink-2); }
.text-cols__body .link-arrow { display: inline-flex; margin-top: 24px; }

/* ---------- Ruled list of items (range, uses) ---------- */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.items--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.item { padding: 22px 0 24px; border-top: 2px solid var(--navy); }
.item h3 { font-size: 1.1875rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; }
.item p { margin-top: 8px; color: var(--ink-2); font-size: .9688rem; }

/* ---------- Delivered on site ---------- */
.proven { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; margin-top: clamp(56px, 6vw, 80px); padding: clamp(28px, 3.5vw, 44px); background: var(--navy); border-radius: var(--r); color: var(--white); }
.proven h2 { grid-column: 1 / span 4; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.proven ul { grid-column: 5 / span 8; }
.proven li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.proven li:first-child { padding-top: 0; }
.proven li:first-child::before { top: .55em; }
.proven li:last-child { border-bottom: 0; padding-bottom: 0; }
.proven li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 8px; height: 8px; background: #f2a27c; border-radius: 1px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--gap); }
.gallery figure { display: flex; flex-direction: column; gap: 12px; }
.gallery__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.section__head .link-arrow { grid-column: 8 / span 5; justify-self: start; }

/* ---------- Product lines overview ---------- */
.overview .split__media { aspect-ratio: 3 / 2; }
.overview .split__text .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.also { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; align-items: center; margin-top: clamp(72px, 8vw, 112px); padding: clamp(24px, 3vw, 36px); background: var(--stone); border-radius: var(--r); }
.also__media { grid-column: 1 / span 3; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.also__media img { width: 100%; height: 100%; object-fit: cover; }
.also__text { grid-column: 4 / span 9; }
.also__text h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -.015em; }
.also__text p { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }
.also__text .link-arrow { display: inline-flex; margin-top: 14px; }

/* ---------- About ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pair__card { background: var(--white); border-radius: var(--r); padding: clamp(28px, 3.5vw, 44px); }
.pair__card h2 { font-size: .9375rem; font-weight: 700; color: var(--orange-deep); }
.pair__card h3 { margin-top: 10px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.pair__card p { margin-top: 16px; color: var(--ink-2); }
.quote { background: var(--navy); color: var(--white); border-radius: var(--r); padding: clamp(28px, 3.5vw, 48px); }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { margin-top: 24px; color: var(--on-navy); font-size: .9375rem; }
.quote figcaption b { display: block; color: var(--white); font-size: 1.0625rem; }

/* ---------- Office cards ---------- */
.office-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.office-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; }
.office-card h3 { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.office-card h4 { margin: 4px 0 0; font-size: 1.625rem; font-weight: 750; letter-spacing: -.02em; color: var(--navy); }
.office-card address { margin-top: 12px; color: var(--ink-2); line-height: 1.5; }
.office-card .link-arrow { margin-top: auto; padding-top: 24px; align-self: flex-start; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.contact__form { grid-column: 1 / span 7; }
.contact__form > p { margin-top: 16px; color: var(--ink-2); max-width: 56ch; }
.contact__aside { grid-column: 9 / span 4; background: var(--stone); border-radius: var(--r); padding: 28px; }
.contact__aside h2 { font-size: 1.25rem; font-weight: 750; letter-spacing: -.015em; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.contact__aside dl > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact__aside dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__aside dt { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.contact__aside dd { margin-top: 2px; line-height: 1.5; overflow-wrap: anywhere; }
.contact__aside dd a { display: inline-block; padding: 2px 0; font-weight: 600; color: var(--navy); }
.contact__aside dd a:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.form { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: .9688rem; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #b9bcc2; border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6b727c; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 36, 64, .16); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.field__error { display: none; font-size: .875rem; font-weight: 600; color: #b3261e; }
.field input:user-invalid ~ .field__error, .field textarea:user-invalid ~ .field__error { display: block; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { font-size: .9375rem; color: var(--ink-2); }
.form__note a { font-weight: 650; color: var(--navy); white-space: nowrap; }

/* ---------- Legal text ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin: 44px 0 12px; font-size: 1.375rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.25; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: #2f3640; }
.prose ul { margin-top: 12px; padding-left: 1.25em; list-style: disc; }
.prose li { margin-top: 8px; color: #2f3640; }
.prose li::marker { color: var(--orange); }
.prose li p { margin-top: 0; }
.prose a { color: var(--orange-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.legal .prose { grid-column: 1 / span 8; }
.legal__aside { grid-column: 10 / span 3; position: sticky; top: 32px; align-self: start; font-size: .9375rem; color: var(--ink-2); border-top: 2px solid var(--navy); padding-top: 16px; }
.legal__aside h2 { font-size: 1rem; font-weight: 750; color: var(--ink); }
.legal__aside p { margin-top: 8px; }
.legal__aside a { display: inline-block; margin-top: 12px; }

/* ---------- Close without office cards ---------- */
.close--simple .close__text { grid-column: 1 / span 8; }

@media (max-width: 1100px) {
  .items--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__form { grid-column: 1 / span 7; }
  .contact__aside { grid-column: 8 / span 5; }
  .legal .prose { grid-column: 1 / span 9; }
  .legal__aside { display: none; }
}
@media (max-width: 860px) {
  .split, .text-cols, .proven, .also, .contact { display: block; }
  .split__media { margin-top: 32px; aspect-ratio: 16 / 10; }
  .split--flip .split__media { margin-top: 32px; }
  .text-cols__body { margin-top: 20px; }
  .proven ul { margin-top: 20px; }
  .also__media { margin-bottom: 20px; aspect-ratio: 16 / 9; }
  .pair, .office-cards { grid-template-columns: 1fr; }
  .contact__aside { margin-top: 48px; }
  .hero--page .hero__grid { min-height: 0; }
  .hero--page .hero__text { padding-block: 32px 40px; }
  .hero--plain .hero__text { padding-block: 40px; }
  .section__head .link-arrow { display: inline-flex; margin-top: 18px; }
  .legal { display: block; }
}
@media (max-width: 560px) {
  .items, .items--4 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery figcaption { font-size: .875rem; }
}

/* ---------- Motion: one entrance, on the hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: settle 1.4s var(--ease) both; }
  .hero__text > * { animation: rise .8s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__text { grid-column: 1 / span 7; }
  .hero__media { width: 42%; }
  .line__media { grid-column: 1 / span 6; }
  .line__body { grid-column: 7 / span 6; }
  .line__list { columns: 1; }
  .regs__list, .regs__side { grid-column: 1 / -1; }
  .regs__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; position: relative; z-index: 41; }
  .brand { position: relative; z-index: 41; }
  .nav {
    position: fixed; inset: 0; z-index: 30;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 24px;
    padding: 96px var(--gutter) 40px;
    background: var(--white);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; border-top: 2px solid var(--navy); }
  .nav__list a { display: block; padding: 16px 0; font-size: 1.5rem; font-weight: 750; border-bottom: 1px solid var(--rule); background: none; }
  .nav .btn { min-height: 52px; }

  .hero__grid { display: block; min-height: 0; }
  .hero__text { padding-block: 40px 44px; }
  .hero__media { position: relative; width: auto; aspect-ratio: 16 / 10; }
  .section__head { display: block; }
  .section__head p { margin-top: 18px; max-width: 58ch; }
  .lines__tabs { flex-wrap: wrap; gap: 8px; border-bottom: 0; margin-bottom: 28px; overflow: visible; }
  .lines__tab { flex: 1 1 auto; min-width: 0; min-height: 48px; margin: 0; border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: .9375rem; }
  .lines__tab[aria-selected="true"] { color: var(--white); background: var(--navy); border-color: var(--navy); }
  .line { display: block; }
  .line__body { margin-top: 28px; }
  .line__list { columns: 2; }
  .delivered, .how { display: block; }
  .delivered__media { position: relative; top: auto; aspect-ratio: 16 / 10; margin-bottom: 40px; }
  .how__media { aspect-ratio: 16 / 10; margin-top: 40px; }
  .close__grid { display: block; }
  .offices { margin-top: 44px; }
  .foot__brand, .foot__col--wide, .foot__col--reach { grid-column: 1 / -1; }
  .foot__col { grid-column: span 6; }
}
@media (max-width: 560px) {
  .brand__logo { height: 42px; }
  .mast__in { gap: 16px; }
  .mast__in { min-height: 68px; }
  .facts__in { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero__actions .btn, .close__actions .btn, .line__body .btn { width: 100%; }
  .line__list { columns: 1; }
  .reg__group li, .how__values > div { grid-template-columns: 1fr; gap: 2px; }
  .regs__list, .regs__side { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 16px; gap: 14px; }
  .doc__icon { width: 36px; height: 44px; }
  .foot__col { grid-column: 1 / -1; }
}
