/* =========================================================
   Legala Group website
   Brand colours: Orange #FF7F27 · Purple #6D668B · Charcoal #252525
   ========================================================= */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #FF7F27;
  --orange-deep: #EC6A10;
  --orange-soft: #FFEEE2;
  --purple: #6D668B;
  --purple-deep: #5B5577;
  --purple-soft: #EEEDF3;
  --ink: #252525;
  --ink-2: #474747;
  --muted: #6B6D71;
  --line: #E7E4DF;
  --line-2: #D6D1CA;
  --paper: #FFFFFF;
  --sand: #F4F1EC;
  --sand-2: #EAE5DD;
  --dark: #252525;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-3: rgba(255, 255, 255, .52);
  --line-dark: rgba(255, 255, 255, .14);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --z: 1;
  --gutter: clamp(20px, 4.6vw, 64px);
  --header-h: 84px;
  --section: clamp(80px, 10vw, 144px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.022em;
  line-height: 1.12;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  font-family: var(--font-display); font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex: none; }
.eyebrow--plain::before { content: none; }
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink::before { background: var(--ink); }
.eyebrow--light { color: var(--on-dark-3); }

.h-section { font-size: clamp(28px, 3.1vw, 44px); max-width: 21ch; }
.h-page { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.07; letter-spacing: -.03em; max-width: 21ch; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: stretch;
  border: 1px solid currentColor;
  font-family: var(--font-display); font-size: 14px; font-weight: 500; line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn__label { display: flex; align-items: center; padding: 15px 20px; }
.btn__icon {
  display: grid; place-items: center; width: 46px;
  border-left: 1px solid currentColor;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.btn__icon .icon { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.btn:hover .btn__icon { background: var(--orange); color: var(--ink); }
.btn:hover .btn__icon .icon { transform: translate(2px, -2px); }
.btn--light { color: #fff; }
.btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--solid .btn__icon { border-left-color: rgba(255, 255, 255, .22); }
.btn--solid:hover { background: #000; }
.btn--plain .btn__label { justify-content: center; }
.btn--plain:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-header.is-over-hero .nav > .btn--plain:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm .btn__label { padding: 11px 15px; font-size: 13px; }
.btn--sm .btn__icon { width: 38px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 28px;
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.link-arrow > span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow:hover > span, a:hover .link-arrow > span { background-size: 100% 1px; }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translate(2px, -2px); }

.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}
.icon-btn .icon { width: 18px; height: 18px; }
.icon-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .3s var(--ease), transform .5s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-over-hero {
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header.is-over-hero .nav__link,
.site-header.is-over-hero .nav > .btn,
.site-header.is-over-hero .menu-toggle { color: #fff; }
.site-header.is-over-hero .nav__link::after { background: #fff; }
.site-header.is-over-hero .nav > .btn:hover .btn__icon { color: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand img { height: 40px; width: auto; }
.brand__logo--light { display: none; }
.site-header.is-over-hero .brand__logo--dark { display: none; }
.site-header.is-over-hero .brand__logo--light { display: block; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); }
.nav__link {
  position: relative; display: inline-block; padding: 6px 0;
  font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn .btn__label { padding: 12px 16px; }
.nav .btn .btn__icon { width: 40px; }
.nav .btn[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-toggle { display: none; width: 48px; height: 48px; place-items: center; margin-right: -10px; color: var(--ink); transition: color .4s var(--ease); }
/* Two-bar menu icon; the close button uses the same bars crossed into an X */
.bars { position: relative; display: block; width: 30px; height: 11px; }
.bars span {
  position: absolute; right: 0; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: width .5s var(--ease-out), transform .6s var(--ease-out);
}
.bars span:first-child { top: 0; width: 100%; }
.bars span:last-child { bottom: 0; width: 60%; }
.menu-toggle:hover .bars span:last-child { width: 100%; }
.bars--close { width: 28px; height: 28px; }
.bars--close span, .bars--close span:first-child, .bars--close span:last-child { top: calc(50% - .8px); bottom: auto; width: 100%; }
.mobile-menu.is-open .bars--close span:first-child { transform: rotate(45deg); transition-delay: .15s; }
.mobile-menu.is-open .bars--close span:last-child { transform: rotate(-45deg); transition-delay: .15s; }
@media (max-width: 1000px) {
  .nav__list, .nav > .btn { display: none; }
  .menu-toggle { display: grid; }
  .brand img { height: 34px; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  background: var(--dark); color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-menu__top img { height: 34px; width: auto; }
.mobile-menu__close { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -10px; color: #fff; }
.mobile-menu__list { margin-top: clamp(24px, 8vh, 72px); }
.mobile-menu__list li {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu__link {
  display: flex; align-items: center; gap: 18px; padding: 15px 0;
  font-family: var(--font-display); font-size: clamp(26px, 7vw, 34px); letter-spacing: -.02em; line-height: 1.1;
  color: var(--on-dark-2);
  transition: color .3s;
}
.mobile-menu__link::before { content: ""; width: 10px; height: 10px; background: rgba(255, 255, 255, .22); flex: none; transition: background-color .3s; }
.mobile-menu__link .icon { margin-left: auto; width: 22px; height: 22px; }
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { color: #fff; }
.mobile-menu__link[aria-current="page"]::before { background: var(--orange); }
.mobile-menu__cta { margin-top: 36px; display: flex; }
.mobile-menu__cta .btn { flex: 1; justify-content: space-between; }
.mobile-menu__meta { margin-top: auto; padding-top: 40px; font-size: 14px; color: var(--on-dark-3); line-height: 1.8; }
.mobile-menu__meta a { color: var(--on-dark-2); }

/* ---------- Reveal on scroll (start state; main.js animates it in) ---------- */
.js:not(.no-anim) [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p.section-head__text { margin-top: 18px; max-width: 46ch; color: var(--muted); }
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px clamp(40px, 7vw, 128px); align-items: start;
}
.split__body > * + * { margin-top: 20px; }
.split__body .btn { margin-top: 36px; }
.body-copy { font-family: var(--font-body); font-size: 17px; font-weight: 400; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.split--media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.split__body > .eyebrow + .h-section { margin-top: 0; }
.split--media > .side-photo { margin-top: 0; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100vh / var(--z)); height: calc(100svh / var(--z)); min-height: 560px;
  margin-top: calc(-1 * var(--header-h) - 1px); /* header is header-h plus a 1px border */
  background: #161616; color: #fff;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .6) 0%, rgba(18, 18, 18, 0) 24%),
    linear-gradient(90deg, rgba(18, 18, 18, .5) 0%, rgba(18, 18, 18, 0) 62%),
    linear-gradient(0deg, rgba(18, 18, 18, .9) 0%, rgba(18, 18, 18, .5) 36%, rgba(18, 18, 18, .08) 72%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: end; column-gap: 64px;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(16px, 2.6vw, 32px);
}
.hero__copy { grid-column: 1; }
.hero__title {
  font-size: clamp(40px, 4.4vw + 1.6vh, 96px); line-height: 1; letter-spacing: -.04em;
  color: #fff; max-width: 16ch;
}
.hero__title .accent { color: var(--orange); }
.hero__lead { margin-top: clamp(16px, 2vw, 24px); max-width: 46ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.hero__nav { grid-column: 2; align-self: end; width: 320px; max-width: 100%; }
.hero__nav .hero__controls { width: 100%; }
.hero__count { font-family: var(--font-display); font-size: 13px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.hero__stats-wrap { grid-column: 1 / -1; margin-top: clamp(20px, 3vw, 40px); }
.hero__stats-title { margin-bottom: 12px; font-family: var(--font-display); font-size: 14px; color: rgba(255, 255, 255, .82); }
.hero__stats { margin-top: 0; border-bottom: 0; }
.hero__controls { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.hero__bars { display: flex; gap: 6px; flex: 1; }
.hero__bar { position: relative; flex: 1; height: 28px; }
.hero__bar::before, .hero__bar-fill {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
}
.hero__bar::before { background: rgba(255, 255, 255, .26); }
.hero__bar-fill { background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero__bar:hover::before { background: rgba(255, 255, 255, .5); }
.hero__pause {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.hero__pause .icon { width: 14px; height: 14px; }
.hero__pause .icon--play, .hero__pause[aria-pressed="true"] .icon--pause { display: none; }
.hero__pause[aria-pressed="true"] .icon--play { display: block; }
.hero__pause:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 860px) {
  .hero__content { grid-template-columns: minmax(0, 1fr); }
  .hero__nav { grid-column: 1; width: 100%; margin-top: 18px; }
}
@media (max-width: 560px) {
  .hero__lead { font-size: 15px; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero__content { padding-top: calc(var(--header-h) + 8px); padding-bottom: 12px; }
  .hero__title { font-size: clamp(28px, 9vh, 48px); }
  .hero__lead { display: none; }
  .hero__stats { margin-top: 14px; padding-block: 12px; }
  .hero__stats .stat__icon { display: none; }
}

/* ---------- Stats ---------- */
.stats__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; }
.stat__icon { display: grid; place-items: center; width: 46px; height: 46px; background: var(--orange); color: var(--ink); flex: none; }
.stat__icon .icon { width: 22px; height: 22px; }
.stat__text { display: flex; flex-direction: column; line-height: 1.2; text-align: center; }
.stat__value { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .stats__grid { gap: 16px; }
  .stat { flex-direction: column; align-items: center; gap: 10px; }
}
.news-empty { grid-column: 1 / -1; font-size: 17px; color: var(--muted); }
@media (max-width: 420px) { .stat { gap: 12px; } .stat__icon { width: 40px; height: 40px; } }
.intro { padding-bottom: clamp(40px, 5vw, 64px); }
.home-stats__title { margin: 0 auto clamp(28px, 3vw, 40px); max-width: none; text-align: center; }
.home-stats .stats__grid { border-top: 1px solid var(--line); }

/* ---------- Businesses (dark accordion) ---------- */
.businesses { padding-top: clamp(64px, 8vw, 112px); }
.biz { background: var(--dark); color: #fff; }
.biz__item {
  background: var(--dark);
  background: color-mix(in srgb, var(--dark) calc(100% - var(--i, 0) * 2.3%), #ffffff);
  border-top: 1px solid var(--line-dark);
}
.biz__item:first-child { border-top: 0; }
.biz__heading { font-size: inherit; letter-spacing: 0; }
.biz__trigger { display: block; width: 100%; text-align: left; color: #fff; }
.biz__row {
  display: grid; align-items: center; gap: 20px;
  grid-template-columns: 56px minmax(0, auto) 1fr 72px minmax(0, auto) 28px;
  padding-block: clamp(22px, 2.4vw, 30px);
}
.biz__num { font-family: var(--font-display); font-size: 14px; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.biz__name {
  font-family: var(--font-display); font-size: clamp(20px, 2vw, 27px); letter-spacing: -.02em; line-height: 1.2;
  transition: color .3s var(--ease);
}
.biz__rule { grid-column: 4; height: 1px; background: var(--line-dark); }
.biz__tag { grid-column: 5; font-size: 13px; color: var(--on-dark-3); text-align: right; white-space: nowrap; }
.biz__toggle { grid-column: 6; display: grid; place-items: center; width: 28px; height: 28px; color: var(--on-dark-2); }
.biz__toggle .icon { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.biz__trigger:hover .biz__name { color: var(--orange); }
.biz__item.is-open .biz__toggle .icon { transform: rotate(45deg); }
.biz__item.is-open .biz__name { color: #fff; }
.biz__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.biz__item.is-open .biz__panel { grid-template-rows: 1fr; }
.biz__panel-inner { overflow: hidden; min-height: 0; }
.biz__content {
  display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 4fr); column-gap: 20px;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.biz__text { grid-column: 2; max-width: 52ch; padding-right: clamp(0px, 3vw, 48px); }
.biz__text > p { color: var(--on-dark-2); font-size: 15px; line-height: 1.7; }
.biz__meta { margin: 28px 0 32px; border-top: 1px solid var(--line-dark); }
.biz__meta > li { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.biz__meta .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--orange); grid-row: span 2; }
.biz__meta-key { font-size: 12px; color: var(--on-dark-3); line-height: 1.3; }
.biz__meta-value { margin-top: 2px; font-size: 14px; color: #fff; line-height: 1.45; }
.biz__media { grid-column: 3; align-self: start; overflow: hidden; aspect-ratio: 4 / 3; background: #333; }
.biz__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); opacity: 0; transition: transform 1.2s var(--ease-out), opacity .8s var(--ease); }
.biz__item.is-open .biz__media img { transform: none; opacity: 1; transition-delay: .15s; }
@media (max-width: 860px) {
  .biz__row { grid-template-columns: 34px minmax(0, 1fr) 28px; row-gap: 2px; }
  .biz__rule { display: none; }
  .biz__tag { grid-column: 2; grid-row: 2; text-align: left; }
  .biz__toggle { grid-column: 3; grid-row: 1 / span 2; }
  .biz__content { grid-template-columns: 34px minmax(0, 1fr); row-gap: 28px; }
  .biz__text { grid-column: 2; padding-right: 0; }
  .biz__media { grid-column: 2; grid-row: 1; }
}
@media (max-width: 520px) {
  .biz__row { grid-template-columns: minmax(0, 1fr) 28px; column-gap: 12px; }
  .biz__num { grid-column: 1; grid-row: 1; font-size: 12px; }
  .biz__name { grid-column: 1; grid-row: 2; }
  .biz__tag { grid-column: 1; grid-row: 3; margin-top: 4px; }
  .biz__toggle { grid-column: 2; grid-row: 1 / span 3; }
  .biz__content { grid-template-columns: minmax(0, 1fr); }
  .biz__text, .biz__media { grid-column: 1; }
}

/* ---------- Carousel ---------- */
.carousel__nav { display: flex; gap: 10px; }
.carousel__track {
  --gap: 20px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - 2 * var(--gap)) / var(--per-view, 3.2));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 2px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

/* ---------- Principle cards ---------- */
.principles .carousel__track { --per-view: 3.25; }
.card {
  position: relative; display: flex; flex-direction: column;
  min-height: 320px; padding: clamp(26px, 2.4vw, 36px);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .35s var(--ease), transform .5s var(--ease-out);
}
.card::after {
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.card:hover { border-color: var(--line-2); }
.card:hover::after, .card.is-featured::after { transform: scaleX(1); }
.card__icon { width: 34px; height: 34px; color: var(--ink); stroke-width: 1.3; }
.card h3 { margin-top: 40px; font-size: 21px; font-weight: 500; letter-spacing: -.015em; }
.card p { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.card .link-arrow { margin-top: auto; padding-top: 28px; }
@media (max-width: 960px) { .principles .carousel__track { --per-view: 1.7; } }
@media (max-width: 560px) { .principles .carousel__track { --per-view: 1.12; } }

/* ---------- Media with callout ---------- */
.media-callout { position: relative; }
.media-callout__img { height: clamp(300px, 44vw, 620px); overflow: hidden; background: var(--sand-2); }
.media-callout__img img { width: 100%; height: 100%; object-fit: cover; }
.media-callout .container { position: relative; }
.callout {
  position: absolute; right: var(--gutter); bottom: 0; translate: 0 42%;
  width: min(380px, calc(100% - var(--gutter) * 2));
  padding: clamp(28px, 3vw, 40px);
  background: var(--orange); color: var(--ink);
}
.callout .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.callout p { margin-top: 36px; font-family: var(--font-body); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.callout small { display: block; margin-top: 10px; font-size: 13px; opacity: .8; }
.callout--purple { background: var(--purple); color: #fff; }
.media-callout + .container, .media-callout + * { margin-top: clamp(48px, 6vw, 88px); }
@media (max-width: 560px) {
  .callout { position: relative; right: auto; bottom: auto; translate: none; margin: -64px 0 0 auto; width: calc(100% - 20px); }
  .media-callout + .container, .media-callout + * { margin-top: 40px; }
}

/* ---------- CSR ---------- */
.pillars { margin-top: 36px !important; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pillar__icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--purple-soft); color: var(--purple); }
.pillar__icon .icon { width: 20px; height: 20px; }
.pillar h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.pillar p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- Clients ---------- */
.clients__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.clients__head .h-section { margin-inline: auto; }
.logo-wall {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(28px, 3.6vw, 52px) clamp(36px, 4.6vw, 72px);
  max-width: 1120px; margin-inline: auto;
}
.logo-wall li { display: grid; place-items: center; width: 150px; height: 64px; }
.logo-wall img { max-width: 100%; max-height: 56px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .45s var(--ease), opacity .45s var(--ease), transform .4s var(--ease-out); }
.logo-wall li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 560px) { .logo-wall li { width: 118px; height: 54px; } .logo-wall img { max-height: 46px; } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); transition: border-color .35s var(--ease); }
.news-card:hover { border-color: var(--line-2); }
.news-card__link { display: flex; flex-direction: column; height: 100%; }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.tag { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.news-card h3 { margin-top: 12px; font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.news-card p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.news-card .link-arrow { margin-top: auto; padding-top: 24px; }
.section--sand .news-card { border-color: transparent; }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px; border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Closing call to action ---------- */
.cta { background: var(--sand); color: var(--ink); padding-block: clamp(80px, 10vw, 152px); overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px 72px; align-items: end; }
.cta h2 { font-size: clamp(40px, 5.8vw, 92px); line-height: 1; letter-spacing: -.04em; max-width: 12.5ch; }
.cta__text { margin-top: 28px; max-width: 44ch; color: var(--ink-2); }
.round-btn {
  position: relative; display: grid; place-items: center; flex: none;
  width: clamp(150px, 15vw, 212px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--orange); color: var(--ink);
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  transition: color .45s var(--ease);
}
.round-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink);
  transform: translateY(101%); transition: transform .7s var(--ease-out);
}
.round-btn:hover { color: #fff; }
.round-btn:hover::before { transform: none; }
.round-btn__inner { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.round-btn__inner .icon { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.round-btn:hover .round-btn__inner .icon { transform: rotate(45deg); }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Social links ---------- */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.social__link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--font-display); font-size: 13px; font-weight: 500; line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social__link .icon { width: 16px; height: 16px; }
.social__link .icon path[fill] { fill: #0A66C2; }
.social--light .social__link .icon { background: #fff; border-radius: 2px; }
.social__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.social--light .social__link { border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .88); }
.social--light .social__link:hover { background: #fff; border-color: #fff; color: var(--ink); }
.footer__follow { margin-top: 36px; }
.footer__follow h3 { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--on-dark-3); }
.mobile-menu__meta .social { margin-top: 18px; }
.biz__follow { margin: -8px 0 30px; }
.biz__follow .social { margin-top: 10px; }
.contact-item .social + small { margin-top: 16px; }

/* ---------- Page change curtain ---------- */
.page-curtain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--ink); transform: translateY(101%);
}
.page-curtain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); }
.curtain-in .page-curtain { transform: none; }

/* ---------- Floating preview on the business list (desktop) ---------- */
.biz-preview {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 3; overflow: hidden;
  opacity: 0; visibility: hidden; background: #333;
}
.biz-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Accent words, big lead text, rolling labels ---------- */

.lead--xl { font-family: var(--font-body); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.roll { display: inline-block; overflow: hidden; vertical-align: top; }
.roll__inner { position: relative; display: inline-block; transition: transform .6s var(--ease-out); }
.roll__dup { position: absolute; left: 0; top: 100%; white-space: nowrap; }
.btn:hover .roll__inner, .nav__link:hover .roll__inner, .mobile-menu__link:hover .roll__inner { transform: translateY(-100%); }

/* ---------- Animation start states (only while the animation script is running) ---------- */
.split-line-mask { padding-bottom: .1em; margin-bottom: -.1em; }
.js:not(.no-anim) [data-split],
.js:not(.no-anim) [data-highlight] { visibility: hidden; }
.js:not(.no-anim) [data-stagger] > *,
.js:not(.no-anim) [data-hero-in],
.js:not(.no-anim) [data-stats] { opacity: 0; }
.js:not(.no-anim) [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.no-anim .page-curtain { display: none; }
.hero__bar.is-done .hero__bar-fill { background: #fff; }
.no-anim .hero__bar.is-active .hero__bar-fill { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .carousel__track { cursor: grab; }
  .carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .carousel__track.is-dragging a { pointer-events: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding-top: clamp(64px, 8vw, 104px); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: 48px 40px; padding-bottom: clamp(56px, 6vw, 88px); }
.footer__brand img { height: 42px; width: auto; }
.footer__brand p { margin-top: 24px; max-width: 30ch; font-family: var(--font-body); font-size: 20px; line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.footer__col h3 { margin-bottom: 18px; font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--on-dark-3); }
.footer__col li + li { margin-top: 4px; }
.footer__col a { display: inline-block; padding-block: 5px; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__col address { line-height: 1.7; }
.footer__contact { display: grid; justify-items: start; gap: 0; margin-top: 12px; }
.footer__contact a { padding-block: 5px; }
.footer__contact a { color: #fff; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; font-size: 13px; color: var(--on-dark-3); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer__bottom .link-arrow { color: var(--on-dark-2); font-size: 13px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Page intro (inner pages) ---------- */
.page-intro { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 88px); }
.page-intro .lead, .page-intro .body-copy { margin-top: 28px; max-width: 52ch; }

/* ---------- About: vision & mission ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.vm-card { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); }
.vm-card__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--orange); color: var(--ink); }
.vm-card__icon .icon { width: 22px; height: 22px; }
.vm-card h3 { margin-top: 36px; font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.vm-card p { margin-top: 12px; font-family: var(--font-body); color: var(--ink-2); font-size: 17px; line-height: 1.75; }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---------- About: values + globe ---------- */
.values__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.value-list { margin-top: 40px; border-top: 1px solid var(--line-2); }
.value { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.value .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--ink); }
.value p { font-size: 15px; color: var(--muted); }
.value strong { display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink); }
.globe { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin-inline: auto; }
.globe svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.globe svg * { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.globe svg .globe__axis { stroke: var(--line-2); }
.globe__photo {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--sand);
}
.globe__photo img { width: 100%; height: 100%; object-fit: cover; }
.globe__dot { position: absolute; width: 12px; height: 12px; background: var(--orange); }
@media (max-width: 860px) { .values__grid { grid-template-columns: 1fr; } .globe { width: min(100%, 380px); } }

/* ---------- About: team ---------- */
.team .carousel__track { --per-view: 4.25; }
.person__photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.08;
  background: var(--sand); overflow: hidden;
}
.person__photo span {
  font-family: var(--font-display); font-size: clamp(40px, 3.6vw, 54px); letter-spacing: -.04em; color: var(--purple);
  transition: transform .8s var(--ease-out);
}
.person__photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; background: var(--orange); transform: scale(0); transform-origin: bottom right; transition: transform .45s var(--ease-out); }
.person:hover .person__photo span { transform: scale(1.06); }
.person:hover .person__photo::after { transform: scale(1); }
.person__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 2px 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.person__name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.person__role { margin-top: 2px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .team .carousel__track { --per-view: 2.4; } }
@media (max-width: 560px) { .team .carousel__track { --per-view: 1.45; } }

/* ---------- About: careers ---------- */
.reasons { display: grid; gap: 12px; }
.reason { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); transition: border-color .3s var(--ease); }
.reason:hover { border-color: var(--line-2); }
.reason h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.reason p { margin-top: 3px; font-size: 14px; color: var(--muted); }
.reason__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.reason__icon .icon { width: 18px; height: 18px; }
.reason:hover .reason__icon { background: var(--orange); border-color: var(--orange); }

/* ---------- News page ---------- */
.news-hero { background: var(--sand); padding-top: clamp(32px, 4vw, 56px); }
.collage { position: relative; height: clamp(300px, 40vw, 540px); }
.collage__img { position: absolute; overflow: hidden; background: var(--sand-2); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { left: 0; top: 0; width: 30%; height: 38%; }
.collage__b { left: 18%; top: 22%; width: 82%; height: 78%; clip-path: polygon(22% 0, 100% 0, 100% 58%, 80% 100%, 0 100%, 0 42%); }
.collage__c { right: 0; top: 0; width: 22%; height: 30%; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%); }
.collage__mark { position: absolute; left: 30%; top: 38%; width: 18px; height: 18px; background: var(--orange); z-index: 2; }
.news-page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.news-page__grid { padding-bottom: var(--section); }

/* ---------- Contact page ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; padding-bottom: var(--section); }
.contact-list { border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-item__icon { display: grid; place-items: center; width: 46px; height: 46px; background: var(--orange); color: var(--ink); }
.contact-item__icon .icon { width: 20px; height: 20px; }
.contact-item h2 { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.contact-item p, .contact-item a.value-link { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 19px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.contact-item .link-arrow { margin-top: 12px; }
.contact-item small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--ink); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  margin-top: 8px; width: 100%;
  padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23252525' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; cursor: pointer;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #9A9B9E; }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--muted); max-width: 44ch; }
.form__status { grid-column: 1 / -1; font-size: 15px; color: var(--ink); }
.form__status:not(:empty) { padding: 16px 18px; background: var(--orange-soft); border-left: 3px solid var(--orange); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Businesses page ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 48px); }
.chip--link { display: inline-flex; align-items: center; gap: 10px; }
.chip__num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip--link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--link:hover .chip__num { color: var(--on-dark-3); }
.cat { padding-top: clamp(56px, 7vw, 104px); }
.cat + .cta { margin-top: clamp(40px, 6vw, 88px); }
.cat__head {
  display: flex; align-items: baseline; gap: 16px 24px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.cat__num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.cat__num::before { content: ""; width: 8px; height: 8px; background: var(--orange); }
.cat__title { font-size: clamp(26px, 3vw, 42px); letter-spacing: -.025em; }
.cat__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.biz-block {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px);
  align-items: center; padding-block: clamp(36px, 5vw, 72px);
}
.biz-block + .biz-block { border-top: 1px solid var(--line); }
.biz-block--flip .biz-block__media { order: 2; }
.biz-block__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.biz-block__media img { width: 100%; height: 100%; object-fit: cover; }
.biz-block__body { max-width: 52ch; }
.biz-block__name { margin-top: 12px; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.03em; }
.biz-block__text { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.biz-block__meta { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.biz-block__meta > li { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.biz-block__meta .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--orange-deep); grid-row: span 2; }
.biz-block__key { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.biz-block__value { margin-top: 2px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.biz-block__follow { margin: -10px 0 30px; }
@media (max-width: 720px) {
  .biz-block { grid-template-columns: 1fr; }
  .biz-block--flip .biz-block__media { order: 0; }
  .biz-block__body { max-width: none; }
}
@media (max-width: 560px) {
  .cat-nav {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav .chip { flex: none; white-space: nowrap; }
}

/* ---------- CSR page ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vm-card--purple .vm-card__icon { background: var(--purple-soft); color: var(--purple); }
.statement { background: var(--dark); }
.statement .eyebrow { color: var(--on-dark-3); }
.statement__text {
  max-width: 24ch; font-family: var(--font-body); font-size: clamp(30px, 4.4vw, 66px);
  line-height: 1.12; letter-spacing: -.035em; color: #fff;
}
@media (max-width: 960px) { .focus-grid { grid-template-columns: 1fr; } }

/* ---------- Sector cards (home, right below the hero) ---------- */
.sectors { padding-block: clamp(56px, 7vw, 104px); }
.sectors__title { margin: 0 auto clamp(32px, 4vw, 56px); max-width: none; text-align: center; }
.sectors__viewport {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
}
.sectors__viewport::-webkit-scrollbar { display: none; }
.sectors__viewport .sector { scroll-snap-align: start; }
.sectors__viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.sectors__viewport.is-dragging a { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .sectors__viewport { cursor: grab; } }
.sectors__track { --gap: 20px; --per: 4; display: flex; gap: var(--gap); }
.sector { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); }
.sector__link { position: relative; display: block; aspect-ratio: 3 / 4.2; overflow: hidden; background: #333; color: #fff; }
.sector__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sector__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, .62) 0%, rgba(18, 18, 18, .12) 42%, rgba(18, 18, 18, .35) 100%);
  transition: background-color .5s var(--ease);
}
.sector__body { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 32px); }
.sector__num { font-family: var(--font-display); font-size: 13px; color: rgba(255, 255, 255, .75); }
.sector__name { margin-top: 10px; font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.sector__more { display: grid; grid-template-rows: 0fr; margin-top: 14px; opacity: 0; transition: grid-template-rows .6s var(--ease-out), opacity .4s var(--ease); }
.sector__more > * { min-height: 0; overflow: hidden; }
.sector__text { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.sector__readmore { position: relative; display: inline-block; justify-self: start; width: max-content; margin-top: 14px; padding-bottom: 4px; font-family: var(--font-display); font-size: 14px; font-weight: 500; color: #fff; }
/* Hovering the word itself: the underline slides out to the right and draws back in from the left */
.sector__readmore::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; }
.sector__readmore:hover::after, .sector__link:focus-visible .sector__readmore::after { animation: underline-sweep .7s var(--ease) both; }
@keyframes underline-sweep { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.sector__link:hover img, .sector__link:focus-visible img { transform: scale(1.06); }
.sector__link:hover .sector__shade, .sector__link:focus-visible .sector__shade { background-color: rgba(18, 18, 18, .45); }
.sector__link:hover .sector__more, .sector__link:focus-visible .sector__more { grid-template-rows: 1fr; opacity: 1; }
@media (hover: none) {
  .sector__shade { background: linear-gradient(180deg, rgba(18, 18, 18, .6) 0%, rgba(18, 18, 18, .2) 40%, rgba(18, 18, 18, .78) 100%); }
  .sector__more { grid-template-rows: 1fr; opacity: 1; margin-top: auto; }
}
@media (max-width: 1100px) { .sectors__track { --per: 3; } }
@media (max-width: 820px) { .sectors__track { --per: 2; } }
@media (max-width: 560px) { .sectors__track { --gap: 12px; --per: 1.18; } }
.sectors__viewport.is-static { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sectors__viewport.is-static .sector { scroll-snap-align: start; }

/* ---------- Businesses dropdown ---------- */
.nav__item--drop { position: relative; }
.nav__item--drop > .nav__link { display: inline-flex; align-items: center; gap: 4px; }
.nav__caret { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: -20px; z-index: 70; min-width: 260px; padding: 10px 0;
  background: #fff; box-shadow: 0 18px 40px rgba(37, 37, 37, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s linear .3s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--drop:hover .nav__sub, .nav__item--drop:focus-within .nav__sub, .nav__item--drop.is-open .nav__sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s;
}
.nav__item--drop:hover .nav__caret, .nav__item--drop.is-open .nav__caret { transform: rotate(180deg); }
.nav__sub-link { display: block; padding: 10px 20px; font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink); transition: background-color .25s, color .25s; }
.nav__sub-link:hover, .nav__sub-link[aria-current="page"] { background: var(--sand); color: var(--ink); }
.mobile-menu__sub { padding: 0 0 10px 28px; }
.mobile-menu__sub-link { display: block; padding: 7px 0; font-family: var(--font-display); font-size: 18px; color: var(--on-dark-3); transition: color .25s; }
.mobile-menu__sub-link:hover, .mobile-menu__sub-link[aria-current="page"] { color: #fff; }

/* ---------- Page layouts: photo beside text (About, sector pages) ---------- */
.page-intro--tight { padding-bottom: clamp(32px, 4vw, 56px); }
.about-block__grid, .sector-page__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 104px); align-items: start;
}
.about-block__media, .sector-page__media { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; overflow: hidden; background: var(--sand-2); }
.about-block__media { aspect-ratio: 4 / 5; }
.sector-page__media { aspect-ratio: 3 / 4.2; }
.about-block__media img, .sector-page__media img { width: 100%; height: 100%; object-fit: cover; }
.about-block__body > * + *, .sector-page__body > p + p { margin-top: 22px; }
.about-block__body p, .sector-page__body p { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.about-block__body .lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: var(--ink); }
.sector-page { padding-top: clamp(40px, 6vw, 88px); padding-bottom: var(--section); }
.sector-page__body .h-page { margin-bottom: 28px; }
.sector-page__body > p:first-of-type + p { margin-top: 22px; }
.vm-card h2 { margin-top: 36px; font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.vm-grid { margin-top: 0; }
.about-stats { margin-top: 20px; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .about-block__grid, .sector-page__grid { grid-template-columns: 1fr; }
  .about-block__media, .sector-page__media { position: relative; top: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Text beside an overlapping photo collage ---------- */
.media-callout + .story { margin-top: 0; padding-top: clamp(56px, 7vw, 104px); }
.story__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 104px); align-items: center; }
.story__body > p + p { margin-top: 22px; }
.story__title { margin-bottom: 28px; }
.story__body p { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.sector-details { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.sector-details .eyebrow { margin-bottom: 14px; }
.sector-details__list { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.sector-details__list li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; background: var(--orange); }
.support-mark { display: flex; justify-content: center; }
.support-logo { width: clamp(190px, 22vw, 280px); height: auto; }
.collage2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); aspect-ratio: 1 / 1.08; }
.collage2 figure { margin: 0; overflow: hidden; background: var(--sand-2); }
.collage2 img { width: 100%; height: 100%; object-fit: cover; }
.collage2__a { grid-column: 4 / 13; grid-row: 1 / 10; }
.collage2__b { grid-column: 1 / 8; grid-row: 7 / 13; z-index: 1; box-shadow: 0 0 0 10px var(--paper); }
.section--sand .collage2__b { box-shadow: 0 0 0 10px var(--sand); }
.page-sector-farming .collage2 { width: 100%; max-width: 420px; justify-self: center; }
.page-sector-farming .collage2__a { grid-column: 6 / 13; grid-row: 1 / 9; }
.side-photo { margin: 32px 0 0; aspect-ratio: 4 / 3; overflow: hidden; max-width: 520px; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .collage2 { max-width: 560px; }
}

/* ---------- Links to the other businesses (foot of each sector page) ---------- */
.more-links { padding-bottom: var(--section); }
.more-links__list { border-top: 1px solid var(--line); }
.more-links__link {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; color: var(--ink);
  transition: color .3s var(--ease), padding-left .5s var(--ease-out);
}
.more-links__link .icon { width: 26px; height: 26px; transition: transform .45s var(--ease-out); }
.more-links__link:hover { color: var(--orange-deep); padding-left: 12px; }
.more-links__link:hover .icon { transform: translate(3px, -3px); }

/* ---------- Other sectors (grid at the foot of each sector page) ---------- */
.sectors--more { padding-top: 0; }
.sectors__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sectors__grid { grid-template-columns: 1fr; } }

/* ---------- Contact: four items in one row ---------- */
.contact-row-section { padding-bottom: var(--section); }
.contact-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-row .contact-item { grid-template-columns: 1fr; align-content: start; gap: 20px; padding: 32px 28px 36px; border-bottom: 0; }
.contact-row .contact-item p { overflow-wrap: anywhere; }
.contact-row .contact-item + .contact-item { border-left: 1px solid var(--line); }
.contact-row .contact-item:first-child { padding-left: 0; }
@media (max-width: 1100px) {
  .contact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-row .contact-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-row .contact-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-row .contact-item { padding-left: 0; border-left: 0 !important; }
  .contact-row .contact-item + .contact-item { border-top: 1px solid var(--line); }
}

/* ---------- Large monitors and TVs: scale the whole page up ---------- */
@media (min-width: 1800px) { html { zoom: 1.2; } :root { --z: 1.2; } }
@media (min-width: 2300px) { html { zoom: 1.5; } :root { --z: 1.5; } }
@media (min-width: 3200px) { html { zoom: 2; } :root { --z: 2; } }

/* ---------- LinkedIn wordmark ---------- */
.social__brand { display: inline-block; margin-top: 12px; line-height: 0; transition: opacity .3s var(--ease); }
.social__brand img { width: auto; height: 22px; }
.social__brand:hover { opacity: .8; }

/* ---------- Businesses toggle (desktop button, phone menu) ---------- */
.nav__toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.mobile-menu__toggle { width: 100%; text-align: left; cursor: pointer; }
.mobile-menu__plus { position: relative; width: 16px; height: 16px; margin-left: auto; flex: none; }
.mobile-menu__plus::before, .mobile-menu__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; margin-top: -.8px; background: currentColor; transition: transform .4s var(--ease-out); }
.mobile-menu__plus::after { transform: rotate(90deg); }
.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__plus::after { transform: rotate(0deg); }

/* ---------- Read more (phones) ---------- */
.read-more { display: none; }
@media (max-width: 700px) {
  .more-text { display: none; }
  .more-text.is-open { display: block; }
  .more-text > p { margin-top: 22px; }
  .read-more {
    display: inline-block; margin-top: 18px; padding: 10px 16px; border: 1px solid currentColor;
    font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink);
  }
}

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