/* John Olatunji — Notary Public
   Brand: Concept Notary Lawyers kit (Figma). Layout language inspired by editorial law-firm sites. */

/* BDO Grotesk — self-hosted, SIL OFL 1.1 (assets/fonts/OFL.txt) */
@font-face { font-family: "BDO Grotesk"; src: url("assets/fonts/BDOGrotesk-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("assets/fonts/BDOGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("assets/fonts/BDOGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --linen: #EBE6D9;
  --linen-soft: #F3EDE3;
  --white: #FFFFFF;
  --ink: #191A10;
  --black: #111111;
  --slate: #697999;
  --slate-deep: #4C5A78;
  --line: rgba(25, 26, 16, 0.16);
  --muted: rgba(25, 26, 16, 0.62);

  --font: "BDO Grotesk", sans-serif;
  --gutter: clamp(20px, 3.4vw, 48px);
  --max: 1360px;
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }

h1, h2 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(24px, 2.52vw, 36px); max-width: 22ch; }
h1, h2 { text-wrap: balance; }
/* consistent gap between every eyebrow label and the heading under it */
.label + h1, .label + h2 { margin-top: 18px; }
.body { margin-top: 24px; max-width: 34em; color: var(--muted); }

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

/* Small uppercase label */
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }
section > .wrap > .label, .reveal > .label, .band__inner > .label { margin-bottom: 18px; }

/* Underlined text link */
.link {
  display: inline-block;
  font-size: 15px; font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0% 1px; background-position: right bottom; }
.reveal > .link, .services > .wrap > .link { margin-top: 36px; }
.link--light { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; padding: 0 var(--gutter);
  color: var(--linen-soft);
  transition: background .35s, color .35s, height .35s;
}
.header.is-solid { background: var(--white); color: var(--ink); height: 70px; box-shadow: 0 1px 0 var(--line); }
.header__logo svg { display: block; width: 118px; height: 45px; transition: width .35s, height .35s; }
.header.is-solid .header__logo svg { width: 96px; height: 37px; }
.header__right { display: flex; align-items: center; gap: 32px; }
.burger { width: 40px; height: 40px; background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 28px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-open .header { color: var(--white); background: transparent; box-shadow: none; }
.menu-open .header__book { opacity: 0; pointer-events: none; }
.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--slate-deep); color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.menu-open { overflow: hidden; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__inner { min-height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; padding: 140px var(--gutter) 56px; max-width: var(--max); margin: 0 auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-size: clamp(36px, 5.4vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; opacity: .9; transition: opacity .2s, transform .35s var(--ease); }
.menu__nav a:hover { opacity: 1; transform: translateX(8px); }
.menu__aside { display: grid; gap: 10px; color: rgba(255,255,255,.82); font-size: 15px; }
.menu__aside .label { color: rgba(255,255,255,.6); margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1000px; color: var(--white); overflow: hidden; background: var(--black); }
.hero { background: #1B202E; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: url(#duotone) contrast(1.08); transform: scale(1.04); animation: heroZoom 2.4s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(27,32,46,.45) 0%, rgba(27,32,46,0) 26%),
  linear-gradient(20deg, rgba(27,32,46,.7) 0%, rgba(27,32,46,.3) 40%, rgba(27,32,46,0) 70%); }
.dashfield--hero { z-index: 1; }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(56px, 9vh, 110px); padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.hero h1 { font-size: clamp(30px, 3.84vw, 58px); letter-spacing: -0.04em; margin-bottom: 24px; }
.hero__sub { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.85); white-space: nowrap; margin-bottom: 32px; }
@media (max-width: 640px) { .hero__sub { white-space: normal; } }

/* Credentials strip */
.facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.facts dt { color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 500; font-size: 15px; }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Services list ---------- */
.services { background: var(--linen-soft); padding: var(--section) 0; }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.services h2 { max-width: 20ch; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--ink); border-radius: 999px; }
.tabs button {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px;
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .25s, color .25s;
}
.tabs button span {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; font-size: 12px; font-variant-numeric: tabular-nums;
  background: rgba(25,26,16,.08); color: var(--ink); transition: background .25s, color .25s;
}
.tabs button:hover { background: rgba(25,26,16,.06); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--linen-soft); }
.tabs button[aria-selected="true"] span { background: var(--linen-soft); color: var(--ink); }
.tabs button:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows[hidden] { display: none; }
.rows--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 1fr 24px; align-items: baseline; gap: 16px; padding: 24px 0; transition: padding .35s var(--ease); }
.rows .label { display: none; }
.services__note { margin-top: 40px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.services__note .link { color: var(--ink); }
.rows__title { font-size: clamp(20px, 2vw, 26px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; }
.rows svg { width: 20px; height: 20px; align-self: center; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.rows a:hover { padding-left: 12px; }
.rows a:hover svg { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { padding: var(--section) 0; }
.about__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.about__head h2 { max-width: 16ch; }
.about__head .body { margin-top: 0; }
.about__head .body + .body { margin-top: 18px; }
.about__img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--linen); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.about .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; border-top: 0; padding-top: 24px; }
/* left / centre / right so the row sits symmetrically under the image */
/* blocks sit left / centre / right, but text inside each stays left-aligned */
.about .facts > div { text-align: left; }
.about .facts > div:nth-child(2) { justify-self: center; }
.about .facts > div:nth-child(3) { justify-self: end; }
.about .facts > div { padding-right: 0; }

/* ---------- Panel carousel ---------- */
/* Full-bleed: slides run edge to edge; --off (set in JS) = left edge of the page container,
   so panel text and controls line up with every other section */
.carousel { padding: 0 0 var(--section); --off: var(--gutter); --pad: clamp(28px, 4vw, 56px); --panel: .42; }
.carousel__wrap { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 16px; transition: transform .8s var(--ease); }
.slide { flex: 0 0 calc(100% - var(--off)); display: grid; grid-template-columns: calc(var(--off) + (100% - 2 * var(--off)) * var(--panel)) 1fr; height: clamp(460px, 38vw, 580px); transition: opacity .6s var(--ease); }
.slide:not(.is-active) { opacity: .4; }
.slide__panel { display: flex; flex-direction: column; justify-content: flex-end; padding: 110px var(--pad) var(--pad) var(--off); color: var(--white); }
.slide--slate .slide__panel { background: var(--slate); }
.slide--ink .slide__panel { background: var(--ink); }
.slide--deep .slide__panel { background: var(--slate-deep); }
.slide__panel .label { color: rgba(255,255,255,.7); margin-bottom: 0; }
.slide__panel h2 { max-width: 16ch; }
.slide__text { margin: 18px 0 28px; color: rgba(255,255,255,.82); max-width: 30em; }
.slide__media { position: relative; overflow: hidden; background: var(--black); }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__controls {
  position: absolute; z-index: 2; top: var(--pad); left: var(--off);
  width: calc((100% - 2 * var(--off)) * var(--panel) - var(--pad));
  display: flex; justify-content: space-between; align-items: center; color: var(--white);
}
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 26px; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.carousel__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.45); transition: background .3s, height .3s; }
.carousel__dots button[aria-selected="true"]::after { background: var(--white); height: 2px; }
.carousel__arrows { display: flex; gap: 4px; }
.carousel__arrows button { width: 36px; height: 36px; display: grid; place-content: center; background: none; border: 0; color: inherit; cursor: pointer; transition: transform .3s var(--ease); }
.carousel__arrows svg { width: 18px; height: 18px; }
.carousel__arrows [data-next]:hover { transform: translateX(3px); }
.carousel__arrows [data-prev]:hover { transform: translateX(-3px); }

