/* Nolan Architecture: the brand layer over site.css (loaded after it). From Lance's brand board, 27 Nov 2026.
   Lava #1B1B19, Chalk #FAF8F4, Sand #EDE4D3, Oxide #A83D2B, Pacific #173C4A.
   Type: Jost (light, wide-set capitals) for the wordmark, titles and labels; EB Garamond for reading text. */
:root, :root[data-theme="dark"] {
  --bg: #FAF8F4; --bg-2: #EDE4D3; --fg: #1B1B19; --muted: #6e685e; --rule: #ddd4c4; --matte: #ffffff;
  --inverse-bg: #173C4A; --inverse-fg: #FAF8F4;
  --oxide: #A83D2B; --pacific: #173C4A; --lava: #1B1B19; --chalk: #FAF8F4;
  --sans: "Jost", "Century Gothic", "Avenir Next", Arial, sans-serif;
  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #FAF8F4; --bg-2: #EDE4D3; --fg: #1B1B19; --muted: #6e685e; --rule: #ddd4c4; --matte: #ffffff;
    --inverse-bg: #173C4A; --inverse-fg: #FAF8F4; color-scheme: light;
  }
  :root:not([data-theme="light"]) .drawing img { mix-blend-mode: multiply; filter: none; }
}

body { font-family: var(--serif); font-size: 1.125rem; line-height: 1.55; }
.label, .nav, .menu-btn, .btn, .facts dt, .filters, .field label, .card .tag, .hero-caption, .project-title p,
.step::before, .legal h3, .link.arrow, .site-footer, .menu-foot, .card .meta p, figcaption, .form-note, .next .inner p { font-family: var(--sans); }
.label, .facts dt, .field label, .legal h3 { letter-spacing: .22em; font-size: .7rem; }
.nav, .menu-btn { letter-spacing: .2em; font-size: .74rem; font-weight: 400; }
.statement { font-weight: 400; letter-spacing: 0; line-height: 1.14; }
.lede { font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.5; }
.story { font-size: 1.2rem; }
.facts dd, .step p, .entry p { font-size: 1.05rem; }
.contact-list a, .contact-list p { font-size: 1.35rem; }

/* Titles in the brand's wide capitals */
.hero-copy .statement, .project-title h1, .card h3, .entry h3, .next .inner h2, .menu-links, .step h3, .legal h2 {
  font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .16em;
}
.hero-copy .statement { font-size: clamp(1.45rem, 3.3vw, 2.9rem); line-height: 1.3; max-width: 18em; }
.project-title h1 { font-size: clamp(1.6rem, 4.2vw, 3.4rem); line-height: 1.15; }
.entry h3 { font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.25; }
.card h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: .18em; font-weight: 400; }
.next .inner h2 { font-size: clamp(1.5rem, 3.6vw, 2.8rem); line-height: 1.15; }
.menu-links { font-size: clamp(1.5rem, 6.5vw, 2.4rem); line-height: 1.2; gap: 1.5rem; }
.step h3 { font-size: .85rem; font-weight: 500; letter-spacing: .2em; line-height: 1.5; }
.legal h2 { font-size: 1.2rem; }

/* Oxide, used sparingly */
.arrow::before, .step::before { color: var(--oxide); }
.link::after { background: var(--oxide); }
.nav a[aria-current="page"] { text-decoration-color: var(--oxide); }
.filters button[aria-pressed="true"] { border-bottom-color: var(--oxide); }
.btn { letter-spacing: .2em; text-transform: uppercase; font-size: .74rem; }
.btn:hover { background: var(--oxide); border-color: var(--oxide); color: var(--chalk); }
.cta .btn:hover { background: var(--oxide); border-color: var(--oxide); color: var(--chalk); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: var(--oxide); }
.consent input { accent-color: var(--oxide); }

/* Header: chalk bar with the wordmark; clear over a landing photograph until the page scrolls */
.site-header {
  mix-blend-mode: normal; color: var(--fg); background: var(--bg); border-bottom: 1px solid var(--rule);
  padding-top: .8rem; padding-bottom: .8rem;
  transition: padding .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.site-header.compact { padding-top: .8rem; padding-bottom: .8rem; }
/* Over a landing photograph there is no bar: the reversed mark (chalk, ola in oxide) sits on the picture, and the
   chalk bar comes in once the page scrolls. Same size and same oxide line in both states. */
body:has(.hero) .site-header:not(.compact), body:has(.project-hero) .site-header:not(.compact) {
  background: transparent; color: var(--chalk); border-bottom-color: transparent;
}
.hero-shade, .project-hero .hero-shade {
  background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 24%),
              linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,0) 70%);
}

/* Wordmark: nolan with ola in oxide, a hairline, ARCHITECTURE set to the same width.
   Only the A has no crossbar (drawn as two strokes); every other letter is the complete letter. */
