:root {
  --bg: #f3f1ec;
  --ink: #1c1b19;
  --muted: #5c574f;
  --line: rgba(28, 27, 25, 0.14);
  --studio: #171614;
  --studio-soft: #b9b3a8;
  --ivory: #f3f1ec;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 1rem;
}

.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;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.mark {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.mark img {
  display: block;
  height: 2.35rem;
  width: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 241, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem 1.35rem;
}

.site-nav > a,
.nav-drop > a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-drop {
  position: relative;
  padding: 0.85rem 0;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -0.9rem;
  z-index: 40;
  min-width: 230px;
  padding: 0.4rem 0;
  background: var(--bg);
  border: 1px solid var(--line);
}

.nav-drop:hover .nav-sub,
.nav-drop:focus-within .nav-sub {
  display: grid;
}

.nav-sub a {
  padding: 0.48rem 1rem;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-sub a:hover {
  background: rgba(28, 27, 25, 0.04);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-cta[aria-current="page"] {
  text-decoration: none;
}

.nav-cta:hover {
  background: #2c2a26;
}

.nav-toggle {
  display: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-toggle .when-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .when-closed {
  display: none;
}

.nav-toggle[aria-expanded="true"] .when-open {
  display: inline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.button:hover {
  background: #2c2a26;
}

.text-link {
  font-weight: 500;
  text-underline-offset: 0.22em;
}

.hero {
  padding: clamp(3.2rem, 9vh, 6rem) 0 clamp(2.2rem, 5vh, 3.5rem);
}

.hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11em;
  font-size: clamp(3.3rem, 6.4vw, 5.5rem);
}

.lede {
  max-width: 38rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 1.7rem;
}

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

.facts div {
  padding: 1.2rem 1.4rem 1.2rem 0;
}

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

.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.facts p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.section {
  padding: clamp(3.4rem, 8vh, 5.75rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-head h2,
.split h2,
.closing h2,
.page-hero + .section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-head h2,
.split h2 {
  margin-top: 0.45rem;
}

.section-head p,
.split p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.split p + p {
  margin-top: 0.8rem;
}

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

.service-grid a {
  display: block;
  padding: 1.45rem 1.6rem 1.4rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.service-grid a:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.service-grid a:nth-child(even) {
  padding-left: 2rem;
}

.service-grid a:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
  padding-right: 0;
}

.service-grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.service-grid p {
  max-width: 36rem;
  color: var(--muted);
}

.service-grid a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.steps li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink);
}

.steps h3 {
  margin: 0.7rem 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.steps p {
  color: var(--muted);
  font-size: 0.98rem;
}

.studio-band {
  background: var(--studio);
  color: var(--ivory);
}

.studio-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(3.2rem, 8vw, 5.5rem) 0;
}

.studio-band .eyebrow,
.studio-band .studio-copy {
  color: var(--studio-soft);
}

.studio-band h2 {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.studio-copy {
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.55;
}

.studio-band .text-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--ivory);
}

.studio-band :focus-visible {
  outline-color: var(--ivory);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split .text-link {
  display: inline-block;
  margin-top: 1.1rem;
}

.closing {
  padding: 0 0 clamp(3.5rem, 8vh, 5rem);
}

.closing h2 {
  max-width: 12em;
}

.closing .lede {
  margin-top: 0.8rem;
}

.page-hero {
  padding: clamp(2.8rem, 8vh, 5rem) 0 0.5rem;
}

.page-hero h1 {
  max-width: 14em;
  margin-top: 0.7rem;
  font-size: clamp(3rem, 6vw, 5rem);
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-list li {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.work-list h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.work-list p {
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.principles li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink);
}

.principles h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

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

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.related a {
  display: flex;
  align-items: flex-end;
  min-height: 6.5rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--line);
  text-decoration: none;
}

.related a span {
  color: var(--muted);
  font-size: 0.85rem;
}

.related a strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.related a:hover {
  background: rgba(28, 27, 25, 0.03);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.75fr);
  gap: 3rem;
  padding: 1.5rem 0 4.5rem;
}

.form {
  display: grid;
  gap: 0.95rem;
  justify-items: start;
}

.form .field,
.form .form-error,
.form .form-note {
  justify-self: stretch;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.85rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(28, 27, 25, 0.22);
  border-radius: 0;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.form-error {
  margin: 0;
  color: #8d2f24;
  font-size: 0.92rem;
}

.form-note,
.contact-aside p {
  color: var(--muted);
}

.contact-aside {
  padding-top: 0.2rem;
}

.contact-aside h2 {
  margin-bottom: 0.8rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-aside .big-link {
  display: block;
  margin: 0.15rem 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1.2;
}

.contact-aside .big-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.contact-aside .places {
  margin-top: 1rem;
  line-height: 1.6;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 2rem;
  padding: 2.6rem 0 2rem;
}

.footer-brand p {
  max-width: 18rem;
  margin-top: 0.8rem;
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer nav a,
.footer-contact a {
  display: block;
  width: fit-content;
  padding: 0.18rem 0;
  text-decoration: none;
}

.site-footer nav a:hover,
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact p {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-base a {
  text-decoration: none;
}

.footer-base a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.missing {
  padding: clamp(4rem, 12vh, 7rem) 0;
}

.missing h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
}

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

.work-index a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1.25rem 0.95rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.work-index li:nth-child(odd) a {
  border-right: 1px solid var(--line);
  padding-right: 1.4rem;
}

.work-index li:nth-child(even) a {
  padding-left: 1.4rem;
}

.work-index strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.work-index em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.work-index a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.project-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.project-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.project-list h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.project-list .kind,
.project-list p {
  color: var(--muted);
}

.project-list .kind {
  margin-top: 0.2rem;
  font-size: 0.92rem;
}

.project-list p {
  margin-top: 0.45rem;
}

.project-list .text-link {
  display: inline-block;
  margin-top: 0.55rem;
}

.section-head .text-link,
.more-work {
  display: inline-block;
  margin-top: 1.25rem;
}

@media (min-width: 801px) {
  .project-list li {
    grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
    align-items: start;
  }

  .project-copy {
    padding-top: 0.15rem;
  }
}

@media (max-width: 900px) {
  .facts,
  .steps,
  .split,
  .studio-inner,
  .principles,
  .related,
  .contact-layout,
  .footer-grid,
  .work-index {
    grid-template-columns: 1fr;
  }

  .work-index li:nth-child(odd) a,
  .work-index li:nth-child(even) a {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

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

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

  .service-grid a,
  .service-grid a:nth-child(odd),
  .service-grid a:nth-child(even),
  .service-grid a:last-child:nth-child(odd) {
    grid-column: auto;
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .work-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-bar {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    padding: 0.2rem 0 1rem;
    background: var(--bg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-drop {
    padding: 0.35rem 0 0;
    width: 100%;
  }

  .nav-sub,
  .nav-drop:hover .nav-sub,
  .nav-drop:focus-within .nav-sub {
    display: grid;
    position: static;
    min-width: 0;
    padding: 0.2rem 0 0.35rem 0.8rem;
    border: 0;
    background: transparent;
  }

  .nav-cta {
    margin: 0.6rem 0 0;
  }
}

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