:root {
  --paper: #f7f4ee;
  --ink: #161616;
  --muted: #66625d;
  --line: rgba(22, 22, 22, 0.16);
  --rust: #a24f35;
  --teal: #226e73;
  --moss: #777b3b;
  --plum: #553c56;
  --white: #fffdf8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.04) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  grid-template-columns: repeat(2, 34px);
  height: 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  place-items: center;
}

.brand span + span {
  border-left: 1px solid rgba(247, 244, 238, 0.35);
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 38px);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 64px 0 48px;
}

.eyebrow,
.project-label {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 13vw, 11.5rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-line {
  max-width: 720px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.3vw, 3rem);
  line-height: 1.05;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
}

.hero-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--white);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.statement {
  padding: clamp(46px, 8vw, 104px) max(18px, calc((100vw - var(--max)) / 2));
}

.statement blockquote {
  margin: 0;
}

.statement p {
  max-width: 980px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 4.6rem);
  line-height: 1.05;
}

.statement cite {
  color: var(--rust);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(30px, 7vw, 88px);
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0;
}

.section-kicker {
  position: sticky;
  top: 84px;
  align-self: start;
}

.section-kicker span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.section-kicker h2 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-grid article {
  min-height: 250px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.52);
}

h3 {
  margin-bottom: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.practice-grid p,
.project p,
.invitation-panel p,
.about-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.projects {
  padding: clamp(64px, 9vw, 116px) max(18px, calc((100vw - var(--max)) / 2));
}

.projects .section-kicker {
  position: static;
  margin-bottom: 42px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project {
  min-height: 390px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
}

.project:nth-child(1) {
  border-top: 6px solid var(--teal);
}

.project:nth-child(2) {
  border-top: 6px solid var(--moss);
}

.project:nth-child(3) {
  border-top: 6px solid var(--plum);
}

.project:nth-child(4) {
  border-top: 6px solid var(--rust);
}

.invitation-panel {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--ink);
  background: var(--white);
}

.invitation-panel > p {
  max-width: 840px;
  margin-bottom: 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 3.6rem);
  line-height: 1.08;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roles span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
}

.about {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0;
}

.about-copy h2,
.contact h2 {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.about-copy p {
  max-width: 830px;
}

.about-current {
  max-width: 900px;
  margin: 0 0 44px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.about-current h3 {
  margin-bottom: 20px;
}

.about-current p:last-child {
  margin-bottom: 0;
}

.contact {
  padding: clamp(64px, 9vw, 116px) max(18px, calc((100vw - var(--max)) / 2));
}

.contact h2 {
  max-width: 900px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contact-row a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  background: transparent;
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.86rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .split-section,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual {
    max-width: 520px;
  }

  .section-kicker {
    position: static;
  }

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

  .project {
    min-height: 260px;
  }

}

@media (max-width: 620px) {
  body {
    background-size: 44px 44px;
  }

  .site-header {
    position: static;
    width: min(100% - 28px, var(--max));
  }

  .nav {
    gap: 12px;
    font-size: 0.72rem;
  }

  .hero,
  .split-section,
  .about,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

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

  .practice-grid article {
    min-height: 210px;
  }

  .hero-visual figcaption,
  .footer {
    flex-direction: column;
  }

  .contact-row {
    flex-direction: column;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
