/* =========================================================
   Axxia Appraisal Group — modernized site (v2)
   Light, bright base; navy reserved for type, buttons, footer.
   ========================================================= */

/* Self-hosted: Archivo (latin, latin-ext) and Noto Serif Display 900 (only the four letters of ΑΞΙΑ) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/noto-serif-display-axia.woff2") format("woff2");
}
@font-face {
  font-family: "Dense-Bold";
  src: url("../fonts/dense-bold.woff2") format("woff2"),
       url("../fonts/dense-bold.woff") format("woff");
  font-display: swap;
}
@font-face {
  /* Dense's own "1" is a plain bar that reads as I or L; this patched copy adds a flag and covers only U+0031 */
  font-family: "Dense-Bold";
  src: url("../fonts/dense-one.woff2") format("woff2"),
       url("../fonts/dense-one.woff") format("woff");
  font-display: swap;
  unicode-range: U+0031;
}

/* Stand-in for Dense-Bold while it loads, scaled to Dense's width and line metrics so the swap doesn't shift the layout */
@font-face {
  font-family: "Dense-Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
  size-adjust: 53.1%;
  ascent-override: 154.3%;
  descent-override: 33.9%;
  line-gap-override: 4.5%;
}

:root {
  --white: #ffffff;
  --concrete: #eef1f1;
  --concrete-2: #e3e8e8;
  --navy: #19192e;
  --ink: #2c2c40;        /* body text on light */
  --muted: #5d6170;      /* secondary text, 6.1:1 on white */
  --orange: #e95c29;     /* logo orange: marks, rules, large type (4.8:1 on navy) */
  --orange-ink: #c2410c; /* orange for small text/links on light (5.2:1) */
  --orange-tint: #fdf0ea;
  --line: #d5dbdb;

  --f-head: "Dense-Bold", "Dense-Fallback", "Arial Narrow", sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-greek: "Noto Serif Display", "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 124px;
  --header-h-small: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section, footer, .stats { scroll-margin-top: var(--header-h-small); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: var(--white); }
input, textarea { caret-color: var(--orange); }
html { scrollbar-color: #9aa2a2 var(--concrete); }
main:focus, section[tabindex="-1"]:focus { outline: none; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none;
  padding: 12px 18px; border-radius: 2px; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }
a { text-underline-offset: .18em; text-decoration-thickness: .07em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Headline voice: Dense Bold, tall and tight */
.display, h2.title {
  font-family: var(--f-head);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: .01em;
  line-height: .92;
  margin: 0;
}
h2.title { font-size: clamp(44px, 6vw, 76px); margin-bottom: 28px; }
h3 { font-family: var(--f-body); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--navy); margin: 0 0 10px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); max-width: 56ch; }
.display { text-wrap: balance; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--f-body);
  padding: 17px 26px; border-radius: 2px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn:disabled, .btn[aria-busy="true"] { cursor: progress; opacity: .7; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
/* Fixed (not sticky) so shrinking the header never moves the page underneath it.
   The body keeps the full header height as padding, so nothing jumps. */
body { padding-top: var(--header-h); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  /* Solid white: a see-through, blurred bar let page text show through it and
     Safari redrew the blur when scrolling stopped, which made the bar glitch. */
  background: var(--white);
  border-bottom: 1px solid transparent;
  /* Shrinking uses transforms only (no height or width changes), so the browser never
     re-lays out the page while scrolling: the bar slides up, its contents slide down
     to stay centred, and the logo scales. Nothing below it moves or flickers. */
  transform: translate3d(0, 0, 0);
  transition: transform .35s var(--ease), border-color .3s;
  will-change: transform;
}
.site-header.scrolled { border-bottom-color: var(--line); transform: translate3d(0, calc(var(--header-h-small) - var(--header-h)), 0); }
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  transition: transform .35s var(--ease);
}
.site-header.scrolled .header-inner { transform: translate3d(0, calc((var(--header-h) - var(--header-h-small)) / 2), 0); }
/* Big: AXXIA with "AXXIA APPRAISAL GROUP" under it. On scroll the tagline fades and slides up into the
   wordmark while the logo shrinks, leaving AXXIA alone, centred in the slim bar (transforms only, no layout change). */
.brand { display: flex; flex-direction: column; width: 172px; transform-origin: left center; transition: transform .35s var(--ease); }
.brand img { display: block; width: 100%; height: auto; }
.brand .brand-tagline { margin-top: 1px; transition: opacity .2s ease, transform .35s var(--ease); }
.site-header.scrolled .brand { transform: translateY(4.8%) scale(.535); }
.site-header.scrolled .brand .brand-tagline { opacity: 0; transform: translateY(-60%); }
/* Scrolled bar opens back up to the full logo while the pointer is over it (mouse/trackpad only, not touch) */
@media (hover: hover) and (pointer: fine) {
  .site-header.scrolled:hover { transform: translate3d(0, 0, 0); transition-delay: .06s; }
  .site-header.scrolled:hover .header-inner,
  .site-header.scrolled:hover .brand,
  .site-header.scrolled:hover .brand .brand-tagline { transform: none; opacity: 1; transition-delay: .06s; }
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative; text-decoration: none; color: var(--navy);
  font-weight: 500; font-size: 15.5px; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .btn { padding: 12px 18px; font-size: 15px; }
.main-nav .btn-primary { color: var(--white); }
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus-visible { color: var(--navy); }
.main-nav .btn::after { display: none; }

.header-cta { display: none; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px;
}
.menu-toggle span { display: block; height: 2px; width: 22px; background: var(--navy); margin-left: auto; transition: transform .25s, opacity .25s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, visibility .25s, transform .25s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--f-head); text-transform: uppercase; font-size: 46px; line-height: 1.15;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); padding: 10px 0;
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.hero .display { font-size: clamp(64px, 9.4vw, 136px); }
.hero .lede { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; }
.hero-figure figcaption {
  position: absolute; left: -1px; bottom: -1px; background: var(--white);
  padding: 14px 18px 0 0; font-size: 14px; color: var(--muted); max-width: 70%;
}
.hero-figure figcaption strong { color: var(--navy); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 28px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--f-head); font-size: clamp(50px, 5.6vw, 76px); line-height: .9; color: var(--navy); display: block; }
.stat-num .suffix { color: var(--orange); }
/* Founding year: modern flip. Plain navy numbers in the stat style; each changing digit splits at its middle,
   the top half folds down and the new bottom half lands. The fold sits at the digit's true middle (Dense digits are
   0.675em tall with the baseline 0.82em down a 1em line box), so the box is cropped to the glyph: top .115em, height .74em. */
