:root {
  --ink: #161310;
  --ink-soft: #3b342c;
  --muted: #6d655b;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --cream: #faf7f1;
  --line: rgba(22, 19, 16, 0.12);
  --line-strong: rgba(22, 19, 16, 0.22);
  --brass: #b0894d;
  --brass-2: #d4b27a;
  --charcoal: #1c1916;
  --hero-ink: #f6f1e8;
  --shadow: 0 30px 80px rgba(22, 19, 16, 0.18);
  --radius: 2px;
  --wrap: min(1180px, calc(100% - 48px));
  --wide: min(1440px, calc(100% - 32px));
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brass);
  color: #111;
  padding: 8px 12px;
  z-index: 2000;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: var(--wrap);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.wide {
  width: var(--wide);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 42rem;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

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

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  color: var(--hero-ink);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(244, 239, 230, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-phone {
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 241, 232, 0.75);
  background: rgba(12, 10, 8, 0.28);
  cursor: pointer;
  flex-shrink: 0;
}

.site-header.is-solid .nav-toggle,
.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: var(--ink);
  background: transparent;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--hero-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-width: 0;
}

.hero img,
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.28) 0%, rgba(12, 10, 8, 0.18) 38%, rgba(12, 10, 8, 0.72) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 88px;
  box-sizing: border-box;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  max-width: 14ch;
  margin: 18px 0 22px;
}

.hero p {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(246, 241, 232, 0.86);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.page-hero {
  position: relative;
  min-height: 52svh;
  color: var(--hero-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-width: 0;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-copy {
  margin-bottom: 56px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin: 12px 0 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-gold {
  background: var(--brass);
  color: #161310;
}

.btn-gold:hover {
  background: var(--brass-2);
}

.btn-ghost {
  border-color: rgba(246, 241, 232, 0.55);
  color: var(--hero-ink);
}

.btn-ghost:hover {
  background: rgba(246, 241, 232, 0.1);
}

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

.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Stats */

.stats {
  background: var(--charcoal);
  color: var(--hero-ink);
  padding: 42px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--brass-2);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.72);
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 16ch;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.split img.headshot {
  object-position: 50% 12%;
}

.split.uncropped img {
  height: auto;
  object-fit: contain;
}

.intro {
  padding-top: 8px;
}

.intro-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  align-items: start;
}

.intro-photo {
  margin: 0;
  background: var(--cream);
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
}

.intro-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-photo figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-copy h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.06;
  margin: 0 0 26px;
}

.intro-copy h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 22px;
}

.intro-copy p {
  color: var(--ink-soft);
}

.intro-copy p + p {
  margin-top: 16px;
}

.split-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin: 0 0 18px;
}

.split-copy p + p {
  margin-top: 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.feature-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  font-size: 15px;
}

.feature-list strong {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  color: var(--brass);
}

/* Work grid */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(280px, 34vw);
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #111;
  color: var(--hero-ink);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.tile:hover img {
  transform: scale(1.07);
}

.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(transparent, rgba(10, 8, 6, 0.78));
}

.tile h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.tile span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery.dense {
  grid-template-columns: repeat(4, 1fr);
}

.gallery .tile {
  min-height: 280px;
}

.gallery .tile.tall {
  min-height: 420px;
}

.gallery .tile.wide {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.gallery .tile.wide.four-three {
  aspect-ratio: 4 / 3;
}

.gallery .tile.portrait {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 0;
  max-width: 420px;
  aspect-ratio: 3 / 4;
}

.gallery.squares {
  grid-template-columns: repeat(3, 1fr);
}

.gallery.squares .tile {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.gallery .tile.sheet {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery .tile.sheet img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
}

.sheet-overhang {
  position: relative;
  grid-column: 1 / -1;
  padding: 72px 0 0 96px;
}

.asbuilt-card {
  position: absolute;
  top: 0;
  left: 0;
  width: min(380px, 38%);
  z-index: 4;
  margin: 0;
  background: #fff;
  padding: 10px 10px 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 50px rgba(22, 19, 16, 0.32);
}

.asbuilt-card img {
  width: 100%;
  height: auto;
  display: block;
}

.asbuilt-card figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.filter {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 38px;
  padding: 0 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}

.filter.is-on,
.filter:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.hidden-card {
  display: none;
}

/* Practice cards */

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

.card {
  background: var(--cream);
  padding: 28px;
  border: 1px solid var(--line);
  min-height: 240px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 10px 0 12px;
}

/* Quote */

.quote {
  background: var(--charcoal);
  color: var(--hero-ink);
  padding: 100px 0;
  text-align: center;
}

.quote blockquote {
  margin: 0 auto;
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}

.quote cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brass-2);
}

