/* Layout: one centred column on a dark teal ground; white reading surfaces; amber for the one action per screen. */
:root {
  color-scheme: dark;
  --night: #071619; --deep: #0B2227; --panel: #0E2A30; --teal: #1F5A60; --mist: #C9DEDD; --pale: #EEF5F4;
  --paper: #FFFFFF; --ink: #14262A; --amber: #F2A541; --red: #C2382B; --neon: #FF5A4D; --soft: #9CB5B6; --muted: #3D5458;
  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Literata', Georgia, 'Times New Roman', serif;
  --label: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --script: 'Yellowtail', 'Snell Roundhand', 'Brush Script MT', cursive;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--night); color: var(--mist); font-family: var(--body); font-size: 19px; line-height: 1.65; padding-inline: 16px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 680px; margin: 0 auto; }
header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 22px; }
.wordmark span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; color: var(--amber); margin-top: 3px; text-align: left; }
.wordmark { font-family: var(--label); font-weight: 800; font-size: 22px; letter-spacing: 0.16em; text-transform: uppercase; color: #EAF2F1; background: none; border: 0; padding: 0; cursor: pointer; }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
nav.main .link { font-family: var(--label); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; color: var(--mist); background: none; border: 0; padding: 10px 0; cursor: pointer; border-bottom: 2px solid transparent; }
nav.main .link[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--amber); }
.btn { display: inline-block; font-family: var(--label); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; text-decoration: none; text-align: center; border: 0; border-radius: 6px; padding: 16px 28px; cursor: pointer; background: var(--amber); color: var(--deep); }
.btn.dark { background: var(--deep); color: #FFFFFF; }
.btn.ghost { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 2px var(--teal); }
.btn.small { padding: 11px 18px; font-size: 15px; }
.btn:hover { opacity: 0.9; }
.eyebrow { font-family: var(--label); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: #FFFFFF; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
section.block { padding-block: 56px; }
.hero-copy { padding-block: 40px 8px; }
.paper { background: var(--paper); color: var(--ink); padding: clamp(28px, 5vw, 56px); }
.paper h1, .paper h2, .paper h3 { color: var(--deep); }
.paper .eyebrow { color: var(--teal); }
.paper .eyebrow b { color: var(--red); font-weight: 800; }
.tint { background: var(--pale); color: var(--ink); padding: clamp(24px, 4vw, 40px); }
.tint h2, .tint h3 { color: var(--deep); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: center; }
.cols > * { min-width: 0; }
.ph { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; color: var(--red); background: #FBEDEA; padding: 2px 8px; border-radius: 4px; }
.pill { display: inline-block; font-family: var(--label); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--panel); color: var(--amber); }
.script { font-family: var(--script); font-size: 44px; line-height: 1.1; color: var(--red); }
.rule { width: 56px; height: 4px; background: var(--amber); }
/* forms */
label { display: block; font-family: var(--label); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; color: var(--deep); margin-bottom: 6px; }
label span { font-weight: 600; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; font-family: var(--body); font-size: 19px; color: var(--ink); background: #FFFFFF; border: 2px solid #B9CCCB; border-radius: 6px; padding: 13px 14px; }
.field { margin-bottom: 20px; }
/* list */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font-family: var(--label); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; padding: 10px 18px; border-radius: 999px; border: 2px solid #B9CCCB; background: #FFFFFF; color: var(--deep); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #FFFFFF; }
ul.items { list-style: none; margin: 0; padding: 0; }
ul.items li { border-top: 1px solid #D5E2E1; }
ul.items li:last-child { border-bottom: 1px solid #D5E2E1; }
ul.items a:not(.btn):not(.plain) { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; justify-content: space-between; width: 100%; text-align: left; background: none; border: 0; padding: 20px 4px; cursor: pointer; color: var(--ink); font: inherit; }
ul.items .t { font-family: var(--display); font-size: 23px; line-height: 1.25; color: var(--deep); flex: 1 1 300px; min-width: 0; }
ul.items .k { font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 4px; }
ul.items .k b { color: var(--red); }
ul.items .m { font-family: var(--label); font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
ul.items a:not(.btn):hover .t { text-decoration: underline; }
.article p { margin: 0 0 22px 0; }
.note { border-left: 3px solid var(--amber); padding: 4px 0 4px 22px; margin: 0 0 22px 0; font-style: italic; }
.note p:last-child { margin-bottom: 0; }
.pull { font-family: var(--display); font-size: clamp(23px, 3vw, 28px); line-height: 1.35; color: var(--deep); background: var(--pale); padding: 24px 26px; margin: 4px 0 26px 0; }
footer.site { padding-block: 36px 48px; font-size: 15px; line-height: 1.6; color: var(--soft); }
/* Site additions: the mockup used <button> for navigation; the site uses links. These keep links looking the same. */
a.wordmark { display: inline-block; text-decoration: none; line-height: normal; }
nav.main a.link { text-decoration: none; line-height: normal; }
a.btn { line-height: normal; }
ul.items a:not(.btn):not(.plain) { text-decoration: none; }
.article p:last-child { margin-bottom: 0; }
.article blockquote { border-left: 3px solid var(--amber); padding: 4px 0 4px 22px; margin: 0 0 22px 0; font-style: italic; }
.article blockquote p:last-child { margin-bottom: 0; }
.article > blockquote:last-child, .article > .pull:last-child { margin-bottom: 0; }
textarea { width: 100%; font-family: var(--body); font-size: 19px; line-height: 1.5; color: var(--ink); background: #FFFFFF; border: 2px solid #B9CCCB; border-radius: 6px; padding: 13px 14px; resize: vertical; }
textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
/* Barbara's desk */
.desk-drop { display: block; border: 2px dashed #B9CCCB; border-radius: 6px; padding: 28px 20px; text-align: center; background: var(--pale); cursor: pointer; margin-bottom: 20px; }
.desk-drop.over { border-color: var(--amber); background: #FFF6E8; }
.desk-drop strong { display: block; font-family: var(--display); font-weight: 400; font-size: 25px; color: var(--deep); margin-bottom: 6px; }
.desk-drop input[type="file"] { font-family: var(--label); font-size: 16px; max-width: 100%; margin-top: 12px; }
.pill.draft { background: #E3ECEB; color: var(--deep); }
.pill.published { background: var(--panel); color: var(--amber); }
.pill.sent { background: var(--teal); color: #FFFFFF; }
.msg { border-top: 1px solid #D5E2E1; padding: 14px 0; font-size: 18px; white-space: pre-wrap; }
.msg .who { display: block; font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.change { border: 2px solid #B9CCCB; border-radius: 6px; padding: 18px; }
.change .old, .change .new { white-space: pre-wrap; font-size: 18px; padding: 10px 14px; border-radius: 4px; }
.change .old { background: #FBEDEA; }
.change .new { background: var(--pale); }
.change .lab { font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 10px 0 4px 0; }
.preview { width: 100%; height: 720px; border: 2px solid #B9CCCB; border-radius: 6px; background: var(--night); }
.tabs a { font-family: var(--label); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; padding: 10px 18px; border-radius: 999px; border: 2px solid #B9CCCB; background: #FFFFFF; color: var(--deep); text-decoration: none; }
.tabs a[aria-current="true"] { background: var(--deep); border-color: var(--deep); color: #FFFFFF; }
.meta { font-family: var(--label); font-weight: 600; font-size: 15px; color: var(--muted); }
.paper .plain { color: var(--teal); font-weight: 600; }
form.inline { display: inline; }
ul.items li.row-item { padding: 18px 4px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.msg.assistant { background: var(--pale); padding: 16px 18px; border-top: 0; border-radius: 6px; margin: 6px 0; }
.msg.system { color: var(--muted); font-size: 16px; }
details.paper > summary { font-family: var(--label); font-weight: 800; font-size: 16px; color: var(--deep); cursor: pointer; }
ul.items a.plain .k { font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 4px; }
/* Editable page text: the "Edit" tag only Barbara sees, and the mark on wording waiting to be published */
.editable { position: relative; }
.edit-tag { position: absolute; top: -23px; right: 0; font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; background: var(--amber); color: var(--deep); padding: 3px 12px; border-radius: 999px; line-height: 1.5; opacity: 0.92; }
.edit-tag:hover { opacity: 1; }
.editable.changed { outline: 2px solid var(--amber); outline-offset: 8px; }
.paper details > summary { font-family: var(--label); font-weight: 800; font-size: 16px; color: var(--deep); cursor: pointer; padding: 10px 0; }
.paper details { border-top: 1px solid #D5E2E1; }
details.paper { border-top: 0; }
