/* Narrative typography and composition for NOSoutras. */
:root { --muted: #465a63; --line: #d6e0dc; }
body { font-kerning: normal; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.home-page { font-size: 17px; }
.home-page h1 { font-size: clamp(43px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.045em; }
.home-page h2 { font-size: clamp(38px, 4vw, 53px); line-height: 1.09; letter-spacing: -.04em; max-width: 19ch; }
.home-page .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; margin-bottom: 20px; }
.home-page .section { padding-block: 96px; }
.home-page .hero-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 56ch; }
.home-page .hero-copy > .hero-note { font-size: 13px; line-height: 1.6; }
.home-page .section-head { max-width: 780px; }
.home-page .section-head > p:last-child { font-size: 18px; line-height: 1.65; max-width: 58ch; }
.home-page .section-intro { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .8fr); gap: 72px; margin-bottom: 56px; }
.home-page .criteria { border: 0; padding: 0; margin-top: 24px; gap: 9px 24px; font-size: 13px; }
.home-page .criteria li { display: inline-flex; align-items: center; gap: 8px; }
.home-page .criteria li::before { content: ""; width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: currentColor; }
.home-page .city-art figcaption { font-size: 11px; letter-spacing: .09em; }
.home-page .fields { margin-bottom: 48px; padding-block: 28px 32px; border-top: 1px solid var(--line); }
.home-page .fields h3 { font: 600 17px/1.4 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.home-page .fields ul { gap: 14px 32px; margin-top: 22px; }
.home-page .fields li { position: relative; border: 0; padding-left: 16px; font-size: 15px; line-height: 1.6; }
.home-page .fields li::before { content: ""; position: absolute; top: .65em; left: 0; width: 4px; height: 4px; background: var(--green); border-radius: 50%; }

/* The objectives read as six editorial entries, with distinct outcomes. */
.home-page .objectives { gap: 42px 60px; }
.home-page .objective { grid-template-columns: 104px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.home-page .portrait img { width: 104px; height: 150px; }
.home-page .objective-copy { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.home-page .objective-copy > .index { grid-column: 1; grid-row: 1; margin: 3px 0 0; color: var(--plum); font: 400 25px/1.15 var(--serif); letter-spacing: -.04em; }
.home-page .objective-copy > h3 { grid-column: 2; grid-row: 1; font-size: 26px; line-height: 1.17; margin-bottom: 16px; letter-spacing: -.025em; }
.home-page .objective-copy > p, .home-page .objective-copy > .output { grid-column: 1 / -1; }
.home-page .objective p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.home-page .output { margin-top: 20px; padding: 0; border: 0; }
.home-page .output-label { font: 700 10px/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 7px; }
.home-page .output p { color: var(--ink); font-size: 15px; line-height: 1.55; font-weight: 500; }

.home-page .implementation .section-head > p:last-child { color: #e2ecef; }
.home-page .process-caption { font: 600 11px/1.6 var(--sans); letter-spacing: .11em; text-transform: uppercase; margin-bottom: 26px; }
.home-page .process { gap: 30px; }
.home-page .process li { padding-top: 24px; border-top-color: rgba(235, 245, 240, .35); }
.home-page .step-number { display: block; width: auto; height: auto; border: 0; border-radius: 0; color: #c4e1d1; font: 400 43px/1 var(--serif); margin-bottom: 24px; letter-spacing: -.06em; }
.home-page .process h3 { font-size: 24px; line-height: 1.2; margin-bottom: 14px; }
.home-page .process p { color: #e2ecef; font-size: 15px; line-height: 1.65; }
.home-page .implementation-bottom { margin-top: 52px; padding-top: 34px; gap: 60px; }
.home-page .implementation-bottom h3 { font-size: 30px; line-height: 1.18; max-width: 20ch; }
.home-page .implementation-bottom p { font-size: 17px; line-height: 1.65; max-width: 60ch; }
.home-page .node { border-top-width: 1px; padding-top: 28px; }
.home-page .node .country { font-size: 10px; font-weight: 650; letter-spacing: .14em; color: var(--green); }
.home-page .node h3 { font-size: 37px; line-height: 1.15; margin-block: 14px 20px; }
.home-page .institution-list li { font-size: 16px; line-height: 1.55; max-width: 31ch; }

/* The name, its context and the closing statement have different voices. */
.home-page #consorcio { background: linear-gradient(110deg, #fff 4%, rgba(255,255,255,.94) 57%, rgba(255,255,255,.55)), url('/assets/watercolor-classic.webp') right bottom/1200px auto no-repeat, #f8faf9; }
.home-page .about-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 80px; }
.home-page .about-grid h2 { max-width: 16ch; }
.home-page .about-art { max-width: 360px; margin-top: 34px; gap: 0; }
.home-page .about-art img { height: 165px; }
.home-page .about-copy { max-width: 62ch; }
.home-page .about-copy .about-etymology { font-size: 15px; line-height: 1.65; color: var(--plum); margin-bottom: 25px; max-width: 57ch; }
.home-page .about-copy .about-lead { color: var(--ink); font: 400 clamp(24px, 2.25vw, 30px)/1.4 var(--serif); letter-spacing: -.02em; margin-bottom: 28px; max-width: 37ch; }
.home-page .about-copy .about-context { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 59ch; }
.home-page .about-copy .about-statement { color: var(--green-dark); font-size: 18px; font-weight: 500; line-height: 1.6; max-width: 50ch; margin: 0; }
.home-page .values { gap: 44px; margin-top: 62px; padding-top: 38px; }
.home-page .values article { border-left: 0; padding: 0; }
.home-page .values article::before { content: ""; display: block; width: 28px; height: 3px; background: var(--green); margin-bottom: 20px; }
.home-page .values article:nth-child(2)::before { background: var(--coral); }
.home-page .values article:nth-child(3)::before { background: var(--plum); }
.home-page .values h3 { font-size: 28px; line-height: 1.2; margin-bottom: 15px; }
.home-page .values p { font-size: 16px; line-height: 1.65; max-width: 35ch; }

.home-page .resources-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 90px; }
.home-page .resources h2 { font-size: 41px; line-height: 1.12; }
.home-page .data-list { list-style: none; counter-reset: data-principle; padding: 0; margin: 32px 0 28px; }
.home-page .data-list li { counter-increment: data-principle; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; padding: 0; margin: 0 0 24px; }
.home-page .data-list li::before { content: counter(data-principle, decimal-leading-zero); grid-row: 1 / 3; color: var(--plum); font: 400 20px/1.2 var(--serif); }
.home-page .data-item-title { display: block; margin-bottom: 6px; font: 700 10px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.home-page .data-list p { grid-column: 2; font-size: 16px; line-height: 1.65; margin: 0; }
.home-page .source-note { font-size: 12px; max-width: 60ch; }
.home-page #browser { padding: 0 0 0 38px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; }
.home-page #browser > p:not(.status-label) { font-size: 17px; line-height: 1.65; max-width: 47ch; }
.home-page #browser .status-label { padding: 0; border: 0; border-radius: 0; color: var(--green); font-size: 11px; font-weight: 650; letter-spacing: .035em; margin-bottom: 26px; }
.home-page #browser .actions { gap: 10px; margin-top: 28px; }
.home-page .collab-grid { gap: 76px; }
.home-page .collab-grid > div > p:not(.eyebrow) { max-width: 54ch; font-size: 18px; line-height: 1.65; color: var(--muted); }
.home-page .audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 34px; }
.home-page .audiences li { padding-top: 20px; }
.home-page .audiences h3 { font-size: 24px; line-height: 1.22; margin-bottom: 12px; }
.home-page .audiences p { font-size: 15px; line-height: 1.65; }
.home-page .form-panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 32px 0 0; background: transparent; box-shadow: none; }
.home-page .form-panel .time { font-size: 11px; color: var(--green); letter-spacing: .05em; margin-bottom: 22px; }
.home-page .form-panel h3 { font-size: 37px; line-height: 1.13; max-width: 16ch; margin-bottom: 22px; }
.home-page .form-panel > p:not(.time) { font-size: 17px; line-height: 1.65; margin-bottom: 25px; }
.home-page .form-panel summary { font-size: 14px; font-weight: 600; }
.home-page .privacy-note { margin-top: 26px; padding-top: 24px; }
.home-page .privacy-note p { font-size: 13px; line-height: 1.65; }
.home-page .privacy-note p:first-child { color: var(--ink); font-size: 14px; font-weight: 500; margin-bottom: 18px; }

/* Carry the same hierarchy into explanatory blocks and the online forms. */
.browser-page .section[id] { scroll-margin-top: 104px; }
.browser-page .section-head h2 { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.12; max-width: 21ch; letter-spacing: -.035em; }
.browser-page .section-head > p:last-child, .browser-page .lede { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 62ch; }
.browser-page .guide-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 34px; }
.browser-page .guide-card { padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.browser-page .guide-card .card-index { font: 650 11px/1.6 var(--sans); letter-spacing: .09em; color: var(--green); margin-bottom: 20px; }
.browser-page .guide-card h3 { font-size: 27px; line-height: 1.2; margin-bottom: 17px; }
.browser-page .guide-card p, .browser-page .steps p, .browser-page .interpretation p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.browser-page .interpretation { border-radius: 0; padding: 32px; }
.browser-page .interpretation h3 { font-size: 29px; line-height: 1.2; }
.browser-page .interpretation p { max-width: 65ch; }
.request-page .intro-copy { max-width: 65ch; color: var(--muted); }
.request-page .intro-copy p:first-child { color: var(--ink); font: 400 21px/1.5 var(--serif); letter-spacing: -.015em; margin-bottom: 20px; }
.request-page .intro-copy p:not(:first-child) { font-size: 15px; line-height: 1.65; }
.request-page .section-header h2 { font-size: 35px; letter-spacing: -.025em; }
.request-page .section-header p:not(.eyebrow) { font-size: 15px; line-height: 1.65; max-width: 62ch; }
.account-page .lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 48ch; }
.account-page .card-intro { font-size: 16px; line-height: 1.6; }
.consultation-page .lead, .admin-page .admin-intro { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 66ch; }


/* Center standalone reading columns; paired artwork and data grids keep their
   own columns. Narrative notes remain part of the watercolor paper. */
.home-page .wrap > .section-head,
.browser-page .wrap > .section-head {
  width: min(100%, 820px);
  max-width: 820px;
  margin-inline: auto;
}
.home-page .wrap > .section-head > h2,
.browser-page .wrap > .section-head > h2 { max-width: none; }
.home-page .wrap > .section-head > p:last-child,
.browser-page .wrap > .section-head > p:last-child { max-width: none; }
.browser-page .hero-copy > .eyebrow,
.browser-page .hero-copy > .subtitle { text-align: center; }
.browser-page .hero-copy > .subtitle,
.browser-page .hero-copy > .lede,
.browser-page .hero-copy > .pilot-note { max-width: none; }
.browser-page .hero-copy > .actions { justify-content: center; }
.browser-page .hero-copy > .guide-link { display: table; margin-inline: auto; }
.browser-page .pilot-note,
.request-page .inline-note {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 0 8px 20px;
}
.browser-page .interpretation {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 28px 0 0;
}
.browser-page .research-note {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: 8px 0 8px 20px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1000px) {
  .home-page .section-intro { gap: 36px; }
  .home-page .about-grid { gap: 44px; }
  .home-page .objectives { column-gap: 34px; }
  .home-page .objective { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; }
  .home-page .portrait img { width: 80px; height: 120px; }
  .home-page .resources-grid { gap: 44px; }
  .home-page #browser { padding-left: 26px; }
}
@media (max-width: 900px) {
  .home-page .section { padding-block: 72px; }
  .home-page .about-grid, .home-page .collab-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-page .about-grid > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) 230px; column-gap: 24px; align-items: center; }
  .home-page .about-grid > div:first-child > .eyebrow { grid-column: 1 / -1; }
  .home-page .about-grid h2 { max-width: 17ch; }
  .home-page .about-art { margin-top: 0; }
  .home-page .about-art img { height: 130px; }
  .home-page .about-copy { max-width: 65ch; }
  .home-page .about-copy .about-lead { font-size: 28px; max-width: 45ch; }
  .home-page .about-copy .about-context { max-width: 65ch; }
  .home-page .collab-grid > div > h2 { max-width: 23ch; }
  .home-page .form-panel { max-width: none; }
  .home-page .form-panel h3 { max-width: 22ch; }
  .home-page .values { gap: 26px; }
}
@media (max-width: 650px) {
  .home-page { font-size: 16px; }
  .home-page .section { padding-block: 58px; }
  .home-page h1 { font-size: clamp(36px, 9.3vw, 45px); line-height: 1.1; }
  .home-page h2, .home-page .resources h2 { font-size: 36px; line-height: 1.12; max-width: 20ch; }
  .home-page .hero-copy > p:not(.eyebrow), .home-page .section-head > p:last-child { font-size: 17px; line-height: 1.65; }
  .home-page .hero-copy > .hero-note { font-size: 13px; line-height: 1.6; }
  .home-page .section-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 36px; }
  .home-page .section-head { margin-bottom: 30px; }
  .home-page .eyebrow { margin-bottom: 17px; font-size: 10px; }
  .home-page .fields { padding-block: 24px 28px; margin-bottom: 36px; }
  .home-page .fields ul { gap: 14px 20px; }
  .home-page .fields li { font-size: 14px; }
  .home-page .objectives { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-page .objective { grid-template-columns: 66px minmax(0, 1fr); gap: 9px 18px; padding-top: 25px; }
  .home-page .portrait { grid-column: 1; grid-row: 1 / 3; }
  .home-page .portrait img { width: 66px; height: 102px; }
  .home-page .objective-copy { display: contents; }
  .home-page .objective-copy > .index { grid-column: 2; grid-row: 1; font: 600 11px/1.5 var(--sans); letter-spacing: .1em; margin: 1px 0 0; }
  .home-page .objective-copy > h3 { grid-column: 2; grid-row: 2; font-size: 26px; line-height: 1.18; margin: 0 0 5px; }
  .home-page .objective-copy > p { grid-column: 1 / -1; margin-top: 10px; font-size: 16px; }
  .home-page .objective-copy > .output { grid-column: 1 / -1; margin-top: 8px; }
  .home-page .output p { font-size: 15px; }
  .home-page .process { gap: 24px; }
  .home-page .process li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; padding-top: 24px; }
  .home-page .step-number { font-size: 35px; margin: 0; }
  .home-page .process h3 { font-size: 26px; margin-bottom: 10px; }
  .home-page .process p { font-size: 16px; }
  .home-page .implementation-bottom { gap: 16px; margin-top: 36px; }
  .home-page .implementation-bottom h3 { font-size: 29px; }
  .home-page .implementation-bottom p { font-size: 16px; }
  .home-page .node h3 { font-size: 35px; }
  .home-page .about-grid { gap: 28px; }
  .home-page .about-grid > div:first-child { display: block; }
  .home-page .about-grid h2 { max-width: 17ch; }
  .home-page .about-art { max-width: 270px; margin: 24px 0 0; }
  .home-page .about-art img { height: 125px; }
  .home-page .about-copy .about-etymology { font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
  .home-page .about-copy .about-lead { font-size: 25px; line-height: 1.4; margin-bottom: 24px; }
  .home-page .about-copy .about-context { font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
  .home-page .about-copy .about-statement { font-size: 17px; line-height: 1.6; }
  .home-page .values { margin-top: 36px; padding-top: 30px; gap: 28px; }
  .home-page .values article::before { margin-bottom: 15px; }
  .home-page .values h3 { font-size: 28px; margin-bottom: 12px; }
  .home-page .values p { font-size: 16px; max-width: 45ch; }
  .home-page .resources-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-page #browser { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0 0; }
  .home-page #browser > p:not(.status-label) { font-size: 16px; }
  .home-page .data-list li { column-gap: 14px; }
  .home-page .data-list p { font-size: 16px; }
  .home-page .collab-grid > div > p:not(.eyebrow) { font-size: 17px; }
  .home-page .audiences { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-page .audiences h3 { font-size: 25px; }
  .home-page .audiences p { font-size: 16px; }
  .home-page .form-panel { padding: 28px 0 0; }
  .home-page .form-panel h3 { font-size: 33px; max-width: 17ch; }
  .home-page .form-panel > p:not(.time) { font-size: 16px; }
  .browser-page .section-head h2 { font-size: 34px; max-width: 19ch; }
  .browser-page .section-head > p:last-child, .browser-page .lede { font-size: 17px; }
  .browser-page .guide-grid { gap: 12px; }
  .browser-page .guide-card { padding-block: 24px 16px; }
  .browser-page .interpretation { padding: 24px 0 0; }
  .request-page .intro-copy p:first-child { font-size: 20px; line-height: 1.5; }
  .request-page .intro-copy p:not(:first-child) { font-size: 14px; }
  .request-page .section-header h2 { font-size: 31px; }
  .account-page .lead { font-size: 17px; }
  .consultation-page .lead, .admin-page .admin-intro { font-size: 16px; }
}
@media (max-width: 440px) {
  .home-page .fields ul { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
