:root {
  --ink: #2b2b2b;
  --muted: #6b665f;
  --paper: #f5f2ec;
  --soft: #ebe6dc;
  --line: #d8d2c8;
  --accent: #a38857;
  --white: #ffffff;
  --max: 1180px;
  --font-primary: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-secondary: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-secondary);
  line-height: 1.65;
}

.coming-soon-page {
  background: var(--paper);
}

.coming-soon {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: clamp(28px, 6vw, 80px);
}

.coming-soon-inner {
  width: min(720px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.coming-soon-logo {
  width: min(300px, 54vw);
  height: auto;
  margin-bottom: clamp(58px, 7vh, 84px);
}

.coming-soon h1 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.coming-soon-contact {
  display: grid;
  gap: 14px;
  margin-top: clamp(48px, 6vh, 70px);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.12em;
}

.coming-soon-contact a {
  border-bottom: 1px solid currentColor;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 96px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(14px);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.brand img,
.site-footer img {
  display: block;
  width: 430px;
  height: auto;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  margin: -58px 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before,
.menu-toggle i::after {
  position: absolute;
  left: 0;
}

.menu-toggle i::before {
  top: -7px;
}

.menu-toggle i::after {
  top: 7px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a {
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  border-color: var(--ink);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) clamp(20px, 4vw, 56px);
}

.hero h1,
.subpage-hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(36px, 5.85vw, 76px);
  line-height: 1.04;
  font-weight: 400;
}

.hero-title-frame {
  overflow: hidden;
  padding: 0.04em 0.02em 0.14em;
}

.hero h1 {
  font-size: clamp(30px, 3.65vw, 48px);
  min-height: 2.08em;
  text-transform: uppercase;
  transition: opacity 320ms ease, transform 320ms ease;
}

.hero h1.is-changing {
  opacity: 0;
  transform: translateY(-0.32em);
}

.section h2 {
  font-size: clamp(30px, 4vw, 56px);
}

.subpage-hero {
  padding-top: clamp(64px, 8vw, 108px);
  padding-bottom: clamp(54px, 7vw, 92px);
}

.subpage-hero h1 {
  max-width: 960px;
  font-family: var(--font-primary);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 400;
  text-transform: uppercase;
}

.subpage-hero > p:not(.eyebrow) {
  max-width: 900px;
  margin: 26px 0 0;
  font-size: 18px;
}

.subpage-service-grid {
  margin-top: clamp(44px, 6vw, 74px);
}

.page-text-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(64px, 8vw, 98px);
  padding-bottom: clamp(64px, 8vw, 98px);
}

.page-text-section .statement,
.page-text-section .section-button {
  grid-column: 2;
}

.page-text-section .section-button {
  justify-self: start;
}

.page-text {
  max-width: 900px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
}

.default-page-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 56px);
}

.default-page-content h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 400;
}

.page-content {
  max-width: 900px;
  margin-top: clamp(42px, 6vw, 76px);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin: 36px 0 14px;
  font-family: var(--font-secondary);
  font-size: 18px;
  line-height: 1.3;
}

.page-content p,
.page-content ul,
.page-content ol {
  margin: 0 0 22px;
}

.page-content a {
  border-bottom: 1px solid currentColor;
}

.page-text p {
  margin: 0;
}

.page-text p + p {
  margin-top: 24px;
}

.italic-statement {
  font-style: italic;
}

.page-text-section .section-heading {
  margin-bottom: 0;
}

.page-text-section .section-heading h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.06;
}

.page-text-section .statement {
  max-width: 980px;
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(26px, 3.4vw, 46px);
}

.about-page-section {
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
}

.about-page-section .section-heading h2 {
  max-width: 430px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  max-width: 670px;
  margin: clamp(18px, 2.4vw, 30px) 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.section-button {
  margin-top: 28px;
}

.subcopy,
.statement {
  margin: 28px 0 0;
  font-family: var(--font-primary);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.22;
}

.statement.small {
  font-size: 20px;
}

.hero .subcopy,
.intro-section .statement {
  font-style: italic;
}

.portrait-frame,
.portrait-placeholder {
  min-height: 620px;
}

.portrait-frame {
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(17, 17, 15, 0.04), rgba(163, 136, 87, 0.08)),
    var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.portrait-placeholder.compact {
  min-height: 520px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.pale {
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 56px));
  padding-right: max(clamp(20px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 56px));
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.intro-section .section-heading {
  max-width: 100%;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.intro-section .section-heading h2 {
  max-width: 980px;
}

.section-heading p:last-child {
  margin-top: 18px;
  font-size: 18px;
}

.text-columns {
  columns: 2 330px;
  column-gap: clamp(36px, 7vw, 96px);
}

.text-columns p {
  break-inside: avoid;
  margin: 0 0 22px;
}

.service-grid,
.proof-grid,
.logo-grid,
.logo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card,
.proof-grid p,
.logo-grid span {
  min-height: 174px;
  margin: 0;
  padding: 24px;
  background: var(--paper);
}

.service-card {
  display: block;
  transition: background-color 220ms ease;
}

.service-card:hover {
  background: var(--soft);
}

.service-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.service-card p {
  margin: 0;
  font-style: italic;
}

.service-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: none;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-detail article {
  padding: clamp(32px, 5vw, 72px);
  background: var(--paper);
}

.service-detail h2 {
  font-size: clamp(24px, 3vw, 40px);
}

ul {
  margin: 26px 0 0;
  padding-left: 18px;
}

li + li {
  margin-top: 8px;
}

.team-layout,
.split-section,
.contact-section {
  display: block;
}

.contact-content {
  max-width: 100%;
}

.team-layout h3 {
  margin: 36px 0 0;
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
}

.logo-grid span {
  display: grid;
  place-items: center;
  min-height: 128px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 76px);
}

.logo-strip-cell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(124px, 12vw, 178px);
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  overflow: hidden;
}

