/* Stout Realty Group
   Public design system: Teal and Copper
   Quiet, editorial, and built around verified people, services, and property facts. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/Archivo-variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f5f2ec;
  --surface: #fbfaf7;
  --surface-soft: #ece8e0;
  --ink: #173638;
  --ink-deep: #0d2c2e;
  --ink-muted: #556a6a;
  --teal: #123d40;
  --teal-deep: #0b2b2d;
  --teal-soft: #dbe5e1;
  --copper: #a95f39;
  --copper-dark: #874523;
  --copper-soft: #ead6c8;
  --white: #fffdfa;
  --on-dark: #f6f2ea;
  --on-dark-muted: #bac9c6;
  --line: rgba(23, 54, 56, 0.18);
  --line-strong: rgba(23, 54, 56, 0.34);
  --line-dark: rgba(255, 253, 250, 0.18);
  --radius-control: 6px;
  --radius-frame: 8px;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 80px;
  --max: 1440px;
  --pad: clamp(24px, 5vw, 76px);
  --section: clamp(76px, 9vw, 132px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  overflow: clip;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

picture {
  display: block;
  height: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--copper);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid #df966d;
  outline-offset: 3px;
}

.section-lede {
  max-width: 57ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.section-lede--ink {
  color: var(--ink-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 var(--pad);
  isolation: isolate;
  background: var(--teal-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand-lockup {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand-lockup img {
  width: clamp(170px, 14vw, 202px);
  height: auto;
  filter: invert(1);
  transform: translateZ(0);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 40px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--on-dark-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--copper-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--on-dark);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-contact {
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-control);
  background: var(--copper);
  color: var(--white);
  font-weight: 600;
}

.site-nav .nav-contact::after {
  display: none;
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact[aria-current="page"] {
  background: var(--copper-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

/* Buttons and links */

.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font: 600 15px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.action:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
}

.action:active {
  transform: translateY(1px);
}

.action--primary {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--white);
}

.action--primary:hover {
  border-color: var(--copper-dark);
  background: var(--copper-dark);
  color: var(--white);
}

.action__arrow {
  position: relative;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 220ms var(--ease);
}

.action__arrow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.action:hover .action__arrow {
  width: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 0;
  border-bottom: 1px solid var(--copper);
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link:hover {
  color: var(--copper);
}

.text-link--ink {
  color: var(--ink);
}

/* Homepage hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  grid-template-areas: "copy media";
  min-height: clamp(620px, calc(100dvh - var(--header-h)), 760px);
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: relative;
  grid-area: media;
  min-width: 0;
  margin: clamp(28px, 3.6vw, 54px) var(--pad) clamp(28px, 3.6vw, 54px) 0;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: var(--teal-soft);
}

.hero__media::before,
.mast__media::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 4px;
  background: var(--copper);
}

.hero__media img,
.mast__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04) brightness(0.96);
}

.hero__media figcaption,
.mast__media figcaption,
.ledger__cell--media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 7px 10px;
  background: rgba(11, 43, 45, 0.84);
  color: var(--on-dark-muted);
  font-size: 10px;
  line-height: 1.35;
}

.hero__inner {
  grid-area: copy;
  align-self: center;
  container-type: inline-size;
  padding: clamp(54px, 7vw, 104px) clamp(40px, 6vw, 92px) clamp(54px, 7vw, 104px) var(--pad);
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 26px;
  font-size: min(clamp(56px, 6.5vw, 94px), calc(100cqi / 7.8));
  line-height: 0.95;
}

.hero h1 > span {
  display: block;
}

.hero h1 .accent {
  color: var(--copper);
}

.hero__rotate-line {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero__rotate {
  display: inline-block;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__rotate {
    transition: transform 340ms var(--ease), opacity 280ms var(--ease);
  }

  .hero__rotate.is-out {
    opacity: 0;
    transform: translateY(-120%);
  }

  .hero__rotate.is-pre {
    opacity: 0;
    transform: translateY(120%);
    transition: none;
  }
}

.hero__lede {
  max-width: 43ch;
  margin: 0 0 34px;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .action {
  min-width: 208px;
}

.hero__index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero__index a {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 25px clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms var(--ease);
}

.hero__index a:last-child {
  border-right: 1px solid var(--line);
}

.hero__index a::after {
  content: "→";
  position: absolute;
  top: 25px;
  right: 20px;
  color: var(--copper);
  font-size: 17px;
  transition: transform 180ms var(--ease);
}

.hero__index a:hover {
  background: var(--teal-soft);
}

.hero__index a:hover::after {
  transform: translateX(4px);
}

.hero__index strong {
  padding-right: 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hero__index span {
  color: var(--ink-muted);
  font-size: 13px;
}

/* Shared sections */

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.band--bone {
  background: var(--surface);
}

.band--navy {
  background: var(--teal);
  color: var(--on-dark);
  border-bottom-color: var(--line-dark);
}

.band--navy .section-lede,
.band--navy .caps p,
.band--navy .steps p {
  color: var(--on-dark-muted);
}

.band__head {
  max-width: 760px;
  margin-bottom: clamp(46px, 5vw, 72px);
}

.band__head h2 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(44px, 5.2vw, 72px);
}