.flip { display: inline-flex; gap: .02em; vertical-align: top; }
.flip-d { position: relative; display: inline-block; perspective: 2.4em; }
.fd-size { display: block; visibility: hidden; height: .74em; line-height: 1em; overflow: hidden; }
.fd-size span { display: block; margin-top: -.115em; }
.fd { position: absolute; left: 0; right: 0; overflow: hidden; color: var(--navy); backface-visibility: hidden; }
.fd span { display: block; line-height: 1em; text-align: center; }
.fd-top, .fd-ft { top: 0; height: .3675em; transform-origin: 50% 100%; }
.fd-bot, .fd-fb { top: .3675em; height: .3725em; transform-origin: 50% 0; }
.fd-top span, .fd-ft span { margin-top: -.115em; }
.fd-bot span, .fd-fb span { margin-top: -.4825em; }
.fd-ft { transform: rotateX(-90deg); z-index: 2; }
.fd-fb { transform: rotateX(90deg); z-index: 2; }
.stat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stat-logo { display: block; flex: none; }
.stat-logo img { display: block; height: 40px; width: auto; filter: grayscale(1) contrast(1.05); opacity: .55; transition: filter .3s, opacity .3s; }
.stat-logo img.logo-rics { height: 40px; border-radius: 50%; }
.stat:hover .stat-logo img, .stat-logo:focus-visible img { filter: none; opacity: 1; }
.stat-num.letters .ch { display: inline-block; }
.stats.armed .stat-num.letters .ch { opacity: 0; transform: translateY(.35em); }
.stats.armed.go .stat-num.letters .ch { opacity: 1; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 90ms + 150ms); }
.stat-label { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 30ch; line-height: 1.45; }

