@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Light.ttf") format("truetype");
  font-display: swap;
  font-weight: 300;
}

:root {
  --ink: #28313a;
  --ink-soft: #323c46;
  --ivory: #f3f0e9;
  --paper: #fbfaf6;
  --stone: #b6ad9f;
  --gold: #b69b6b;
  --line: rgb(23 27 32 / 18%);
  --display: "Lato", Arial, sans-serif;
  --sans: "Lato", Arial, sans-serif;
  --shell: min(100% - 48px, 1240px);
  --header-height: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.75rem);
  letter-spacing: -.035em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(96px, 12vw, 176px);
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.lead {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  color: white;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  transition: height .35s ease, background-color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  height: 76px;
  background: rgb(40 49 58 / 96%);
  box-shadow: 0 12px 35px rgb(0 0 0 / 12%);
}

.brand {
  display: block;
  color: currentColor;
}

.brand__image {
  width: 76px;
  height: 74px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 10px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__contact {
  padding: 11px 17px !important;
  border: 1px solid rgb(255 255 255 / 45%);
}

.site-nav__contact::after {
  display: none;
}

.site-nav__contact:hover {
  background: white;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 8px;
  background: transparent;
  color: white;
  border: 0;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 7px;
  background: currentColor;
  transition: transform .25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -3;
  background: url("../img/hero-office-v2.webp") 68% center / cover no-repeat;
  transform: scale(1.035);
  animation: hero-image 1.8s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero__shade {
  z-index: -2;
  background: linear-gradient(90deg, rgb(8 10 12 / 92%) 0%, rgb(8 10 12 / 73%) 45%, rgb(8 10 12 / 8%) 78%), linear-gradient(0deg, rgb(8 10 12 / 35%), transparent 35%);
}

.hero__content {
  align-self: center;
  padding-top: var(--header-height);
}

.hero__eyebrow {
  color: #d5c5a7;
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 30px;
  font-size: clamp(3rem, 7.2vw, 7rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.hero__lead {
  max-width: 580px;
  margin-bottom: 40px;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

[data-hero-item] {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-item .85s cubic-bezier(.2, .7, .2, 1) forwards;
}

[data-hero-item]:nth-child(2) { animation-delay: .12s; }
[data-hero-item]:nth-child(3) { animation-delay: .24s; }
[data-hero-item]:nth-child(4) { animation-delay: .36s; }

.hero__actions,
.contact__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--gold);
  color: #111418;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #d0b98f;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  font-size: .83rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform .25s ease;
}

.text-link:hover span {
  transform: translate(3px, 2px);
}

.text-link--light {
  color: rgb(255 255 255 / 85%);
}

.hero__side-note {
  position: absolute;
  right: 24px;
  bottom: 50px;
  margin: 0;
  color: rgb(255 255 255 / 55%);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.statement {
  padding-block: 82px;
  background: var(--ivory);
}

.statement__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.statement p {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}

.statement span {
  color: #706a61;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.studio {
  background: var(--paper);
}

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr);
  gap: 90px 12vw;
}

.studio__copy {
  padding-top: 58px;
  color: #4d4c49;
}

.studio__copy .lead {
  color: var(--ink);
}

.studio__principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.studio__principles > div {
  min-height: 210px;
  padding: 28px 8% 20px 0;
  border-right: 1px solid var(--line);
}

.studio__principles > div + div {
  padding-left: 12%;
}

.studio__principles > div:last-child {
  border-right: 0;
}

.studio__principles span,
.practice__number {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .12em;
}

.studio__principles p {
  max-width: 280px;
  margin-top: 52px;
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.45;
}

.practices {
  background: var(--ink);
  color: white;
}

.practices__intro {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 80px;
}

.practices__intro > p {
  max-width: 390px;
  margin-bottom: 8px;
  color: rgb(255 255 255 / 62%);
}

.practice-list {
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.practice {
  display: grid;
  grid-template-columns: 80px minmax(240px, 1fr) minmax(260px, .65fr);
  gap: 30px;
  align-items: center;
  min-height: 142px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  transition: background-color .3s ease, padding .3s ease;
}

.practice:hover {
  padding-inline: 20px;
  background: rgb(255 255 255 / 4%);
}

.practice h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}

.practice p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  padding: 0;
  background: #d8d1c4;
}

.approach__image {
  min-height: 620px;
  background: linear-gradient(rgb(23 27 32 / 8%), rgb(23 27 32 / 8%)), url("../img/0003.jpg") center / cover no-repeat;
}

.approach__content {
  align-self: center;
  max-width: 650px;
  padding: 10vw;
}

.approach__content h2 {
  margin-bottom: 36px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.approach__content > p:not(.eyebrow) {
  color: #4e4c47;
}

.approach__steps {
  padding: 0;
  margin: 50px 0 0;
  list-style: none;
  border-top: 1px solid rgb(23 27 32 / 25%);
}

.approach__steps li {
  display: flex;
  gap: 22px;
  padding-block: 18px;
  border-bottom: 1px solid rgb(23 27 32 / 25%);
}

.approach__steps span {
  color: #7c6846;
  font-size: .67rem;
}

.team {
  background: var(--paper);
}

.team__heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 90px;
}

.team__heading > p {
  max-width: 410px;
  margin-bottom: 5px;
  color: #5a5955;
}

.professional-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.professional {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 45px;
  min-height: 380px;
  align-items: center;
  padding: 55px 8% 55px 0;
}

.professional + .professional {
  padding-right: 0;
  padding-left: 8%;
  border-left: 1px solid var(--line);
}

.professional__initials {
  display: grid;
  width: 140px;
  height: 180px;
  place-items: center;
  margin: 0;
  background: var(--ink-soft);
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.6rem;
  letter-spacing: .08em;
}

.professional__role {
  margin-bottom: 18px;
  color: #81765f;
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.professional h3 {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.professional div > p:last-child {
  margin-bottom: 0;
  color: #5a5955;
}

.experience {
  background: var(--ivory);
}

.experience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr);
  gap: 70px 12vw;
}

.experience__body {
  padding-top: 55px;
}

.experience__areas {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.experience__areas li {
  min-height: 130px;
  padding: 30px 30px 20px 0;
  border-right: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.1rem;
}

.experience__areas li + li {
  padding-left: 30px;
}

.experience__areas li:last-child {
  border-right: 0;
}

.contact {
  background: var(--ink-soft);
  color: white;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13vw;
}

.contact__intro h2 {
  max-width: 650px;
  margin-bottom: 32px;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 510px;
  color: rgb(255 255 255 / 62%);
}

.contact__actions {
  margin-top: 50px;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px 38px;
  align-content: start;
  padding-top: 52px;
  font-style: normal;
}

.contact__details > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__details span {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact__details a,
.contact__details p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
}

.contact__details a:hover {
  color: white;
}

.contact__details a + p {
  margin-top: 8px;
}

.site-footer {
  padding-block: 76px 30px;
  background: #20272e;
  color: white;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10vw;
  align-items: start;
  padding-bottom: 70px;
}

.brand--footer {
  justify-self: start;
}

.brand--footer .brand__image {
  width: 156px;
  height: auto;
}

.site-footer nav,
.site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .82rem;
}

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

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 13%);
  color: rgb(255 255 255 / 45%);
  font-size: .7rem;
}

