/*
  4 Bridges Group LLC — site styles
  Brand: navy + Cowboys silver-gray + white, from Lane Hammond's business card.
  Type: Libre Caslon (stands in for the card's Abril) + Avenir Next where the
  device has it (Apple), Nunito Sans everywhere else (stands in for Avenir).
*/

@font-face {
  font-family: "Libre Caslon Display";
  src: url("fonts/libre-caslon-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("fonts/libre-caslon-text-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("fonts/libre-caslon-text-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("fonts/libre-caslon-text-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Navy family (Cowboys navy #041E42 is the anchor) */
  --navy-deep: #020f24;
  --navy: #041e42;
  --navy-2: #0a2a57;
  --navy-3: #13386e;
  /* Cowboys silver-gray family */
  --gray: #869397;
  --gray-2: #a5b0b4;
  --silver: #c9d0d3;
  --silver-2: #e3e7e9;
  --fog: #f3f5f6;
  --paper: #ffffff;
  /* Text */
  --ink: #0b1626;
  --text: #2a3442;
  --muted: #566170;
  --on-navy: #e8edf2;
  --on-navy-muted: #a9b6c3;

  --serif-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans:
    "Avenir Next", "Avenir", "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --silver-sheen: linear-gradient(
    100deg,
    #8e9a9e 0%,
    #dfe4e6 38%,
    #9aa6aa 62%,
    #e9edef 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--navy-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--navy);
}
p {
  margin: 0 0 1.1em;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.55em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 {
  font-family: var(--serif-display);
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
}
h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}
h4 {
  font-size: 1.2rem;
}
:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: 3px;
}
.on-navy :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--silver);
}
[hidden] {
  display: none !important;
}
.thanks [tabindex="-1"]:focus {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--paper);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 860px;
}

