:root {
  --firm-navy: #061b38;
  --firm-navy-2: #082747;
  --firm-blue: #0b5cff;
  --firm-gold: #c9972b;
  --firm-ink: #071d3b;
  --firm-muted: #455b72;
  --firm-soft: #f1f6fb;
  --firm-line: rgba(7, 29, 59, .15);
}

body { background: #fff; }
.firm-page { color: var(--firm-ink); overflow: hidden; }
.firm-page .container { max-width: 1220px; }
.firm-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.firm-kicker {
  margin: 0 0 17px;
  color: var(--firm-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.firm-rule {
  display: block;
  width: 62px;
  height: 2px;
  margin: 24px 0 28px;
  background: var(--firm-gold);
}
.firm-section-head {
  max-width: 880px;
  margin: 0 auto 52px;
  text-align: center;
}
.firm-section-head h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 60px);
}
.firm-section-head > p:not(.firm-kicker) {
  margin: 20px auto 0;
  color: var(--firm-muted);
  font-size: 17px;
  line-height: 1.72;
}
.firm-section-head .firm-rule { margin: 23px auto 0; }

.firm-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(570px, 48vw, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--firm-navy);
}
.firm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/about/our-firm/treasure-island-sf-hero.webp") center / cover no-repeat;
}
.firm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 21, 44, .98) 0%, rgba(4, 21, 44, .9) 28%, rgba(4, 21, 44, .48) 52%, rgba(4, 21, 44, .04) 77%),
    linear-gradient(0deg, rgba(4, 21, 44, .42), transparent 44%);
}
.firm-hero .container {
  width: 100%;
  padding-top: 90px;
  padding-bottom: 100px;
}
.firm-breadcrumb {
  margin-bottom: 36px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}
.firm-hero-copy { max-width: 820px; }
.firm-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 4.35vw, 64px);
  text-shadow: 0 4px 22px rgba(0, 0, 0, .25);
}
.firm-hero h1 span { display: block; }
.firm-hero p {
  max-width: 665px;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.68;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}

