/* Zeta's pages (SP_Eames_ZetaPages_2026-11-16, a9ba87eb). Phone-first: every rule is for 390 px; the wide case is below.
   Fonts are our own (/fonts/fonts.css): Lora for reading, Inter for the record register. No outside requests.
   Copper is HER colour: the name, the active door, links in her speech, the selected mode, the starters' outline. It is
   never on a standing tag; the standing tags are ink with an outline (solid, light, dashed). The pin teal keeps its own
   meaning and is not used here. Light only for now: copper's measured contrast is on these grounds (s3). */
:root {
  --ground: #F5F1E8;         /* the conversation ground (s3) */
  --rail: #F0EADD;           /* the rail */
  --paper: #FFFFFF;
  --ink: #1F1D1A;
  --text-muted: #5E5C57;     /* the house's record register (s6) */
  --line: #D9D1C1;
  --copper: #7A4A28;         /* Zeta's identity colour (s3) */
  --pin: #0B6E78;            /* the pin teal: its one meaning, not used on these pages */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.55 var(--serif); overflow-x: hidden;
  padding: 0 max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left)); }
img { max-width: 100%; }
a { color: var(--copper); text-underline-offset: 2px; }
h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 10px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ── THE RECORD REGISTER: upright sans, at least 13 px, muted ── */
.record, .say, .quiet, .label, .dateline, .tagline, .mode-word, .sources { font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--text-muted); font-style: normal; }
.label { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin: 0 0 8px; }
.k { font-weight: 600; }

/* ── HEADER: on a phone one line, avatar, name and one door ── */
.top { position: relative; display: flex; align-items: center; gap: 10px; min-height: 60px; max-width: 1100px; margin: 0 auto;
  border-bottom: 1px solid var(--line); }
.avatar-btn { flex: none; width: 44px; height: 44px; padding: 2px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.avatar { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--rail); }
.avatar.small { width: 32px; height: 32px; display: inline-block; vertical-align: middle; }
.who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.name { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--copper); line-height: 1.1; }
.tagline { display: none; }
.doors { display: flex; gap: 4px; }
.door { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 600 15px var(--sans); color: var(--ink);
  text-decoration: none; background: none; border: 0; border-radius: 22px; cursor: pointer; }
.door.active, .door[aria-current="page"] { color: var(--copper); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }
.door.wide { display: none; }
.menu { position: absolute; top: 58px; left: 0; z-index: 20; display: flex; flex-direction: column; min-width: 200px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.menu button { min-height: 44px; text-align: left; padding: 0 12px; font: 15px var(--sans); color: var(--ink); background: none; border: 0; cursor: pointer; }

/* ── FORMS AND CONTROLS ── */
main { max-width: 1100px; margin: 0 auto; }
.narrow { max-width: 34em; }
section { padding: 16px 0; }
label { display: block; margin: 10px 0 4px; font: 15px var(--sans); }
.tick { display: flex; gap: 10px; align-items: center; min-height: 44px; }
input[type=email], input:not([type]), textarea { width: 100%; font: 17px var(--serif); padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper); color: var(--ink); }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--copper); }
button { font: 600 15px var(--sans); min-height: 44px; margin-top: 10px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--copper);
  background: var(--copper); color: var(--paper); cursor: pointer; }
button.linkish { background: none; color: var(--copper); border: 0; padding: 0 4px; margin: 0; text-decoration: underline; min-height: 44px; }
code { word-break: break-all; font: 13px var(--mono); }
.recipients { list-style: none; margin: 0; padding: 0; }

/* ── STANDING TAGS: words, not traffic lights. Small caps, page ink, an outline only. ── */
.tag { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .08em; color: var(--ink); padding: 4px 7px; border-radius: 3px;
  border: 1.5px solid var(--ink); background: transparent; }
.tag.reported { border: 1px solid #A8A39A; }
.tag.expected { border: 1.5px dashed var(--ink); }
.standing { margin: 4px 0 8px; font-family: var(--sans); font-size: 13px; color: var(--text-muted); }
.thin { font-family: var(--sans); }

/* ── TODAY: the news page ── */
.news { max-width: 34em; }
.dateline { margin: 16px 0 4px; }
.fixture { color: var(--text-muted); }
.brief section { border-top: 1px solid var(--line); }
.flash { background: var(--paper); margin: 0 -16px; padding: 16px; border-top: 3px solid var(--ink) !important; }
.hl { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 500; }
.n { color: var(--text-muted); }
.body { font-family: var(--serif); font-size: 17px; }
.five { list-style: none; margin: 0; padding: 0; }
.item { padding: 14px 0 16px; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.item:last-child { border-bottom: 0; }
.uk { font-family: var(--serif); font-size: 17px; padding-left: 12px; border-left: 3px solid var(--ink); }
.uk-label { font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .05em; }
.note { font-style: normal; }
.ask-this { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px var(--sans); }
.sourcing { margin: 8px 0 0; font-family: var(--sans); }
.sourcing summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font: 600 14px var(--sans); color: var(--text-muted); }
.cal { list-style: none; margin: 0; padding: 0; }
.cal li { padding: 6px 0; }
.deadline { font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 2px 5px; border-radius: 3px; }
.boundary { margin: 24px 0 8px; text-align: center; }
.boundary hr { border: 0; border-top: 1px solid var(--ink); opacity: .35; margin: 0 0 8px; }
.boundary p { font: 600 13px var(--sans); color: var(--text-muted); letter-spacing: .04em; }
.continue { font: 600 13px var(--sans); }
.ask-head { display: flex; align-items: center; gap: 10px; font: 500 19px var(--serif); margin-bottom: 10px; }
.ask-box { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--text-muted); text-decoration: none; font: 17px var(--serif); }