/* ---------- Small type pieces ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gray);
}
.on-navy .label {
  color: var(--gray-2);
}
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--text);
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.005em;
}
.fine {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}
.on-navy {
  color: var(--on-navy);
}
.on-navy h1,
.on-navy h2,
.on-navy h3,
.on-navy h4 {
  color: #fff;
}
.on-navy .fine {
  color: var(--on-navy-muted);
}
.on-navy a {
  color: #fff;
}

/* Placeholder marks: things Lane still has to give us. Deliberately visible. */
.ph {
  background: #fff6db;
  color: #6b4d00;
  border: 1px dashed #c9a227;
  border-radius: 3px;
  padding: 0.05em 0.4em;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph-block {
  display: block;
  padding: 18px 20px;
  margin: 0 0 1.2em;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.82rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.btn::after {
  /* a slow silver sheen, like light across the card's foil */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn:hover,
.on-navy .btn,
.on-navy .btn:hover {
  color: var(--btn-fg);
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn:active {
  transform: translateY(1px);
}
.btn .arrow {
  width: 18px;
  height: 10px;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn--silver {
  --btn-bg: var(--silver-2);
  --btn-fg: var(--navy);
  --btn-bd: var(--silver-2);
}
.btn--silver:hover {
  --btn-bg: #fff;
  --btn-bd: #fff;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover {
  --btn-bd: #fff;
  --btn-bg: rgba(255, 255, 255, 0.06);
}
.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: var(--navy);
}
.btn--line:hover {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
}
.btn--sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.74rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.8rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 34px 1px
    no-repeat;
  transition: background-size 0.45s var(--ease);
}
.text-link:hover {
  background-size: 100% 1px;
}
.on-navy .text-link {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  view-transition-name: site-header;
  transition:
    background-color 0.45s var(--ease),
    height 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.site-header::before {
  /* keeps the white logo readable over any photo before scrolling */
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  background: linear-gradient(
    180deg,
    rgba(2, 15, 36, 0.55),
    rgba(2, 15, 36, 0)
  );
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.site-header.is-solid {
  --header-h: 76px;
  background: rgba(4, 30, 66, 0.97);
  box-shadow: 0 1px 0 rgba(201, 208, 211, 0.18);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid {
    background: rgba(4, 30, 66, 0.9);
    backdrop-filter: saturate(1.3) blur(14px);
  }
}
.site-header.is-solid::before {
  opacity: 0;
}
.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: block;
  color: #fff;
  flex: none;
}
.brand svg {
  height: 72px;
  width: auto;
  transition: height 0.45s var(--ease);
}
.is-solid .brand svg {
  height: 52px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 14px;
  color: #fff;
  background: none;
  border: 0;
  font: 600 0.8rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--silver);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item.is-current > .nav-link {
  color: #fff;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-item.is-current > .nav-link::after {
  transform: scaleX(1);
}
.nav-link .chev {
  width: 9px;
  height: 6px;
  transition: transform 0.3s var(--ease);
}
.nav-item.is-open .chev {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 300px;
  padding: 10px;
  background: #fff;
  color: var(--text);
  box-shadow:
    0 30px 60px -20px rgba(2, 15, 36, 0.45),
    0 0 0 1px rgba(4, 30, 66, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
}
.dropdown::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}
.dropdown--wide {
  min-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  border-left: 2px solid transparent;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.dropdown a:hover,
.dropdown a[aria-current="page"] {
  background: var(--fog);
  border-left-color: var(--navy);
}
.dropdown strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.3;
}
.dropdown span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 3px;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 18px;
}
.header-phone {
  color: #fff;
  text-decoration: none;
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--silver);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.35s var(--ease),
    opacity 0.2s;
}
.menu-toggle span:nth-child(1) {
  top: 17px;
}
.menu-toggle span:nth-child(2) {
  top: 23px;
}
.menu-toggle span:nth-child(3) {
  top: 29px;
}
.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1140px) {
  .header-phone {
    display: none;
  }
}
@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }
  .site-header.is-solid {
    --header-h: 64px;
  }
  .brand svg,
  .is-solid .brand svg {
    height: 46px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    display: block;
    padding: 18px var(--gutter) 40px;
    background: var(--navy);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease),
      visibility 0.35s;
  }
  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .menu-open {
    overflow: hidden;
  }
  .nav-list {
    display: block;
  }
  .nav-item {
    border-bottom: 1px solid rgba(201, 208, 211, 0.16);
  }
  .nav-link {
    width: 100%;
    height: 60px;
    padding: 0;
    justify-content: space-between;
    font-size: 0.86rem;
  }
  .nav-link::after {
    display: none;
  }
  .dropdown,
  .dropdown--wide {
    position: static;
    min-width: 0;
    display: none;
    grid-template-columns: 1fr;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0 0 14px;
  }
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown,
  .nav-item.is-open > .dropdown {
    transform: none;
    left: auto;
  }
  .menu-open .site-header {
    background: var(--navy);
  }
  .menu-open .site-header::before {
    opacity: 0;
  }
  .nav-item.is-open > .dropdown {
    display: grid;
  }
  .dropdown::before {
    display: none;
  }
  .dropdown a {
    color: #fff;
    padding: 10px 0 10px 16px;
    border-left-color: rgba(201, 208, 211, 0.25);
  }
  .dropdown a:hover,
  .dropdown a[aria-current="page"] {
    background: transparent;
    border-left-color: var(--silver);
  }
  .dropdown span {
    color: var(--on-navy-muted);
  }
  .header-cta {
    margin: 28px 0 0;
    flex-direction: column;
    align-items: stretch;
  }
  .header-cta .btn {
    width: 100%;
  }
  .header-phone {
    display: block;
    text-align: center;
    padding: 6px 0;
    font-size: 1.1rem;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transform-origin: 70% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 15, 36, 0.94) 0%,
      rgba(4, 30, 66, 0.82) 34%,
      rgba(4, 30, 66, 0.35) 62%,
      rgba(4, 30, 66, 0.1) 100%
    ),
    linear-gradient(0deg, rgba(2, 15, 36, 0.85) 0%, rgba(2, 15, 36, 0) 42%);
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: clamp(56px, 9vh, 104px);
}
.hero-copy {
  max-width: 720px;
}
.hero .tagline {
  display: block;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--silver);
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 26px;
}
.hero h1 .line {
  display: block;
}
.hero-sub {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-navy);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hero-strip {
  margin-top: clamp(48px, 8vh, 88px);
  padding-top: 22px;
  border-top: 1px solid rgba(201, 208, 211, 0.28);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}