/* ---------- Difference ---------- */
.difference { background: var(--concrete); padding: clamp(80px, 10vw, 140px) 0; }
.diff-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.diff-intro .lede { color: var(--ink); }
.diff-intro img { margin-top: 32px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 50%; }
.diff-list { list-style: none; margin: 0; padding: 0; }
.diff-list > li { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); }
.diff-list > li:last-child { border-bottom: 1px solid var(--line); }
.diff-list h3 { font-family: var(--f-head); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1; color: var(--navy); margin: 0; padding-top: 14px; border-top: 3px solid var(--orange); align-self: start; justify-self: start; }
.diff-list p { margin: 0; }
.diff-list > li > div { container-type: inline-size; }
.data-logos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; align-items: center; gap: 16px 40px; }
@container (min-width: 560px) { .data-logos { grid-template-columns: repeat(4, max-content); } }
.data-logos img { height: 26px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.data-logos li { cursor: default; }
.data-logos li:hover img { filter: none; opacity: 1; }
.data-logos img[alt="Altus Group"] { height: 36px; }
.data-logos img[alt="CoStar"] { height: 22px; }
.data-logos img[alt^="MLS"] { height: 36px; }

/* ---------- Asset classes ---------- */
.assets { padding: clamp(56px, 6.5vw, 88px) 0 clamp(24px, 3vw, 40px); }
.assets .section-head { margin-bottom: 30px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 44px; }
.section-head .title { margin-bottom: 0; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.asset-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.asset {
  position: relative; text-align: left; background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  padding: 22px 24px 22px 0; font: inherit; color: inherit;
  display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; align-content: stretch; grid-template-rows: auto 1fr auto;
  transition: background-color .25s;
}
.asset:nth-child(4n) { border-right: 0; }
.asset:nth-child(4n+2), .asset:nth-child(4n+3), .asset:nth-child(4n) { padding-left: 24px; }
.asset svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; stroke-width: 1.5; grid-row: span 3; }
.asset h3 { margin: 4px 0 2px; }
.asset p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.asset .ask { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--orange-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.asset:hover, .asset:focus-visible { background: var(--concrete); }
.asset:hover .ask, .asset:focus-visible .ask { text-decoration-color: currentColor; }

/* ---------- ΑΞΙΑ strip (compact) ---------- */
.axia { background: var(--navy); color: #d9dbe4; padding: 34px 0 clamp(64px, 8vw, 104px); }
.axia-grid { padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.founder-note { max-width: 720px; margin-top: clamp(56px, 7vw, 88px); }
.founder-note .note-title, .founder-note .note-sub { text-align: center; }
.founder-note .note-title { font-family: var(--f-head); font-weight: 400; text-transform: uppercase; color: var(--white); font-size: clamp(40px, 5vw, 60px); line-height: .95; letter-spacing: .01em; margin: 0 0 14px; }
.founder-note .note-sub { color: var(--orange); font-weight: 600; font-size: 15px; letter-spacing: .02em; margin: 0 0 30px; }
.founder-note p { color: #d9dbe4; font-size: 17.5px; line-height: 1.75; margin: 0 0 1.1em; }
.founder-note .note-signature { display: block; width: 230px; margin: 34px auto 0; opacity: .95; }
.founder-note .note-by { text-align: center; margin: 8px 0 0; font-size: 15px; color: #c3c6d2; }
.axia-grid { display: flex; align-items: center; justify-content: center; gap: 24px 40px; flex-wrap: wrap; text-align: left; }
.axia-word {
  font-family: var(--f-head); color: var(--white);
  font-size: 84px; line-height: .8; letter-spacing: .01em; margin: 0; display: flex; align-items: baseline;
}
/* Dense has no Greek letters: Α and Ι are the same shapes as Latin A and I, and Ξ is drawn
   as Dense's own three bars (stroke and cap height measured from the font). */
.axia-word .xi { display: inline-block; width: .25em; height: .675em; margin: 0 .04em; color: var(--orange);
  background: linear-gradient(currentColor, currentColor) top / 100% .085em no-repeat,
              linear-gradient(currentColor, currentColor) center / 72% .085em no-repeat,
              linear-gradient(currentColor, currentColor) bottom / 100% .085em no-repeat; }
.axia-copy { display: flex; align-items: baseline; justify-content: center; gap: 10px 22px; flex-wrap: wrap; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.18); }
.axia-copy .pron { margin: 0; font-size: 15px; color: #c3c6d2; }
.axia-copy .meaning { margin: 0; font-family: var(--f-head); text-transform: uppercase; color: var(--white); font-size: 38px; line-height: 1; }
.axia-copy .meaning span { color: var(--orange); }

/* ---------- Promise ---------- */
.promise { padding: clamp(80px, 10vw, 140px) 0; }
.promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.promise-img { position: relative; }
.promise-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.promise-img::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 45%; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); z-index: -1; }
.pillars { list-style: none; padding: 0; margin: 34px 0 0; }
.pillars li { position: relative; padding: 16px 0 16px 38px; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars li::before { content: "+"; position: absolute; left: 4px; top: 10px; font-family: var(--f-head); font-size: 30px; color: var(--orange); line-height: 1.2; }
.pillars strong { color: var(--navy); font-weight: 600; }

/* ---------- About ---------- */
.about { background: var(--concrete); position: relative; }
.split-mark { position: absolute; left: 50%; top: 0; width: 136px; height: auto; transform: translate(-50%, -50%); z-index: 3; pointer-events: none; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.about-photo { background: url("../img/demetri.webp") 50% 18% / cover no-repeat; min-height: 640px; }
.about-text { padding: clamp(60px, 8vw, 120px) clamp(24px, 6vw, 96px); }
.about-text .creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.about-text .creds li { font-size: 14px; font-weight: 600; color: var(--navy); border: 1px solid var(--navy); padding: 5px 12px; border-radius: 40px; }
.about-text .person { font-family: var(--f-body); font-weight: 600; font-size: 21px; color: var(--navy); margin: 0 0 2px; }
.about-text .person span { font-weight: 400; color: var(--muted); font-size: 17px; }
.about-text .person-role { color: var(--orange-ink); font-weight: 600; font-size: 15px; margin: 0 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); max-width: 62ch; }
.about-links a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--orange); font-weight: 500; }
.about-text .signature { width: 220px; margin-top: 30px; filter: invert(1) brightness(.25) sepia(1) hue-rotate(200deg) saturate(2); }
.about-text p { max-width: 62ch; }

/* ---------- Clients (scrolling logo rows) ---------- */
.clients { padding: clamp(72px, 8vw, 112px) 0 clamp(72px, 8vw, 112px); }
.logo-rows { position: relative; }
.marquee-toggle {
  position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: -56px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: var(--white); border: 1px solid #c3cbcb; border-radius: 50%; color: var(--navy);
  transition: border-color .2s;
}
.marquee-toggle:hover { border-color: var(--navy); }
.marquee-toggle svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.marquee-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.marquee-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .i-play { display: block; }
.logo-rows.paused .logo-track { animation-play-state: paused; }
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-rows { border-top: 1px solid var(--line); }
.logo-marquee {
  overflow: hidden; border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track { display: flex; width: max-content; animation: logo-scroll 60s linear infinite; }
.logo-marquee.reverse .logo-track { animation-direction: reverse; animation-duration: 66s; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-row { display: flex; list-style: none; margin: 0; padding: 0; }
.logo-row .logo { flex: none; width: 230px; height: 108px; display: flex; align-items: center; justify-content: center; padding: 22px 30px; }
.logo-row img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-row .logo.tall img { max-height: 52px; }
.logo-row .logo.xtall img { max-height: 64px; }   /* a logo whose name sits under a large mark (3H Properties) */
.logo-row .logo.mono img { filter: grayscale(1) brightness(0); opacity: .7; }
@media (hover: hover) { .logo-row .logo:not(.mono):hover img { filter: none; opacity: 1; } }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { width: auto; animation: none; }
  .logo-row { flex-wrap: wrap; justify-content: center; }
}
.clients .also { margin: 22px 0 0; font-size: 15px; color: var(--muted); padding-right: 56px; }

/* ---------- Contact ---------- */
.contact { background: var(--concrete); padding: clamp(80px, 10vw, 140px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.contact-card { margin-top: 36px; display: flex; align-items: center; gap: 24px; }
.contact-photo { width: 120px; height: 120px; flex: none; object-fit: cover; object-position: 50% 30%; border-radius: 50%; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line); }
.contact-details { min-width: 0; }
.contact-card p { margin: 0 0 6px; }
.contact-card .name { font-weight: 600; color: var(--navy); font-size: 19px; }
.contact-card .role { color: var(--muted); margin-bottom: 18px; }
.contact-card a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--orange); }
.contact-card a:hover { color: var(--orange-ink); }
.contact-lines { display: grid; gap: 10px; margin-top: 14px; }

.contact-form { background: var(--white); padding: clamp(24px, 4vw, 44px); border-top: 3px solid var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--white); border: 1.5px solid #c3cbcb; border-radius: 2px;
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2319192e' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233, 92, 41, .22); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2412b; }
.field .err { font-size: 13.5px; color: #b03a26; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.reveal { display: none; }
.field.reveal.show { display: flex; animation: grow .3s var(--ease); }
@keyframes grow { from { opacity: 0; transform: translateY(-4px); } }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--orange-ink); min-height: 1.4em; }
.form-status.error { color: #b03a26; }
.form-status:focus { outline: none; }
.field textarea::placeholder { color: #8a8f99; }
.hp { position: absolute; left: -5000px; }
/* Turnstile sits left of the button; when it stays invisible the button keeps to the right */
.turnstile-box { margin-right: auto; }
.turnstile-box iframe { display: block; }


/* ---------- Coverage ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.coverage { padding: clamp(80px, 10vw, 140px) 0; background: var(--white); }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.area-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.area-tools { padding: 24px 24px 16px; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; border: 1.5px solid #c3cbcb; border-radius: 2px; padding: 0 12px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233, 92, 41, .22); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; flex: none; }
.search input { border: 0; outline: 0; font: 16px var(--f-body); color: var(--ink); padding: 12px 0; width: 100%; background: transparent; }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font: 500 14px/1 var(--f-body); color: var(--navy); background: var(--white);
  border: 1px solid #c3cbcb; border-radius: 40px; padding: 8px 13px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.region-sub { margin-top: 10px; padding: 10px 0 0 12px; border-left: 2px solid var(--orange); }
.region-sub[hidden] { display: none; }
.region-sub .chip { font-size: 13px; padding: 7px 11px; }
.area-count { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.area-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 470px; }
.area-list li { border-bottom: 1px solid var(--line); }
.area {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  text-align: left; background: none; border: 0; cursor: pointer; padding: 14px 24px; font: inherit; color: inherit;
  border-left: 3px solid transparent; transition: background-color .15s, border-color .15s;
  padding-top: 11px; padding-bottom: 11px;
}
.area:hover, .area.selected { background: var(--orange-tint); border-left-color: var(--orange); }
.area-name { font-weight: 600; color: var(--navy); }
.area-region { grid-column: 1; font-size: 14px; color: var(--muted); }
.area-go { grid-column: 2; grid-row: 1 / span 2; font-size: 14px; font-weight: 600; color: var(--orange-ink); opacity: 0; transition: opacity .15s; }
.area:hover .area-go, .area.selected .area-go, .area:focus-visible .area-go { opacity: 1; }
.area-empty { padding: 24px; margin: 0; color: var(--muted); }
.map-wrap { position: relative; display: flex; flex-direction: column; }
.map-wrap.no-map { display: none; }
.coverage-grid:has(.no-map) { grid-template-columns: 1fr; }
.map { flex: 1; min-height: 600px; background: #d5e0e7; z-index: 1; }
.map-note { margin: 0; padding: 10px 16px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.pin-wrap { background: none; border: 0; }
.pin { display: block; box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2.5px solid var(--white); box-shadow: 0 0 0 1px rgba(25,25,46,.35); transition: transform .15s; }
.pin.hq { width: 20px; height: 20px; background: var(--navy); border-color: var(--orange); border-width: 3px; }
.pin.active { transform: scale(1.5); }
.leaflet-container { font: 14px var(--f-body); }
.base-map { image-rendering: auto; }
.map-label { background: none; border: 0; pointer-events: none; }
.map-label span { display: block; white-space: nowrap; transform: translate(-50%, -50%); font-size: 12px; color: #5d6170; letter-spacing: .01em; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.map-label.lake span { font-style: italic; color: #6f8796; font-size: 13px; text-shadow: none; letter-spacing: .04em; }
.map-label.lake.small span { font-size: 11px; }
.map-label.us span { color: #8b909c; }
.map-label.pinned span { transform: translate(11px, -50%); color: var(--navy); font-weight: 500; }
.map-label.pinned.major span { transform: translate(14px, -50%); font-weight: 600; font-size: 13px; }
.leaflet-marker-pane .pin-wrap { z-index: 500 !important; }
.leaflet-control-attribution { font-size: 11px; }
.leaflet-popup-content { margin: 12px 16px; }
.leaflet-popup-content strong { color: var(--navy); }
.leaflet-popup-content button { margin-top: 8px; background: none; border: 0; padding: 0; font: 600 14px var(--f-body); color: var(--orange-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.faq-aside { color: var(--muted); max-width: 34ch; }
.faq-aside a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--orange); }
.faq-list { border-top: 2px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 600; font-size: 18.5px; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s;
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-list summary:hover { color: var(--orange-ink); }
.faq-list details p { margin: -6px 0 22px; color: var(--ink); max-width: 64ch; }

/* ---------- Privacy page ---------- */
.policy-page { padding-bottom: clamp(80px, 9vw, 120px); }
.policy-hero { background: var(--concrete); padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 64px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 3px solid var(--navy); }
.policy-hero .display { font-size: clamp(56px, 8vw, 104px); margin-bottom: 18px; }
.policy-hero .lede { margin: 0; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.policy-toc { position: sticky; top: calc(var(--header-h-small) + 28px); font-size: 14.5px; }
.policy-toc p { margin: 0 0 12px; font-weight: 600; color: var(--navy); }
.policy-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.policy-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.policy-toc a:hover { color: var(--navy); }
.policy-toc a.active { color: var(--navy); border-left-color: var(--orange); font-weight: 500; }
.policy-body { max-width: 72ch; font-size: 16px; }
.policy-intro p { font-size: 18px; line-height: 1.65; color: var(--ink); }
.policy-section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h-small) + 20px); }
.policy-section h2 { font-family: var(--f-head); font-weight: 400; text-transform: uppercase; color: var(--navy); font-size: clamp(30px, 3.2vw, 40px); line-height: 1; margin: 0 0 18px; }
.policy-section h3 { font-family: var(--f-body); font-weight: 600; font-size: 17px; color: var(--navy); margin: 26px 0 10px; }
.policy-body ul { padding-left: 20px; margin: 0 0 1em; }
.policy-body li { margin-bottom: 9px; }
.policy-body li::marker { color: var(--orange); }
.policy-body strong { color: var(--navy); font-weight: 600; }
.policy-body a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--orange); }
.policy-questions { margin-top: 48px; padding: 22px 24px; background: var(--concrete); border-left: 3px solid var(--orange); }
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; padding: 18px 20px; background: var(--concrete); }
  .policy-toc ol { columns: 2; column-gap: 20px; border-left: 0; }
  .policy-toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .policy-toc ol { columns: 1; } }