/* ── MODES: the selected one filled copper, the others outlined ── */
.modes { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mode { flex: 1 1 0; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin: 0; padding: 0 10px;
  font: 600 14px var(--sans); color: var(--copper); background: transparent; border: 1.5px solid var(--copper); border-radius: 22px;
  text-decoration: none; white-space: nowrap; }
.mode.on, .mode[aria-checked="true"], .mode[aria-current="true"] { background: var(--copper); color: var(--paper); }

/* ── THE DESK ── */
.desk { display: flex; flex-direction: column; }
.scents { background: var(--rail); margin: 0 -16px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.scents-list { list-style: none; margin: 0; padding: 0; }
.scents-list.folded { display: none; }
.scents-line { width: 100%; margin: 0; text-align: left; color: var(--ink); background: none; border: 0; font: 600 14px var(--sans); }
.scent-btn { display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin: 0; padding: 6px 0; min-height: 44px; text-align: left;
  background: none; color: var(--ink); border: 0; border-radius: 0; font: 16px/1.35 var(--serif); }
.scent + .scent { border-top: 1px solid var(--line); }
.scent-hl { display: block; }
.scent-st { font: 13px var(--sans); color: var(--text-muted); margin-top: 3px; }
.scent.last .scent-btn { font: 600 14px var(--sans); color: var(--text-muted); }
.talk { max-width: 34em; width: 100%; }
.welcome { margin: 16px auto 0; max-width: 560px; transition: opacity .6s ease; }
.welcome img { display: block; width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.welcome.gone { opacity: 0; }
.thread { list-style: none; margin: 16px 0 0; padding: 0; }
.turn { margin: 0 0 14px; white-space: pre-line; }
.turn.her { padding: 10px 14px; background: var(--paper); border-radius: 12px; margin-left: 15%; }
.turn.zeta a { color: var(--copper); }
.turn.note p { font: 13px var(--sans); color: var(--text-muted); }
.starters { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.starter { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 16px; font: 600 15px var(--sans); color: var(--copper);
  background: transparent; border: 1.5px solid var(--copper); border-radius: 22px; text-decoration: none; align-self: flex-start; }
.composer { position: sticky; bottom: 0; background: var(--ground); padding: 10px 0 max(10px, env(safe-area-inset-bottom)); }
.quote { font: 13px var(--sans); color: var(--text-muted); border-left: 3px solid var(--line); padding: 4px 10px; margin-bottom: 6px; }
.edge { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mode-word { flex: 1; }
.held { margin: 0; min-height: 44px; background: none; color: var(--copper); border: 0; padding: 0 6px; text-decoration: underline; }
.send { margin: 0; }

/* ── THE READ SPACE ── */
.readspace { position: fixed; inset: 0; z-index: 30; background: rgba(31, 29, 26, .35); display: flex; align-items: flex-end; justify-content: center; }
.readspace-card { position: relative; width: 100%; max-width: 38em; max-height: 88vh; overflow-y: auto; background: var(--ground);
  border-radius: 14px 14px 0 0; padding: 18px 16px 28px; }
.close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 50%; border: 0;
  background: none; color: var(--ink); font-size: 20px; }

@media (prefers-reduced-motion: reduce) { .welcome { transition: none; } }

/* ── THE WIDE CASE ── */
@media (min-width: 760px) {
  body { padding: 0 24px 40px; }
  .tagline { display: block; }
  .door.wide { display: inline-flex; }
  .desk { flex-direction: row; align-items: flex-start; gap: 32px; }
  .scents { position: sticky; top: 12px; flex: 0 0 280px; margin: 16px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
    max-height: calc(100vh - 24px); overflow: hidden; }
  .scents-list.folded { display: block; }
  .scents-line { display: none !important; }
  .flash { margin: 0; border-radius: 0 0 10px 10px; }
  .readspace { align-items: center; }
  .readspace-card { border-radius: 14px; }
}