.hero-strip a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.08em;
}
.hero-strip a:hover {
  color: var(--silver);
}
.hero-strip .dot {
  margin: 0 10px;
  color: var(--gray);
}

/* The silver sweep from the business card */
.sweep {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.sweep path {
  fill: none;
}
.hero .sweep {
  right: -6%;
  bottom: -22%;
  width: min(1100px, 90vw);
  opacity: 0.9;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0
    clamp(56px, 7vw, 96px);
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(2, 15, 36, 0.96) 0%,
      rgba(4, 30, 66, 0.9) 45%,
      rgba(4, 30, 66, 0.62) 100%
    ),
    linear-gradient(0deg, rgba(2, 15, 36, 0.6), rgba(2, 15, 36, 0) 50%);
}
.page-hero .sweep {
  right: -10%;
  bottom: -55%;
  width: min(980px, 95vw);
  opacity: 0.75;
}
.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  max-width: 900px;
  color: #fff;
}
.page-hero .lead {
  color: var(--on-navy);
  max-width: 760px;
}
.page-hero .fine {
  max-width: 760px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 30px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-2);
}
.crumbs a {
  color: var(--gray-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--gray);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 10vw, 136px) 0;
  position: relative;
}
.section--tight {
  padding: clamp(56px, 7vw, 96px) 0;
}
.section--fog {
  background: var(--fog);
}
.section--navy {
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
.section--deep {
  background: var(--navy-deep);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .label {
  justify-content: center;
}
.section-head--center .label::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gray);
}

/* Feature rows: photo + text, alternating, like the reference pages */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(72px, 9vw, 128px);
}
.feature--flip .feature-media {
  order: 2;
}
.feature-media {
  position: relative;
}
.frame {
  position: relative;
  z-index: 0;
}
.frame::before {
  /* thin silver keyline offset behind the photo */
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gray-2);
  z-index: -1;
}
.feature--flip .frame::before {
  inset: 22px 22px -22px -22px;
}
.frame-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--silver-2);
}
.frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-num {
  display: block;
  font-family: var(--serif-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 14px;
}
.feature-body h2,
.feature-body h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3em;
  display: grid;
  gap: 10px;
}
.ticks--2 {
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 16px;
  height: 1px;
  background: var(--navy-3);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: calc(0.78em - 2px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy-3);
}
.on-navy .ticks li::before,
.on-navy .ticks li::after {
  background: var(--silver);
}

/* Prose (text-only sections) */
.prose {
  max-width: 760px;
}
.prose h2 {
  margin-top: 1.6em;
}
.prose h3 {
  margin-top: 1.5em;
}
.prose > :first-child {
  margin-top: 0;
}
.prose ul:not(.ticks) {
  padding-left: 1.2em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}