/* ---------- Footer (columns) ---------- */
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-contact a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(233, 92, 41, .7); line-height: 2; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h3 { font-family: var(--f-body); font-size: 13.5px; font-weight: 600; color: var(--orange); margin: 0 0 6px; letter-spacing: .02em; }
.site-footer nav a { color: #e4e6ee; text-decoration: none; }
.site-footer nav a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: #cfd2dc; padding: 96px 0 40px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-top img { width: 110px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: var(--white); text-decoration: none; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; }
.footer-bottom a { color: #cfd2dc; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 14px; }
  .header-cta { display: inline-flex; margin-left: auto; padding: 11px 15px; font-size: 14.5px; }
  body.menu-open .header-cta { visibility: hidden; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .asset:nth-child(4n) { border-right: 1px solid var(--line); }
  .asset:nth-child(2n) { border-right: 0; }
  .asset:nth-child(4n+2), .asset:nth-child(4n+3), .asset:nth-child(4n) { padding-left: 0; }
  .asset:nth-child(2n) { padding-left: 28px; }
  .diff-list > li { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 820px) {
  :root { --header-h: 92px; }
  .brand { width: 132px; }
  body { font-size: 16px; }
  .hero-grid, .diff-grid, .promise-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 16 / 11; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(2), .stat:nth-child(4) { padding-right: 0; }
  .diff-intro img { aspect-ratio: 16 / 9; }
  .asset-grid { grid-template-columns: 1fr; }
  .asset, .asset:nth-child(n) { border-right: 0; padding-left: 0; padding-right: 0; }
  .axia-grid { flex-direction: column; text-align: center; }
  .axia-copy { padding-left: 0; border-left: 0; flex-direction: column; align-items: center; gap: 6px; }
  .axia-word { font-size: 68px; }
  .split-mark { width: 108px; }
  .founder-note p:not(.note-sub) { font-size: 16.5px; }
  .promise-img::after { left: -10px; bottom: -10px; }
  .about-photo { min-height: 460px; background-position: 50% 15%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { gap: 18px; }
  .contact-photo { width: 92px; height: 92px; }
  .logo-row .logo { width: 170px; height: 88px; padding: 18px 22px; }
  .logo-row img { max-height: 32px; }
  .logo-row .logo.tall img { max-height: 42px; }
  .logo-row .logo.xtall img { max-height: 52px; }
}
@media (max-width: 820px) {
  .section-head, .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .map-wrap { order: -1; }
  .map { min-height: 360px; }
  .area-panel { border-right: 0; }
  .area-list { max-height: 420px; }
  .area-go { opacity: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) and (min-width: 821px) {
  .footer-cols { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .header-inner, .brand, .brand .brand-tagline, .mobile-menu, .skip-link { transition: none; }
  .marquee-toggle { display: none; }
}

/* Property tiles: no line under the last row; quote links line up across a row */
.asset:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 1080px) { .asset:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); } .asset:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 820px) { .asset:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } .asset:last-child { border-bottom: 0; } }
/* Service area list: GTA drill-down */
.area-crumb { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--concrete); }
.crumb-back { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.crumb-back:hover, .crumb-back:focus-visible { color: var(--navy); text-decoration: underline; }
.crumb-here { font: 500 14px/1 var(--f-body); background: var(--navy); color: var(--white); border-radius: 40px; padding: 8px 13px; }
.area-group .area-go { opacity: 1; }
.footer-address { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; opacity: .85; }

/* GTA part rows sit above the GTA places, shaded so they read as filters */
.area-group-row .area { background: var(--concrete); }
.area-group-row .area.selected, .area-group-row .area:hover { background: var(--orange-tint); }
.area-group-row:has(+ li:not(.area-group-row)) { border-bottom: 2px solid var(--navy); }
.area-crumb[hidden] { display: none; }

/* List rows fade: GTA part rows fade out when one is chosen; rows fade in as they appear */
.area-group-row { transition: opacity .25s ease; }
.area-group-row.fade-out { opacity: 0; }
@keyframes areaFadeIn { from { opacity: 0; } to { opacity: 1; } }
.area-list > li:not([hidden]) { animation: areaFadeIn .25s ease; }
@media (prefers-reduced-motion: reduce) { .area-list > li:not([hidden]) { animation: none; } }

/* Footer: brand details across the top of the first column, Company links in a row underneath */
@media (min-width: 821px) {
  .footer-cols { grid-template-columns: minmax(0, 2.4fr) repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 30px; }
  .footer-brand { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; column-gap: 40px; align-items: start; }
  .footer-brand > a { grid-column: 1; grid-row: 1; }
  .footer-brand > p:not(.footer-contact):not(.footer-address) { grid-column: 1; grid-row: 2; margin: 0; }
  .footer-brand .footer-contact { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .footer-brand .footer-address { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .site-footer nav[aria-label="Footer: company"] { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; align-content: start; gap: 10px 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
  .site-footer nav[aria-label="Footer: company"] h3 { flex-basis: 100%; }
  .site-footer nav[aria-label="Footer: property types"], .site-footer nav[aria-label="Footer: service area"] { grid-row: 1 / span 2; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .footer-brand { grid-template-columns: minmax(190px, 1fr) auto; }
  .footer-brand .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-brand .footer-address { grid-column: 2; grid-row: 2; margin-top: 12px; }
}
/* Footer v2: brand details sit on the divider line; Company runs on one line along the bottom */
@media (min-width: 821px) {
  .footer-cols { grid-template-rows: 1fr auto; }
  .footer-brand { align-self: end; align-items: end; }
  .footer-brand .footer-contact, .footer-brand .footer-address { align-self: end; }
  .site-footer nav[aria-label="Footer: company"] { align-items: baseline; flex-wrap: nowrap; gap: 10px 24px; overflow-x: auto; }
  .site-footer nav[aria-label="Footer: company"] h3 { flex-basis: auto; margin: 0 6px 0 0; white-space: nowrap; }
  .site-footer nav[aria-label="Footer: company"] a { white-space: nowrap; }
}
@media (min-width: 821px) {
  .site-footer nav[aria-label="Footer: company"] { grid-column: 1 / -1; overflow: visible; flex-wrap: wrap; }
  .site-footer nav[aria-label="Footer: property types"], .site-footer nav[aria-label="Footer: service area"] { grid-row: 1; }
}
/* Footer v3: Company back under the Axxia details in the first column, on one line where it fits */
@media (min-width: 821px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 72px; }
  .site-footer nav[aria-label="Footer: company"] { grid-column: 1; grid-row: 2; }
  .site-footer nav[aria-label="Footer: property types"], .site-footer nav[aria-label="Footer: service area"] { grid-row: 1 / span 2; }
}
@media (min-width: 1201px) { .site-footer nav[aria-label="Footer: company"] { flex-wrap: nowrap; } }

/* Footer v4: left half for the Axxia details and Company, right half for Property types and Service area */
@media (min-width: 821px) {
  .footer-cols { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .site-footer nav[aria-label="Footer: company"] { flex-wrap: wrap; }
}
@media (min-width: 1201px) { .site-footer nav[aria-label="Footer: company"] { flex-wrap: wrap; } }
/* Footer v5: bigger logo, tagline spreads wider */
@media (min-width: 821px) {
  .footer-brand { grid-template-columns: minmax(0, 2fr) auto auto; }
  .footer-brand img { width: 170px; margin-bottom: 20px; }
  .footer-brand > p:not(.footer-contact):not(.footer-address) { max-width: none; font-size: 16px; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .footer-brand { grid-template-columns: minmax(0, 1.6fr) auto; }
  .footer-brand img { width: 150px; }
}
@media (min-width: 821px) {
  .footer-brand { grid-template-columns: auto auto auto; justify-content: space-between; row-gap: 18px; }
  .footer-brand > a { grid-column: 1; grid-row: 1; align-self: end; }
  .footer-brand img { margin-bottom: 0; }
  .footer-brand .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-brand .footer-address { grid-column: 3; grid-row: 1; margin-top: 0; }
  .footer-brand > p:not(.footer-contact):not(.footer-address) { grid-column: 1 / -1; grid-row: 2; font-size: 17px; }
}
/* Property tiles: title, then Request a quote, then the description */
.asset { grid-template-rows: auto auto 1fr; }
.asset svg { grid-row: 1 / span 3; }
.asset h3 { grid-column: 2; grid-row: 1; }
.asset .ask { grid-column: 2; grid-row: 2; justify-self: start; margin: 0 0 4px; }
.asset p { grid-column: 2; grid-row: 3; }
/* Footer v6: the logo keeps its size on smaller screens; contacts and address stack beside it */
@media (min-width: 821px) and (max-width: 1200px) {
  .footer-brand { grid-template-columns: auto 1fr; justify-content: stretch; column-gap: 36px; }
  .footer-brand img { width: 170px; }
  .footer-brand > a { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .footer-brand .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-brand .footer-address { grid-column: 2; grid-row: 2; margin-top: 8px; white-space: nowrap; }
  .footer-brand > p:not(.footer-contact):not(.footer-address) { grid-column: 1 / -1; grid-row: 3; }
  .site-footer nav[aria-label="Footer: company"] { column-gap: 18px; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .footer-brand > a { min-width: 170px; }
  .footer-brand img { max-width: none; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .site-footer nav[aria-label="Footer: company"] { column-gap: 14px; font-size: 14px; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .footer-brand > a { min-width: 150px; }
  .footer-brand img { width: 150px; }
  .footer-brand .footer-address { white-space: normal; }
  .footer-brand { column-gap: 28px; }
}

/* Footer v6: the logo keeps its size on smaller screens; contacts and address stack beside it */
@media (min-width: 821px) and (max-width: 1200px) {
  .footer-brand { grid-template-columns: auto 1fr; justify-content: stretch; column-gap: 36px; }
  .footer-brand img { width: 170px; }
  .footer-brand > a { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .footer-brand .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-brand .footer-address { grid-column: 2; grid-row: 2; margin-top: 8px; white-space: nowrap; }
  .footer-brand > p:not(.footer-contact):not(.footer-address) { grid-column: 1 / -1; grid-row: 3; }
  .site-footer nav[aria-label="Footer: company"] { column-gap: 18px; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .footer-brand > a { min-width: 170px; }
  .footer-brand img { max-width: none; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .site-footer nav[aria-label="Footer: company"] { column-gap: 14px; font-size: 14px; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .footer-brand > a { min-width: 150px; }
  .footer-brand img { width: 150px; }
  .footer-brand .footer-address { white-space: normal; }
  .footer-brand { column-gap: 28px; }
}
/* Footer v6: large logo at the top of the left side; email, phone, LinkedIn and address on one line just above the divider */
.footer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin: 18px 0 0; }
.footer-line a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(233, 92, 41, .7); }
.footer-line a:hover { color: var(--orange); }
.footer-line .footer-address { margin: 0; opacity: .85; }
@media (min-width: 821px) {
  .footer-brand { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; }
  .footer-brand > a { align-self: flex-start; }
  .footer-brand img { width: 100%; max-width: 540px; height: auto; margin: 0 0 18px; }
  .footer-brand > p:not(.footer-line) { margin: 0; font-size: 17px; }
  .footer-line { margin-top: auto; padding: 28px 0 26px; white-space: nowrap; }
}
@media (min-width: 821px) {
  .footer-brand > a { width: 100%; }
  .footer-brand img { width: 100%; max-width: 560px; }
  .footer-line { font-size: 14.5px; gap: 8px 22px; }
}
@media (min-width: 1201px) {
  .footer-cols { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; }
  .footer-line { flex-wrap: nowrap; }
}
@media (min-width: 1201px) {
  .footer-cols { grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .footer-line { font-size: 14px; gap: 8px 18px; }
}
@media (min-width: 1201px) {
  .footer-cols { grid-template-columns: fit-content(690px) minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; }
}
/* Footer v7: the left side never runs lower than the Property types and Service area lists; the logo takes whatever height is left */
@media (min-width: 821px) {
  .footer-brand > a { flex: 1 1 0; min-height: 70px; contain: size; display: block; width: 100%; }
  .footer-brand > a img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left top; margin: 0; }
  .footer-brand > p:not(.footer-line) { margin-top: 16px; }
  .footer-line { margin-top: 14px; padding: 0 0 20px; }
  .site-footer nav[aria-label="Footer: company"] { padding-top: 18px; gap: 8px 18px; font-size: 14.5px; }
}
@media (min-width: 821px) { .footer-cols { row-gap: 0; } .footer-line { padding-bottom: 18px; } }
@media (min-width: 1201px) { .site-footer nav[aria-label="Footer: company"] { flex-wrap: nowrap; gap: 8px 14px; } }
@media (min-width: 821px) and (max-width: 1200px) { .footer-brand > p:not(.footer-line) { display: none; } .footer-brand > a { min-height: 40px; } }
@media (min-width: 821px) { .site-footer nav[aria-label="Footer: property types"] a, .site-footer nav[aria-label="Footer: service area"] a { white-space: nowrap; } }
