:root {
  --bg: #f3f1ec;
  --paper: #fbfaf7;
  --ink: #111;
  --muted: #6b6862;
  --line: #d9d5cc;
  --accent: #ff4d1a
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

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

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px
}

h1,
h2,
h3,
.logo {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
  line-height: .98;
  font-weight: 600
}

h1 {
  font-size: clamp(3rem, 8.5vw, 7.4rem)
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-bottom: 22px
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  line-height: 1.15
}

.hl {
  color: var(--muted)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: 0;
  font-weight: 500;
  font-size: .95rem;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: .2s
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.btn-sm {
  padding: 10px 18px;
  font-size: .88rem
}

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

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg)
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  margin-top: 28px
}

.full {
  width: 100%;
  justify-content: center
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: .2s
}

.nav.scrolled {
  border-color: var(--line)
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px
}

.logo {
  font-size: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 8px
}

.logo small {
  font-family: Inter;
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--muted);
  font-weight: 500
}

.links {
  position: relative;
  display: flex;
  gap: 26px
}

.links::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: var(--indicator-width, 0px);
  height: 2px;
  background: var(--accent);
  pointer-events: none;
  transform: translateX(var(--indicator-offset, 0px));
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), width .28s cubic-bezier(.22, 1, .36, 1)
}

.links a {
  font-size: .9rem;
  color: var(--muted)
}

.links a.btn {
  color: var(--bg)
}

.links a.btn:hover {
  color: #fff
}

.links a:not(.btn) {
  transition: color .18s ease
}

.links a:not(.btn):hover,
.links a[aria-current="location"] {
  color: var(--ink)
}

.menu {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  align-items: center
}

.menu span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: .25s
}

.menu[aria-expanded=true] span:first-child {
  transform: translateY(4.5px) rotate(45deg)
}

.menu[aria-expanded=true] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg)
}

.mobile-only {
  display: none
}

.hero {
  padding: 170px 0 0;
  position: relative;
  overflow: hidden
}

.hero .wrap {
  position: relative;
  z-index: 1
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.hero-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
  mask-image: linear-gradient(to right, transparent 18%, var(--ink) 78%);
  -webkit-mask-image: linear-gradient(to right, transparent 18%, var(--ink) 78%)
}

.pill {
  display: inline-block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 34px
}

.pill i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  margin-right: 10px
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 620px;
  margin: 40px 0 40px
}

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

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 110px;
  border-top: 1px solid var(--ink)
}

.facts div {
  padding: 22px 0;
  font-size: .9rem;
  font-weight: 500
}

.facts div+div {
  padding-left: 22px;
  border-left: 1px solid var(--line)
}

.sec {
  padding: 120px 0;
  border-top: 1px solid var(--line)
}

.alt {
  background: var(--paper)
}

.tag {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px
}

.tag::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent)
}

.tag.light {
  color: #aaa
}

.sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 14px
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 40px
}

.head .tag {
  margin-bottom: 0
}

.head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  text-wrap: balance
}

.head .sub {
  max-width: none;
  margin-bottom: 0
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start
}

.prose p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.05rem
}

.prose .big {
  color: var(--ink);
  font-family: "Space Grotesk";
  font-size: 1.7rem;
  line-height: 1.3;
  letter-spacing: -.02em
}

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

.card {
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
}

.card-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  padding: 8px;
  background: #ffe9e0;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.1vw, 1.65rem)
}

.card p,
.svc p,
.person p {
  color: var(--muted)
}

.num {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  display: block
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink)
}

.svc {
  padding: 48px
}

.svc h3 {
  font-size: 2.1rem;
  margin-top: 24px
}

.svc.dark {
  background: var(--ink);
  color: var(--bg)
}

.svc.dark p {
  color: #a9a6a0
}

@media (width > 980px) {
  #services .head h2 {
    font-size: clamp(2.2rem, 4.25vw, 3.5rem)
  }

  .services {
    grid-template-rows: repeat(3, auto)
  }

  .svc {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-items: start
  }
}