/* Cards grid (H3 groups) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(201, 208, 211, 0.22);
  border: 1px solid rgba(201, 208, 211, 0.22);
}
.card {
  background: var(--navy);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: background-color 0.4s var(--ease);
}
.section--fog .cards,
.cards--light {
  background: var(--silver-2);
  border-color: var(--silver-2);
}
.section--fog .card,
.cards--light .card {
  background: #fff;
}
.card:hover {
  background: var(--navy-2);
}
.section--fog .card:hover,
.cards--light .card:hover {
  background: #fbfcfc;
}
.card-num {
  display: block;
  font-family: var(--serif-display);
  color: var(--gray-2);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.section--fog .card-num,
.cards--light .card-num {
  color: var(--gray);
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.card p {
  margin: 0;
  font-size: 0.98rem;
}
.card::after {
  content: "";
  position: absolute;
  left: clamp(28px, 3vw, 40px);
  top: 0;
  width: 40px;
  height: 2px;
  background: var(--silver);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover::after {
  transform: scaleX(1);
}

/* ---------- Service tiles (home) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(4, 30, 66, 0.06);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}
.on-navy .tile,
.on-navy .tile:hover {
  color: var(--text);
}
.on-navy .tile h3 {
  color: var(--ink);
}
.on-navy .tile .fine {
  color: var(--muted);
}
.on-navy .tile .text-link {
  color: var(--navy);
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.6);
  color: var(--text);
}
.tile-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--silver-2);
}
.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile:hover .tile-img img {
  transform: scale(1.05);
}
.tile-body {
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tile-num {
  font-family: var(--serif-display);
  color: var(--gray);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.tile h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}
.tile p {
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.tile .fine {
  font-size: 0.8rem;
  border-top: 1px solid var(--silver-2);
  padding-top: 14px;
}
.tile .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.tile:hover .text-link {
  background-size: 100% 1px;
}

/* ---------- Partners ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  padding-right: clamp(48px, 6vw, 88px);
  list-style: none;
  margin: 0;
}
.marquee-group img,
.logo-grid img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.72;
  transition:
    filter 0.4s,
    opacity 0.4s;
}
.marquee-group img:hover,
.logo-grid li:hover img {
  filter: none;
  opacity: 1;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--silver-2);
  border: 1px solid var(--silver-2);
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.logo-grid li {
  background: #fff;
  display: grid;
  place-items: center;
  height: 128px;
  padding: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--navy-deep);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
.cta-band .sweep {
  left: -12%;
  top: -40%;
  width: min(1200px, 120vw);
  opacity: 0.55;
  transform: scaleX(-1);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}
.cta-contact {
  display: grid;
  gap: 4px;
}
.cta-phone {
  font-family: var(--serif-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  width: fit-content;
}
.cta-phone small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 4px;
}
.cta-phone:hover {
  color: var(--silver);
}
.cta-phone + .cta-phone {
  margin-top: 16px;
}
.cta-email {
  margin-top: 18px;
  color: var(--on-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 208, 211, 0.4);
  width: fit-content;
}
.cta-email:hover {
  color: #fff;
  border-color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  padding: clamp(64px, 8vw, 104px) 0 36px;
  border-top: 1px solid rgba(201, 208, 211, 0.12);
  font-size: 0.95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 208, 211, 0.14);
}
.footer-brand svg {
  height: 92px;
  width: auto;
  color: #fff;
  margin-bottom: 22px;
}
.footer-brand .tagline {
  color: var(--silver);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin: 6px 0 18px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: var(--on-navy);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-legal {
  padding-top: 32px;
  display: grid;
  gap: 14px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #8796a6;
}
.footer-legal p {
  margin: 0;
  max-width: 1080px;
}
.footer-bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 208, 211, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.8rem;
  color: #8796a6;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* ---------- Contact page + form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 1px;
  background: var(--silver-2);
  border: 1px solid var(--silver-2);
}
.contact-card {
  background: #fff;
  padding: 26px 28px;
}
.contact-card h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.contact-card p {
  margin: 0;
}
.contact-card .big {
  font-family: var(--serif-display);
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--navy);
  text-decoration: none;
}
.contact-card .big:hover {
  color: var(--navy-3);
}
.contact-card .sub {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-panel {
  background: #fff;
  padding: clamp(28px, 4vw, 52px);
  box-shadow:
    0 40px 80px -48px rgba(2, 15, 36, 0.45),
    0 0 0 1px var(--silver-2);
  position: relative;
}
.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--silver-sheen);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}
.field {
  display: grid;
  gap: 8px;
  align-content: start;
}
.field--full {
  grid-column: 1 / -1;
}
.field label,
.field legend {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.field .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--fog);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--gray-2);
  border-radius: 0;
  transition:
    border-color 0.25s,
    background-color 0.25s,
    box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: 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='%23041e42' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(19, 56, 110, 0.12);
}
.field .hint {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.field .error {
  display: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: #a12622;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: #a12622;
  background: #fff7f6;
}
.field.has-error .error {
  display: block;
}
.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--fog);
  border-left: 2px solid var(--gray);
}
.consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}
.consent label {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text);
}
.consent .error {
  grid-column: 2;
}
.consent.has-error {
  border-left-color: #a12622;
  background: #fff7f6;
}
.consent.has-error .error {
  display: block;
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.form-actions .fine {
  margin: 0;
}
.form-status {
  grid-column: 1 / -1;
  font-weight: 600;
  color: #a12622;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.75;
}
.thanks {
  text-align: center;
  padding: clamp(20px, 4vw, 40px) 0;
}
.thanks[hidden] {
  display: none;
}
.thanks-mark {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  color: var(--navy);
}
.thanks-mark circle,
.thanks-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.thanks h2,
.thanks h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.thanks p {
  max-width: 460px;
  margin-inline: auto;
}

/* Dialog */
.contact-dialog {
  width: min(860px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.contact-dialog::backdrop {
  background: rgba(2, 15, 36, 0.72);
  backdrop-filter: blur(4px);
}
.contact-dialog .form-panel {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.dialog-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 6px;
}
.dialog-head p {
  margin: 0;
  color: var(--muted);
}
.dialog-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--silver);
  background: #fff;
  color: var(--navy);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.35s var(--ease),
    border-color 0.25s;
}
.dialog-close:hover {
  transform: rotate(90deg);
  border-color: var(--navy);
}
.dialog-close svg {
  width: 14px;
  height: 14px;
}
.contact-dialog[open] {
  animation: dialog-in 0.5s var(--ease);
}
.contact-dialog[open]::backdrop {
  animation: fade-in 0.4s ease;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* Team */
.person {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(
      120% 80% at 30% 20%,
      rgba(201, 208, 211, 0.25),
      transparent 60%
    ),
    var(--navy);
  display: grid;
  place-items: center;
  color: var(--silver);
  position: relative;
  overflow: hidden;
}
.portrait-initials {
  font-family: var(--serif-display);
  font-size: clamp(4rem, 9vw, 7rem);
  letter-spacing: 0.04em;
  color: #fff;
}
.portrait .ph {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  text-align: center;
}
.person-role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 26px;
}

