:root {
  --ink: #1b1a18;
  --muted: #5b5855;
  --faint: #8a8681;
  --line: #e7e4e0;
  --line-strong: #d9d5cf;
  --surface: #f7f6f3;
  --paper: #ffffff;
  --placeholder: #a19d97;
  --radius: 16px;
  --gutter: 80px;
  --font: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.025em; max-width: 960px; }
h2 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  transition: top 150ms ease;
}
.skip:focus { top: 16px; color: var(--paper); }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 16px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 999px; font-size: 17px; font-family: var(--font);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.button:hover { background: #333230; border-color: #333230; color: var(--paper); }
.button.small { height: 44px; padding: 0 22px; font-size: 16px; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.secondary:hover { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button.inverse { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.inverse:hover { background: #efede9; border-color: #efede9; }
.button[disabled] { opacity: 0.6; cursor: default; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
.section { padding-top: 120px; }
.section.tight { padding-top: 96px; }
.section.band { background: var(--surface); padding-top: 96px; padding-bottom: 96px; margin-top: 80px; }
.section.rule { border-top: 1px solid var(--line); padding-top: 96px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack.s { gap: 12px; }
.stack.m { gap: 20px; }
.grid { display: grid; gap: 40px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 32px; }
.split { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 80px; align-items: start; }
.split.wide { grid-template-columns: 520px minmax(0, 1fr); }
.split.left-400 { grid-template-columns: 400px minmax(0, 1fr); }
.split.right-400 { grid-template-columns: minmax(0, 1fr) 400px; }
.split.right-440 { grid-template-columns: minmax(0, 1fr) 440px; gap: 120px; }
.split.left-520 { grid-template-columns: 520px minmax(0, 1fr); gap: 120px; }
.split.gap-120 { gap: 120px; }

/* Hero */
.hero { padding-top: 112px; }
.hero .stack { gap: 28px; }
.hero-photo { margin-top: 80px; }
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; background: #efede9; }
.photo.wide { aspect-ratio: 1280 / 620; }
.photo.tall { aspect-ratio: 1 / 1; }
.photo.box { aspect-ratio: 10 / 9; }

/* Where we work */
.boroughs { display: flex; flex-direction: column; }
.boroughs p { display: flex; align-items: center; height: 108px; border-bottom: 1px solid var(--line); font-size: clamp(40px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.025em; }
.boroughs p:last-child { border-bottom: 0; }

/* Dark call to action */
.cta {
  margin-top: 96px; border-radius: 20px; background: var(--ink); color: var(--paper);
  padding: 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px;
}
.cta .muted { color: #b9b5af; }
.cta a:hover { color: #d6d3ce; }
.cta-soft { margin-top: 80px; border-radius: 20px; background: var(--surface); padding: 80px; }

/* Services detail rows */
.service { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 64px; }
.service .details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; color: var(--muted); }
.service .details span { color: var(--ink); }

/* Forms */
form { margin: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 15px; color: var(--muted); }
input, textarea {
  font-family: var(--font); font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 16px; height: 52px; width: 100%;
}
textarea { padding: 14px 16px; height: auto; min-height: 140px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form-note { font-size: 15px; color: var(--faint); }
.form-status { font-size: 16px; color: var(--ink); min-height: 1.5em; }
.form-status.error { color: #a23b2a; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.link-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); font-size: 19px; }
.link-list a span { color: var(--faint); }
.note-box { padding: 24px; border-radius: 12px; background: var(--surface); }

/* Footer */
.site-footer { margin-top: 120px; padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1fr) 200px 240px 200px; gap: 40px; font-size: 16px; line-height: 1.6; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .wordmark { font-size: 22px; }

/* Phone and tablet */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .site-header { height: 64px; }
  .wordmark { font-size: 22px; }
  .menu-button { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav .button { margin-top: 12px; }
  .site-header { position: relative; }

  .section, .section.tight { padding-top: 72px; }
  .section.band { margin-top: 40px; padding-top: 64px; padding-bottom: 64px; }
  .section.rule { padding-top: 64px; }
  .hero { padding-top: 40px; }
  .hero .stack { gap: 20px; }
  .hero .button-row { flex-direction: column; align-items: stretch; }
  .hero .button-row .button { width: 100%; }
  .hero-photo { margin-top: 32px; }
  .photo.wide { aspect-ratio: 4 / 3; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; gap: 24px; }
  .grid.four { padding-top: 24px; }
  .split, .split.wide, .split.left-400, .split.right-400, .split.right-440, .split.left-520, .split.gap-120 { grid-template-columns: 1fr; gap: 28px; }
  .boroughs p { height: 80px; }
  .cta { margin-top: 20px; padding: 40px 28px; grid-template-columns: 1fr; gap: 24px; border-radius: 16px; }
  .cta-soft { padding: 40px 28px; margin-top: 40px; }
  .service { padding-top: 40px; padding-bottom: 40px; }
  .service .details { grid-template-columns: 1fr; gap: 20px; }
  .button-row .button { width: 100%; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row p { text-align: left; }
  .site-footer { margin-top: 72px; padding-top: 48px; padding-bottom: 48px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 24px; }
}
