@font-face {
  font-family: "Big Caslon";
  src: url("fonts/BigCaslon-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0d;
  --text: #fff;
  --muted: #b8b8b8;
  --soft: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .24);
  --page-pad: clamp(20px, 5vw, 72px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--page-pad);
  background: linear-gradient(to bottom, rgba(13, 13, 13, .62), transparent);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.wordmark {
  font-family: "Big Caslon", serif;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: .01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px;
  background: rgba(13, 13, 13, .28);
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.pill:hover,
.pill:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--bg);
  outline: none;
}

.site-header .pill {
  min-height: 42px;
  padding: 8px 24px;
  font-size: 13px;
}

.home-hero {
  position: relative;
  height: min(100svh, 980px);
  min-height: 650px;
  overflow: hidden;
}

.home-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, .18) 55%, rgba(13, 13, 13, .72));
  pointer-events: none;
}

.home-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(92vw, 1500px);
  transform: translate(-50%, -50%);
  font-family: "Big Caslon", serif;
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .48);
}

.home-hero__intro {
  position: absolute;
  right: var(--page-pad);
  bottom: 34px;
  left: var(--page-pad);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.practice-index {
  padding: clamp(78px, 10vw, 150px) var(--page-pad) clamp(90px, 12vw, 170px);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.display-title {
  max-width: 1100px;
  margin-bottom: clamp(44px, 7vw, 90px);
  font-family: "Big Caslon", serif;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1500px;
  margin: 0 auto;
}

.practice-card {
  position: relative;
  height: clamp(420px, 42vw, 620px);
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.practice-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.practice-card--contain img {
  background: #030303;
  object-fit: contain;
}

.practice-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .76), transparent 62%);
}

.practice-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 30px;
}

.practice-card h2 {
  font-family: "Big Caslon", serif;
  font-size: clamp(32px, 4.2vw, 66px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

.practice-card p {
  max-width: 470px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.practice-card:hover img,
.practice-card:focus-visible img {
  transform: scale(1.035);
  filter: brightness(.86);
}

.practice-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.category-hero {
  padding: clamp(150px, 18vw, 240px) var(--page-pad) clamp(70px, 9vw, 120px);
}

.category-hero h1 {
  max-width: 1350px;
  font-family: "Big Caslon", serif;
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.category-hero p {
  max-width: 780px;
  margin-top: 34px;
  color: #c7c7c7;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.7;
}

.project-index {
  padding: 0 var(--page-pad) clamp(100px, 12vw, 170px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(58px, 7vw, 100px) 18px;
  max-width: 1500px;
  margin: 0 auto;
}

.project-card {
  color: #fff;
  text-decoration: none;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #171717;
}

.project-card__media img,
.project-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
}

.project-card:hover .project-card__media img,
.project-card:hover .project-card__media video,
.project-card:focus-visible .project-card__media img,
.project-card:focus-visible .project-card__media video {
  transform: scale(1.025);
  opacity: .86;
}

.project-card__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-top: 16px;
}

.project-card h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.project-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.project-card__arrow {
  font-family: "Big Caslon", serif;
  font-size: 26px;
  line-height: 1;
  opacity: .58;
  transition: transform .25s ease, opacity .25s ease;
}

.project-card:hover .project-card__arrow,
.project-card:focus-visible .project-card__arrow {
  transform: translateX(4px);
  opacity: 1;
}

.project-card:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 6px;
}

.project-card--static {
  cursor: default;
}

.project-card--static .project-card__arrow {
  display: none;
}

.placeholder-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 var(--page-pad) clamp(110px, 14vw, 190px);
}

.placeholder-layout img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.placeholder-layout h2 {
  font-family: "Big Caslon", serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 400;
  line-height: 1;
}

.placeholder-layout p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.info-page {
  padding: clamp(145px, 16vw, 220px) var(--page-pad) 90px;
}

.info-page__title {
  margin-bottom: clamp(70px, 9vw, 130px);
  font-family: "Big Caslon", serif;
  font-size: clamp(48px, 7.5vw, 112px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.045em;
}

.info-section {
  max-width: 1250px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.info-section h2 {
  margin-bottom: 42px;
  font-family: "Big Caslon", serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
}

.about-layout img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.about-copy p {
  margin-bottom: 20px;
  color: #d4d4d4;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.78;
}

.about-copy .pill {
  margin-top: 10px;
}

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
}

.info-column h3 {
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #c8c8c8;
  font-size: 15px;
  line-height: 1.65;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px var(--page-pad);
  color: #686868;
  font-size: 12px;
  letter-spacing: .05em;
}

@media (max-width: 760px) {
  .site-header {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .wordmark {
    max-width: 155px;
    font-size: 15px;
  }

  .home-hero {
    height: 80svh;
    min-height: 540px;
  }

  .home-hero__title {
    width: 90vw;
    font-size: clamp(42px, 13vw, 64px);
  }

  .home-hero__intro {
    bottom: 24px;
    display: block;
    font-size: 10px;
    line-height: 1.7;
  }

  .home-hero__intro span:last-child {
    display: none;
  }

  .display-title {
    font-size: clamp(44px, 13vw, 66px);
  }

  .practice-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    height: 440px;
  }

  .practice-card__content {
    padding: 22px;
  }

  .practice-card h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .category-hero {
    padding-top: 145px;
  }

  .category-hero h1 {
    font-size: clamp(44px, 12vw, 64px);
    overflow-wrap: anywhere;
  }

  .category-hero p {
    margin-top: 26px;
    font-size: 16px;
  }

  .project-grid {
    gap: 64px;
  }

  .project-card__copy {
    padding-top: 14px;
  }

  .placeholder-layout,
  .about-layout,
  .info-columns {
    grid-template-columns: 1fr;
  }

  .placeholder-layout {
    padding-bottom: 110px;
  }

  .placeholder-layout img {
    aspect-ratio: 4 / 5;
  }

  .info-page {
    padding-top: 145px;
  }

  .info-page__title {
    font-size: clamp(48px, 14vw, 72px);
  }

  .info-section {
    padding: 72px 0;
  }

  .about-layout img {
    width: min(78%, 330px);
    margin: 0 auto;
  }

  .about-copy {
    text-align: center;
  }

  .contact-block {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

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

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