/* Ravagedbird site styles. Tokens from ravagedbird-tokens.css v1.0 (Identity Standard v1.1). */
:root {
  --rb-raven-ink: #07213A;
  --rb-circuit-teal: #2D8C98;
  --rb-signal-cyan: #4DC3C3; /* eye accent only; not used on this page */
  --rb-vellum: #FEF5E6;
  --rb-graphite: #3D434A;
  --rb-stone: #CFC9BE;
  --rb-font-display: Cinzel, "Trajan Pro", Georgia, serif;
  --rb-font-interface: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --rb-font-technical: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --rb-wordmark-tracking: 0.2em;
  --rb-radius-control: 4px;
  --rb-radius-panel: 8px;
  --max: 68rem;
}
@font-face { font-family: Cinzel; src: url(/assets/fonts/cinzel-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/plex-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/plex-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/assets/fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--rb-vellum); color: var(--rb-raven-ink); font: 400 1.0625rem/1.65 var(--rb-font-interface); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

a { color: inherit; text-decoration-color: var(--rb-circuit-teal); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--rb-circuit-teal); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 1rem; top: -3rem; background: var(--rb-vellum); color: var(--rb-raven-ink); padding: .5rem .75rem; border-radius: var(--rb-radius-control); z-index: 10; }
.skip:focus { top: 1rem; }

/* Masthead + hero share the Raven Ink field */
.masthead, .hero { background: var(--rb-raven-ink); color: var(--rb-vellum); }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand__mark { width: 64px; height: 64px; flex: none; }
.brand__word { font-family: var(--rb-font-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--rb-wordmark-tracking); font-size: 1.35rem; line-height: 1; margin-right: -0.2em; }
.nav { list-style: none; padding: 0; display: flex; gap: 1.5rem; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--rb-vellum); opacity: .88; }
.nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--rb-circuit-teal); }

.hero { padding: 5rem 0 5.5rem; border-bottom: 1px solid var(--rb-circuit-teal); }
.kicker, .status, .label, .idx, .more, .footer { font-family: var(--rb-font-technical); }
.kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rb-stone); margin-bottom: 1.5rem; }
.hero h1 { font-family: var(--rb-font-display); font-weight: 500; font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3rem); line-height: 1.22; letter-spacing: .01em; max-width: 21em; }
.status { margin-top: 2rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rb-stone); display: inline-flex; align-items: center; gap: .6rem; }
.status__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--rb-circuit-teal); }

.section { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--rb-stone); }
.section--quiet { background: #F7EEDD; }
.label { font-size: .8rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--rb-graphite); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.label::before { content: ""; width: 1.5rem; height: 1px; background: var(--rb-circuit-teal); }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.35rem); line-height: 1.6; max-width: 38em; }

.pillars { list-style: none; padding: 0; margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.pillars li { border-top: 1px solid var(--rb-stone); padding-top: 1rem; }
.idx { font-size: .75rem; color: var(--rb-graphite); letter-spacing: .1em; }
.pillars h3 { font-family: var(--rb-font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: .04em; margin: .5rem 0 .4rem; }
.pillars p { color: var(--rb-graphite); font-size: .975rem; line-height: 1.55; }

.works { list-style: none; padding: 0; }
.work { display: flex; align-items: center; gap: 1.25rem; }
.work img { width: 96px; height: 144px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(7,33,58,.15); }
.work__line { font-size: 1.05rem; }
.work__line cite { font-style: italic; font-weight: 500; }
.more { margin-top: 1.5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rb-graphite); }

.contact { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.contact a { font-weight: 500; }

.footer { background: var(--rb-raven-ink); color: var(--rb-stone); font-size: .8rem; letter-spacing: .04em; }
.footer__row { padding-top: 1.75rem; padding-bottom: 1.75rem; }

@media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .wrap { padding: 0 1.25rem; }
  .masthead__row { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .brand__word { font-size: 1.2rem; }
  .nav { gap: 1.25rem; }
  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3.25rem 0; }
  .pillars { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.25rem; }
}