.firm-who {
  padding: 104px 0;
  background: #fff;
}
.firm-who-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 68px;
  align-items: center;
}
.firm-single-copy {
  grid-template-columns: 1fr;
}
.firm-single-copy > article {
  width: min(920px, 100%);
  margin: 0 auto;
}
.firm-copy h2 {
  margin: 0;
  font-size: clamp(38px, 3.6vw, 52px);
}
.firm-copy p:not(.firm-kicker) {
  margin: 0 0 18px;
  color: #334a61;
  font-size: 16px;
  line-height: 1.78;
}
.firm-platform-map {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 44px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 105, 161, .55), transparent 28%),
    linear-gradient(145deg, #082b52, #04152c);
  box-shadow: 0 28px 78px rgba(7, 29, 59, .18);
}
.firm-platform-map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .46;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.firm-map-core {
  position: relative;
  z-index: 2;
  width: 174px;
  height: 174px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .84);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 25%, #195185, #061b38 68%);
  box-shadow: 0 0 0 11px rgba(255, 255, 255, .05), 0 22px 55px rgba(0, 0, 0, .32);
}
.firm-map-core img { width: 88px; height: 88px; object-fit: contain; }
.firm-map-core strong {
  position: absolute;
  top: 116px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.firm-map-node {
  position: absolute;
  z-index: 2;
  width: 152px;
  padding: 17px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  text-align: center;
  backdrop-filter: blur(6px);
}
.firm-map-node svg {
  width: 31px;
  height: 31px;
  margin-bottom: 9px;
  color: var(--firm-gold);
}
.firm-map-node strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.firm-map-node.one { top: 39px; left: 46px; }
.firm-map-node.two { top: 39px; right: 46px; }
.firm-map-node.three { bottom: 39px; left: 46px; }
.firm-map-node.four { right: 46px; bottom: 39px; }
.firm-map-line {
  position: absolute;
  z-index: 1;
  width: 142px;
  border-top: 1px dashed rgba(255, 255, 255, .52);
  transform-origin: center;
}
.firm-map-line.one { top: 165px; left: 142px; transform: rotate(34deg); }
.firm-map-line.two { top: 165px; right: 142px; transform: rotate(-34deg); }
.firm-map-line.three { bottom: 165px; left: 142px; transform: rotate(-34deg); }
.firm-map-line.four { right: 142px; bottom: 165px; transform: rotate(34deg); }

.firm-exist {
  padding: 100px 0 106px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(46, 105, 161, .09), transparent 35%),
    var(--firm-soft);
}
.firm-exist-copy {
  max-width: 900px;
  margin: auto;
}
.firm-exist-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 64px);
}
.firm-exist-copy p:not(.firm-kicker) {
  margin: 20px auto 0;
  color: #334a61;
  font-size: 18px;
  line-height: 1.78;
}
.firm-principles {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 54px auto 0;
}
.firm-principle {
  padding: 8px 35px;
  border-left: 1px solid var(--firm-line);
}
.firm-principle:first-child { border-left: 0; }
.firm-principle strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}
.firm-principle span {
  color: var(--firm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.firm-lifecycle {
  padding: 100px 0 108px;
  background: #fff;
}
.firm-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.firm-feature {
  padding: 10px 30px 8px;
  border-left: 1px solid var(--firm-line);
  text-align: center;
}
.firm-feature:first-child { border-left: 0; }
.firm-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  border: 1px solid rgba(7, 29, 59, .22);
  border-radius: 50%;
  color: var(--firm-gold);
  background: linear-gradient(145deg, #fff, #edf3f9);
  box-shadow: 0 18px 44px rgba(7, 29, 59, .08);
}
.firm-icon svg { width: 47px; height: 47px; }
.firm-feature h3 {
  min-height: 38px;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.firm-mini-rule {
  display: block;
  width: 45px;
  height: 2px;
  margin: 16px auto 19px;
  background: var(--firm-gold);
}
.firm-feature p {
  margin: 0;
  color: var(--firm-muted);
  font-size: 14px;
  line-height: 1.68;
}

.firm-assets {
  padding: 101px 0 108px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(39, 92, 143, .46), transparent 28%),
    linear-gradient(135deg, #061b38, #082747 58%, #04152c);
}
.firm-assets .firm-section-head h2 { color: #fff; }
.firm-assets .firm-section-head > p:not(.firm-kicker) { color: rgba(255, 255, 255, .72); }
.firm-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.firm-asset {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
}
.firm-asset svg {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--firm-gold);
}
.firm-asset strong {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: .02em;
}

.firm-shift {
  padding: 106px 0;
  background: #fff;
}
.firm-shift-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 76px;
  align-items: center;
}
.firm-shift-grid.firm-single-copy {
  grid-template-columns: 1fr;
}
.firm-shift-copy h2 {
  margin: 0;
  font-size: clamp(41px, 4.3vw, 62px);
}
.firm-shift-copy p:not(.firm-kicker) {
  margin: 0 0 18px;
  color: #334a61;
  font-size: 17px;
  line-height: 1.76;
}
.firm-shift-visual {
  position: relative;
  min-height: 480px;
  padding: 42px;
  border: 1px solid var(--firm-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #f8fbfe, #eaf1f8);
  box-shadow: 0 22px 60px rgba(7, 29, 59, .08);
}
.firm-chart-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--firm-line);
}
.firm-chart-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}
.firm-chart-title span {
  color: var(--firm-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
.firm-chart {
  height: 245px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 0 5px 23px;
  border-bottom: 1px solid rgba(7, 29, 59, .25);
  background-image: linear-gradient(rgba(7, 29, 59, .07) 1px, transparent 1px);
  background-size: 100% 49px;
}
.firm-bar {
  position: relative;
  flex: 1;
  min-width: 26px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #174d7f, #082747);
}
.firm-bar.alt { background: linear-gradient(180deg, #d6ad55, #a97b1f); }
.firm-bar:nth-child(1) { height: 34%; }
.firm-bar:nth-child(2) { height: 42%; }
.firm-bar:nth-child(3) { height: 47%; }
.firm-bar:nth-child(4) { height: 55%; }
.firm-bar:nth-child(5) { height: 63%; }
.firm-bar:nth-child(6) { height: 72%; }
.firm-bar:nth-child(7) { height: 80%; }
.firm-bar:nth-child(8) { height: 91%; }
.firm-chart-legend {
  display: flex;
  gap: 24px;
  margin-top: 22px;
  color: var(--firm-muted);
  font-size: 12px;
  font-weight: 800;
}
.firm-chart-legend span { display: flex; align-items: center; gap: 8px; }
.firm-chart-legend i {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--firm-navy-2);
}
.firm-chart-legend .alt i { background: var(--firm-gold); }
.firm-shift-note {
  margin-top: 22px;
  color: var(--firm-muted);
  font-size: 12px;
  line-height: 1.6;
}

.firm-advisors {
  padding: 102px 0 108px;
  background: var(--firm-soft);
}
.firm-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.firm-benefit {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--firm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 29, 59, .055);
}
.firm-benefit .firm-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 23px;
}
.firm-benefit .firm-icon svg { width: 35px; height: 35px; }
.firm-benefit h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}
.firm-benefit p {
  margin: 0;
  color: var(--firm-muted);
  font-size: 14px;
  line-height: 1.68;
}