.wordmark.nolan {
  display: inline-grid; justify-items: stretch; gap: .34em; font-family: var(--sans); font-size: 1rem; line-height: 1;
  letter-spacing: 0; text-transform: none; font-weight: 300; color: inherit;
}
.wordmark.nolan .wm-name { display: block; margin: 0; opacity: 1; font-size: 2em; letter-spacing: 0; padding-bottom: .16em; border-bottom: 1px solid currentColor; }
.wordmark.nolan .wm-t { display: block; margin: 0 -.2em 0 0; opacity: 1; font-size: 1em; letter-spacing: .2em; font-weight: 300; text-transform: none; line-height: .86; }
.wordmark.nolan .wm-t, .ola-mark { font-family: "Outfit", var(--sans); font-weight: 300; }
.wordmark.nolan .wm-name i { font-style: normal; color: var(--oxide); transition: color .4s var(--ease); }
.wordmark.nolan .wm-sub { display: flex; justify-content: space-between; align-items: baseline; margin: 0; opacity: 1; font-size: .5em; font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
.wordmark.nolan .wm-sub span { margin: 0; opacity: 1; font-size: 1em; letter-spacing: 0; text-transform: uppercase; }
.wordmark.nolan .wm-sub svg { display: block; height: .7em; width: .64em; overflow: hidden; align-self: baseline; }
.wordmark.nolan .wm-sub svg polyline { fill: none; stroke: currentColor; stroke-width: 9; stroke-linejoin: miter; stroke-miterlimit: 10; }
.site-header .wordmark.nolan { font-size: 1.2rem; }
.hero-meta p { font-size: 1.15rem; line-height: 1.45; }
.site-header .wordmark.nolan { transition: font-size .4s var(--ease); }
.wordmark.nolan.large { font-size: 1.5rem; }

/* CTA in Pacific, footer in Lava with the reversed mark */
.cta .statement { font-weight: 400; }
.site-footer { background: var(--lava); color: #b3ab9c; border-top: 0; padding-block: 3.5rem 2.5rem; font-size: .78rem; letter-spacing: .06em; }
.site-footer .wordmark.nolan { color: var(--chalk); }
.foot-grid a:hover { color: var(--chalk); }

/* The name's story */
.story-band { border-top: 1px solid var(--rule); }
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: auto 1fr; gap: clamp(3rem, 8vw, 8rem); } }
.ola-mark {
  width: clamp(7rem, 16vw, 12rem); aspect-ratio: 1; background: var(--oxide); color: var(--chalk); display: grid; place-items: center;
  font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: .18em; padding-left: .18em; line-height: 1;
}
.ola-line { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin: 1rem 0 1.25rem; }
.link { justify-self: start; }

/* Header: the hairline under "nolan" runs on across the bar and off the right edge of the page (the board's extended logo) */
.site-header .wordmark.nolan .wm-name { padding-bottom: 0; border-bottom-color: transparent; }
.site-header .wordmark.nolan .wm-t { padding-bottom: .16em; }
.site-header .wordmark.nolan .wm-name::after {
  content: ""; display: block; position: absolute; left: var(--gutter); right: 0; height: 1px; background: var(--oxide);
}

/* The drawn name: x-height is 1em of the wordmark, strokes .08em */
.wordmark.nolan .wm-t { margin: 0; line-height: 0; letter-spacing: 0; }
.wordmark.nolan .wm-svg { display: block; height: 1.74em; width: 6.48em; overflow: visible; }
.wordmark.nolan .wm-svg path, .wordmark.nolan .wm-svg circle { fill: none; stroke-width: 8; }
.wordmark.nolan .wm-n { fill: currentColor; stroke: currentColor; }
.wordmark.nolan .wm-n polygon, .wordmark.nolan .wm-ola polygon { stroke: none; }
.wordmark.nolan .wm-ola { fill: var(--oxide); stroke: var(--oxide); }
.wordmark.nolan .wm-name { font-size: 1em; }
.wordmark.nolan .wm-name { padding-bottom: .3em; }
.site-header .wordmark.nolan .wm-name { padding-bottom: 0; }
.site-header .wordmark.nolan .wm-t { padding-bottom: .3em; }

/* Footer: the hairline under the name runs on off the right edge of the page, as in the header */
.site-footer { overflow-x: clip; }
.site-footer .foot-grid { position: relative; }
.site-footer .wordmark.nolan .wm-name { padding-bottom: 0; border-bottom-color: transparent; }
.site-footer .wordmark.nolan .wm-t { padding-bottom: .3em; }
.site-footer .wordmark.nolan .wm-name::after {
  content: ""; display: block; position: absolute; left: var(--gutter); right: -100vw; height: 1px; background: var(--oxide);
}
@media (min-width: 900px) { .site-footer .foot-grid > ul { padding-top: 4.4rem; } }

/* Work entries: the small caps label keeps its label size (".entry p" above would enlarge it) */
.entry p.label { font-size: .7rem; line-height: 1.6; }

/* ola — life: the filled mark, a dash, and the same square in outline with the translation */
.ola-pair { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 1.6rem); }
.ola-pair .ola-mark { width: clamp(6.5rem, 14vw, 11rem); font-size: clamp(1.8rem, 4vw, 3.2rem); flex: none; }
.ola-mark.life { background: transparent; color: var(--oxide); box-shadow: inset 0 0 0 1px var(--oxide); }
.ola-dash { width: clamp(1.2rem, 3vw, 2.2rem); height: 1px; background: var(--oxide); flex: none; }
