@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500&family=Fragment+Mono&family=Newsreader:opsz,wght@12..72,600;12..72,700&display=swap');

:root {
  --walnut: #1A1410;
  --umber: #221C16;
  --pitch: #120E0B;
  --text: #F3EDE4;
  --text-umber: #EDE6DA;
  --text-pitch: #F7F1E8;
  --muted: #C4B8A4;
  --brass: #C4A35A;
  --brass-dim: #7A6840;
  --hairline: #3A3228;
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-mono: 'Fragment Mono', ui-monospace, monospace;
  --content: 66ch;
  --field: min(1200px, 100% - 3rem);
  --gutter: 88px;
  --bar-h: 64px;
  --hours-h: 28px;
  --pad-bottom: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html.js .typecase-drawer:not(.is-visible) {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .chase-plate:not(.ticks-drawn) .chase-plate-frame::before,
html.js .chase-plate:not(.ticks-drawn) .chase-plate-frame::after,
html.js .chase-plate:not(.ticks-drawn) .tick-tr,
html.js .chase-plate:not(.ticks-drawn) .tick-bl {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--walnut);
  padding-bottom: var(--pad-bottom);
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--brass);
  color: var(--pitch);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(var(--hours-h) + 0.5rem);
}

.surface-walnut { background: var(--walnut); color: var(--text); }
.surface-umber { background: var(--umber); color: var(--text-umber); }
.surface-pitch { background: var(--pitch); color: var(--text-pitch); }

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5rem);
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 2.5rem 0 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

p { margin: 0 0 1.25rem; }

a {
  color: var(--text);
  text-decoration-color: var(--brass);
  text-underline-offset: 0.2em;
}

a:hover { color: var(--brass); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.brass-rule {
  width: 64px;
  height: 3px;
  background: var(--brass);
  border: none;
  margin: 0 0 1.5rem;
}

.hairline { border: none; border-top: 1px solid var(--hairline); margin: 2rem 0; }

.hours-strip {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--hours-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pitch);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}

.cookie-banner {
  position: sticky;
  top: var(--hours-h);
  z-index: 190;
  background: var(--umber);
  border-bottom: 1px solid var(--brass);
  padding: 0.75rem 1.5rem;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  max-width: var(--field);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.9375rem;
  color: var(--text-umber);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-cookie {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--brass);
  cursor: pointer;
  border-radius: 0;
}

.btn-cookie:hover { background: var(--brass-dim); color: var(--text-pitch); }

.cookie-panel {
  position: sticky;
  top: calc(var(--hours-h) + 52px);
  z-index: 185;
  background: var(--umber);
  border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 1.5rem;
}

.cookie-panel[hidden] { display: none; }

.cookie-panel-inner {
  max-width: var(--field);
  margin: 0 auto;
}

.cookie-categories {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.cookie-categories li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

.cookie-categories .cat-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brass);
}

.cookie-categories .cat-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.toggle-btn {
  flex-shrink: 0;
  width: 48px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--brass);
  background: var(--pitch);
  cursor: pointer;
  position: relative;
  border-radius: 0;
}

.toggle-btn::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease;
}

.toggle-btn[aria-pressed="true"]::after {
  transform: translateX(22px);
  background: var(--brass);
}

.toggle-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-header {
  max-width: var(--field);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover { color: var(--brass); }

main {
  max-width: var(--field);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.page-gutter {
  padding-left: var(--gutter);
  position: relative;
}

.gutter-mark {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  background: var(--brass);
}

.gutter-mono {
  position: absolute;
  left: 1.25rem;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass-dim);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
  min-height: 420px;
}

.hero-copy { max-width: var(--content); }

.hero-photo {
  margin: 0;
  align-self: stretch;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.text-link-brass {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.25em;
}

.typecase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--hairline);
}

.typecase-drawer {
  flex: 1 1 180px;
  min-width: 160px;
  background: var(--umber);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 1rem 1.5rem;
  opacity: 1;
  transform: none;
}

.typecase-drawer.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.drawer-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--brass-dim);
  margin: 0 0 0.5rem;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--brass);
}

.drawer-body {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-umber);
}

.chase-plate {
  margin: 2.5rem 0;
  position: relative;
}

.chase-plate-frame {
  position: relative;
  background: var(--umber);
  padding: 12px;
  max-width: 720px;
}

.chase-plate-frame::before,
.chase-plate-frame::after,
.chase-plate-frame .tick-tr,
.chase-plate-frame .tick-bl {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--brass);
  border-style: solid;
  opacity: 1;
}

.chase-plate-frame::before {
  top: 0; left: 0;
  border-width: 1px 0 0 1px;
}

.chase-plate-frame::after {
  top: 0; right: 0;
  border-width: 1px 1px 0 0;
}

.chase-plate-frame .tick-tr {
  bottom: 0; right: 0;
  border-width: 0 1px 1px 0;
}

.chase-plate-frame .tick-bl {
  bottom: 0; left: 0;
  border-width: 0 0 1px 1px;
}

.chase-plate.ticks-drawn .chase-plate-frame::before,
.chase-plate.ticks-drawn .chase-plate-frame::after,
.chase-plate.ticks-drawn .tick-tr,
.chase-plate.ticks-drawn .tick-bl {
  opacity: 1;
}

.chase-plate img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.chase-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.galley-strip {
  display: flex;
  gap: 0.75rem;
  margin: 2.5rem 0;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.galley-item { flex-shrink: 0; }

.galley-item:nth-child(1) { width: 40%; min-width: 200px; }
.galley-item:nth-child(2) { width: 25%; min-width: 140px; }
.galley-item:nth-child(3) { width: 35%; min-width: 180px; }

.galley-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.galley-caption {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.lockup-close {
  margin: 3rem 0 2rem;
  padding-top: 96px;
  text-align: left;
}

.lockup-close .close-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass-dim);
  margin: 0 0 1rem;
}