.firm-cta-section {
  padding: 42px 0;
  background: #fff;
}
.firm-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 44px;
  align-items: center;
  padding: 42px 46px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0, rgba(35, 98, 158, .42), transparent 35%),
    linear-gradient(135deg, #061b38, #082747);
  box-shadow: 0 20px 58px rgba(7, 29, 59, .13);
}
.firm-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 3vw, 42px);
}
.firm-cta p {
  max-width: 760px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.68;
}
.firm-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.firm-cta-actions .btn { min-width: 158px; }
.firm-cta-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .72) !important;
  background: transparent !important;
}

@media (max-width: 1040px) {
  .firm-who-grid,
  .firm-shift-grid { grid-template-columns: 1fr; }
  .firm-platform-map { max-width: 760px; width: 100%; margin: auto; }
  .firm-feature-grid { grid-template-columns: 1fr 1fr; }
  .firm-feature { border-top: 1px solid var(--firm-line); border-left: 0; padding: 34px; }
  .firm-feature:nth-child(-n+2) { border-top: 0; }
  .firm-asset-grid { grid-template-columns: repeat(3, 1fr); }
  .firm-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .firm-cta { grid-template-columns: 1fr; }
  .firm-cta-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .firm-hero { min-height: auto; }
  .firm-hero::before { background-position: 66% center; }
  .firm-hero::after {
    background: linear-gradient(90deg, rgba(4, 21, 44, .96), rgba(4, 21, 44, .74));
  }
  .firm-hero .container { padding-top: 66px; padding-bottom: 76px; }
  .firm-breadcrumb { margin-bottom: 26px; }
  .firm-hero h1 { font-size: 46px; }
  .firm-who,
  .firm-exist,
  .firm-lifecycle,
  .firm-assets,
  .firm-shift,
  .firm-advisors { padding: 72px 0; }
  .firm-who-grid,
  .firm-shift-grid { gap: 40px; }
  .firm-section-head { margin-bottom: 38px; text-align: left; }
  .firm-section-head .firm-rule { margin-left: 0; }
  .firm-platform-map { min-height: 630px; padding: 24px; }
  .firm-map-node { width: 132px; }
  .firm-map-node.one { top: 30px; left: 22px; }
  .firm-map-node.two { top: 30px; right: 22px; }
  .firm-map-node.three { bottom: 30px; left: 22px; }
  .firm-map-node.four { right: 22px; bottom: 30px; }
  .firm-map-line { display: none; }
  .firm-principles { grid-template-columns: 1fr; }
  .firm-principle { padding: 25px 10px; border-top: 1px solid var(--firm-line); border-left: 0; }
  .firm-principle:first-child { border-top: 0; }
  .firm-feature-grid,
  .firm-benefit-grid { grid-template-columns: 1fr; }
  .firm-feature:nth-child(2) { border-top: 1px solid var(--firm-line); }
  .firm-asset-grid { grid-template-columns: 1fr 1fr; }
  .firm-asset { min-height: 150px; }
  .firm-shift-visual { min-height: auto; padding: 28px 22px; }
  .firm-chart { gap: 9px; }
  .firm-chart-title { display: block; }
  .firm-chart-title span { display: block; margin-top: 8px; text-align: left; }
  .firm-cta { padding: 32px 24px; }
  .firm-cta-actions { display: grid; }
  .firm-cta-actions .btn { width: 100%; }
}

@media (max-width: 430px) {
  .firm-hero h1 { font-size: 40px; }
  .firm-platform-map { min-height: 650px; }
  .firm-map-core { width: 148px; height: 148px; }
  .firm-map-core img { width: 74px; height: 74px; }
  .firm-map-core strong { top: 101px; font-size: 10px; }
  .firm-map-node { width: 122px; padding: 14px 10px; }
  .firm-asset { min-height: 138px; padding: 22px 10px; }
}
