/* Cathode Azure: Wayfinding Post. Prefix cza-. Pale concrete paper, azure ink, one copper accent. */
:root {
  --paper: #ecebe6;
  --paper-2: #e0ded6;
  --card: #f7f6f2;
  --ink: #1d3350;
  --ink-2: #425874;
  --azure: #2c5788;
  --copper: #8f4515;
  --copper-bg: #a4521f;
  --white: #ffffff;
  --line: #c4c1b6;
  --rail-w: 17rem;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper-bg); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; color: var(--ink); margin: 0; overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.05em; }
.cza-skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 100; }
.cza-skip:focus { left: 0; }

/* Shell: the post on the left, the stage on the right */
.cza-shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; }
.cza-post { position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; background: var(--ink); color: var(--paper); padding: 1.4rem 1rem 1.6rem 0; display: flex; flex-direction: column; gap: 1.1rem; }
.cza-post a { text-decoration: none; }
.cza-brand { display: flex; align-items: center; gap: .7rem; color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; padding-left: 1.1rem; }
.cza-brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-top: .25rem; }
.cza-brand:hover { color: var(--white); }
.cza-blades { display: flex; flex-direction: column; gap: .5rem; }
.cza-blade { display: flex; align-items: center; gap: .7rem; background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1rem; padding: .62rem 2.1rem .62rem 1rem; margin-right: .6rem; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); transition: background .15s, color .15s; }
.cza-blade[data-d="l"] { margin-right: 0; margin-left: .6rem; padding: .62rem 1rem .62rem 2.1rem; clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%); justify-content: flex-end; text-align: right; }
.cza-blade-n { font-family: var(--mono); font-weight: 500; font-size: .72rem; opacity: .65; }
.cza-blade:hover { background: var(--white); color: var(--ink); }
.cza-blade[aria-current="page"] { background: var(--copper-bg); color: var(--white); }
.cza-guides { padding-left: 1.1rem; }
.cza-guides summary { cursor: pointer; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); padding: .35rem 0; }
.cza-guides nav { display: flex; flex-direction: column; margin-top: .3rem; border-left: 2px solid var(--ink-2); }
.cza-guides nav a { color: var(--paper); font-size: .92rem; line-height: 1.3; padding: .32rem 0 .32rem .8rem; font-family: var(--display); }
.cza-guides nav a:hover { color: var(--white); text-decoration: underline; }
.cza-guides nav a[aria-current="page"] { color: var(--white); font-weight: 700; border-left: 3px solid var(--copper-bg); margin-left: -2px; }
.cza-post-core { margin-top: auto; padding-left: 1.1rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-family: var(--mono); font-size: .75rem; }
.cza-post-core a { color: var(--paper); opacity: .85; }
.cza-post-core a:hover, .cza-post-core a[aria-current="page"] { opacity: 1; text-decoration: underline; }

.cza-topbar { display: none; }
.cza-sheet { display: none; }

.cza-stage { min-width: 0; display: flex; flex-direction: column; }
.cza-wrap { flex: 1; width: 100%; max-width: 62rem; margin: 0 auto; padding: 2.4rem clamp(1.1rem, 4vw, 3rem) 3rem; }

/* Hero */
.cza-crumbs { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.cza-crumbs a { color: var(--ink-2); }
.cza-hero { margin-bottom: 1.6rem; border-bottom: 2px solid var(--ink); padding-bottom: 1.4rem; }
.cza-lede { font-size: 1.28rem; line-height: 1.55; color: var(--ink-2); margin: 1rem 0 0; max-width: 46rem; }

.cza-cols { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.8rem; align-items: start; margin-bottom: 2rem; }
.cza-cols > .cza-photo:only-child { grid-column: 1 / -1; }
.cza-photo { margin: 0; }
.cza-photo img { width: 100%; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--paper-2); background: var(--paper-2); }

.cza-key { background: var(--card); border: 2px solid var(--ink); padding: 1rem 1.15rem 1.1rem; font-size: .98rem; }
.cza-key h2 { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); margin-bottom: .6rem; }
.cza-key dl { margin: 0; display: grid; gap: .65rem; }
.cza-key dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cza-key dd { margin: .05rem 0 0; line-height: 1.4; }

/* Panels */
.cza-panel { display: block; padding: 1.9rem 0; border-top: 2px solid var(--ink); }
.cza-panel:first-of-type { border-top: 0; padding-top: .6rem; }
.cza-panel-body { max-width: 44rem; }
.cza-panel-body h2 { margin-bottom: .9rem; }
.cza-panel-body h3 { margin: 1.3rem 0 .4rem; }
.cza-panel-body ul { padding-left: 1.2rem; margin: 0 0 1.05em; }
.cza-panel-body li { margin-bottom: .35rem; }

.cza-faq h3 { font-size: 1.1rem; margin: 1.2rem 0 .3rem; }
.cza-faq h3:first-child { margin-top: 0; }
.cza-sources { font-family: var(--mono); font-size: .74rem; line-height: 1.9; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: .9rem; }
.cza-sources a { margin-right: .7rem; white-space: nowrap; color: var(--ink-2); }