.center {
  margin-top: 40px
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.person {
  border-top: 1px solid var(--ink);
  padding-top: 22px
}

.photo {
  aspect-ratio: 4/5;
  background: var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 22px;
  padding: 12px;
  filter: grayscale(1)
}

.photo.net {
  background: var(--ink);
  grid-template-columns: repeat(2, 44px);
  gap: 12px;
  place-content: center
}

.photo.net span {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--bg);
  border-radius: 50%
}

.photo.net span:first-child {
  background: var(--accent);
  border-color: var(--accent)
}

.role {
  color: var(--ink) !important;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: .9rem
}

.advisor-list,
.office-list {
  display: grid;
  gap: 24px
}

.advisor-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  margin-top: 32px
}

.advisor {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper)
}

.advisor img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--line)
}

.advisor-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px
}

.advisor-bio {
  color: var(--muted);
  margin-bottom: 18px
}

.advisor-link,
.contact-office-link,
.team-link {
  text-decoration: underline;
  text-underline-offset: .2em
}

.advisor-link {
  margin-top: auto;
  font-size: .9rem;
  font-weight: 500
}

.band {
  background: var(--ink);
  color: var(--bg);
  padding: 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center
}

.band p {
  color: #b5b2ac;
  margin-bottom: 12px
}

.checks {
  list-style: none;
  counter-reset: c
}

.checks li {
  counter-increment: c;
  padding: 22px 0;
  border-bottom: 1px solid #333;
  font-size: 1.1rem;
  display: flex;
  gap: 20px
}

.checks li::before {
  content: "0" counter(c);
  color: var(--accent);
  font-family: "Space Grotesk";
  font-size: .85rem;
  padding-top: 4px
}

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

.office {
  padding-top: 22px;
  border-top: 1px solid var(--ink)
}

.office-address {
  font-style: normal;
  color: var(--muted)
}

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

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

label {
  display: grid;
  gap: 4px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted)
}

input,
select,
textarea {
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  padding: 12px 0;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  border-radius: 0;
  resize: vertical;
  transition: border-color .2s
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--ink)
}

input.err {
  border-color: var(--accent)
}

.status {
  font-size: .92rem;
  min-height: 1em
}

.status.ok {
  color: #0d7a46;
  font-weight: 500;
}

.status.bad {
  color: var(--accent)
}

.note {
  font-size: .78rem;
  color: var(--muted)
}

.foot {
  background: var(--ink);
  color: #a9a6a0;
  padding: 34px 0;
  font-size: .85rem
}

.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 24px
}

.foot-links {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: subgrid;
  align-items: center
}

.foot-links a:last-child {
  justify-self: end
}

@media (620px < width <= 1360px) {
  .foot-links a:last-child {
    margin-right: 56px
  }
}

/* .foot-link,
.privacy-copy a {
  text-decoration: underline;
  text-underline-offset: .2em
} */

.foot-link:hover {
  color: var(--paper)
}

.privacy-page {
  background: var(--paper)
}

.privacy-title {
  padding: clamp(112px, 12vw, 160px) 0 clamp(36px, 6vw, 72px);
  background: var(--bg);
  border-bottom: 1px solid var(--line)
}

.privacy-title h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  margin-bottom: 18px
}

.privacy-version {
  color: var(--muted);
  font-size: .85rem
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: 48px;
  padding-bottom: clamp(48px, 8vw, 96px)
}

.privacy-contents {
  --scrollbar-thumb: #8c887f;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--line)
}

.privacy-contents::-webkit-scrollbar {
  width: 10px;
  background: transparent
}

.privacy-contents::-webkit-scrollbar-button {
  display: none
}

.privacy-contents::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 8px
}

.privacy-contents::-webkit-scrollbar-thumb:hover {
  background-color: var(--muted)
}

@supports not selector(::-webkit-scrollbar) {
  .privacy-contents {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) transparent
  }
}

.privacy-contents h2 {
  font-size: 1.15rem;
  margin-bottom: 12px
}

.privacy-contents summary {
  display: none
}

.privacy-contents ol {
  padding-left: 1.35rem;
  font-size: .875rem
}

.privacy-contents li {
  break-inside: avoid
}

.privacy-contents a {
  display: block;
  padding: 4px 0
}

