/* The architects page's look, shared by the home and CA pages: Archivo light and wide for display,
   Courier Prime for labels, warm greys with one red, thin lines instead of boxes and shadows, lots of air. */
:root {
  --bg: #F3F3F1; --ink: #1F1F1D; --muted: #6E6D68; --line: #D8D7D2; --card: #FAFAF8; --red: #B3261E;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif; --mono: "Courier Prime", monospace;
  /* names the older components (and assets/ca-scene.js) read */
  --paper: var(--bg); --win: var(--card); --bar: #EDE3C4; --ok: #3F7D4F; --display: var(--sans); --text: var(--sans);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #151514; --ink: #ECEBE6; --muted: #9C9B95; --line: #34332F; --card: #1D1D1B; --red: #FF8378; --bar: #5A5136; --ok: #8CD49B; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 350 1.0625rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

.top { position: fixed; inset: 0 0 auto; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem max(1.5rem, calc((100% - 80rem) / 2 + 1.5rem)); font-size: .95rem; }
.top .mark { font-weight: 600; font-stretch: 112%; text-decoration: none; letter-spacing: .01em; }
.top .mark small { font: 400 .85em var(--mono); color: var(--muted); }
.top nav { display: flex; gap: 1.5rem; }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { text-decoration: underline; }
.top .mark, .top nav a { white-space: nowrap; }
@media (max-width: 34rem) { .top nav a[href$="#contact"], .top .mark small { display: none; } .top nav { gap: 1rem; font-size: .88rem; } .top { padding: .9rem 1.1rem; } }

/* light, wide display type */
.display { font-weight: 250; font-stretch: 118%; letter-spacing: -.02em; line-height: 1.02; }
.kicker { font: 400 .95rem var(--mono); color: var(--red); margin: 0 0 1rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-block; padding: .7rem 1.2rem; text-decoration: none; border: 1px solid var(--ink); font-weight: 500; transition: background .15s, color .15s; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn:not(.primary):hover { background: var(--ink); color: var(--bg); }
.btn.primary:hover { background: transparent; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* a window is a thin frame now: no hard shadow, no title-bar dots */
.win { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.win > .bar { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .55rem .9rem; border-bottom: 1px solid var(--line); font: 400 .85rem var(--mono); color: var(--muted); background: var(--card); }
.win > .bar .dots { display: none; }
.win h2, .win h3 { margin: 0; }

/* the free-month offer: a statement between two rules */
.ticket { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 4rem; align-items: end; padding: 3.5rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
@media (max-width: 52rem) { .ticket { grid-template-columns: 1fr; padding: 2.5rem 0; } }
.ticket h2 { margin: 0 0 1rem; font-weight: 250; font-stretch: 118%; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 16ch; }
.ticket h2 .free { color: var(--red); font-weight: 400; }
.ticket p { margin: 0; max-width: 46ch; color: var(--muted); }
.ticket .actions { flex-direction: column; align-items: stretch; }
.ticket .btn { text-align: center; }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .95rem; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
footer p { margin: 0 0 .5rem; max-width: 52ch; }

.fake-note { font: 400 .85rem var(--mono); color: var(--muted); }