/* Practice overview */

.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 88px);
}

.ledger__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: clamp(30px, 3.5vw, 48px) 0;
  border-top: 1px solid var(--line-strong);
}

.ledger__cell h3 {
  max-width: 16ch;
  margin-bottom: 16px;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.03;
}

.ledger__cell h3 a {
  text-decoration: none;
}

.ledger__cell h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ledger__cell h3 a:hover {
  color: var(--copper);
}

.ledger__cell p {
  max-width: 47ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ledger__firm {
  margin-top: auto !important;
  padding-top: 26px;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 600;
}

.ledger__cell--media {
  min-height: 0;
  padding: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: var(--teal-soft);
}

.ledger__cell--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transition: transform 700ms var(--ease);
}

.ledger__cell--media:hover img {
  transform: scale(1.018);
}

.ledger__note {
  max-width: 80ch;
  margin: 32px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* Search paths and factual rows */

.listing-set {
  border-top: 1px solid var(--line-strong);
}

.listing {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 108px);
  padding: clamp(40px, 5vw, 68px) 0;
  border-bottom: 1px solid var(--line);
}

.listing > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.listing > div:first-child .text-link {
  margin-top: auto;
}

.listing h3 {
  font-size: clamp(30px, 3vw, 42px);
}

.listing > div:first-child p,
.listing__body > p {
  max-width: 40ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

.data-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.data-rows li {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.data-rows span:first-child {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
}

.data-rows span:last-child {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.data-rows--dark {
  border-top-color: var(--line-dark);
}

.data-rows--dark li {
  border-bottom-color: var(--line-dark);
}

.data-rows--dark span:first-child {
  color: var(--on-dark-muted);
}

.data-rows--dark span:last-child {
  color: var(--on-dark);
}

/* Andrew profile */

.broker {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  max-width: var(--max);
  margin: 0 auto;
  background: var(--teal-deep);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.broker__portrait,
.bio__portrait {
  display: grid;
  place-items: center;
  padding: clamp(54px, 7vw, 96px) var(--pad);
  background: #d7ddd8;
}

.broker__portrait img,
.bio__portrait img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center 16%;
  border-radius: var(--radius-frame);
  border: 1px solid rgba(13, 44, 46, 0.18);
  box-shadow: 0 24px 54px rgba(13, 44, 46, 0.14);
}

.broker__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section) clamp(40px, 6vw, 92px);
}

.broker__copy h2 {
  margin-bottom: 10px;
  font-size: clamp(44px, 5vw, 68px);
}

.broker__role,
.bio__role {
  margin: 0 0 26px;
  color: #df9a73;
  font-size: 14px;
  font-weight: 600;
}

.broker .section-lede {
  color: var(--on-dark-muted);
}

.broker .data-rows {
  margin: 30px 0;
}

.broker .text-link,
.close .text-link {
  color: var(--on-dark);
}

/* Closing action */

.close {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  background: var(--teal);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.close__inner {
  max-width: 760px;
}

.close h2 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(44px, 5.2vw, 72px);
}

.close p {
  max-width: 49ch;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 34px;
}

.close__actions .action {
  min-width: 230px;
}

.close__direct {
  display: inline-block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.close__direct:hover {
  color: var(--on-dark);
  border-color: var(--on-dark);
}

/* Interior mastheads */

.mast {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "copy media";
  min-height: clamp(540px, 66vh, 680px);
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mast__media {
  position: relative;
  grid-area: media;
  min-width: 0;
  margin: clamp(28px, 3.5vw, 50px) var(--pad) clamp(28px, 3.5vw, 50px) 0;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: var(--teal-soft);
}

.mast__inner {
  grid-area: copy;
  align-self: center;
  padding: clamp(58px, 7vw, 96px) clamp(40px, 6vw, 90px) clamp(58px, 7vw, 96px) var(--pad);
}

.mast h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.98;
}

.mast__lede {
  max-width: 48ch;
  margin: 0 0 30px;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
}

.mast__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

/* Two-column service detail */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.split__side {
  padding: var(--section) clamp(30px, 5vw, 76px);
}

.split__side + .split__side {
  border-left: 1px solid var(--line);
}

.split__side h2 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(34px, 3.6vw, 50px);
}

.spec-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spec-list li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}

