/* Hallmark · macrostructure: Marquee Hero + project index · tone: playful/editorial · anchor hue: blue
 * theme: studied-DNA (source: https://gabrielmesquitaport.framer.website/), adapted for Pãotheon
 * paper: tokens.css --cream · accent: tokens.css --blue · display/body: Big Shoulders / IBM Plex Sans
 * pre-emit critique: P4 H4 E4 S5 R4 V4 · honest/chrome/tokens/mobile: reviewed; details in .hallmark/review.md
 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--toast); color: var(--night); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
:is(.site-header, .hero, .footer) :focus-visible { outline-color: var(--toast); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; font-style: normal; min-width: 0; overflow-wrap: anywhere; }
.shell { width: 100%; max-width: var(--page); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; color: var(--night); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--night); color: var(--white); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 94px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: var(--target-size); font-size: 24px; font-weight: 500; letter-spacing: -.9px; }
.loaf { width: 34px; height: 34px; stroke: var(--toast); stroke-width: 2.7; stroke-linejoin: round; stroke-linecap: round; }
nav { display: flex; gap: clamp(20px, 3vw, 46px); font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-height: var(--target-size); gap: 10px; }
nav a:hover { color: var(--toast); }
.nav-github { border-bottom: 1px solid var(--night-line); }
.hero { background: var(--night); color: var(--white); padding: 22px 0 40px; }
.hero-kicker { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--text-on-night-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-brand { display: grid; grid-template-columns: minmax(0, 1fr) 25%; align-items: center; margin: 24px 0 24px; min-height: 232px; }
.hero h1 { font-family: var(--display); font-size: clamp(100px, 16.8vw, 242px); line-height: 1; letter-spacing: -.04em; white-space: nowrap; color: var(--blue); }
.wordmark-dot { color: var(--toast); }
.mascot-wrap { width: 100%; height: 250px; position: relative; }
.mascot { width: 135%; max-width: none; position: absolute; inset: -17.5%; height: 135%; object-fit: contain; transition: transform 300ms var(--ease); }
.mascot-wrap:hover .mascot { transform: rotate(-4deg); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) auto; align-items: end; gap: 44px; border-top: 1px solid var(--night-line); padding-top: 30px; }
.hero-statement { font-size: clamp(23px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.04em; }
.hero-description { max-width: 370px; color: var(--text-on-night-muted); font-size: 15px; line-height: 1.65; }
.hero-link { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: var(--target-size); font-size: 14px; border-bottom: 1px solid var(--white); padding-bottom: 10px; white-space: nowrap; }
.hero-link span { color: var(--toast); font-size: 24px; }
.hero-link:hover { color: var(--toast); border-color: var(--toast); }
.projects { padding: 58px 0 92px; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding-bottom: 24px; }
.section-heading h2 { font: 500 clamp(18px, 2.2vw, 26px)/1.3 var(--body); letter-spacing: -.03em; }
.featured { border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 42px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .075em; text-transform: uppercase; font-weight: 500; }
.status-dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.featured h3 { font: 800 clamp(62px, 7.2vw, 104px)/1.1 var(--display); letter-spacing: -.035em; margin-top: 24px; }
.title-period { color: var(--accent-ink); }
.project-lead { font-size: clamp(23px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.035em; margin-top: 16px; }
.project-description { max-width: 460px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.features { list-style: none; margin: 24px 0 32px; padding: 0; font-size: 13px; }
.features li { padding-block: 7px; border-bottom: 1px solid var(--line); }
.features li::before { content: '↳'; padding-right: 12px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; min-height: 52px; padding: 13px 20px; font-size: 14px; font-weight: 500; border: 1px solid transparent; transition: background var(--duration) var(--ease), color var(--duration) var(--ease); }
.button span { font-size: 20px; line-height: 1; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--accent-hover); }
.pipeline-figure { align-self: start; }
.pipeline-art { background: var(--blue-light); color: var(--diagram-ink); padding: 28px 32px 22px; }
.diagram-top, .diagram-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .04em; }
.diagram-top { font-size: 13px; font-weight: 500; }
.diagram-top > span:last-child { font-size: 32px; }
.source-stack { position: relative; height: 130px; width: 160px; margin: 24px auto 0; }
.source-stack span { display: block; position: absolute; width: 152px; height: 69px; border: 1px solid var(--diagram-rule); background: var(--blue-light); top: 12px; left: 0; }
.source-stack span:nth-child(1) { transform: rotate(-9deg); }
.source-stack span:nth-child(2) { transform: rotate(7deg); }
.source-stack span:nth-child(3) { top: 22px; left: 4px; background: var(--diagram-layer); }
.source-stack b { position: absolute; z-index: 1; top: 45px; left: 18px; font-size: 12px; letter-spacing: .09em; font-weight: 500; }
.flow-line { height: 30px; width: 1px; background: var(--diagram-rule); margin: -22px auto 0; }
.flow-step { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--diagram-divider); font-size: 15px; }
.step-number { font-size: 10px; }
.flow-step > span:last-child { margin-left: auto; }
.export-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.export-row > span { display: flex; justify-content: space-between; padding: 19px 14px; background: var(--diagram-output); color: var(--white); font-size: 13px; letter-spacing: .07em; }
.export-row b { font-weight: 400; }
.diagram-bottom { margin-top: 40px; }
.diagram-bottom > span:last-child { font-size: 30px; }
figcaption { color: var(--muted); font-size: 11px; padding-top: 10px; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.project-art { padding: 22px 24px 20px; }
.city-art { background: var(--sage); color: var(--sage-ink); }
.community-art { background: var(--rose); color: var(--rose-ink); }
.art-topline { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .05em; font-weight: 500; }
.project-art svg { margin: 28px 0 8px; width: 100%; }
.city-baseline { stroke: currentColor; stroke-width: 1.3; }
.city-buildings { stroke: currentColor; stroke-width: 1.4; }
.city-trend { stroke: currentColor; stroke-width: 1.5; }
.city-nodes { fill: var(--sage); stroke: currentColor; stroke-width: 1.5; }
.art-note { font: 800 clamp(23px, 2.6vw, 36px)/1.2 var(--display); letter-spacing: -.015em; }
.map-roads { stroke: var(--map-line); stroke-width: 1.3; }
.map-route { stroke: var(--rose-ink); stroke-width: 1.5; stroke-dasharray: 4 5; }
.church-symbol { stroke: var(--rose-ink); stroke-width: 2; fill: var(--rose); stroke-linejoin: round; }
.small-copy { padding-top: 26px; }
.small-copy h3 { font: 800 clamp(34px, 3.3vw, 48px)/1.1 var(--display); letter-spacing: -.025em; margin: 14px 0; }
.small-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 450px; }
details { border-bottom: 1px solid var(--line); margin-top: 24px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding-block: 10px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent-ink); }
.details-symbol { font-size: 24px; transition: transform var(--duration) var(--ease); }
details[open] .details-symbol { transform: rotate(45deg); }
.details-content { padding: 8px 0 24px; font-size: 14px; }
.disclosure-note { color: var(--muted); margin-top: 16px; font-size: 12px; }
.about { border-top: 1px solid var(--line); padding: 80px 0 96px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; }
.about h2 { font: 800 clamp(42px, 4.6vw, 68px)/1.08 var(--display); letter-spacing: -.025em; margin-top: 24px; }
.about-copy { padding-top: 4px; max-width: 470px; }
.about-copy p + p { margin-top: 20px; color: var(--muted); font-size: 15px; }
strong { font-weight: 500; }
.text-link { display: flex; justify-content: space-between; align-items: center; max-width: 280px; min-height: var(--target-size); margin-top: 28px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.text-link:hover { color: var(--accent-ink); }
.footer { background: var(--night); color: var(--white); padding: 72px 0 24px; }
.footer-main { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 64px; }
.footer h2 { font: 800 clamp(58px, 7.5vw, 108px)/1 var(--display); letter-spacing: -.035em; }
.button-light { color: var(--night); background: var(--toast); margin-bottom: 4px; }
.button-light:hover { background: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.footer-bottom > span { font-size: 11px; color: var(--text-on-night-muted); }
.button, nav a, summary, .text-link { white-space: nowrap; }
@media (min-width: 1440px) { .hero h1 { font-size: 242px; } }
@media (max-width: 1000px) {
  .hero-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .hero-link { grid-column: 2; justify-self: start; }
  .hero-statement { grid-row: span 2; align-self: start; }
  .hero-brand { min-height: 190px; }
  .featured { gap: 32px; }
  .pipeline-art { padding-inline: 22px; }
  .project-pair { gap: 28px; }
  .about-grid { gap: 40px; }
  .footer-main { align-items: start; flex-direction: column; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .header-inner { min-height: 80px; gap: 10px; }
  .brand { font-size: 22px; gap: 6px; }
  .loaf { width: 28px; height: 28px; }
  nav { gap: 18px; font-size: 12px; }
  nav .nav-github { display: none; }
  .hero { padding-top: 16px; padding-bottom: 36px; }
  .hero-kicker { font-size: 9px; letter-spacing: .09em; }
  .location { display: none; }
  .hero-brand { grid-template-columns: minmax(0, 1fr); margin: 24px 0 14px; min-height: 0; }
  .hero h1 { font-size: clamp(64px, 19.7vw, 124px); }
  .mascot-wrap { width: 150px; height: 150px; justify-self: center; margin-top: 10px; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 24px; }
  .hero-statement { grid-row: auto; font-size: 28px; }
  .hero-description { max-width: 380px; font-size: 14px; }
  .hero-link { grid-column: auto; width: 100%; justify-self: stretch; font-size: 13px; }
  .projects { padding: 36px 0 52px; }
  .section-heading { gap: 12px; padding-bottom: 20px; }
  .section-heading h2 { font-size: 18px; max-width: 200px; }
  .featured { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; }
  .featured h3 { font-size: 72px; margin-top: 16px; }
  .project-lead { font-size: 26px; }
  .project-description { font-size: 14px; margin-top: 18px; }
  .features { margin-block: 20px 24px; font-size: 12px; }
  .button { width: 100%; gap: 20px; font-size: 13px; }
  .pipeline-art { padding: 18px 22px; }
  .source-stack { margin-top: 16px; }
  .diagram-bottom { margin-top: 24px; }
  .project-pair { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-top: 48px; }
  .project-art { padding: 18px; }
  .art-topline { font-size: 8px; }
  .project-art svg { margin-top: 22px; }
  .art-note { font-size: 28px; }
  .small-copy { padding-top: 22px; }
  .small-copy h3 { font-size: 39px; }
  .small-copy > p:not(.eyebrow) { font-size: 14px; }
  .about { padding: 44px 0 52px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about h2 { font-size: 44px; margin-top: 18px; }
  .about-copy p + p { font-size: 14px; }
  .footer { padding: 44px 0 24px; }
  .footer-main { gap: 28px; padding-bottom: 40px; }
  .footer h2 { font-size: 64px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