/* About */

.portrait {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: 50% 18%;
}

.portrait.uncropped {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.about-lead {
  padding-top: 56px;
}

.about-photo {
  margin: 0 0 48px;
  background: var(--charcoal);
  padding: 14px 14px 12px;
  border: 1px solid rgba(22, 19, 16, 0.35);
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-photo figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.about-bio {
  max-width: 46rem;
}

.about-bio h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  margin: 0 0 22px;
  line-height: 1.08;
}

.about-bio h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 22px;
}

.about-bio p + p {
  margin-top: 16px;
}

.about-lead .creds {
  margin-top: 36px;
}

.team-section {
  padding-top: 24px;
}

.team-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}

.team-photo {
  margin: 0;
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.team-photo figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-pair .about-bio h2 {
  margin-top: 10px;
}

.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-top: 28px;
}

.creds li {
  list-style: none;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.awards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.awards li {
  list-style: none;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.awards b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.awards span {
  color: var(--muted);
  font-size: 14px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-meta p {
  margin-top: 8px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form .full {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  background: var(--cream);
  border: 1px solid var(--line-strong);
  min-height: 46px;
  padding: 10px 12px;
  outline: none;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--brass);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
}

.alert {
  padding: 12px 14px;
  border: 1px solid var(--brass);
  background: rgba(176, 137, 77, 0.12);
  margin-bottom: 18px;
}

.map-frame {
  margin-top: 18px;
  border: 0;
  width: 100%;
  height: 220px;
  filter: grayscale(0.35) contrast(1.05);
}

/* Footer */

.site-footer {
  background: var(--charcoal);
  color: var(--hero-ink);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

.site-footer h2 {
  font-size: 2.4rem;
  max-width: 12ch;
}

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

.footer-col span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 12px;
  color: rgba(246, 241, 232, 0.55);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 32px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  background: rgba(12, 10, 8, 0.45);
  border: 1px solid rgba(246, 241, 232, 0.4);
  color: #fff;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 22px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  text-align: center;
  color: rgba(246, 241, 232, 0.88);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 56px 12px 64px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

/* Thanks */

.thanks {
  min-height: 80svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.thanks h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 12px 0 16px;
}

/* Mobile */

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav,
  .header-phone {
    display: none;
  }

  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 20px 24px 28px;
    gap: 18px;
  }

  .stats-grid,
  .team-pair,
  .intro-pair,
  .split,
  .split.reverse,
  .work-grid,
  .gallery,
  .gallery.dense,
  .cards,
  .contact-grid,
  .footer-top,
  .awards,
  .creds {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-auto-rows: 280px;
  }

  .gallery .tile,
  .gallery .tile.tall {
    min-height: 280px;
    grid-row: auto;
  }

  .gallery.squares {
    grid-template-columns: 1fr 1fr;
  }

  .gallery.squares .tile {
    min-height: 0;
  }

  .sheet-overhang {
    padding: 48px 0 0 36px;
  }

  .asbuilt-card {
    width: min(220px, 48%);
  }

  .split img,
  .portrait {
    height: 420px;
  }

  .section,
  .quote {
    padding: 64px 0;
  }

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

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero-copy,
  .wrap,
  .wide {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-copy {
    margin-bottom: 56px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
    max-width: none;
  }

  .kicker {
    letter-spacing: 0.16em;
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
