/* ==========================================================================
   Woodward Birmingham Financial Group
   One stylesheet for the whole site.

   The palette and type come from the 2026 logo kit: olive #8C9A34 and
   charcoal #262626, set in Oswald. Source Sans 3 carries the body text.

   1. Tokens          6. Footer            11. About sections
   2. Base            7. Buttons & tags    12. Client Services sections
   3. Layout & motifs 8. Shared sections   13. Capital Sources sections
   4. Type            9. Motion            14. Loan Examples sections
   5. Header         10. Home sections     15. Contact sections
                                           16. Utilities
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --charcoal-950: #131312;
  --charcoal-900: #1b1b1a;
  --charcoal-800: #262626; /* brand */
  --charcoal-700: #333332;
  --charcoal-600: #4b4b49;

  --olive: #8c9a34;        /* brand: large type, fills, rules, text on charcoal */
  --olive-deep: #667222;   /* small text on light backgrounds */
  --olive-bright: #a9b84c; /* small text on charcoal */
  --olive-pale: #d9dfa9;
  --olive-tint: #eef0dc;
  --olive-tint-2: #f6f7ec;

  --bone: #f3f1ea;
  --bone-2: #f9f8f4;
  --white: #ffffff;
  --line: #e2dfd6;
  --line-strong: #c9c5b9;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-strong: rgba(255, 255, 255, 0.24);

  --ink: #1f1f1d;
  --ink-2: #4a4a46;
  --ink-3: #6b6b65;

  --brick: #9b3f2b;
  --brick-bright: #e3917a;

  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(64px, 9vw, 136px);
  --header-h: 76px;
  --notch: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 1.05rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--olive-deep);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--olive-bright);
}

::selection {
  background: var(--olive);
  color: var(--charcoal-900);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--olive);
  color: var(--charcoal-900);
  font: 500 0.8rem/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* 3. Layout & motifs
   ========================================================================== */
.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--bone {
  background: var(--bone);
}

.section--bone-2 {
  background: var(--bone-2);
}

.section--white {
  background: var(--white);
}

.section--charcoal {
  background: var(--charcoal-800);
  color: var(--white);
}

.section--charcoal-deep {
  background: var(--charcoal-900);
  color: var(--white);
}

.section--olive {
  background: var(--olive);
  color: var(--charcoal-900);
}

.section--ruled {
  border-top: 1px solid var(--line);
}

/* An olive inlay line along the top of a section, like the brass in a
   Fisher Building floor. */
.section--inlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--olive) 0, var(--olive) 160px, transparent 160px);
}

/* Radial lines from a point below the section: the avenues of Judge
   Woodward's 1805 plan for Detroit, which fan out from one hub. Faint, and
   faded with a mask so it reads as texture rather than a diagram. */
.spokes::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from -84deg at 14% 112%, rgba(140, 154, 52, 0.16) 0deg 0.14deg, transparent 0.14deg 5.6deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 110% at 14% 112%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 110% at 14% 112%, #000 20%, transparent 72%);
}

.spokes--right::before {
  background: repeating-conic-gradient(from -96deg at 88% 112%, rgba(140, 154, 52, 0.16) 0deg 0.14deg, transparent 0.14deg 5.6deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 110% at 88% 112%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 110% at 88% 112%, #000 20%, transparent 72%);
}

.section--olive.spokes::before {
  background: repeating-conic-gradient(from -84deg at 14% 112%, rgba(38, 38, 38, 0.16) 0deg 0.14deg, transparent 0.14deg 5.6deg);
}

.spokes > * {
  position: relative;
}

/* Faint vertical rules on light sections: a drafting grid. */
.gridlines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(38, 38, 38, 0.05) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: calc(var(--gutter) * -1) 0;
}

.gridlines > * {
  position: relative;
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
  }

  .split--even {
    grid-template-columns: 1fr 1fr;
  }

  .split__sticky {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

/* 4. Type
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 0.78rem/1.4 var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--olive);
}

.eyebrow--plain::before {
  display: none;
}

.on-dark .eyebrow {
  color: var(--olive-bright);
}

.title {
  font: 600 clamp(2rem, 3.6vw, 3.1rem) / 1.02 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--charcoal-800);
  text-wrap: balance;
}

.on-dark .title {
  color: var(--white);
}

/* Two-tone headline: a lighter first phrase, then the point. */
.title__soft {
  font-weight: 300;
  color: var(--ink-3);
}

.on-dark .title__soft {
  color: var(--olive-pale);
}

.lead {
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}

.on-dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.prose {
  color: var(--ink-2);
  max-width: 62ch;
}

.prose p + p {
  margin-top: 1em;
}

.prose--large {
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.eyebrow + .title {
  margin-top: 18px;
}

.title + .lead {
  margin-top: 22px;
}

.split__link {
  margin-top: 32px;
}

.section-head > .title,
.section-head > .lead,
.cta__text > .title,
.cta__text > .lead {
  margin-top: 0;
}

.section-head > .lead {
  margin-top: 6px;
}

@media (min-width: 800px) {
  .section-head--split {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 48px;
  }

  .section-head--split > .section-head__aside {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font: 500 0.8rem/1.2 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-deep);
  padding-bottom: 6px;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(0.4);
}

.on-dark .text-link {
  color: var(--olive-bright);
}

.text-link .arrow,
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.text-link:hover .arrow,
.btn:hover .arrow {
  transform: translateX(5px);
}

/* 5. Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(19, 19, 18, 0.72), rgba(19, 19, 18, 0));
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-dark);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(27, 27, 26, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1360px);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__wordmark {
  height: 54px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.is-scrolled .brand__wordmark {
  height: 46px;
}

.brand__square {
  display: none;
  width: 44px;
  height: 44px;
}

@media (max-width: 479px) {
  .brand__wordmark {
    display: none;
  }

  .brand__square {
    display: block;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--white);
  font: 500 0.78rem/1 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.no-js .nav-toggle {
  display: none;
}

.nav-toggle__bars {
  display: grid;
  gap: 7px;
  width: 24px;
}

.nav-toggle__bars span {
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Phone: a full-height panel that drops in under the bar. */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--gutter) 32px;
  background: var(--charcoal-900);
  overflow-y: auto;
}