/* Places, community blocks, chips */
.cza-places { list-style: none; padding: 0 !important; display: grid; gap: .7rem; }
.cza-places li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--azure); padding: .65rem .9rem; display: flex; flex-wrap: wrap; gap: .1rem .9rem; align-items: baseline; font-size: 1rem; margin: 0 !important; }
.cza-places strong { font-family: var(--display); }
.cza-kind { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cza-places em { flex-basis: 100%; font-style: normal; color: var(--ink-2); font-size: .95rem; }
.cza-community { border: 2px dashed var(--ink-2); background: var(--card); padding: 1.3rem 1.4rem; margin: 1.6rem 0 1rem; }
.cza-community h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.cza-community h3 { margin: 1rem 0 .3rem; }
.cza-entry { margin-bottom: .9rem; }
.cza-entry p { margin: 0 0 .15rem; }
.cza-entry address, .cza-addr-inline { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); }
.cza-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 !important; margin: 0 0 1.2rem !important; }
.cza-chips a { display: inline-block; background: var(--paper-2); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: .92rem; padding: .35rem .85rem; border-radius: 99px; border: 1px solid var(--line); }
.cza-chips a:hover { background: var(--ink); color: var(--white); }
.cza-map iframe { width: 100%; height: 22rem; border: 2px solid var(--ink); background: var(--paper-2); }
.cza-addr { font-family: var(--mono); font-size: .76rem; line-height: 1.5; margin-top: .8rem; opacity: .9; }

/* Home */
.cza-home-hero { position: relative; margin-bottom: 2rem; }
.cza-home-hero h1 { margin: 1rem 0 .6rem; }
.cza-corner { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0 0 2.2rem; }
.cza-tile { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 2px solid var(--ink); overflow: hidden; height: 100%; }
.cza-tile:hover { background: var(--white); }
.cza-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 2px solid var(--ink); }
.cza-tile-body { padding: .8rem 1rem 1rem; }
.cza-tile h3 { margin: .1rem 0 .3rem; font-size: 1.2rem; }
.cza-tile p { margin: 0; font-size: .98rem; color: var(--ink-2); line-height: 1.45; }
.cza-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.cza-feature { border-top: 4px solid var(--copper-bg); background: var(--card); padding: 1rem 1.2rem 1.2rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cza-feature h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.cza-feature a.cza-more { font-family: var(--mono); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.cza-sec-title { font-size: 1.5rem; margin: 2.2rem 0 1rem; padding-top: 1rem; border-top: 2px solid var(--ink); }

/* Pager, form, buttons */
.cza-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.cza-pager a { display: block; max-width: 48%; text-decoration: none; font-family: var(--display); font-weight: 700; color: var(--ink); background: var(--card); border: 2px solid var(--ink); padding: .7rem 1rem; }
.cza-pager a span { display: block; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.cza-pager .cza-next { text-align: right; margin-left: auto; }
.cza-form { display: grid; gap: 1rem; max-width: 34rem; background: var(--card); border: 2px solid var(--ink); padding: 1.4rem; }
.cza-form label { display: grid; gap: .3rem; font-family: var(--display); font-weight: 500; font-size: .95rem; }
.cza-form input, .cza-form textarea { font: inherit; font-family: var(--body); font-size: 1.05rem; padding: .6rem .75rem; border: 2px solid var(--ink-2); background: var(--white); color: var(--ink); border-radius: 0; }
.cza-hp { position: absolute !important; left: -9999px !important; }
.cza-btn { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--white); background: var(--copper-bg); border: 0; padding: .8rem 1.6rem; cursor: pointer; justify-self: start; }
.cza-btn:hover { background: var(--ink); }
.cza-note { font-size: .92rem; color: var(--ink-2); margin: 0; }
.cza-measure { max-width: 44rem; }

/* Footer: street-name plates */
.cza-footer { background: var(--paper-2); border-top: 2px solid var(--ink); padding: 1.8rem clamp(1.1rem, 4vw, 3rem) 1.6rem; font-size: .98rem; }
.cza-plates { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 0 0 1.6rem; }
.cza-plates a { display: block; background: var(--ink); color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; padding: .45rem 1rem; border: 3px solid var(--paper-2); outline: 2px solid var(--ink); border-radius: 5px; }
.cza-plates a:hover { background: var(--copper-bg); }
.cza-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.6rem; }
.cza-foot-cols h3 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.cza-foot-cols ul { list-style: none; padding: 0; margin: 0; }
.cza-foot-cols li { margin-bottom: .3rem; }
.cza-foot-cols a { color: var(--ink); }
.cza-fine { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); margin: 1.6rem 0 0; }

/* Under 56rem the post collapses into a top blade menu */
@media (max-width: 56rem) {
  .cza-shell { display: block; }
  .cza-post { display: none; }
  .cza-topbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: var(--ink); padding: .7rem 1rem; }
  .cza-topbar .cza-brand { padding-left: 0; font-size: 1.15rem; }
  .cza-menu-btn { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); color: var(--ink); border: 0; padding: .55rem .9rem; cursor: pointer; }
  .cza-sheet { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--paper); padding: 1rem 1.1rem 2.5rem; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .2s, visibility .2s; display: block; }
  .cza-sheet.is-open { transform: none; visibility: visible; }
  .cza-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
  .cza-sheet-head a { color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
  .cza-sheet h2 { color: var(--paper); font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 1.4rem 0 .6rem; opacity: .8; }
  .cza-sheet .cza-blades { max-width: 22rem; }
  .cza-sheet-links { display: flex; flex-direction: column; }
  .cza-sheet-links a { color: var(--paper); font-family: var(--display); padding: .45rem 0; text-decoration: none; border-bottom: 1px solid var(--ink-2); }
  .cza-wrap { padding-top: 1.6rem; }
  .cza-cols { grid-template-columns: minmax(0, 1fr); }
      }
@media (max-width: 30rem) {
  body { font-size: 1.06rem; }
  .cza-pager { flex-direction: column; }
  .cza-pager a { max-width: 100%; }
  .cza-map iframe { height: 17rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cza-sheet { transition: none; } }
