/* AYO Mini (formerly WAWA Mini): static project journal. No external fonts or scripts. */
:root {
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #182b31;
  --muted: #52636a;
  --line: #d4ddd9;
  --accent: #006c60;
  --soft: #e6f0eb;
  --night: #142f35;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.7 var(--sans); }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol, figure, blockquote, dl { margin-top: 0; }
p { margin-bottom: 1.2em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; font-weight: 650; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.6rem); margin-bottom: .4em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); margin-bottom: .7em; }
h3 { font-size: 1.35rem; margin-bottom: .65em; }
li + li { margin-top: .45em; }
code { font: .87em var(--mono); overflow-wrap: anywhere; }
.wrap { width: min(1160px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; top: -6rem; left: 1rem; background: var(--surface); padding: .7rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.brand-mark { width: 38px; height: 38px; background: var(--accent); color: white; display: grid; place-items: center; border-radius: 9px 9px 9px 2px; font: 700 1.1rem var(--mono); }
.brand small { display: block; font: .65rem/1.8 var(--mono); text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.brand s { color: var(--muted); font-weight: 400; margin-right: .3em; }
.naming-note { margin-block: 1.8rem 0; padding: 1.2rem 1.4rem; background: var(--soft); border-left: 3px solid var(--accent); }
.naming-note .rename-title { margin-bottom: .45rem; font-size: 1.15rem; }
.naming-note s { color: var(--muted); margin-right: .65em; }
.naming-note > p:last-child { margin-bottom: 0; max-width: 84ch; font-size: .95rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.8rem; font-size: .9rem; }
.site-nav a { text-decoration: none; color: var(--muted); padding-block: .45rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); box-shadow: 0 2px var(--accent); }
.eyebrow { font: .75rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1.4rem; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; padding-block: 5.7rem 4.9rem; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.2rem; line-height: 1.65; color: var(--muted); max-width: 42rem; }
.text-link { display: inline-flex; gap: .65rem; align-items: center; font-size: .95rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .2rem; }
.study-card { background: var(--night); color: #f5faf7; border-radius: 3px; padding: 2.2rem; position: relative; }
.study-card .eyebrow { color: #92d0bb; }
.study-card h2 { font-size: 2rem; margin-bottom: .85rem; }
.study-card p { color: #ccdad9; font-size: .95rem; }
.signal { display: grid; gap: .6rem; margin: 1.8rem 0; }
.signal-row { display: grid; grid-template-columns: 4.7rem 1fr 3rem; align-items: center; gap: .8rem; font: .8rem var(--mono); }
.signal-track { height: 8px; background: #355057; }
.signal-fill { height: 100%; background: #a4d8c8; }
.signal-row span:last-child { text-align: right; }
.study-note { margin-bottom: 0; padding-top: 1rem; border-top: 1px solid #426069; }
.section { padding-block: 4.3rem; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2 { margin: 0; }
.section-number { color: var(--muted); font: .75rem var(--mono); margin-right: .8rem; }
.overview { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
.overview article { border-left: 2px solid var(--line); padding-left: 1.3rem; }
.overview h3 { font-size: 1.25rem; }
.overview p { font-size: .98rem; color: var(--muted); margin-bottom: 0; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.entry-card { background: var(--surface); border: 1px solid var(--line); padding: 2rem; display: flex; flex-direction: column; align-items: start; }
.entry-card h3 { font-size: 1.85rem; margin-block: .8rem 1rem; }
.entry-card h3 a { color: var(--ink); text-decoration: none; }
.entry-card h3 a:hover { color: var(--accent); }
.entry-card p { color: var(--muted); font-size: 1rem; }
.entry-card .text-link { margin-top: auto; }
.meta { font: .75rem/1.7 var(--mono); color: var(--muted); letter-spacing: .015em; }
.topic { font: .7rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--accent); background: var(--soft); padding: .35rem .55rem; }
.about { display: grid; grid-template-columns: .9fr 1.5fr; gap: 4rem; }
.about p { max-width: 43rem; }
.access-note { font-size: .92rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .8rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.footer-inner p { margin: 0; }
.page-header { padding-block: 4.5rem 3rem; max-width: 820px; }
.page-header h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); }
.archive { padding-bottom: 5rem; }
.article-header { padding-block: 3.3rem 2.8rem; max-width: 900px; }
.breadcrumb { display: inline-block; margin-bottom: 2.5rem; font-size: .85rem; }
.article-header h1 { font-size: clamp(2.8rem, 5.8vw, 4.8rem); max-width: 900px; }
.article-header .meta { padding-top: .7rem; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 760px); gap: 3.6rem; padding-bottom: 5rem; }
.article-aside { font-size: .82rem; padding-top: .25rem; }
.article-aside strong { display: block; font: .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.article-aside a { display: block; margin-bottom: .7rem; color: var(--muted); text-decoration: none; }
.article-aside a:hover { color: var(--accent); text-decoration: underline; }
.article-body { min-width: 0; }
.article-body > p, .article-body > ul, .article-body > ol, .article-body > dl { max-width: 70ch; }
.article-body h2 { margin-top: 2.5rem; font-size: 1.85rem; scroll-margin-top: 2rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 1.8rem; }
.article-body .opening { font: 1.35rem/1.65 var(--serif); color: var(--ink); }
.article-body figure { margin: 2rem 0; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); }
.article-body figure img { width: 100%; }
.article-body figure.results img { max-width: 600px; margin-inline: auto; }
figcaption { font-size: .83rem; line-height: 1.6; color: var(--muted); margin-top: 1.2rem; }
.callout { margin-block: 1.8rem; padding: 1.2rem 1.4rem; background: var(--soft); border-left: 3px solid var(--accent); font-size: .98rem; }
.callout p:last-child { margin-bottom: 0; }
.results-table { width: 100%; border-collapse: collapse; margin-block: 1.6rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.results-table caption { text-align: left; font-weight: 650; margin-bottom: .8rem; }
.results-table th, .results-table td { padding: .7rem .55rem; border-bottom: 1px solid var(--line); text-align: right; }
.results-table th:first-child, .results-table td:first-child { text-align: left; }
.results-table thead { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.results-table tbody tr:last-child { border-bottom: 2px solid var(--ink); }
.result-definitions { font-size: .92rem; }
.result-definitions dt { font-weight: 650; }
.result-definitions dd { margin: .2rem 0 1rem; color: var(--muted); }
.article-end { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
@media (max-width: 900px) {
  .hero { gap: 2.5rem; }
  .hero h1 { font-size: 4rem; }
  .study-card { padding: 1.5rem; }
  .overview { gap: 1.5rem; }
  .article-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .article-aside { display: none; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2.4rem); }
  .header-inner { min-height: 110px; gap: 1rem; align-items: start; justify-content: center; flex-direction: column; padding-block: 1.1rem; }
  .site-nav { gap: 1.6rem; }
  .hero { grid-template-columns: 1fr; padding-block: 3rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .lede { font-size: 1.1rem; }
  .study-card { padding: 1.6rem; }
  .section { padding-block: 3rem; }
  .section-heading { display: block; margin-bottom: 1.7rem; }
  .section-heading .text-link { margin-top: 1rem; }
  .overview, .journal-grid, .about { grid-template-columns: 1fr; gap: 1.5rem; }
  .entry-card { padding: 1.5rem; }
  .about { gap: .5rem; }
  .footer-inner { flex-direction: column; gap: .6rem; }
  .page-header { padding-top: 3rem; }
  .article-header { padding-top: 2rem; }
  .breadcrumb { margin-bottom: 1.8rem; }
  .article-header h1 { font-size: 2.8rem; }
  .article-body figure { padding: .7rem; margin-inline: -.3rem; }
  .results-table { font-size: .73rem; }
  .results-table th, .results-table td { padding: .65rem .25rem; }
  .article-end { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; font-size: 10pt; }
  .site-header, .site-footer, .article-aside, .breadcrumb, .article-end { display: none; }
  .wrap { width: 100%; }
  .article-layout { display: block; }
  .article-header { padding-top: 0; }
  .article-body figure { break-inside: avoid; }
  a { color: inherit; }
}