.logo-strip-cell::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 220ms ease;
}

.logo-strip-cell:hover::after {
  border-color: rgba(163, 136, 87, 0.36);
}

.logo-strip-cell img {
  display: block;
  max-width: min(180px, 78%);
  max-height: 62px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 220ms ease, filter 220ms ease;
}

.logo-strip-cell:hover img {
  opacity: 1;
}

.logo-strip-cell span,
.logo-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-toggle {
  display: none;
  width: max-content;
  margin: 28px auto 0;
}

.trusted-line {
  text-align: center;
  margin-top: clamp(72px, 8vw, 112px);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.founder-image {
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
}

.founder-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.founder-layout > div:last-child > p {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  max-width: 1040px;
}

.team-profile-image {
  min-height: 0;
  height: min(58vw, 480px);
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
}

.team-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-profile-content h2 {
  margin: 0 0 clamp(34px, 5vw, 64px);
  font-family: var(--font-primary);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 400;
}

.team-copy-block,
.team-detail-copy,
.team-roster-copy {
  max-width: 900px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
}

.team-copy-block p,
.team-detail-copy p,
.team-roster-copy p {
  margin: 0;
}

.team-copy-block p + p,
.team-detail-copy p + p,
.team-roster-copy p + p {
  margin-top: 22px;
}

.read-more-content {
  margin-top: 22px;
}

.read-more-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-detail-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.team-detail-copy ul {
  margin: 20px 0 24px;
  padding-left: 20px;
}

.team-detail-copy a {
  border-bottom: 1px solid currentColor;
}

.team-detail-copy a.phone-link {
  border-bottom: 0;
  word-spacing: -0.12em;
}

.team-roster-copy {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.team-area-grid .service-card {
  min-height: 150px;
}

.team-area-grid .service-card h3 {
  margin-top: 32px;
  font-size: 22px;
}

.advisory-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.86fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.advisory-heading {
  position: sticky;
  top: 94px;
}

.advisory-heading .eyebrow {
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.18;
}

.advisory-heading h2 {
  max-width: 340px;
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1.06;
  font-weight: 400;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.advisory-content {
  max-width: 780px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.58;
}

.advisory-content p {
  margin: 0;
}

.advisory-content p + p {
  margin-top: 22px;
}

.advisory-content h3 {
  margin: clamp(36px, 5vw, 58px) 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.advisory-content ul {
  margin: 0;
  padding-left: 20px;
}

.recommendations-hero h1 {
  max-width: 820px;
}

.recommendations-intro {
  padding-top: clamp(54px, 7vw, 92px);
}

.recommendations-copy {
  max-width: 1020px;
  margin: 0 auto;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.5;
}

.recommendations-copy p {
  margin: 0;
}

.recommendations-copy p + p {
  margin-top: 26px;
}

.testimonials-carousel {
  position: relative;
  max-width: 1020px;
  min-height: 260px;
  margin: clamp(54px, 7vw, 92px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial-slide {
  display: none;
  padding: clamp(34px, 5vw, 62px) 0;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide blockquote {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(21px, 2.35vw, 34px);
  line-height: 1.34;
  font-weight: 400;
}

.testimonial-slide p {
  margin: 28px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonial-controls {
  position: absolute;
  right: 0;
  bottom: clamp(34px, 5vw, 62px);
  display: flex;
  gap: 10px;
}

.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
}

.recommendations-logos-section {
  padding-top: clamp(76px, 9vw, 128px);
}

.recommendations-logos-heading {
  display: block;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.recommendations-logos-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.02;
  text-transform: uppercase;
}

.join-hero h1 {
  max-width: 980px;
}

.join-apply {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.join-apply h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
}

.join-apply-copy {
  max-width: 840px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.58;
}

.join-apply-copy p {
  margin: 0;
}

.join-apply-copy a:not(.button) {
  border-bottom: 1px solid currentColor;
}

.join-apply-copy .button {
  margin-top: 32px;
}

.recommendations-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.recommendations-logo-cell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(124px, 12vw, 178px);
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  overflow: hidden;
}

.recommendations-logo-cell::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 220ms ease;
}

.recommendations-logo-cell:hover::after {
  border-color: rgba(163, 136, 87, 0.36);
}

.recommendations-logo-cell img {
  display: block;
  max-width: min(180px, 78%);
  max-height: 62px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 220ms ease, filter 220ms ease;
}

.recommendations-logo-cell:hover img {
  opacity: 1;
}

.recommendations-logo-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

address {
  font-style: normal;
  font-size: 18px;
}

address a {
  border-bottom: 1px solid var(--ink);
}

.contact-content h2 {
  margin-bottom: 34px;
  max-width: 920px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.form-message {
  max-width: 760px;
  margin: 34px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.form-message.success {
  background: var(--soft);
}

.form-message.error {
  background: #fff8f5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 16px;
}

.contact-form .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.consent-field a {
  border-bottom: 1px solid var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer-main a {
  border-bottom: 1px solid transparent;
}

.site-footer-main a:hover,
.site-footer-credit a:hover {
  border-color: currentColor;
}

.site-footer-credit {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 8;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: rgba(245, 242, 236, 0.92);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero h1,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .advisory-section,
  .about-page-section {
    grid-template-columns: 1fr;
  }

  .advisory-heading {
    position: static;
  }

  .advisory-heading h2 {
    max-width: 780px;
  }

  .about-page-section .section-heading h2 {
    max-width: 780px;
  }
}

@media (max-width: 860px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    grid-template-columns: auto auto;
    height: auto;
    min-height: 64px;
    align-items: center;
    padding: 8px 22px;
    gap: 16px;
    z-index: 30;
  }

  .brand img {
    width: 260px;
    margin: -32px 0;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    position: relative;
    z-index: 32;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 29;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(86vw, 380px);
    height: 100vh;
    padding: 112px 28px 36px;
    border-left: 1px solid var(--line);
    background: rgba(245, 242, 236, 0.98);
    box-shadow: -18px 0 42px rgba(43, 43, 43, 0.08);
    gap: 22px;
    font-size: 15px;
    line-height: 1.2;
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(0.19, 1, 0.22, 1);
  }

  .site-header.is-open .main-nav {
    transform: translateX(0);
  }

  .site-header.is-open .menu-toggle i {
    background: transparent;
  }

  .site-header.is-open .menu-toggle i::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-header.is-open .menu-toggle i::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hero,
  .founder-layout,
  .page-text-section,
  .team-profile,
  .team-detail-section,
  .recommendations-logos-heading,
  .join-apply,
  .advisory-section,
  .team-layout,
  .split-section,
  .contact-section,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .portrait-frame,
  .founder-image,
  .portrait-placeholder,
  .portrait-placeholder.compact {
    min-height: 420px;
  }

  .portrait-frame img,
  .founder-image img {
    min-height: 420px;
  }

  .service-grid,
  .proof-grid,
  .logo-grid,
  .logo-strip,
  .recommendations-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .proof-grid,
  .logo-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .proof-grid p {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
  }

  .logo-strip.is-collapsed .logo-strip-cell:nth-child(n + 4),
  .recommendations-logo-wall.is-collapsed .recommendations-logo-cell:nth-child(n + 4) {
    display: none;
  }

  .logo-toggle {
    display: flex;
  }

  .recommendations-copy {
    margin-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-text-section .statement,
  .page-text-section .section-button {
    grid-column: auto;
  }

  .team-profile-image {
    position: static;
    width: min(100%, 360px);
    height: 480px;
  }

  .team-profile-image img {
    min-height: 0;
  }

  .team-detail-section .eyebrow,
  .team-copy-block .eyebrow {
    margin-bottom: 8px;
  }

  .site-footer {
    padding: 30px 22px;
  }

  .site-footer-main {
    align-items: center;
  }

  .site-footer img {
    width: 260px;
  }

}

@media (max-width: 520px) {
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .portrait-frame,
  .founder-image,
  .portrait-placeholder,
  .portrait-placeholder.compact {
    min-height: 340px;
  }

  .team-profile-image {
    width: 100%;
    height: 420px;
  }

  .portrait-frame img,
  .founder-image img {
    min-height: 340px;
  }

  .recommendations-logo-wall {
    grid-template-columns: 1fr;
  }

  .site-footer-main {
    gap: 18px;
  }
}