.js .site-nav {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s;
}

.js .site-header.is-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.site-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font: 500 clamp(1.6rem, 6vw, 2.2rem) / 1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}

.site-header.is-open .site-nav__list a {
  opacity: 1;
  transform: none;
}

.site-nav__list li:nth-child(1) a { transition-delay: 0.05s; }
.site-nav__list li:nth-child(2) a { transition-delay: 0.1s; }
.site-nav__list li:nth-child(3) a { transition-delay: 0.15s; }
.site-nav__list li:nth-child(4) a { transition-delay: 0.2s; }

.site-nav__num {
  font: 400 0.7rem/1 var(--font-display);
  letter-spacing: 0.2em;
  color: var(--olive);
}

.site-nav__list a[aria-current="page"] {
  color: var(--olive-bright);
}

.site-nav__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 32px;
}

.site-nav__phone {
  font: 500 1.1rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--olive-bright);
}

.site-nav__phone:hover {
  color: var(--white);
}

.site-nav__foot {
  margin-top: 40px;
  font: 400 0.7rem/1.5 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 1000px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    overflow: visible;
  }

  .site-nav__foot {
    display: none;
  }

  .site-nav__list {
    display: flex;
    gap: 32px;
  }

  .site-nav__list a,
  .site-header.is-open .site-nav__list a {
    position: relative;
    gap: 8px;
    padding: 10px 0;
    border: 0;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    opacity: 1;
    transform: none;
    transition: color 0.2s ease;
  }

  .site-nav__num {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    transform: translateY(-0.5em);
  }

  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: var(--olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }

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

  .site-nav__list a[aria-current="page"] {
    color: var(--white);
  }

  .site-nav__actions {
    margin: 0;
    gap: 28px;
    padding-left: 32px;
    border-left: 1px solid var(--line-dark-strong);
  }

  .site-nav__phone {
    font-size: 0.95rem;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .site-nav,
  .js .site-nav {
    gap: 24px;
  }

  .site-nav__list {
    gap: 22px;
  }

  .site-nav__list a,
  .site-header.is-open .site-nav__list a {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .site-nav__num {
    display: none;
  }

  .site-nav__phone {
    display: none;
  }

  .site-nav__actions {
    padding-left: 0;
    border-left: 0;
  }
}

/* 6. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--charcoal-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  overflow: hidden;
}

/* The Detroit skyline, drawn once in the footer partial. The lit windows
   come and go. */
.skyline {
  display: block;
  width: 100%;
  height: auto;
  color: var(--olive);
}

.skyline__buildings {
  fill: currentColor;
  opacity: 0.16;
}

.skyline__ground {
  fill: currentColor;
  opacity: 0.4;
}

.skyline__lights rect {
  fill: var(--olive-pale);
  opacity: 0.1;
  animation: twinkle 5s ease-in-out infinite;
}

.skyline__lights rect:nth-child(3n) { animation-delay: -1.3s; animation-duration: 6.2s; }
.skyline__lights rect:nth-child(3n + 1) { animation-delay: -2.9s; animation-duration: 4.4s; }
.skyline__lights rect:nth-child(4n) { animation-delay: -0.7s; animation-duration: 7.1s; }
.skyline__lights rect:nth-child(5n) { animation-delay: -3.6s; animation-duration: 5.5s; }
.skyline__lights rect:nth-child(7n) { animation-delay: -4.2s; animation-duration: 8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.85; }
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 80px) 48px;
  border-top: 1px solid var(--line-dark);
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 5fr 3fr 4fr;
    gap: 48px;
  }
}

.site-footer__logo {
  width: 220px;
  height: auto;
}

.site-footer__tagline {
  margin-top: 24px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__heading {
  margin-bottom: 18px;
  font: 500 0.72rem/1.4 var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a {
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--olive-bright);
}

.site-footer__nav a {
  font: 500 0.82rem/1.3 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__contact address {
  margin-bottom: 16px;
}

.site-footer__contact span {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line-dark);
  font: 400 0.7rem/1.6 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* 7. Buttons & tags
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  min-height: 52px;
  padding: 0 1.9em;
  border: 0;
  font: 500 0.82rem/1 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn--small {
  min-height: 42px;
  padding: 0 1.4em;
  font-size: 0.74rem;
  --notch: 8px;
}

.btn--olive {
  background: var(--olive);
  color: var(--charcoal-900);
}

.btn--olive:hover {
  background: var(--olive-bright);
}

.btn--charcoal {
  background: var(--charcoal-900);
  color: var(--white);
}

.btn--charcoal:hover {
  background: var(--charcoal-700);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 0.65em 0.85em;
  font: 500 0.66rem/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.tag--solid {
  background: var(--charcoal-800);
  color: var(--white);
}

.tag--soft {
  background: var(--olive-tint);
  color: var(--olive-deep);
}

.tag--line {
  background: var(--bone);
  color: var(--ink-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 0.75em 1.05em;
  background: var(--white);
  border: 1px solid var(--line);
  font: 500 0.74rem/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-800);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: var(--olive);
  background: var(--olive-tint);
  color: var(--olive-deep);
}

/* 8. Shared sections
   ========================================================================== */

/* Closing call to action: the one olive band on every page. */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--olive);
  color: var(--charcoal-900);
  padding-block: clamp(72px, 9vw, 120px);
}

.cta .eyebrow {
  color: var(--charcoal-900);
}

.cta .eyebrow::before {
  background: var(--charcoal-900);
}

.cta .title {
  color: var(--charcoal-900);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}

.cta .lead {
  color: rgba(27, 27, 26, 0.8);
}

.cta__inner {
  display: grid;
  gap: 36px;
}

.cta__text {
  display: grid;
  gap: 16px;
}

.cta__phone {
  font: 500 1.15rem/1 var(--font-display);
  letter-spacing: 0.06em;
  color: var(--charcoal-900);
  text-decoration: none;
  border-bottom: 2px solid rgba(27, 27, 26, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}

.cta__phone:hover {
  border-color: var(--charcoal-900);
}

@media (min-width: 900px) {
  .cta__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 64px;
  }
}

/* Hero for every page except Home: a dark band with a graded Detroit
   photograph behind the headline. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--charcoal-900);
  color: var(--white);
  padding-block: calc(var(--header-h) + clamp(56px, 9vw, 120px)) clamp(64px, 8vw, 112px);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0.55;
  transform: scale(1.04);
  animation: settle 2.4s var(--ease) both;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--charcoal-900) 0%, rgba(27, 27, 26, 0.55) 30%, rgba(27, 27, 26, 0) 70%),
    linear-gradient(to right, rgba(27, 27, 26, 0.92) 0%, rgba(27, 27, 26, 0.6) 45%, rgba(27, 27, 26, 0.2) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--olive);
  transform-origin: left;
  animation: grow-x 1.4s var(--ease) 0.3s both;
}

.page-hero__inner {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

.page-hero__title {
  margin-top: 22px;
  font: 600 clamp(2.6rem, 6.2vw, 5.4rem) / 0.98 var(--font-display);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}

.page-hero__title .title__soft {
  display: block;
  font-weight: 300;
  color: var(--olive-pale);
}

.page-hero__title--long {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

.page-hero .lead {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero .lead strong {
  color: var(--white);
}

/* Staggered entrance for the headline block. */
.page-hero__copy > * {
  animation: fade-up 0.9s var(--ease) both;
}

.page-hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.page-hero__copy > :nth-child(2) { animation-delay: 0.15s; }
.page-hero__copy > :nth-child(3) { animation-delay: 0.3s; }

.page-hero__aside {
  animation: fade-up 1s var(--ease) 0.4s both;
}

@media (min-width: 960px) {
  .page-hero__inner {
    grid-template-columns: 7fr 4fr;
    align-items: end;
    gap: clamp(48px, 7vw, 112px);
  }

  .page-hero__inner--wide-aside {
    grid-template-columns: 6fr 5fr;
    align-items: center;
  }
}

/* Facts card: a glass panel on the dark hero with a notched corner. */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(19, 19, 18, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-dark-strong);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.fact {
  padding: 22px clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--line-dark);
}

