@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111214;
  --paper: #F5F2E9;
  --rule: rgb(245 242 233 / 25%);
  --gutter: clamp(20px, 5vw, 80px);
  font-family: "Work Sans", sans-serif;
  font-synthesis: none;
  color: var(--paper);
  background: var(--ink);
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

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

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

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.75rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

p { max-width: 62ch; }
p + p { margin-top: 1rem; }

.wrap {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: var(--gutter);
  padding: 12px 20px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 116px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: 280px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.site-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
}

.site-nav a { gap: 8px; text-decoration: none; }
.site-nav a:hover { color: var(--signal); text-decoration: underline; }

.eyebrow,
.meta,
.art-caption,
.availability,
.footer-bottom {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.6;
}

.eyebrow { margin-bottom: 24px; }
.accent { color: var(--signal); }

.branch-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding-block: clamp(56px, 8vw, 112px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 44ch;
  margin-top: 30px;
  font-size: 1.125rem;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--paper);
  color: var(--ink);
  background: var(--paper);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover {
  border-color: var(--signal);
  background: var(--signal);
}

.light .button {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.light .button:hover {
  color: var(--ink);
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 0.94rem;
}

.arrow {
  display: inline-block;
  flex: 0 0 auto;
  font-family: sans-serif;
  font-size: 1.4em;
  line-height: 1;
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 32px;
  border-block: 1px solid var(--rule);
  isolation: isolate;
}

.hero-art > img {
  z-index: 1;
  width: min(100%, 300px);
}

.art-caption {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
}

.section { padding-block: clamp(56px, 7vw, 96px); }

.light {
  color-scheme: light;
  --rule: rgb(17 18 20 / 25%);
  color: var(--ink);
  background: var(--paper);
}

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

.section-heading h2 { max-width: 17ch; }
.section-heading > p { max-width: 37ch; }

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
}

.feature-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  padding: 32px;
  border-top: 4px solid var(--signal);
  color: var(--paper);
  background: var(--ink);
}

.feature-art img { width: 180px; }
.feature-art .meta { margin-top: 16px; }

.feature-type {
  color: var(--signal);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.feature-copy h2 { margin-bottom: 24px; }
.feature-copy .meta { margin-bottom: 16px; }

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

.card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 18px;
  min-height: 272px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--signal);
}

.card h3 { overflow-wrap: anywhere; }

.project-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.project-title img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--ink);
}

.project-title.logo-wordmark {
  align-items: start;
  flex-direction: column;
}

.project-title.logo-wordmark img {
  flex: none;
  width: min(220px, 100%);
}

.card p:not(.meta) { font-size: 0.94rem; }
.card > a,
.card > .availability { margin-top: auto; }
.availability { padding-top: 8px; color: var(--signal); }
.light .availability { color: var(--ink); }

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

.split h2 { max-width: 14ch; }
.split-copy { padding-top: 6px; }
.split-copy > p { font-size: 1.125rem; }
.split-copy .text-link { margin-top: 20px; }

.note {
  margin-top: 36px;
  padding-left: 24px;
  border-left: 2px solid var(--signal);
  font-size: 0.875rem;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.service-list li {
  padding-block: 18px;
  border-top: 1px solid var(--rule);
}

.service-list strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
}

.service-list span { display: block; margin-top: 8px; font-size: 0.94rem; }

.contact-band {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
  border-top: 1px solid var(--rule);
}

.contact-band h2 { max-width: 17ch; }

.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--rule);
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}

.footer-top { margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bottom { font-size: 0.6875rem; }
.footer-bottom > a { display: inline-flex; align-items: center; min-height: 44px; }

.privacy { max-width: 65ch; }
.privacy summary { cursor: pointer; min-height: 44px; padding-block: 12px; }
.privacy p { margin-block: 8px 20px; font-family: "Work Sans", sans-serif; font-size: 0.875rem; letter-spacing: normal; }

@media (max-width: 1000px) {
  .branch-hero { gap: 32px; }
  h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
  .hero-art { min-height: 350px; padding: 20px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { gap: 32px; }
  .split { gap: 32px; }
}

@media (max-width: 700px) {
  .site-header { flex-direction: column; align-items: start; gap: 0; padding-bottom: 16px; }
  .brand { width: 248px; margin-left: -8px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 8px 16px; }
  .site-nav a { font-size: 0.875rem; }
  .branch-hero { grid-template-columns: 1fr; gap: 44px; }
  h1 { font-size: clamp(3.5rem, 12.5vw, 5.5rem); }
  .hero-art { min-height: 320px; }
  .hero-art > img { width: 220px; }
  .cards,
  .feature,
  .split,
  .service-list { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: start; }
  .feature-art { min-height: 260px; }
  .card { min-height: 230px; }
  .contact-band .button { max-width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 160ms ease, border-color 160ms ease; }
}

@media print {
  :root { color-scheme: light; color: #111214; background: white; }
  .site-header, .site-footer, .hero-art { display: none; }
  .branch-hero { display: block; }
  .accent, .availability { color: #111214; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { break-inside: avoid; border-color: #111214; }
}