.carousel__head { margin-bottom: clamp(32px, 4vw, 56px); }
.carousel__head h2 { max-width: 20ch; }

/* Text under the carousel, right half */
.carousel__note { margin: clamp(32px, 4vw, 56px) 0 0 auto; width: 50%; padding-left: calc(clamp(32px, 7vw, 120px) / 2); }
.carousel__note p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -0.01em; max-width: 32em; }
.carousel__note .link { margin-top: 24px; }

/* ---------- Image + panel card ---------- */
.card-section { padding: var(--section) 0 0; }
.card { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--white); }
.card__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.card__panel { display: flex; flex-direction: column; padding: clamp(32px, 5vw, 64px); }
.card__eyebrow { font-size: 15px; font-weight: 500; margin-bottom: auto; padding-bottom: 48px; }
.card__panel p:not(.card__eyebrow) { margin: 18px 0 32px; color: rgba(255,255,255,.82); max-width: 32em; }
.card__panel .chev { margin-bottom: auto; }

/* Text link with chevron */
.chev { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.chev svg { width: 8px; height: 13px; transition: transform .3s var(--ease); }
.chev:hover svg { transform: translateX(4px); }

/* ---------- Ratings & testimonials ---------- */
/* Slate band starts halfway down the step cards (--split), so the white cards sit on the edge */
.reviews { --split: 112px; padding: 0 0 var(--section); color: var(--white); background: linear-gradient(to bottom, var(--white) 0, var(--white) var(--split), var(--slate) var(--split)); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; margin-top: var(--section); }
.reviews .label { color: rgba(255,255,255,.8); }
.reviews .stars { color: #F5B544; }
.reviews .reviews__count { color: rgba(255,255,255,.82); }
.reviews .reviews__list { border-top-color: rgba(255,255,255,.4); }
.reviews .reviews__list li { border-bottom-color: rgba(255,255,255,.4); }
.reviews .reviews__meta { color: rgba(255,255,255,.78); }
.reviews .reviews__meta a { color: var(--white); }
.reviews__big { font-size: clamp(72px, 8vw, 120px); font-weight: 500; letter-spacing: -0.05em; line-height: .9; margin: 8px 0 18px; }
.stars { display: flex; gap: 4px; color: var(--slate-deep); }
.stars svg { width: 22px; height: 22px; }
.stars--sm svg { width: 15px; height: 15px; }
.reviews__count { margin: 14px 0 28px; color: var(--muted); }
.reviews__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reviews__list li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.reviews__list blockquote { margin: 14px 0 18px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; letter-spacing: -0.02em; text-wrap: balance; }
.reviews__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.reviews__meta a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Offices table ---------- */
.offices { padding: var(--section) 0; }
.offices__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 14px; font-weight: 500; padding: 0 24px 16px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.45; vertical-align: top; }
.table td:first-child { width: 24%; font-size: 20px; letter-spacing: -0.015em; }
.table td:nth-child(2) { width: 34%; }
.table td:last-child { color: var(--muted); }
.table td { text-wrap: balance; }
.tag-main { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; vertical-align: 3px; }

/* ---------- Process ---------- */
.process { padding: var(--section) 0 clamp(56px, 6vw, 88px); }
.process__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.seal-panel {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background-color: var(--linen-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' stroke='%23191A10' stroke-opacity='.11' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M14 10l-3 10M58 8l2 11M100 12l-6 8M30 50l7 7M76 44l-1 11M110 56l-8 4M12 92l9-4M52 86l-3 11M92 96l6 9'/%3E%3C/svg%3E");
}
.seal { width: min(46%, 240px); height: auto; color: #2E3E66; font-family: var(--font); font-weight: 500; transform: rotate(-10deg); }
.process__top h2 { text-wrap: balance; max-width: 18ch; }
.process__body { max-width: 26em; text-wrap: balance; }
.process__body + .process__body { margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps > div { background: var(--white); color: var(--ink); padding: 28px 24px 32px; box-shadow: 0 1px 2px rgba(25,26,16,.05), 0 10px 28px -12px rgba(25,26,16,.18); }
.process__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.steps__d { text-wrap: balance; }
.steps__n { display: block; font-size: 13px; font-weight: 500; color: var(--slate-deep); margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.steps__t { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; }
.steps__d { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { position: relative; color: var(--white); background: var(--slate); overflow: hidden; }
.dashfield { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cta .label { color: rgba(255,255,255,.75); }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding-top: var(--section); padding-bottom: var(--section); pointer-events: none; }
.cta__grid a { pointer-events: auto; }
.cta h2 { font-size: clamp(28px, 3vw, 46px); max-width: 14ch; }
.cta__hours { margin-top: 24px; color: rgba(255,255,255,.8); }
.linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); }
.linklist li { border-bottom: 1px solid rgba(255,255,255,.4); }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; }
.linklist svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.linklist a:hover svg { transform: translateX(5px); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--linen); padding: 72px 0 28px; font-size: 15px; }
.footer__logo { display: inline-block; margin-bottom: 56px; }
.footer__logo svg { display: block; width: 150px; height: 57px; color: var(--linen); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__col { border-top: 1px solid rgba(235,230,217,.22); padding-top: 24px; }
.footer__title { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--linen) !important; margin-bottom: 18px; }
.footer__col p { margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer p, .footer__col li { color: rgba(235,230,217,.72); }
.footer a { overflow-wrap: break-word; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer__muted { margin-top: 18px; color: rgba(235,230,217,.5) !important; }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 20px; border: 1px solid rgba(235,230,217,.6); color: var(--linen); font-weight: 500; transition: background .25s, color .25s; }
.btn-outline svg { width: 8px; height: 13px; }
.btn-outline:hover { background: var(--linen); color: var(--ink) !important; }
.footer__bottom span:first-child { max-width: 60em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 20px; border-top: 1px solid rgba(235,230,217,.16); color: rgba(235,230,217,.5); font-size: 13px; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal.is-done { transition: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .carousel__note { width: auto; padding-left: 0; }
  .about__head, .reviews__grid, .process__top, .menu__inner, .card, .cta__grid { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .slide__media { aspect-ratio: 4 / 3; }
  .slide__panel { padding-top: 92px; }
  .carousel__controls { width: calc(100% - 2 * var(--off) - var(--pad)); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rows--two { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .menu__inner { align-content: end; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__book { display: none; }
  .rows a { grid-template-columns: 1fr 20px; gap: 12px; padding: 20px 0; }
  .rows svg { opacity: 1; transform: none; }
  .facts, .about .facts { grid-template-columns: 1fr; gap: 14px; }
  .about .facts > div { justify-self: start !important; }
  .about__img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .steps__n { margin-bottom: 16px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .offices__head { flex-direction: column; align-items: flex-start; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: auto !important; }
  .table tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 0; font-size: 16px; }
  .table td:first-child { font-size: 20px; margin-bottom: 6px; }
  .table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
