/* ============================================================
   SUNRISE HUMANITY — Variant A "Quiet Dawn"
   Plain static stylesheet. No framework, no build step.
   ============================================================ */

:root {
  /* palette */
  --ivory:       #FDFBF7;
  --ivory-warm:  #F7F1E6;
  --navy:        #1E2A4A;
  --navy-soft:   rgba(30, 42, 74, 0.90);
  --navy-quiet:  rgba(30, 42, 74, 0.55);
  --gold:        #E8A020;   /* decorative / large type only */
  --gold-soft:   #E6C067;
  --amber:       #9C620F;   /* text-safe accent: links, LT, small type (AA on ivory) */
  --amber-hover: #C9861F;
  --hairline:    rgba(201, 134, 31, 0.30);

  /* spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  --s6: 6rem;
  --s7: 9rem;

  --measure: 40rem;         /* ~68ch reading column */
  --nav-h: 4.5rem;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(232, 160, 32, 0.22); }

a { color: var(--amber); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Sun glyph ---------- */
.sun-glyph { display: inline-block; color: var(--gold); line-height: 0; }
.sun-glyph svg { display: block; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  background: rgba(253, 251, 247, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  z-index: 50;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav__brand:hover { color: var(--navy); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  color: var(--navy-soft);
  font-size: 0.74rem;
  white-space: nowrap;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 220ms ease, border-color 220ms ease;
}
.nav__links a:hover { color: var(--amber); border-bottom-color: var(--gold); }
.nav__links a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--gold); }

/* mobile toggle — pure CSS */
.nav__toggle-cb { display: none; }
.nav__toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  background: none;
  border: none;
}
.nav__toggle .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.nav__toggle .bars span { width: 20px; height: 2px; background: var(--gold); display: block; }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    background: var(--ivory);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 260ms ease, transform 260ms ease;
  }
  .nav__links a { font-size: 0.92rem; letter-spacing: 0.18em; }
  .nav__toggle-cb:checked ~ .nav__links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__toggle-cb:checked ~ .nav__toggle .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav__toggle-cb:checked ~ .nav__toggle .bars span:nth-child(2) { opacity: 0; }
  .nav__toggle-cb:checked ~ .nav__toggle .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav__toggle .bars span { transition: transform 220ms ease, opacity 160ms ease; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
main { padding-top: var(--nav-h); }

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--s6) clamp(1.5rem, 6vw, 2.5rem) var(--s5);
}
.page--wide { max-width: 58rem; }

/* section eyebrow / kicker */
.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber);
  margin: 0 0 var(--s2);
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: var(--s3); }
h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy);
  margin: var(--s4) 0 var(--s2);
}

p { margin: 0 0 var(--s3); color: var(--navy-soft); text-wrap: pretty; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 400;
}

/* poetic stand-alone lines */
.verse {
  margin: var(--s4) 0;
}
.verse p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.45;
  color: var(--navy);
  font-weight: 400;
  margin: 0 0 0.55em;
}
.verse p:last-child { margin-bottom: 0; }

/* Lithuanian insert — single consistent treatment everywhere */
.lt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--amber);
  border-left: 2px solid var(--gold);
  padding-left: var(--s3);
  margin: var(--s4) 0;
}
.lt p { color: inherit; margin: 0 0 0.5em; }
.lt p:last-child { margin-bottom: 0; }
.lt strong { font-weight: 600; font-style: italic; color: var(--amber-hover); }

.verse--sm p { font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.5; }

.big-emoji { text-align: center; font-size: clamp(2.5rem, 7vw, 3.6rem); margin: var(--s4) 0 var(--s3); }

.lt .emoji-lines { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.lt .emoji-lines li { margin-bottom: 0.4rem; }
.lt .plain-lines { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.lt .plain-lines li { margin-bottom: 0.35rem; }

/* strong callout line (navy) */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.35;
  color: var(--navy);
  margin: var(--s4) 0;
}
.statement strong { font-weight: 600; }

/* hairline divider + small sun */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  margin: var(--s5) 0;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 5rem;
  background: var(--hairline);
}

/* lists (bullet content from source) */
.list {
  list-style: none;
  margin: var(--s3) 0 var(--s4);
  padding: 0;
}
.list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--navy-soft);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* emoji-led future initiatives list */
.emoji-list { list-style: none; margin: var(--s3) 0 var(--s4); padding: 0; }
.emoji-list li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  margin-bottom: 0.7rem;
  color: var(--navy-soft);
  font-size: 1.08rem;
}
.emoji-list li .e { font-size: 1.15rem; }

/* ============================================================
   CHARTER — refined numbered serif list
   ============================================================ */
.charter {
  list-style: none;
  counter-reset: charter;
  margin: var(--s4) 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem var(--s5);
}
@media (min-width: 720px) {
  .charter { grid-template-columns: 1fr 1fr; }
}
.charter li {
  counter-increment: charter;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--navy);
}
.charter li::before {
  content: counter(charter);
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  min-width: 1.6rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   IMAGERY
   ============================================================ */
.figure {
  margin: 0 0 var(--s5);
}
.figure img, .figure .ph {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 40px -28px rgba(30, 42, 74, 0.35);
}
.figure--hero { margin-bottom: var(--s4); }

/* logo blends white into ivory */
.logo-plate {
  display: flex;
  justify-content: center;
  margin: 0 auto var(--s4);
  max-width: 320px;
}
.logo-plate img { mix-blend-mode: multiply; }
.logo-plate--sm { max-width: 220px; }

/* ============================================================
   FORMS (Join)
   ============================================================ */
.block { margin: var(--s5) 0; }
.block__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber);
  margin: 0 0 var(--s2);
}

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--s3); }
.field label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--navy-quiet);
  font-weight: 600;
}
input[type="email"], input[type="text"], textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.16);
}
textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

.newsletter {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.newsletter .field { flex: 1 1 16rem; margin-bottom: 0; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ivory);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}
.btn:hover { background: var(--amber); border-color: var(--amber); color: #fff; }

.account {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--navy);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  background: var(--ivory-warm);
  display: inline-block;
}
.account b { color: var(--amber); font-weight: 700; }

/* ============================================================
   NEXT LINK + FOOTER
   ============================================================ */
.pager {
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
}
.pager a {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 220ms ease, gap 220ms ease;
}
.pager a:hover { color: var(--amber); }
.pager a .arrow { color: var(--gold); transition: transform 220ms ease; }
.pager a.next:hover .arrow { transform: translateX(4px); }
.pager a.back:hover .arrow { transform: translateX(-4px); }
.pager .spacer { flex: 1; }

footer.foot {
  display: flex;
  justify-content: center;
  padding: var(--s5) 0 var(--s6);
}
footer.foot .sun-glyph { color: var(--gold); opacity: 0.9; }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero {
  text-align: center;
  padding-top: var(--s4);
}
.hero h1 {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.4;
  color: var(--navy);
  margin: var(--s4) auto var(--s3);
  max-width: 34rem;
}
.hero .lt { text-align: left; display: inline-block; margin-left: auto; margin-right: auto; }

.tagline {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  color: var(--navy);
  line-height: 1.4;
  margin: var(--s4) 0;
}
.tagline b { font-weight: 600; color: var(--navy); }
.tagline .amberword { color: var(--amber); font-weight: 600; }
