:root {
  --paper: #0c0e11;
  --paper-2: #14181e;
  --paper-3: #1c222b;
  --ink: #f4f6f8;
  --ink-2: #c5ccd6;
  --muted: #8b94a1;
  --rule: #2a313c;
  --accent: #d7dee8;
  --accent-ink: #0c0e11;
  --steel: #7eb0d4;
  --focus: #9ec9e8;
  --display: "Oswald", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:focus-visible, .btn:focus-visible, .sticky-bid:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(8,10,14,0.72), rgba(8,10,14,0));
}
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  justify-self: start;
}
.brand img {
  height: 34px;
  width: auto;
}
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.nav-center {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
}
.nav-center a { text-decoration: none; color: var(--ink-2); }
.nav-center a:hover { color: var(--ink); }
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.phone {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--solid {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--solid:hover { background: #eef2f6; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(244,246,248,0.4);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(244,246,248,0.08); }

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: grid;
  align-items: end;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.05);
  animation: ken 26s var(--ease) infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,14,0.82) 0%, rgba(8,10,14,0.42) 40%, rgba(8,10,14,0.18) 68%, rgba(8,10,14,0.35) 100%),
    linear-gradient(0deg, rgba(8,10,14,0.78) 0%, rgba(8,10,14,0.12) 48%, rgba(8,10,14,0.28) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(6.5rem, 12vh, 8.5rem) 0 3.5rem;
  width: min(60%, 860px);
  max-width: 100%;
}
.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.2rem, 8.2vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: none;
  max-width: none;
}
.hero .lead {
  margin: 0 0 1.6rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.4;
  max-width: 38ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Facts strip below hero */
.facts-strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: 1.35rem 0;
}
.facts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.fact strong {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* Landmarks */
.landmarks {
  background: #080a0e;
  border-block: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.landmark-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* Work */
.section { padding: 3.25rem 0; }
#work.section { padding-top: 1.75rem; padding-bottom: 3rem; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  align-items: end;
  margin-bottom: 1rem;
}
#work .section-head { margin-bottom: 0.85rem; }
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 14ch;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--ink-2);
  max-width: 38ch;
  font-size: 0.98rem;
}
.work-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.work-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  text-decoration: none;
  background: var(--paper-2);
  border-radius: 2px;
  overflow: clip;
  min-height: 460px;
  color: inherit;
}
.work-trio .work-card { min-height: 560px; }
.work-card .media {
  min-height: 360px;
  overflow: clip;
}
.work-trio .work-card .media { min-height: 460px; }
.work-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms var(--ease);
}
.work-card:hover .media img { transform: scale(1.05); }
.work-card .body { padding: 1rem 1.1rem 1.2rem; }
.work-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.work-more {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.85rem;
}
.work-feature {
  position: relative;
  display: block;
  min-height: 520px;
  border-radius: 2px;
  overflow: clip;
  text-decoration: none;
  color: inherit;
}
.work-feature .media { position: absolute; inset: 0; }
.work-feature .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 480ms var(--ease);
}
.work-feature:hover .media img { transform: scale(1.04); }
.work-feature .caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.75rem;
  background: linear-gradient(0deg, rgba(8,10,14,0.88), rgba(8,10,14,0));
}
.work-feature h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Services */
.services { background: var(--paper-2); border-block: 1px solid var(--rule); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.svc {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.svc:nth-child(3n) { border-right: 0; padding-right: 0; }
.svc h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}
.svc p { margin: 0; color: var(--ink-2); font-size: 0.92rem; max-width: 34ch; }

/* Offices */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.office h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}
.office p { margin: 0 0 0.55rem; color: var(--ink-2); font-size: 0.9rem; }
.office a {
  color: var(--steel);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.office a:hover { text-decoration: underline; }
.cta-band {
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--paper-3);
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.cta-band h2 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  max-width: 18ch;
}
.cta-band p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Footer */
.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}
.footer-brand {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  font-size: 0.9rem;
}
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.sticky-bid {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.sticky-bid[hidden] { display: none !important; }
.sticky-bid:hover { background: #eef2f6; }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.js .reveal:not(.is-in) {
  opacity: 0.001;
  transform: translate3d(0, 14px, 0);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* keep content readable if IO never fires (print, some crawlers) */
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .site-header .inner { grid-template-columns: 1fr auto; }
  .nav-center { display: none; }
  .hero-copy { width: min(85%, 640px); }
  .work-trio, .svc-grid, .offices-grid { grid-template-columns: 1fr 1fr; }
  .work-more { grid-template-columns: 1fr; }
  .work-feature { min-height: 420px; }
  .svc:nth-child(3n) { border-right: 1px solid var(--rule); padding-right: 1.25rem; }
  .svc:nth-child(2n) { border-right: 0; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-name { display: none; }
  .facts-row { grid-template-columns: 1fr; gap: 1rem; }
  .work-trio, .svc-grid, .offices-grid { grid-template-columns: 1fr; }
  .svc { border-right: 0 !important; padding-right: 0 !important; }
  .hero { min-height: min(100svh, 740px); }
  .hero-copy {
    width: 100%;
    max-width: none;
    padding-bottom: 2.75rem;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 12.5vw, 3.6rem);
    line-height: 0.95;
  }
  .work-trio .work-card { min-height: 380px; }
  .work-trio .work-card .media { min-height: 280px; }
  .sticky-bid { left: 1rem; right: 1rem; }
  .nav-right .phone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none !important; transform: none !important; }
  .work-card:hover .media img,
  .work-feature:hover .media img { transform: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn { transition: none !important; }
}
