@font-face { font-family: 'Cloister Black'; src: url('./cloister-black.woff2') format('woff2'); font-display: swap; font-weight: 400; }
@font-face { font-family: 'EB Garamond'; src: url('./eb-garamond-400.woff2') format('woff2'); font-display: swap; font-weight: 400; }
@font-face { font-family: 'EB Garamond'; src: url('./eb-garamond-400-italic.woff2') format('woff2'); font-display: swap; font-weight: 400; font-style: italic; }
@font-face { font-family: 'Courier Prime'; src: url('./courier-prime-400.woff2') format('woff2'); font-display: swap; font-weight: 400; }
:root {
  color-scheme: dark;
  --page: #070708;
  --ink: #d8d6d0;
  --ink-strong: #e8e6e0;
  --muted: #9b9892;
  --line: #28282a;
  --blood: #a31621;
  --red: #d86472;
  --serif: 'EB Garamond', 'Noto Serif Thai', Georgia, serif;
  --mono: 'Courier Prime', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 20; background-image: url('./grain.svg'); opacity: .035; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.wrap { width: min(1056px, calc(100% - 72px)); margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 75px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 3px; min-height: 44px; }
.brand-mark { font-family: 'Cloister Black', Georgia, serif; color: var(--ink-strong); font-size: 31px; letter-spacing: 0; line-height: 1; }
.header nav { display: flex; gap: 35px; align-items: center; font-size: 13px; color: var(--muted); }
.header nav a { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 0; position: relative; }
.header nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: var(--blood); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header nav a:hover { color: var(--ink-strong); }
.header nav a:hover::after { transform: scaleX(1); }
.hero { text-align: center; padding: 77px 0 65px; }
.hero-mark { font-family: 'Cloister Black', Georgia, serif; font-size: 137px; line-height: .9; color: var(--ink-strong); }
.hero h1 { font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .48em; margin: 27px -.48em 0 0; line-height: 1.6; }
.hero-byline { font-style: italic; font-size: 18px; color: var(--muted); margin: 12px 0 0; }
.hero-rule { width: 60px; height: 1px; background: var(--line); margin: 25px auto 20px; }
.hero-intro { font-size: 14px; line-height: 2; margin: 0; color: var(--muted); }
.hero-entry { display: inline-flex; align-items: center; min-height: 44px; gap: 22px; margin-top: 21px; font-size: 14px; color: var(--red); border-bottom: 1px solid var(--blood); padding: 8px 0; }
.hero-entry span { font-family: var(--serif); font-size: 21px; }
.hero-entry:hover { color: #e39ca4; border-color: var(--red); }
.projects { max-width: 780px; margin-inline: auto; scroll-margin-top: 25px; }
.section-heading { text-align: center; margin-bottom: 25px; }
.section-label { font-size: 11px; letter-spacing: 3px; color: var(--muted); }
.section-heading h2 { font-size: 17px; font-weight: 400; margin: 9px 0 0; line-height: 1.6; letter-spacing: .04em; color: var(--ink); }
.case-index { border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: 69px minmax(0,1fr) 110px 20px; gap: 23px; padding: 23px 8px 24px; border-bottom: 1px dotted var(--line); transition: border-color .2s; }
.case-number { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 6px; }
.case-body h3 { font-size: 24px; font-weight: 400; line-height: 1.5; color: var(--ink-strong); margin: 0 0 8px; transition: color .2s; }
.case-body p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.case-address { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 9px; }
.case-type { font-size: 10px; line-height: 1.8; letter-spacing: 1.4px; color: var(--muted); text-align: right; padding-top: 6px; }
.case-arrow { font-size: 21px; color: var(--muted); padding-top: 2px; }
.case-row:hover { border-color: #5f252d; }
.case-row:hover .case-body h3, .case-row:hover .case-arrow { color: var(--red); }
.quick-links { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 16px 8px; color: var(--muted); font-size: 12px; }
.quick-links > div { display: flex; flex-wrap: wrap; gap: 25px; }
.quick-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; color: var(--ink); }
.quick-links a:hover { color: var(--red); }
.quick-links a span { font-size: 18px; }
.about { text-align: center; max-width: 780px; margin: 58px auto 0; border-top: 1px solid var(--line); padding: 35px 0 32px; }
.about h2 { font-size: 16px; font-weight: 400; letter-spacing: 2px; margin: 0 0 16px; }
.about p { font-size: 13px; line-height: 2; margin: 0; color: var(--muted); }
.about-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 11px; letter-spacing: 1.8px; color: var(--red); margin-top: 14px; border-bottom: 1px solid var(--blood); }
.about-link:hover { color: #e39ca4; border-color: var(--red); }
.about-link span[aria-hidden] { font-size: 18px; }
.footer { max-width: 848px; text-align: center; border-top: 1px solid var(--line); margin-top: 28px; padding: 23px 0 42px; font-size: 12px; color: var(--muted); }
.footer p { margin: 0 0 6px; }
.footer p > a { color: var(--ink); }
.footer > div { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px 21px; font-size: 10px; letter-spacing: 1px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.footer a:hover { color: var(--red); }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); z-index: 100; background: #171215; color: var(--ink-strong); padding: 12px; border: 1px solid var(--red); font-size: 14px; }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-script { text-align: center; font-size: 14px; }
.no-script a { text-decoration: underline; }
::selection { background: #5f1f2a; color: #f1e3e5; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 74px; gap: 18px; }
  .brand { font-size: 11px; gap: 10px; letter-spacing: 2px; }
  .brand-mark { font-size: 28px; }
  .header nav { gap: 21px; font-size: 12px; }
  .header nav a:nth-child(2) { display: none; }
  .hero { padding: 65px 0 52px; }
  .hero-mark { font-size: 122px; }
  .hero h1 { font-size: 15px; }
  .hero-byline { font-size: 17px; }
  .hero-intro { font-size: 13px; }
  .case-row { grid-template-columns: 56px minmax(0,1fr) 16px; gap: 14px; padding: 21px 0; }
  .case-type { display: none; }
  .case-number { font-size: 10px; }
  .case-body h3 { font-size: 22px; }
  .case-body p { font-size: 13px; }
  .case-address { font-size: 10px; }
  .case-arrow { font-size: 19px; }
  .quick-links { flex-direction: column; align-items: start; gap: 2px; padding: 17px 0; font-size: 11px; }
  .quick-links > div { gap: 12px 24px; }
  .about { margin-top: 34px; padding-top: 30px; }
  .about p { font-size: 13px; }
  .footer { padding-bottom: 30px; }
  .desktop-break { display: none; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand { letter-spacing: 1.5px; gap: 8px; }
  .header nav { gap: 14px; font-size: 11px; }
  .case-row { grid-template-columns: 1fr 18px; gap: 10px; }
  .case-number { grid-column: 1; padding-top: 0; }
  .case-body { grid-column: 1; }
  .case-arrow { grid-column: 2; grid-row: 2; }
  .hero-intro { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) { body::before { display: none; } }