.fact:nth-child(-n + 2) {
  border-top: 0;
}

.fact:nth-child(even) {
  border-left: 1px solid var(--line-dark);
}

.fact dt {
  font: 500 0.68rem/1.4 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.fact dd {
  margin: 8px 0 0;
  font: 600 1.5rem/1.15 var(--font-display);
  letter-spacing: 0.01em;
  color: var(--white);
}

.fact dd a {
  text-decoration: none;
  color: inherit;
}

.fact dd a:hover {
  color: var(--olive-bright);
}

.fact dd.fact__small {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.facts--stacked {
  grid-template-columns: 1fr;
}

.facts--stacked .fact,
.facts--stacked .fact:nth-child(-n + 2) {
  border-top: 1px solid var(--line-dark);
  border-left: 0;
}

.facts--stacked .fact:first-child {
  border-top: 0;
}

@media (min-width: 960px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(-n + 2) {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .fact:first-child {
    border-top: 0;
  }
}

/* Affiliations */
.affiliations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .affiliations__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .affiliations__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.affiliation {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.affiliation::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--olive);
  transition: width 0.45s var(--ease);
}

.affiliation:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 40px -34px rgba(20, 20, 20, 0.4);
}

.affiliation:hover::after {
  width: 100%;
}

.affiliation img {
  max-height: 56px;
  width: auto;
  max-width: 150px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.affiliation:hover img {
  filter: none;
  opacity: 1;
}

.affiliation__name {
  display: block;
  font: 500 0.82rem/1.3 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.affiliation__meta {
  display: block;
  margin-top: 8px;
  font: 400 0.68rem/1.5 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

/* Art Deco frame around a portrait: an offset olive outline and a stepped
   corner, after the setbacks of the Guardian and Penobscot buildings. */
.frame {
  position: relative;
  isolation: isolate;
}

.frame picture,
.frame > img {
  position: relative;
  z-index: 1;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--olive);
  z-index: 0;
}

.frame::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 54px;
  height: 54px;
  z-index: 2;
  background:
    linear-gradient(var(--olive), var(--olive)) right bottom / 54px 3px no-repeat,
    linear-gradient(var(--olive), var(--olive)) right bottom / 3px 54px no-repeat,
    linear-gradient(var(--olive), var(--olive)) right 9px bottom 9px / 36px 3px no-repeat,
    linear-gradient(var(--olive), var(--olive)) right 9px bottom 9px / 3px 36px no-repeat,
    linear-gradient(var(--olive), var(--olive)) right 18px bottom 18px / 18px 3px no-repeat,
    linear-gradient(var(--olive), var(--olive)) right 18px bottom 18px / 3px 18px no-repeat;
}

/* 9. Motion
   ========================================================================== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  to {
    transform: none;
  }
}

@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

@keyframes drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Elements marked data-reveal rise into place when they scroll into view.
   A data-reveal-group staggers its children. */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-in,
.js [data-reveal-group].is-in > * {
  opacity: 1;
  transform: none;
}

[data-reveal-group] > :nth-child(2) { --i: 1; }
[data-reveal-group] > :nth-child(3) { --i: 2; }
[data-reveal-group] > :nth-child(4) { --i: 3; }
[data-reveal-group] > :nth-child(5) { --i: 4; }
[data-reveal-group] > :nth-child(6) { --i: 5; }
[data-reveal-group] > :nth-child(7) { --i: 6; }
[data-reveal-group] > :nth-child(8) { --i: 7; }
[data-reveal-group] > :nth-child(9) { --i: 8; }
[data-reveal-group] > :nth-child(10) { --i: 9; }

/* 10. Home sections
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(640px, 100svh, 1000px);
  background: var(--charcoal-950);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 60%;
  animation: settle 2.6s var(--ease) both, drift 36s linear 2.6s infinite alternate;
}

/* A charcoal wash, heavy at the left and bottom where the text sits. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(19, 19, 18, 0.95) 0%, rgba(19, 19, 18, 0.5) 38%, rgba(19, 19, 18, 0.05) 70%),
    linear-gradient(to right, rgba(19, 19, 18, 0.82) 0%, rgba(19, 19, 18, 0.45) 45%, rgba(19, 19, 18, 0.1) 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 0;
  padding-block: calc(var(--header-h) + 56px) clamp(56px, 8vh, 96px);
}

.hero .eyebrow {
  color: var(--olive-bright);
  animation: fade-up 0.9s var(--ease) 0.2s both;
}

.hero__title {
  margin-top: 26px;
  font: 600 clamp(3.4rem, 9.4vw, 8.2rem) / 0.94 var(--font-display);
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.hero__line > span {
  display: block;
  transform: translateY(108%);
  animation: rise 1s var(--ease) both;
}

.hero__line:nth-child(1) > span { animation-delay: 0.35s; }
.hero__line:nth-child(2) > span { animation-delay: 0.47s; }
.hero__line:nth-child(3) > span { animation-delay: 0.59s; }

.hero__title em {
  font-style: normal;
  color: var(--olive);
}

.hero__line--sub > span {
  margin-top: 0.5em;
  font: 400 clamp(1.05rem, 2.3vw, 1.85rem) / 1.2 var(--font-display);
  letter-spacing: 0.2em;
  color: var(--olive-pale);
}

.hero__lead {
  margin-top: 30px;
  max-width: 54ch;
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  animation: fade-up 0.9s var(--ease) 0.8s both;
}

.hero .btn-row {
  margin-top: 38px;
  animation: fade-up 0.9s var(--ease) 0.95s both;
}

.hero__call {
  margin-top: 22px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.66);
  animation: fade-up 0.9s var(--ease) 1.05s both;
}

.hero__call a {
  font: 500 1rem/1 var(--font-display);
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s ease;
}

.hero__call a:hover {
  border-color: var(--olive-bright);
}

/* Coordinates of the office, set vertically at the right edge: a quiet
   signature of where the firm sits on Woodward Avenue. */
.hero__coords {
  display: none;
  position: absolute;
  right: 0;
  bottom: clamp(56px, 8vh, 96px);
  writing-mode: vertical-rl;
  font: 400 0.68rem/1 var(--font-display);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  animation: fade-up 1.2s var(--ease) 1.3s both;
}

.hero__coords::before {
  content: "";
  display: block;
  width: 1px;
  height: 72px;
  margin: 0 auto 18px;
  background: linear-gradient(to bottom, transparent, var(--olive));
}

@media (min-width: 1100px) {
  .hero__coords {
    display: block;
  }

  .hero__inner {
    padding-right: 72px;
  }
}

@media (max-width: 520px) {
  .hero .btn {
    width: 100%;
  }
}

/* Treasury ticker along the bottom edge of the hero */
.ticker {
  position: relative;
  z-index: 2;
  background: var(--charcoal-950);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  font: 500 0.74rem/1 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  animation: fade-up 1s var(--ease) 1.2s both;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

.ticker__list {
  display: flex;
  flex: none;
}

.ticker__list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 36px;
  border-right: 1px solid var(--line-dark);
  white-space: nowrap;
}

.ticker__rate {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.ticker__chg {
  letter-spacing: 0.08em;
}

.ticker__chg[data-dir="up"] {
  color: var(--olive-bright);
}

.ticker__chg[data-dir="down"] {
  color: var(--brick-bright);
}

.ticker__asof {
  color: rgba(255, 255, 255, 0.42);
}

.ticker__asof a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.ticker__asof a:hover {
  color: var(--olive-bright);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Headline figures */
.stats {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stat {
  position: relative;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 40px) clamp(28px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}

.stat:nth-child(even) {
  padding-left: clamp(18px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.stat:nth-child(-n + 2) {
  border-top: 0;
}

.stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--olive);
  transition: width 0.5s var(--ease);
}

.stat:nth-child(even)::before {
  left: -1px;
}

.stat:hover::before {
  width: 100%;
}

.stat__value {
  display: block;
  font: 600 clamp(2.6rem, 5.2vw, 4.4rem) / 1 var(--font-display);
  letter-spacing: -0.005em;
  color: var(--charcoal-800);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: 14px;
  max-width: 20ch;
  font: 500 0.72rem/1.5 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

@media (min-width: 900px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat,
  .stat:nth-child(even) {
    padding-left: clamp(18px, 3vw, 40px);
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stat::before,
  .stat:nth-child(even)::before {
    top: -1px;
    left: 0;
  }
}

/* Recent transactions */
.deal-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .deal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .deal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.deal-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--olive);
  transition: width 0.5s var(--ease);
}

.deal-card:hover,
.deal-card:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 32px 56px -40px rgba(20, 20, 20, 0.4);
}

.deal-card:hover::after,
.deal-card:focus-within::after {
  width: 100%;
}

.deal-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--charcoal-800);
}

.deal-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.deal-card__media--whole {
  background: var(--charcoal-900);
}

.deal-card__media--whole img {
  object-fit: contain;
}

.deal-card:hover .deal-card__media img {
  transform: scale(1.05);
}

.deal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.deal-card__amount {
  font: 600 2.4rem/1 var(--font-display);
  letter-spacing: -0.005em;
  color: var(--olive-deep);
  font-variant-numeric: tabular-nums;
}

.deal-card__name {
  margin-top: 14px;
  font: 500 1.18rem/1.25 var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.deal-card__name a {
  text-decoration: none;
}

.deal-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.deal-card__detail {
  margin-top: 6px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.deal-card__note {
  margin-top: 14px;
  margin-bottom: 22px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.deal-card .tags {
  margin-top: auto;
}

@media (min-width: 700px) and (max-width: 999px) {
  .deal-card:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .deal-card:last-child .deal-card__media {
    flex: 0 0 50%;
    aspect-ratio: auto;
  }
}

/* What we finance */
.service-list {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: start;
  gap: 8px 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.35s var(--ease), background-color 0.3s ease;
}

.service-row__num {
  padding-top: 6px;
  font: 500 0.76rem/1 var(--font-display);
  letter-spacing: 0.16em;
  color: var(--olive-deep);
}

.service-row__name {
  display: block;
  font: 500 1.3rem/1.2 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal-800);
  transition: color 0.2s ease;
}

.service-row__desc {
  display: block;
  margin-top: 6px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.service-row__arrow {
  padding-top: 4px;
  font-size: 1.1rem;
  color: var(--line-strong);
  transition: transform 0.3s var(--ease), color 0.2s ease;
}

.service-row:hover {
  padding-left: 10px;
}

.service-row:hover .service-row__name {
  color: var(--olive-deep);
}

.service-row:hover .service-row__arrow {
  color: var(--olive-deep);
  transform: translateX(5px);
}

.service-more {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.service-more a {
  color: var(--olive-deep);
}

.asset-classes {
  display: grid;
  gap: 22px;
  margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(26px, 3.5vw, 44px);
  background: var(--bone);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.asset-classes__title {
  margin-top: 12px;
  font: 600 1.6rem/1.1 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

@media (min-width: 960px) {
  .asset-classes {
    grid-template-columns: 4fr 8fr;
    align-items: center;
    gap: 48px;
  }
}

/* Capital access */
.capital__points {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.capital__points li {
  padding-left: 20px;
  border-left: 2px solid var(--olive);
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.capital__points strong {
  display: block;
  margin-bottom: 4px;
  font: 500 1.05rem/1.3 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.capital .btn-row {
  margin-top: 40px;
}

.source-grid {
  display: grid;
  border-top: 1px solid var(--line-dark-strong);
  border-left: 1px solid var(--line-dark-strong);
}

.source {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px);
  border-right: 1px solid var(--line-dark-strong);
  border-bottom: 1px solid var(--line-dark-strong);
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.source:hover,
.source:focus-within {
  background: var(--olive);
  color: var(--charcoal-900);
}

.source__num {
  font: 500 0.7rem/1 var(--font-display);
  letter-spacing: 0.2em;
  color: var(--olive-bright);
  transition: color 0.3s ease;
}

.source:hover .source__num,
.source:focus-within .source__num {
  color: var(--charcoal-900);
}

.source__name {
  margin-top: 18px;
  font: 500 1.15rem/1.2 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.source__name a {
  text-decoration: none;
}

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

.source__desc {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.source:hover .source__desc,
.source:focus-within .source__desc {
  color: rgba(27, 27, 26, 0.78);
}

@media (min-width: 560px) {
  .source-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Market rates */
.rates__note {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 2px solid var(--olive);
  font-size: 0.92rem;
  color: var(--ink-3);
  max-width: 46ch;
}

.rates__note a {
  color: var(--olive-deep);
  font-weight: 600;
}

.rates-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
  padding: clamp(22px, 3vw, 38px);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.rates-table th,
.rates-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}

.rates-table thead th {
  padding-top: 0;
  white-space: nowrap;
  font: 500 0.68rem/1 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.rates-table tbody th {
  font: 500 1.02rem/1.3 var(--font-body);
  color: var(--ink);
}

.rates-table .num {
  text-align: right;
}

.rates-table .rate {
  font: 600 1.5rem/1 var(--font-display);
  letter-spacing: 0.01em;
  color: var(--charcoal-800);
}

.rates-table .change {
  width: 7.5em;
  font: 500 0.78rem/1 var(--font-display);
  letter-spacing: 0.08em;
  color: var(--ink-3);
  white-space: nowrap;
}

.rates-table .change[data-dir="up"] {
  color: var(--olive-deep);
}

.rates-table .change[data-dir="down"] {
  color: var(--brick);
}

@media (max-width: 479px) {
  .rates-table .rate {
    font-size: 1.25rem;
  }

  .rates-table tbody th {
    font-size: 0.95rem;
  }
}

.rates-card__source {
  margin-top: 18px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* Founder */
.founder__photo {
  max-width: 420px;
}

.founder__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}

.founder__name {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.founder .prose {
  margin-top: 26px;
}

.founder .btn-row {
  margin-top: 34px;
  gap: 16px 32px;
}

@media (min-width: 960px) {
  .founder .split {
    align-items: center;
  }
}

@media (max-width: 959px) {
  .founder__photo {
    max-width: 320px;
  }
}

/* 11. About sections
   ========================================================================== */

/* Timeline: a vertical rail on phones, a horizontal one on wide screens.
   The rail draws itself when the section scrolls into view. */
.timeline {
  position: relative;
  display: grid;
  gap: 36px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--olive);
  transform-origin: top;
  transition: transform 1.6s var(--ease);
}

.js .timeline::before {
  transform: scaleY(0);
}

.js .timeline.is-in::before {
  transform: none;
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -37px;
  width: 12px;
  height: 12px;
  background: var(--olive);
  box-shadow: 0 0 0 4px var(--white);
}

.timeline__year {
  font: 600 2.1rem/1 var(--font-display);
  color: var(--olive-deep);
}

.timeline__text {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-left: 0;
    padding-top: 36px;
  }

  .timeline::before {
    bottom: auto;
    right: 0;
    width: auto;
    height: 2px;
    transform-origin: left;
  }

  .js .timeline::before {
    transform: scaleX(0);
  }

  .timeline__item {
    padding-right: 32px;
  }

  .timeline__item::before {
    top: -41px;
    left: 0;
  }
}

/* Approach */
.principles {
  display: grid;
  gap: 40px 0;
}

.principle {
  position: relative;
  padding: 0 clamp(22px, 2.6vw, 36px);
  border-left: 1px solid var(--line-dark-strong);
}

.principle__num {
  font: 600 3.4rem/1 var(--font-display);
  color: var(--olive);
  opacity: 0.6;
}

.principle__name {
  margin-top: 18px;
  font: 500 1.3rem/1.2 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.principle__text {
  margin-top: 12px;
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

@media (min-width: 640px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .principles {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Leadership */
.person {
  display: grid;
  gap: 36px;
  padding-block: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--line-strong);
}

.person:last-child {
  padding-bottom: 0;
}

.person__photo {
  max-width: 300px;
}

.person__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  background: var(--olive-tint);
}

.person__name {
  margin-top: 14px;
  font: 600 clamp(1.8rem, 2.8vw, 2.4rem) / 1.05 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.person .prose {
  margin-top: 22px;
}

.person__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 30px;
}

@media (min-width: 800px) {
  .person {
    grid-template-columns: 300px 1fr;
    gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
}

/* 12. Client Services sections
   ========================================================================== */

/* Lifecycle: five stages along a rail in the hero. Each jumps to the
   service that fits. */
.lifecycle {
  grid-column: 1 / -1;
  margin-top: clamp(8px, 2vw, 24px);
  animation: fade-up 1s var(--ease) 0.5s both;
}

.lifecycle__list {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.lifecycle__list a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 24px 10px 0;
  text-decoration: none;
  color: var(--white);
}

.lifecycle__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  background: var(--charcoal-900);
  border: 1px solid var(--olive);
  font: 500 0.7rem/1 var(--font-display);
  letter-spacing: 0.08em;
  color: var(--olive-bright);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.lifecycle__text {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.lifecycle__stage {
  display: block;
  font: 500 1.15rem/1.2 var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.lifecycle__service {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.6);
}

.lifecycle__arrow {
  display: none;
}

.lifecycle__list a:hover .lifecycle__num,
.lifecycle__list a:focus-visible .lifecycle__num {
  background: var(--olive);
  color: var(--charcoal-900);
}

.lifecycle__list a:hover .lifecycle__stage {
  color: var(--olive-bright);
}

@media (min-width: 900px) {
  .lifecycle__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding-top: 18px;
  }

  .lifecycle__list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-dark-strong);
    transform-origin: left;
    animation: grow-x 1.4s var(--ease) 0.7s both;
  }

  .lifecycle__list a {
    flex-direction: column;
    gap: 14px;
    padding-top: 0;
  }

  .lifecycle__num {
    margin-top: -36px;
  }

  .lifecycle__text {
    padding-top: 0;
  }
}

/* Services: jump list beside the full write-ups */
.services-layout {
  display: grid;
  gap: 32px;
}

.service-index ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-index a {
  display: block;
  padding: 0.75em 1em;
  background: var(--white);
  border: 1px solid var(--line);
  font: 500 0.8rem/1.3 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-index a span {
  margin-right: 0.8em;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--olive-deep);
}

.service-index a:hover,
.service-index a[aria-current="true"] {
  border-color: var(--olive);
  color: var(--olive-deep);
}

@media (min-width: 1000px) {
  .services-layout {
    grid-template-columns: 280px 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }

  .service-index {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }

  .service-index ol {
    display: block;
    border-left: 1px solid var(--line-strong);
  }

  .service-index a {
    margin-left: -1px;
    padding: 10px 0 10px 20px;
    background: none;
    border: 0;
    border-left: 2px solid transparent;
    font-size: 0.78rem;
    transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.3s var(--ease);
  }

  .service-index a span {
    display: inline-block;
    width: 2.4em;
    margin-right: 0;
  }

  .service-index a:hover {
    border-color: var(--line-strong);
    padding-left: 26px;
  }

  .service-index a[aria-current="true"] {
    border-color: var(--olive);
    padding-left: 26px;
  }
}

.service {
  display: grid;
  gap: 12px;
  padding-block: clamp(36px, 4.5vw, 60px);
  border-top: 1px solid var(--line-strong);
}

.service:first-child {
  padding-top: 0;
  border-top: 0;
}

.service:last-child {
  padding-bottom: 0;
}

.service__num {
  font: 600 clamp(2.2rem, 3.6vw, 3.2rem) / 1 var(--font-display);
  color: var(--olive);
  opacity: 0.55;
}

.service__name {
  font: 600 clamp(1.5rem, 2.3vw, 2rem) / 1.08 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.service__text {
  margin-top: 16px;
  max-width: 66ch;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .service {
    grid-template-columns: 88px 1fr;
    gap: 0;
  }

  .service__num {
    padding-top: 0.1em;
  }
}

.scope {
  display: grid;
  gap: 10px 32px;
  margin-top: 24px;
}

.scope li {
  position: relative;
  padding-left: 20px;
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--ink);
}

.scope li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--olive);
}

.scope a {
  color: var(--olive-deep);
}

@media (min-width: 560px) {
  .scope {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* A closed deal that shows the service in practice */
.example {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: center;
  margin-top: 30px;
  padding: 20px 24px 20px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.example::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--olive);
  transition: width 0.35s var(--ease);
}

.example:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 40px -34px rgba(20, 20, 20, 0.45);
}

.example:hover::before {
  width: 6px;
}

.example__label {
  grid-column: 1 / -1;
  font: 500 0.66rem/1.4 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.example__amount {
  grid-column: 1 / -1;
  font: 600 1.8rem/1 var(--font-display);
  letter-spacing: -0.005em;
  color: var(--olive-deep);
}

.example__text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.example__text strong {
  display: block;
  font: 500 1.02rem/1.3 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.example__arrow {
  color: var(--olive-deep);
  transition: transform 0.3s var(--ease);
}

.example:hover .example__arrow {
  transform: translateX(5px);
}

@media (min-width: 640px) {
  .example {
    grid-template-columns: auto 1fr auto;
    column-gap: 28px;
  }

  .example__amount {
    grid-column: auto;
    min-width: 3.6em;
  }
}

.section-head + .asset-classes {
  margin-top: 0;
}

/* Marks copy that still needs sign-off. Remove the tag once approved. */
.draft-flag {
  display: inline-block;
  margin-left: 12px;
  padding: 0.5em 0.8em;
  border: 1px dashed currentColor;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: #e8c76a;
  vertical-align: middle;
}

/* 13. Capital Sources sections
   ========================================================================== */

/* Hub diagram in the hero: six sources around the firm's mark, like the
   avenues of the Woodward plan meeting at Campus Martius. Spokes draw in
   and nodes appear once the figure is on screen. */
.hub {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
}

.hub svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hub text {
  font: 500 13px/1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  fill: var(--white);
}

.hub__orbit {
  fill: none;
  stroke: var(--line-dark-strong);
  stroke-dasharray: 2 6;
}

.hub__spokes line {
  stroke: var(--olive);
  stroke-opacity: 0.75;
  stroke-dasharray: 172;
  stroke-dashoffset: 172;
  transition: stroke-dashoffset 1.3s var(--ease);
}

.hub.is-in .hub__spokes line {
  stroke-dashoffset: 0;
}

.hub__spokes line:nth-child(2) { transition-delay: 0.08s; }
.hub__spokes line:nth-child(3) { transition-delay: 0.16s; }
.hub__spokes line:nth-child(4) { transition-delay: 0.24s; }
.hub__spokes line:nth-child(5) { transition-delay: 0.32s; }
.hub__spokes line:nth-child(6) { transition-delay: 0.4s; }

.hub__halo {
  fill: none;
  stroke: var(--olive);
  stroke-opacity: 0.35;
  transform-origin: 230px 230px;
  animation: halo 4.5s ease-in-out infinite;
}

@keyframes halo {
  0%, 100% { transform: scale(1); stroke-opacity: 0.35; }
  50% { transform: scale(1.06); stroke-opacity: 0.12; }
}

.hub__core-bg {
  fill: var(--charcoal-900);
  stroke: var(--olive);
  stroke-width: 1.5;
}

.hub__node {
  opacity: 0;
  transform: scale(0.7);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.6s ease, transform 0.9s var(--ease);
}

.hub.is-in .hub__node {
  opacity: 1;
  transform: none;
}

.hub__node:nth-of-type(2) { transition-delay: 0.5s; }
.hub__node:nth-of-type(3) { transition-delay: 0.6s; }
.hub__node:nth-of-type(4) { transition-delay: 0.7s; }
.hub__node:nth-of-type(5) { transition-delay: 0.8s; }
.hub__node:nth-of-type(6) { transition-delay: 0.9s; }
.hub__node:nth-of-type(7) { transition-delay: 1s; }

.hub__node circle {
  fill: var(--charcoal-900);
  stroke: var(--olive);
  stroke-width: 1.25;
  transition: fill 0.25s ease;
}

.hub__node text {
  transition: fill 0.25s ease;
}

.hub text.hub__num {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  fill: var(--olive-bright);
}

.hub__node:hover circle,
.hub__node:focus-visible circle {
  fill: var(--olive);
}

.hub__node:hover text,
.hub__node:focus-visible text {
  fill: var(--charcoal-900);
}

.hub__node:focus-visible {
  outline: none;
}

.hub__node:focus-visible circle {
  stroke-width: 3;
}

.hub__caption {
  margin-top: 22px;
  text-align: center;
  font: 500 0.7rem/1.6 var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Proof band */
.proof {
  padding-block: clamp(56px, 7vw, 96px);
}

.proof .split {
  align-items: center;
}

.proof__statement {
  max-width: 26ch;
  font: 300 clamp(1.6rem, 2.7vw, 2.3rem) / 1.25 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.proof__statement strong {
  font-weight: 600;
  color: var(--olive);
}

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

.proof__stats li {
  padding: 26px 16px 0 0;
}

.proof__stats li + li {
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--line-dark-strong);
}

.proof__value {
  display: block;
  font: 600 clamp(1.9rem, 3.4vw, 3rem) / 1 var(--font-display);
  color: var(--olive);
  font-variant-numeric: tabular-nums;
}

.proof__label {
  display: block;
  margin-top: 12px;
  font: 500 0.66rem/1.5 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Capital categories: name and tags, what it is, who it suits */
.source-rows {
  border-top: 2px solid var(--charcoal-800);
}

.source-row {
  display: grid;
  gap: 22px;
  padding-block: clamp(36px, 4.5vw, 60px);
  border-bottom: 1px solid var(--line-strong);
}

.source-row__num {
  font: 600 2.4rem/1 var(--font-display);
  color: var(--olive);
  opacity: 0.55;
}

.source-row__name {
  margin-top: 14px;
  font: 600 clamp(1.5rem, 2.2vw, 1.9rem) / 1.08 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.source-row .tags {
  margin-top: 18px;
}

.source-row__text {
  max-width: 64ch;
  color: var(--ink-2);
}

.fit dt {
  font: 500 0.66rem/1.4 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.fit dd {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.fit dd + dt {
  margin-top: 20px;
}

.fit dd.fit__size {
  font: 600 1.5rem/1.1 var(--font-display);
  color: var(--olive-deep);
}

.source-row__aside .example {
  margin-top: 24px;
}

@media (min-width: 1000px) {
  .source-row {
    grid-template-columns: 4fr 5fr 4fr;
    gap: clamp(32px, 4vw, 64px);
  }
}

.example--stack {
  grid-template-columns: 1fr auto;
}

.example--stack .example__amount {
  grid-column: 1 / -1;
  min-width: 0;
}

/* Why it works: four steps joined by arrows */
.chain {
  display: grid;
  gap: 36px;
}

.chain__step {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--bone);
  border: 1px solid var(--line);
  border-top: 3px solid var(--charcoal-800);
}

.chain__step:not(:last-child)::after {
  content: "\2193";
  position: absolute;
  left: 50%;
  bottom: -31px;
  transform: translateX(-50%);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--olive-deep);
}

.chain__label {
  font: 500 0.66rem/1.4 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.chain__name {
  margin-top: 14px;
  font: 500 1.25rem/1.2 var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.chain__text {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.chain__step--result {
  background: var(--olive);
  border-color: var(--olive);
  border-top-color: var(--charcoal-800);
}

.chain__step--result .chain__label {
  color: var(--charcoal-900);
}

.chain__step--result .chain__name {
  color: var(--charcoal-900);
}

.chain__step--result .chain__text {
  color: rgba(27, 27, 26, 0.78);
}

@media (min-width: 1000px) {
  .chain {
    grid-template-columns: repeat(4, 1fr);
    gap: 44px;
  }

  .chain__step:not(:last-child)::after {
    content: "\2192";
    left: auto;
    right: -32px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* 14. Loan Examples sections
   ========================================================================== */
.deal-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  min-height: 44px;
  padding: 0 1.2em;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font: 500 0.76rem/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.deal-filter__btn span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.deal-filter__btn:hover {
  border-color: var(--olive);
  color: var(--olive-deep);
}

.deal-filter__btn[aria-pressed="true"] {
  background: var(--charcoal-800);
  border-color: var(--charcoal-800);
  color: var(--white);
}

.deal-filter__btn[aria-pressed="true"] span {
  color: var(--olive-bright);
}

.no-js .deal-filter {
  display: none;
}

/* Cards re-enter when the filter changes. */
.deal-card.is-entering {
  animation: fade-up 0.7s var(--ease) both;
}

.deal-card--full .tags {
  margin-top: 18px;
}

.deal-card--full .deal-card__note {
  margin-top: 18px;
  margin-bottom: 26px;
}

.deal-card__cta {
  margin-top: auto;
}

.deal-card:target {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(140, 154, 52, 0.25), 0 32px 56px -40px rgba(20, 20, 20, 0.4);
}

/* Stand-in for a deal that has no photo yet */
.deal-card__media--plain {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: var(--charcoal-800);
  color: var(--white);
}

.deal-card__media--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from -84deg at 10% 112%, rgba(140, 154, 52, 0.22) 0deg 0.2deg, transparent 0.2deg 6deg);
  -webkit-mask-image: radial-gradient(ellipse 90% 120% at 10% 112%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 120% at 10% 112%, #000 20%, transparent 75%);
}

.deal-card__plain-title {
  position: relative;
  font: 600 clamp(2.2rem, 4vw, 3rem) / 1 var(--font-display);
  text-transform: uppercase;
  color: var(--olive);
}

.deal-card__plain-sub {
  position: relative;
  margin-top: 10px;
  font: 500 0.68rem/1.4 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* 15. Contact sections
   ========================================================================== */
.contact-layout {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
}

@media (min-width: 1000px) {
  .contact-layout {
    grid-template-columns: 7fr 4fr;
    gap: clamp(56px, 7vw, 112px);
    align-items: start;
  }
}

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

.form__row {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form__row--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.form__group {
  min-width: 0;
  margin: 0;
  padding: 26px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--olive);
}

.form__legend {
  float: left;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  font: 500 1.1rem/1.3 var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.form__legend + * {
  clear: both;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.field__label {
  font: 500 0.72rem/1.4 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.field__optional {
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.form__legend .field__optional {
  font: 400 0.68rem/1 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field__hint {
  font-size: 0.9rem;
  color: var(--ink-3);
}

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__input:hover {
  border-color: var(--ink-3);
}

.field__input:focus {
  outline: none;
  border-color: var(--olive-deep);
  box-shadow: 0 0 0 3px rgba(140, 154, 52, 0.25);
}

.field__input--area {
  min-height: 160px;
  resize: vertical;
}

.field__input--select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23667222' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.field__input[aria-invalid="true"] {
  border-color: var(--brick);
}

.field__error {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brick);
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.form__privacy {
  font-size: 0.9rem;
  color: var(--ink-3);
}

.form__failed {
  padding: 16px 18px;
  border: 1px solid var(--brick);
  border-left-width: 3px;
  font-size: 0.97rem;
  color: var(--ink);
}

.form__failed a,
.form-done a {
  font-weight: 600;
  color: var(--olive-deep);
}

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 18px;
  background: var(--olive-tint);
  border-left: 3px solid var(--olive);
  font-size: 0.97rem;
  color: var(--ink);
}

.notice__clear {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font: 500 0.74rem/1.6 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-deep);
  cursor: pointer;
}

.notice--preview {
  display: block;
  margin-bottom: 28px;
  background: #fff6dc;
  border-left-color: #b98900;
}

.form-done {
  padding: clamp(28px, 4vw, 48px);
  background: var(--bone);
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
}

.form-done:focus {
  outline: none;
}

.form-done__title {
  margin-top: 16px;
  font: 600 clamp(1.7rem, 2.8vw, 2.3rem) / 1.08 var(--font-display);
  text-transform: uppercase;
  color: var(--charcoal-800);
}

.form-done__text {
  margin-top: 14px;
  color: var(--ink-2);
}

/* Office card beside the form, with Woodward Avenue drawn as a rail from
   downtown Detroit up to the office. */
.office {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 40px);
  background: var(--charcoal-800);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.office .eyebrow {
  color: var(--olive-bright);
}

.office__title {
  margin-top: 16px;
  font: 600 2rem/1 var(--font-display);
  text-transform: uppercase;
}

.office__address {
  margin-block: 16px 22px;
  color: rgba(255, 255, 255, 0.78);
}

.office .text-link {
  color: var(--olive-bright);
}

.woodward {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.woodward__list {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 20px;
  padding-left: 28px;
}

.woodward__list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--olive), rgba(140, 154, 52, 0.2));
}

.woodward__list li {
  position: relative;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.66);
}

.woodward__list li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -28px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--olive);
  background: var(--charcoal-800);
}

.woodward__list li.is-here::before {
  background: var(--olive);
}

.woodward__list strong {
  display: block;
  font: 500 0.98rem/1.3 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.office__person {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.office__name {
  margin-top: 14px;
  font: 500 1.3rem/1.2 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.office__role {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

.office__lines {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.office__lines li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 8px;
}

.office__lines span {
  font: 500 0.66rem/1.4 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.office__lines a {
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  overflow-wrap: anywhere;
}

.office__lines a:hover {
  color: var(--olive-bright);
}

/* 16. Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js [data-reveal],
  .js [data-reveal-group] > *,
  .hero__line > span,
  .hub__node,
  .page-hero__media img {
    opacity: 1 !important;
    transform: none !important;
  }

  .hub__spokes line {
    stroke-dashoffset: 0;
  }

  .js .timeline::before {
    transform: none;
  }

  .ticker {
    overflow-x: auto;
  }

  .ticker__list[aria-hidden="true"] {
    display: none;
  }
}

/* Addenda
   ========================================================================== */

/* The spoke motif as its own layer, for sections whose ::before is taken. */
.spokes-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-conic-gradient(from -84deg at 14% 112%, rgba(140, 154, 52, 0.18) 0deg 0.14deg, transparent 0.14deg 5.6deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 110% at 14% 112%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 110% at 14% 112%, #000 20%, transparent 72%);
}

.page-hero .spokes-layer {
  z-index: 0;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

/* A blurred header would become the containing block of the fixed phone
   menu and clip it, so the blur is dropped while the menu is open. */
.site-header.is-open {
  background: var(--charcoal-900);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (max-width: 479px) {
  .hero .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }
}
