/* Agualiciosa — shared styles
   Typography-only. Dark teal. Single column, mobile-first.
   No photos, no SVG, no JS. */

/* ---- palette + type tokens ---- */
:root {
  --bg:        #0b2530;  /* deep teal (from the original placeholder) */
  --bg-soft:   #103340;  /* faint panel / hairline backdrop */
  --ink:       #eef2f1;  /* primary text, cool off-white */
  --ink-mute:  #9fb3b6;  /* secondary text, desaturated teal-grey */
  --ink-faint: #6f8a8f;  /* captions, footer lineage line */
  --accent:    #7fb8bb;  /* links + rules, pale aqua */
  --accent-dim:#3f6168;  /* hairline rules */
  --rule:      #1d4351;  /* section dividers */

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 38rem;      /* reading column (~66 chars) */
  --measure-wide: 44rem; /* hero / section headers */
  --pad: 1.5rem;         /* page side padding on mobile */
}

/* ---- reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;          /* 17px base, comfortable on phones */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--bg); }

/* ---- layout ---- */
.wrap {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 0 var(--pad);
}
.wrap--wide { max-width: var(--measure-wide); }

section { padding-block: clamp(3rem, 9vw, 5.5rem); }
section + section { border-top: 1px solid var(--rule); }

/* anchored sections clear the top so headings aren't cut off on jump */
[id] { scroll-margin-top: 1.5rem; }

/* ---- headings ---- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 5.5vw, 2.25rem); margin-top: 0; }
h3 { font-size: clamp(1.2rem, 4vw, 1.45rem); margin-top: 2.25em; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--ink); }

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* ---- hero ---- */
.hero { padding-block: clamp(4rem, 14vw, 8rem) clamp(3rem, 9vw, 5.5rem); }
.hero h1 { margin-bottom: 0.25em; }
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 2rem;
}
.lead { font-size: 1.12rem; }

/* ---- concept-note anchor nav ---- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.25rem 0 3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.anchor-nav a {
  color: var(--ink-mute);
  text-decoration: none;
  white-space: nowrap;
}
.anchor-nav a:hover { color: var(--accent); }

/* small label above a section heading (e.g. "01 — Crisis") */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

/* ---- cofounder block ---- */
.cofounder .arrow-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---- footer ---- */
footer {
  padding-block: clamp(3rem, 9vw, 5rem);
  border-top: 1px solid var(--rule);
  color: var(--ink-mute);
  font-size: 0.95rem;
}
footer a { color: var(--ink-mute); }
footer a:hover { color: var(--accent); }
footer .lineage {
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

/* ---- concept-note parts + lists ---- */
.cn-intro { color: var(--ink-mute); font-style: italic; margin-bottom: 2.5rem; }
.cn-part { margin-top: 3.5rem; }
.cn-part:first-of-type { margin-top: 0; }
.cn-vision {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink);
}
.cn-pdf { margin-top: 2rem; }

ul { margin: 0 0 1.2em; padding-left: 1.1rem; }
li { margin-bottom: 0.7em; padding-left: 0.2rem; }
li::marker { color: var(--accent-dim); }

/* ---- minimal top bar (brand + language) ---- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.topbar .brand { font-family: var(--serif); font-style: italic; color: var(--ink-mute); }
.topbar a { color: var(--ink-mute); text-decoration: none; }
.topbar a:hover { color: var(--accent); }

/* ---- soria2026 page links list ---- */
.links-list { margin: 1.5rem 0; }
.links-list p { margin: 0 0 0.8em; }