.site-footer__legal p {
  margin: 0;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #1f8f5f;
  color: white;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgb(0 0 0 / 20%);
  transition: transform .25s ease, background-color .25s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  background: #17784e;
  transform: translateY(-3px);
}

.whatsapp-fab svg {
  width: 29px;
  fill: currentColor;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}

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

@keyframes hero-image {
  to { transform: scale(1); }
}

@keyframes hero-item {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  :root {
    --header-height: 78px;
  }

  .site-header {
    height: var(--header-height);
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: rgb(40 49 58 / 96%);
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__contact {
    margin-top: 15px;
    font-family: var(--sans);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .studio__grid,
  .experience__grid {
    gap: 60px;
  }

  .practices__intro,
  .team__heading {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .professional {
    grid-template-columns: 95px 1fr;
    gap: 28px;
  }

  .professional__initials {
    width: 95px;
    height: 140px;
    font-size: 2rem;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 34px, 1240px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand__image {
    width: 64px;
    height: 62px;
  }

  .hero__media {
    background-position: 62% center;
  }

  .hero__shade {
    background: linear-gradient(90deg, rgb(8 10 12 / 93%) 0%, rgb(8 10 12 / 68%) 100%), linear-gradient(0deg, rgb(8 10 12 / 35%), transparent 35%);
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(2.85rem, 14vw, 5rem);
  }

  .hero__side-note {
    display: none;
  }

  .hero__actions,
  .contact__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .statement__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio__grid,
  .experience__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .studio__copy,
  .experience__body {
    padding-top: 0;
  }

  .studio__principles,
  .experience__areas {
    grid-template-columns: 1fr;
  }

  .studio__principles > div,
  .studio__principles > div + div,
  .experience__areas li,
  .experience__areas li + li {
    min-height: 0;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .studio__principles p {
    margin-top: 18px;
  }

  .practice {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding-block: 28px;
  }

  .practice:hover {
    padding-inline: 0;
  }

  .practice p {
    grid-column: 2;
  }

  .approach {
    grid-template-columns: 1fr;
  }

  .approach__image {
    min-height: 55svh;
    background-attachment: scroll;
  }

  .approach__content {
    padding: 80px 24px;
  }

  .professional-list {
    grid-template-columns: 1fr;
  }

  .professional,
  .professional + .professional {
    min-height: 0;
    padding: 45px 0;
  }

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

  .experience__areas {
    grid-column: auto;
  }

  .contact__details {
    padding-top: 20px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 55px 35px;
  }

  .brand--footer {
    grid-column: 1 / -1;
  }

  .site-footer__legal {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .hero__actions .button,
  .contact__actions .button {
    width: 100%;
  }

  .contact__details {
    grid-template-columns: 1fr;
  }

  .professional {
    grid-template-columns: 1fr;
  }

  .professional__initials {
    width: 82px;
    height: 104px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding-bottom: 46px;
  }

  .brand--footer {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .brand--footer .brand__image {
    width: 140px;
  }

  .site-footer {
    padding-block: 52px 78px;
  }

  .site-footer__legal {
    gap: 14px;
    padding-top: 20px;
    font-size: .72rem;
    line-height: 1.55;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