/* Values (overview) */
.values {
  display: grid;
  gap: 0;
  margin: 0 0 8px;
}
.value {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--silver-2);
}
.value:last-child {
  border-bottom: 1px solid var(--silver-2);
}
.value dt {
  font-family: var(--serif-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.value dd {
  margin: 0;
}

/* Legal pages */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--silver-2);
}
.legal h2:first-of-type {
  margin-top: 1em;
}
.legal .in-short {
  font-style: italic;
  font-family: var(--serif);
  color: var(--ink);
}
.legal ul {
  padding-left: 1.2em;
}
.legal li {
  margin-bottom: 0.5em;
}
.toc {
  columns: 2;
  column-gap: 40px;
  padding: 24px 28px;
  margin: 28px 0;
  background: var(--fog);
  list-style: decimal inside;
  font-size: 0.95rem;
}
.toc li {
  break-inside: avoid;
  margin-bottom: 6px;
}

/* Disclosure block at the end of service pages */
.disclosure {
  border-top: 1px solid var(--silver-2);
  padding-top: 28px;
  margin-top: 8px;
}
.disclosure p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Help cards (overview) */
.help-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

/* ---------- Motion ---------- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img {
    animation: settle 16s var(--ease) both;
  }
  @keyframes settle {
    from {
      transform: scale(1.12);
    }
    to {
      transform: scale(1);
    }
  }
  .js .hero .rise,
  .js .page-hero .rise {
    opacity: 0;
    transform: translateY(26px);
    animation: rise 1.1s var(--ease) forwards;
    animation-delay: var(--d, 0s);
  }
  @keyframes rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
  .js .sweep path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.6s var(--ease) forwards;
    animation-delay: var(--d, 0.35s);
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  .js .brand .mark-arc {
    clip-path: inset(0 100% 0 0);
    animation: arc-in 1.6s var(--ease) 0.25s forwards;
  }
  @keyframes arc-in {
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition:
      opacity 1s var(--ease),
      transform 1.1s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  /* Photos open like a curtain, then settle */
  .js .frame[data-reveal] .frame-img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.3s var(--ease);
  }
  .js .frame[data-reveal] .frame-img img {
    transform: scale(1.14);
    transition: transform 1.8s var(--ease);
  }
  .js .frame.is-in .frame-img {
    clip-path: inset(0 0 0 0);
  }
  .js .frame.is-in .frame-img img {
    transform: scale(1.08);
  }
  .js .frame[data-reveal]::before {
    transition: inset 1.4s var(--ease) 0.3s;
  }
  /* Gentle depth while scrolling, where the browser supports it */
  @supports (animation-timeline: view()) {
    .parallax img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes drift {
      from {
        translate: 0 -3%;
      }
      to {
        translate: 0 3%;
      }
    }
    .page-hero-media img {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    @keyframes hero-drift {
      to {
        translate: 0 18%;
        scale: 1.06;
      }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
  .marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 28px;
  }
  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .contact-dialog[open],
  .contact-dialog[open]::backdrop {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .feature,
  .contact-grid,
  .person,
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .feature--flip .feature-media {
    order: 0;
  }
  .frame::before {
    inset: 14px -14px -14px 14px;
  }
  .feature--flip .frame::before {
    inset: 14px 14px -14px -14px;
  }
  .feature-media {
    margin-right: 14px;
  }
  .feature--flip .feature-media {
    margin: 0 0 0 14px;
  }
  .person .portrait {
    max-width: 420px;
  }
  .help-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-grid li {
    height: 104px;
  }
  body {
    font-size: 1rem;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .ticks--2 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand svg {
    height: 80px;
  }
  .hero-strip {
    flex-direction: column;
    letter-spacing: 0.1em;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .value {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .toc {
    columns: 1;
  }
  .tile-body {
    padding: 26px 24px 28px;
  }
  .contact-card .big {
    font-size: 1.45rem;
  }
  .marquee-group img {
    height: 36px;
  }
}

/* Tristate Financial Network partner office */
.partner-office {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.partner-office-logo {
  display: grid;
  place-items: center;
  background: #fff;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 0 0 1px var(--silver-2);
  transition: box-shadow 0.4s var(--ease);
}
.partner-office-logo:hover {
  box-shadow:
    0 0 0 1px var(--silver),
    0 30px 60px -40px rgba(2, 15, 36, 0.45);
}
.partner-office-logo img {
  width: 100%;
  max-width: 420px;
  height: auto;
}
.partner-office h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
}
.partner-line {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--on-navy-muted);
}
.site-footer .partner-line a {
  color: var(--silver);
}
@media (max-width: 860px) {
  .partner-office {
    grid-template-columns: 1fr;
  }
}

.logo-grid img {
  max-width: 100%;
  max-height: 44px;
  height: auto;
}
.logo-grid li {
  overflow: hidden;
}

/* Team photos */
.portrait--photo {
  display: block;
  background: var(--silver-2);
}
.portrait--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.portrait--photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--silver-2);
}
.person-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 26px;
}
.person-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 1.2s var(--ease);
}
.person-card:hover .person-card-img img {
  transform: scale(1.03);
}
.person-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-bottom: 6px;
}
.person-card .person-role {
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .people {
    grid-template-columns: 1fr;
  }
}