.privacy-contents a:hover {
  text-decoration: underline;
  text-underline-offset: .2em
}

.privacy-copy section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px
}

.privacy-copy section:first-child {
  padding-top: 0;
  border-top: 0
}

.privacy-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  margin-bottom: 14px
}

.privacy-copy p,
.privacy-copy li,
.privacy-copy td {
  color: var(--muted)
}

.privacy-copy ul {
  padding-left: 1.25rem
}

.privacy-copy dt {
  margin-bottom: 4px;
  font-weight: 600
}

.privacy-copy li + li {
  margin-top: 8px
}

.privacy-copy section > * + * {
  margin-top: 14px
}

.privacy-copy h2 + * {
  margin-top: 0
}

.privacy-copy table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .9rem;
  overflow-wrap: anywhere
}

.privacy-copy th,
.privacy-copy td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top
}

.privacy-copy th {
  background: var(--bg)
}

.privacy-copy a {
  color: var(--ink)
}

@media (max-width:760px) {
  .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px
  }

  .privacy-contents {
    position: static;
    max-height: none;
    padding: 0
  }

  .privacy-contents h2 {
    display: none
  }

  .privacy-contents summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    font: 600 1.15rem/1.25 "Space Grotesk", sans-serif;
    cursor: pointer;
    list-style: none
  }

  .privacy-contents summary::-webkit-details-marker {
    display: none
  }

  .privacy-contents summary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: -4px
  }

  .privacy-contents summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg)
  }

  .privacy-contents details[open] summary::after {
    transform: translateY(2px) rotate(225deg)
  }

  .privacy-contents ol {
    margin: 0 24px 20px;
    columns: 160px 2;
    column-gap: 40px
  }
}

.top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .3s
}

.top.show {
  opacity: 1;
  pointer-events: auto
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s, transform .7s
}

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

@media (prefers-reduced-motion:reduce) {
  *,
  .links::after,
  .links a::before {
    animation: none !important;
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }

  html {
    scroll-behavior: auto
  }
}

@media (max-width:980px) {
  .hero-flow {
    opacity: .38;
    mask-image: linear-gradient(to bottom, transparent 15%, var(--ink) 90%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 15%, var(--ink) 90%)
  }

  .split,
  .band,
  .services {
    grid-template-columns: 1fr
  }

  #about .split {
    row-gap: 28px
  }

  #about h2 {
    margin-bottom: 0
  }

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

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

  .facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0
  }

  .desktop-only {
    display: none
  }

  .menu {
    display: flex
  }

  .links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 12px 28px;
    transform: translateX(100%);
    transition: transform .3s
  }

  .links.open {
    transform: none
  }

  .links::after {
    display: none
  }

  .links a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.6rem;
    font-family: "Space Grotesk";
    color: var(--ink)
  }

  .links a[href^="#"]:not(.btn) {
    position: relative
  }

  .links a[href^="#"]:not(.btn)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -12px;
    width: 2px;
    height: 18px;
    background: var(--accent);
    opacity: 0;
    transform: translateY(-50%) scaleY(.45);
    transition: opacity .18s ease, transform .23s ease
  }

  .links a[href^="#"][aria-current="location"]::before {
    opacity: 1;
    transform: translateY(-50%)
  }

  .mobile-only {
    display: flex;
    margin-top: 24px;
    justify-content: center
  }

  .links a.mobile-privacy {
    margin-top: 8px;
    padding: 12px 0;
    border-bottom: 0;
    font-family: inherit;
    font-size: .9rem;
    color: var(--muted)
  }

  .band {
    padding: 44px 28px
  }
}

@media (max-width:620px) {

  .cards,
  .team,
  .office-list,
  .row,
  .facts {
    grid-template-columns: 1fr
  }

  .facts div+div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .sec {
    padding: 84px 0
  }

  .hero {
    padding-top: 130px
  }

  .svc {
    padding: 30px
  }

  .foot-in {
    grid-template-columns: 1fr;
    padding-right: 84px
  }

  .foot-links {
    display: flex;
    grid-column: auto;
    flex-wrap: wrap;
    gap: 10px 24px
  }
}