.spec-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--copper);
}

.source-note {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Search and listing areas */

.slot {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  background: var(--teal-deep);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.slot h2,
.listing-feeds h2 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(40px, 4.4vw, 60px);
}

.slot .section-lede {
  color: var(--on-dark-muted);
}

.slot .data-rows {
  margin-top: 30px;
}

.slot__frame {
  padding: clamp(34px, 5vw, 68px);
  background: var(--teal);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-frame);
}

.slot__contact h3 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(34px, 3.6vw, 48px);
}

.slot__contact p {
  max-width: 38ch;
  margin: 0 0 28px;
  color: var(--on-dark-muted);
}

.listing-feeds {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.listing-feeds__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(42px, 8vw, 124px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.listing-feeds h2 {
  margin-bottom: 0;
}

.listing-feeds__stack {
  display: grid;
  gap: 48px;
}

.listing-feed__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.listing-feed__head h3 {
  font-size: clamp(28px, 2.7vw, 38px);
}

.listing-feed__frame {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-frame) var(--radius-frame);
}

.listing-feed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: var(--white);
}

.listing-feed__credit {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.listing-feed__credit a {
  text-underline-offset: 3px;
}

.listing-feed--contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(36px, 5vw, 66px);
  background: var(--teal);
  color: var(--on-dark);
  border-radius: var(--radius-frame);
}

.listing-feed--contact h3 {
  max-width: 15ch;
  margin-bottom: 16px;
  font-size: clamp(32px, 3.6vw, 50px);
}

.listing-feed--contact p {
  max-width: 55ch;
  margin: 0;
  color: var(--on-dark-muted);
}

/* Taxonomies and capability groups */

.types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.type {
  padding: clamp(28px, 3.2vw, 42px) clamp(18px, 2.5vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.type:nth-child(3n + 1) {
  padding-left: 0;
}

.type:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

.type svg {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.type h3,
.caps h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
}

.type p,
.caps p,
.steps p {
  max-width: 36ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
}

.caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 64px);
}

.caps article {
  padding-top: 22px;
  border-top: 1px solid currentColor;
}

.band--navy .caps article {
  border-top-color: var(--line-dark);
}

.note-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px var(--pad);
  background: var(--copper-soft);
  border-bottom: 1px solid var(--line);
}

.note-band p {
  max-width: 95ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.note-band strong {
  color: var(--ink);
}

/* About */

.bio {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.bio__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section) clamp(42px, 7vw, 104px);
}

.bio__copy h1 {
  margin-bottom: 10px;
  font-size: clamp(50px, 5.6vw, 76px);
}

.bio__role {
  color: var(--copper);
}

.prose p {
  max-width: 62ch;
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
}

.prose p:last-child {
  margin-bottom: 0;
}

.creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.creds > div {
  padding: 28px clamp(18px, 2.5vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.creds > div:nth-child(3n + 1) {
  padding-left: 0;
}

.creds > div:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

.creds dt {
  margin-bottom: 8px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
}

.creds dd {
  margin: 0;
  color: var(--ink);
  font: 600 clamp(19px, 1.8vw, 25px)/1.2 var(--display);
  font-stretch: 78%;
  letter-spacing: -0.02em;
}

.roster {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.roster h2 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(38px, 4.3vw, 58px);
}

.roster .text-link {
  margin-top: 26px;
}

.roster__aside {
  padding: clamp(34px, 5vw, 60px);
  background: var(--teal);
  color: var(--on-dark);
  border-radius: var(--radius-frame);
}

.roster__aside p {
  margin: 0 0 26px;
  color: var(--on-dark-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.contact__copy {
  padding: var(--section) clamp(34px, 5vw, 76px);
}

.contact__copy h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.6vw, 76px);
}

.contact__copy > .action {
  margin-top: 28px;
}

.methods {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.methods li {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.methods__key {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
}

.methods__val {
  color: var(--ink);
  font: 600 clamp(21px, 2vw, 28px)/1.2 var(--display);
  font-stretch: 78%;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.methods__val:hover {
  color: var(--copper);
}

.methods__note {
  color: var(--ink-muted);
  font-size: 13px;
}

.licence {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.licence p {
  margin: 0 0 4px;
  color: var(--ink-muted);
  font-size: 13px;
}

.form-panel {
  min-height: 100%;
  padding: clamp(38px, 5vw, 70px) clamp(30px, 4vw, 60px);
  background: var(--surface);
  border-left: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 19px;
}

.form h2 {
  margin-bottom: 4px;
  font-size: clamp(30px, 3vw, 40px);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.field__opt {
  color: var(--ink-muted);
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
  font: 16px/1.4 var(--body);
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.form textarea {
  resize: vertical;
}

.form input::placeholder {
  color: #7c8d8c;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(169, 95, 57, 0.14);
}

.form [aria-invalid="true"] {
  border-color: #b63f38;
  box-shadow: 0 0 0 3px rgba(182, 63, 56, 0.12);
}

.form .action {
  width: 100%;
  margin-top: 3px;
}

.form .action:disabled {
  background: #7d8887;
  border-color: #7d8887;
  cursor: wait;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.form-status[data-state="error"] {
  color: #9d302b;
}

.form-status[data-state="success"] {
  color: #2f7457;
}

.consent {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

/* Legal */

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: var(--section) var(--pad);
  background: var(--paper);
}

.legal-main h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 5vw, 70px);
}

.legal-hero p,
.legal-content p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.legal-content section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 13px;
  font-size: clamp(24px, 2.3vw, 32px);
}

.legal-content a {
  color: var(--copper-dark);
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) var(--pad) 28px;
  background: var(--teal-deep);
  color: var(--on-dark);
  isolation: isolate;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.7fr) minmax(140px, 0.65fr) minmax(210px, 0.9fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}

.brand-lockup--footer img {
  width: clamp(220px, 20vw, 292px);
}

.site-footer__brand p {
  max-width: 31ch;
  margin: 24px 0 0;
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer__nav,
.site-footer__contact {
  display: grid;
  justify-items: start;
}

.site-footer h2 {
  margin: 0 0 9px;
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.site-footer__nav a,
.site-footer__contact a {
  display: block;
  min-height: 42px;
  padding: 9px 0;
  color: var(--on-dark-muted);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--on-dark);
}

.site-footer__note {
  max-width: 26ch;
  margin: 10px 0 0;
  color: var(--on-dark-muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer__details {
  display: grid;
  gap: 6px;
  margin-top: clamp(42px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.site-footer__details p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 12px;
}

.site-footer__details strong {
  color: var(--on-dark);
  font-weight: 600;
}

.site-footer__eho {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px !important;
}

.eho-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--on-dark-muted);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: 11px;
}

.site-footer__legal a {
  min-height: 40px;
  padding: 10px 0;
}

.site-credit {
  margin-left: auto;
}

/* Responsive */

@media (max-width: 1160px) {
  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .types,
  .caps,
  .creds,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .type:nth-child(3n + 1),
  .creds > div:nth-child(3n + 1) {
    padding-left: clamp(18px, 2.5vw, 34px);
  }

  .type:nth-child(3n),
  .creds > div:nth-child(3n) {
    padding-right: clamp(18px, 2.5vw, 34px);
    border-right: 1px solid var(--line);
  }

  .type:nth-child(2n + 1),
  .creds > div:nth-child(2n + 1) {
    padding-left: 0;
  }

  .type:nth-child(2n),
  .creds > div:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding-right: 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 68px;
    height: 68px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line-dark);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle__line {
    width: 24px;
    height: 2px;
    background: var(--on-dark);
    transition: transform 220ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px var(--pad) 40px;
    background: var(--teal-deep);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 300ms var(--ease), visibility 300ms;
  }

  .site-nav[data-open="true"] {
    transform: none;
    visibility: visible;
  }

  .site-nav a,
  .site-nav .nav-contact {
    min-height: 64px;
    padding: 0;
    border-bottom: 1px solid var(--line-dark);
    background: transparent;
    color: var(--on-dark);
    font: 600 26px/1 var(--display);
    font-stretch: 78%;
    letter-spacing: -0.02em;
  }

  .site-nav .nav-contact:hover,
  .site-nav .nav-contact[aria-current="page"] {
    background: transparent;
  }

  .site-nav a::after,
  .site-nav .nav-contact::after {
    display: block;
    top: 50%;
    right: 3px;
    bottom: auto;
    left: auto;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--copper-soft);
    border-right: 1px solid var(--copper-soft);
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
  }

  body.menu-open {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
  }

  body.menu-open .site-header {
    position: fixed;
    right: 0;
    left: 0;
  }

  .hero,
  .mast {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media";
    min-height: 0;
  }

  .hero__inner,
  .mast__inner {
    padding: clamp(60px, 10vw, 88px) var(--pad) 44px;
  }

  .hero__media,
  .mast__media {
    margin: 0 var(--pad) clamp(34px, 6vw, 54px);
    aspect-ratio: 3 / 2;
  }

  .hero__index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__index a:nth-child(3),
  .hero__index a:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .ledger,
  .listing,
  .broker,
  .bio,
  .split,
  .slot,
  .contact,
  .roster {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing-feeds__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .broker__portrait,
  .bio__portrait {
    min-height: 320px;
  }

  .split__side + .split__side,
  .form-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .listing-feed--contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --pad: 20px;
    --section: 72px;
  }

  .brand-lockup img {
    width: 155px;
  }

  .hero__inner,
  .mast__inner {
    padding-top: 56px;
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: min(clamp(44px, 12vw, 52px), calc(100cqi / 7.8));
  }

  .mast h1 {
    max-width: 12ch;
    font-size: clamp(40px, 11.5vw, 48px);
  }

  .bio__copy h1,
  .contact__copy h1,
  .legal-main h1 {
    font-size: clamp(40px, 11.5vw, 48px);
  }

  .hero__lede,
  .mast__lede {
    font-size: 16px;
  }

  .hero__actions,
  .mast__actions,
  .close__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .action,
  .mast__actions .action,
  .close__actions .action {
    width: 100%;
    min-width: 0;
  }

  .hero__media,
  .mast__media {
    aspect-ratio: 4 / 3;
  }

  .hero__index {
    padding: 0;
  }

  .hero__index a {
    min-height: 104px;
    padding: 20px;
  }

  .hero__index a:nth-child(odd) {
    border-left: 0;
  }

  .hero__index a:nth-child(even) {
    border-right: 0;
  }

  .hero__index a::after {
    top: 20px;
    right: 16px;
  }

  .band__head h2,
  .close h2 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .ledger {
    row-gap: 0;
  }

  .ledger__cell {
    min-height: 0;
    padding: 34px 0;
  }

  .ledger__cell--media {
    padding: 0;
    aspect-ratio: 4 / 3;
  }

  .listing {
    gap: 30px;
    padding: 38px 0;
  }

  .listing > div:first-child .text-link {
    margin-top: 5px;
  }

  .data-rows li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .broker__portrait,
  .bio__portrait {
    min-height: 0;
    padding: 54px 20px;
  }

  .broker__portrait img,
  .bio__portrait img {
    width: 180px;
    height: 180px;
  }

  .broker__copy,
  .bio__copy,
  .split__side,
  .contact__copy,
  .form-panel {
    padding: var(--section) var(--pad);
  }

  .types,
  .caps,
  .creds,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .type,
  .type:nth-child(n),
  .creds > div,
  .creds > div:nth-child(n) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .caps {
    gap: 34px;
  }

  .listing-feed--contact {
    padding: 34px 24px;
  }

  .roster {
    gap: 36px;
  }

  .roster__aside {
    padding: 32px 24px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .brand-lockup--footer img {
    width: 220px;
  }

  .site-credit {
    width: 100%;
    margin-left: 0;
  }
}

/* Motion is quiet and structural. */

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero__lede,
  .hero__actions,
  .mast h1,
  .mast__lede,
  .mast__actions {
    animation: rise 720ms var(--ease) both;
  }

  .hero__lede,
  .mast__lede {
    animation-delay: 70ms;
  }

  .hero__actions,
  .mast__actions {
    animation-delay: 130ms;
  }

  .hero__media img,
  .mast__media img {
    animation: settle 1.1s var(--ease) both;
  }

  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms var(--ease), transform 650ms var(--ease);
  }

  [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }

  @keyframes settle {
    from {
      opacity: 0;
      transform: scale(1.02);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