.lockup-close .close-line {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 1rem;
  max-width: var(--content);
}

.lockup-close .close-rule {
  width: 64px;
  height: 1px;
  background: var(--brass);
  border: none;
  margin: 0;
}

.deliverable-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deliverable-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
  max-width: var(--content);
}

.engagement-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
  max-width: var(--content);
}

.engagement-entry h3 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brass);
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.portrait-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin: 2.5rem 0;
}

.portrait-band figure { margin: 0; }

.portrait-band figure:first-child img { margin-top: 2rem; }

.portrait-band img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.portrait-caption {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.signed-note {
  max-width: var(--content);
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
  font-style: normal;
}

.signed-note .sign-off {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brass);
  margin-top: 1.5rem;
}

.side-stick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-stick-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

.side-stick-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brass);
  padding-top: 0.15rem;
}

.side-stick-answer {
  max-width: 68ch;
}

.side-stick-answer h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.side-stick-answer p { margin: 0; font-size: 1rem; }

.photo-inline {
  margin: 2rem 0;
}

.photo-inline img {
  width: 100%;
  max-width: 720px;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.contact-block {
  max-width: var(--content);
  margin: 2rem 0;
}

.contact-block address {
  font-style: normal;
  line-height: 1.8;
}

.disclaimer {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: var(--content);
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.site-footer {
  max-width: var(--field);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-footer p { margin: 0 0 0.5rem; }

.site-footer a { color: var(--text-umber); }

.footer-links {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--bar-h);
  background: var(--umber);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  transition: border-color 0.3s ease;
}

.bottom-bar.is-scrolled { border-top-color: var(--brass); }

.bottom-bar-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  width: 100%;
}

.bottom-bar .bar-wordmark {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.bottom-bar .bar-wordmark:hover { color: var(--brass); }

.bottom-bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem 0.75rem;
}

.bottom-bar a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.bottom-bar a:hover,
.bottom-bar a[aria-current="page"] {
  color: var(--brass);
}

.bottom-bar a.chase-door-link {
  position: relative;
  padding-left: 1rem;
}

.bottom-bar a.chase-door-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--brass);
}

.map-embed { margin: 2rem 0; }

.map-embed iframe {
  width: 100%;
  border: 0;
  display: block;
}

.map-variant-a {
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.map-variant-a iframe {
  height: 480px;
  filter: grayscale(0.45) brightness(0.62) contrast(1.18);
}

.map-variant-a .map-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  text-align: left;
}

.map-variant-b {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid var(--brass);
}

.map-variant-b iframe {
  height: clamp(240px, 32vw, 320px);
  filter: grayscale(0.45) brightness(0.62) contrast(1.18);
}

.map-variant-b .map-caption {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  text-align: right;
  padding: 0.5rem 1.5rem 0;
}

.map-variant-c iframe {
  height: 320px;
  filter: grayscale(0.45) brightness(0.62) contrast(1.18);
}

.map-variant-c .map-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  padding-left: var(--gutter);
}

.map-variant-d {
  max-width: 360px;
  border: 1px solid var(--brass);
  padding: 4px;
  background: var(--umber);
}

.map-variant-d iframe {
  height: 200px;
  filter: grayscale(0.45) brightness(0.62) contrast(1.18);
}

.map-variant-d .map-caption {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  padding: 0 0.25rem;
}

.prose-block {
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
  max-width: var(--content);
}

.prose-block.page-gutter {
  max-width: none;
}

.prose-block h2 {
  margin-top: 0;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

.prose-block p {
  color: var(--text-umber);
  font-size: 1.0625rem;
  line-height: 1.72;
}

.prose-block p:last-child { margin-bottom: 0; }

.shape-block {
  margin: 2.5rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
  max-width: var(--content);
}

.shape-block .drawer-title {
  margin-top: 0;
}

.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 2rem 1.5rem;
  background: var(--umber);
  border: 1px solid var(--hairline);
  text-align: center;
}

.map-fallback[hidden] { display: none; }

.map-fallback-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 36ch;
}

.map-fallback a {
  color: var(--brass);
  font-weight: 500;
}

.footer-cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-umber);
  text-decoration: underline;
  text-decoration-color: var(--brass-dim);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.footer-cookie-link:hover { color: var(--brass); }

.legal-content h2 { margin-top: 2rem; }

.legal-content ul, .legal-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.legal-content li { margin-bottom: 0.5rem; }

.error-links {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.error-links li { margin-bottom: 0.5rem; }

@media (max-width: 1100px) {
  .bottom-bar {
    height: auto;
    min-height: var(--bar-h);
    padding: 0.5rem 0;
  }

  .bottom-bar-inner {
    justify-content: center;
  }

  .bottom-bar .bar-wordmark {
    flex: 1 1 100%;
    text-align: center;
    margin: 0 0 0.25rem;
  }

  .bottom-bar-links {
    justify-content: center;
  }

  body { padding-bottom: 120px; }

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

  .hero-photo img { min-height: 280px; }

  .page-gutter { padding-left: 0; }

  .gutter-mark, .gutter-mono { display: none; }

  .portrait-band { grid-template-columns: 1fr; }

  .map-variant-a iframe { height: 300px; }
}

@media (max-width: 640px) {
  :root { --gutter: 0; }

  .galley-strip { flex-direction: column; }

  .galley-item:nth-child(1),
  .galley-item:nth-child(2),
  .galley-item:nth-child(3) {
    width: 100%;
    min-width: 0;
  }

  .side-stick-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
}
