@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Istok Web'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/istok-web-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Istok Web'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/istok-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Istok Web'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/istok-web-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Istok Web'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/istok-web-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #eceee9;
  --fg-light-base-body: #14201a;
  --fg-light-base-heading: #14201a;
  --fg-light-base-muted: #48554e;
  --fg-light-base-link: #0c6b4a;
  --fg-light-base-inverse: #14201a;
  --bg-light-card: #dfe4dd;
  --fg-light-card-body: #14201a;
  --fg-light-card-heading: #14201a;
  --fg-light-card-muted: #48554e;
  --fg-light-card-link: #0c6b4a;
  --fg-light-card-inverse: #14201a;
  --bg-light-elevated: #f8faf7;
  --fg-light-elevated-body: #14201a;
  --fg-light-elevated-heading: #14201a;
  --fg-light-elevated-muted: #48554e;
  --fg-light-elevated-link: #0c6b4a;
  --fg-light-elevated-inverse: #14201a;
  --brand-light-accent: #0c6b4a;
  --brand-light-accent-hover: #084c35;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #0c6b4a;
  --border-light-default: #14201a;
  --border-light-subtle: #8b958f;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Clearer Surface: sun-index field guide. Familjen Grotesk headings, Istok Web body. */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Istok Web', 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3, h4, .site-wordmark, .site-nav, .site-menu, .breadcrumbs, label, button, .check-title, .footer-name, .sun-month {
  font-family: 'Familjen Grotesk', 'Arial', sans-serif;
}
h1, h2, h3 { color: var(--fg-heading); }

/* Header: sticky bar, mark beside a text wordmark */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid var(--border-light-default);
}
.site-header-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  color: var(--fg-heading);
}
.site-brand .site-logo { flex: none; width: 2.5rem; height: 2.5rem; }
.site-wordmark {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* Compact menu toggle (below the rail width) */
.site-nav-compact { display: block; flex: none; }
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--border-light-default);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--fg-heading);
}
.site-menu .menu-label { white-space: nowrap; }
.site-menu .menu-icon, .site-menu .menu-icon::before, .site-menu .menu-icon::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; content: "";
}
.site-menu .menu-icon { position: relative; }
.site-menu .menu-icon::before { position: absolute; top: -6px; }
.site-menu .menu-icon::after { position: absolute; top: 6px; }
.site-menu[open] > summary { background: var(--brand-light-accent); color: var(--brand-light-on-accent); border-color: var(--brand-light-accent); }
.site-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  right: 1rem;
  left: 1rem;
  z-index: 30;
  background: var(--bg-light-elevated);
  border: 2px solid var(--border-light-default);
  border-top: 6px solid var(--brand-light-accent);
}
.site-menu ul ul { list-style: none; padding-left: 1rem; }
.site-menu a { display: block; padding: 0.7rem 1rem; font-weight: 600; text-decoration: none; }

/* Shell: side rail beside the reading frame on desktop */
.site-shell { max-width: 90rem; margin: 0 auto; }
.site-rail { display: none; }
.site-frame { min-width: 0; padding: 0 1rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a, .site-nav summary {
  display: block;
  padding: 0.6rem 0.9rem;
  border-left: 4px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
}
.site-nav a:hover { border-left-color: var(--brand-light-accent); }
.site-nav summary { cursor: pointer; color: var(--fg-heading); list-style: none; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav-group > ul { padding-left: 0.75rem; }

@media (min-width: 64rem) {
  .site-nav-compact { display: none; }
  .site-shell {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    column-gap: 2.5rem;
    padding: 0 1.5rem 0 0;
  }
  .site-rail {
    display: block;
    position: sticky;
    top: 4.1rem;
    align-self: start;
    max-height: calc(100vh - 4.1rem);
    overflow-y: auto;
    padding: 1.5rem 0;
    border-right: 2px solid var(--border-light-default);
    min-height: calc(100vh - 4.1rem);
  }
  .site-frame { padding: 0; }
}
@media (max-width: 23.5rem) {
  .site-wordmark { white-space: normal; font-size: 1.1rem; }
  .site-brand .site-logo { width: 2.1rem; height: 2.1rem; }
}

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.25rem 0 0; padding: 0; font-size: 0.9rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--fg-muted); }

/* Shared page type */
.page { padding: 2rem 0 4rem; }
.page h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 3.75rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  overflow-wrap: normal;
}
.prose p, .prose li { max-width: 40rem; }
.prose a { text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; margin: 2.5rem 0 0.75rem; max-width: 40rem; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }

/* Lists: normal blocks, markers in a padding gutter */
.prose ul, .prose ol { list-style: none; margin: 1rem 0; padding: 0; }
.prose li { display: block; position: relative; margin: 0 0 0.65rem; padding-left: 2rem; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.3em;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--brand-light-accent);
  border-radius: 3px;
}
.prose ol { counter-reset: item; }
.prose ol > li { counter-increment: item; padding-left: 2.4rem; }
.prose ol > li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

/* Warning-sign callouts */
.prose blockquote {
  position: relative;
  max-width: 40rem;
  margin: 1.75rem 0;
  padding: 1rem 1.25rem 1rem 3.5rem;
  border: 2px solid var(--border-light-default);
  background: var(--bg-light-elevated);
}
.prose blockquote::before {
  content: "!";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.45rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-family: 'Familjen Grotesk', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}
.prose blockquote > :first-child { margin-top: 0; }
.prose blockquote > :last-child { margin-bottom: 0; }

.photo-hero, .photo-inline { margin: 1.5rem 0; max-width: 44rem; }
.photo-hero img, .photo-inline img { display: block; width: 100%; border-radius: 6px; }

/* Home: split cover with the UV band, checklist modules, sun calendar strip */
.page-home { padding-top: 1.5rem; }
.home-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.1rem, 3vw, 2.5rem) 0;
  border: 2px solid var(--border-light-default);
  border-radius: 6px;
  overflow: hidden;
}
.cover-title h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 14ch; }
.cover-lines .display-line { margin: 0 0 0.8rem; font-size: 1.12rem; line-height: 1.5; max-width: 34rem; }
.cover-lines .display-line:last-child { margin-bottom: 0; color: var(--fg-muted); }
.uv-band {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr 3fr 1fr;
  height: 1.1rem;
  margin: 0.5rem calc(-1 * clamp(1.1rem, 3vw, 2.5rem)) 0;
}
.uv-1 { background: hsl(140 55% 42%); }
.uv-2 { background: hsl(52 92% 52%); }
.uv-3 { background: hsl(30 95% 52%); }
.uv-4 { background: hsl(4 78% 50%); }
.uv-5 { background: hsl(282 48% 46%); }

.home-split > h2 {
  position: relative;
  margin-top: 2.25rem;
  padding: 1rem 0 0 2.4rem;
  border-top: 2px solid var(--border-light-default);
}
.home-split > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 4px;
  background: var(--brand-light-accent);
}
.home-split > h2::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.4rem;
  width: 0.42rem;
  height: 0.8rem;
  border: solid var(--brand-light-on-accent);
  border-width: 0 0.18rem 0.18rem 0;
  transform: rotate(45deg);
}
.home-split > p:first-of-type { font-size: 1.2rem; line-height: 1.5; margin-top: 2rem; }

.sun-strip {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  margin-top: 3rem;
  padding: 0.75rem;
  border-radius: 6px;
}
.sun-month {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  padding-bottom: 0.25rem;
  font-size: 0.72rem;
  white-space: nowrap;
  font-weight: 600;
  border-top: 0.4rem solid var(--brand-light-accent);
}
.s-lo { height: 2.2rem; border-top-color: var(--border-light-subtle); }
.s-mid { height: 2.8rem; }
.s-hi { height: 3.4rem; border-top-width: 0.75rem; }
.s-top { height: 4rem; border-top-width: 1.1rem; }
@media (max-width: 30rem) {
  .sun-strip { gap: 2px; padding: 0.5rem; }
  .sun-month { font-size: 0.66rem; letter-spacing: -0.01em; white-space: nowrap; }
}

@media (min-width: 48rem) {
  .home-cover { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 2.5rem; align-items: end; }
  .uv-band { grid-column: 1 / -1; }
  .home-split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 2.5rem;
  }
  .home-split > * { grid-column: 1; }
  .home-split > .photo-hero {
    grid-column: 2;
    grid-row: 1 / span 24;
    align-self: start;
    position: sticky;
    top: 6rem;
    margin-top: 2rem;
  }
}

/* Article: reading column beside a checklist sidebar */
.chapter-head, .hub-head, .about-head, .contact-head { max-width: 48rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--border-light-default); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.chapter-check {
  order: -1;
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--border-light-default);
  border-top: 6px solid var(--brand-light-accent);
  border-radius: 6px;
  max-width: 40rem;
}
.check-title { margin: 0 0 0.75rem; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: block; position: relative; margin: 0 0 0.55rem; padding-left: 1.8rem; font-size: 0.97rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--brand-light-accent);
  border-radius: 3px;
}
@media (min-width: 80rem) {
  .chapter-grid { grid-template-columns: minmax(0, 1fr) 16rem; gap: 3rem; }
  .chapter-check { order: 0; position: sticky; top: 6rem; align-self: start; margin-top: 2.5rem; }
}

/* Topic hub: body beside a badged directory */
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.hub-directory {
  align-self: start;
  padding: 1.25rem;
  border: 2px solid var(--border-light-default);
  border-radius: 6px;
}
.hub-directory-title { margin: 0 0 0.75rem; font-size: 1.15rem; line-height: 1.25; }
.hub-directory ul { list-style: none; margin: 0; padding: 0; counter-reset: entry; }
.hub-directory li {
  display: block;
  position: relative;
  counter-increment: entry;
  padding: 0.75rem 0 0.75rem 2.6rem;
  border-top: 1px solid var(--border-light-subtle);
}
.hub-directory li::before {
  content: counter(entry);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.8rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-family: 'Familjen Grotesk', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.hub-directory a { font-weight: 600; }
@media (min-width: 72rem) {
  .hub-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; }
  .hub-directory { position: sticky; top: 6rem; margin-top: 2.5rem; }
}

/* About: one column, first paragraph as the mission panel */
.about-column { max-width: 42rem; }
.about-column > p:first-child {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-left: 6px solid var(--brand-light-accent);
  background: var(--bg-light-elevated);
  font-size: 1.2rem;
  line-height: 1.5;
}
.about-column > h2 { padding-top: 1rem; border-top: 1px solid var(--border-light-subtle); }

/* Contact: form beside the notes */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2rem; }
.contact-form {
  align-self: start;
  padding: 1.5rem;
  border: 2px solid var(--border-light-default);
  border-top: 6px solid var(--brand-light-accent);
  border-radius: 6px;
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--border-light-default);
  border-radius: 4px;
  background: var(--bg-light-base);
  color: var(--fg-body);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus-light-ring); outline-offset: 2px; }
.contact-button {
  justify-self: start;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  cursor: pointer;
}
.contact-button:hover { background: var(--brand-light-accent-hover); }
.contact-notes > p:first-child { font-size: 1.15rem; line-height: 1.5; margin-top: 0; }
@media (min-width: 56rem) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; }
}

/* Thank you: confirmation tile in a grid */
.thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 1rem; }
.thanks-tile {
  align-self: start;
  padding: 1.5rem;
  border: 2px solid var(--border-light-default);
  border-radius: 6px;
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.thanks-check {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-light-accent);
  position: relative;
}
.thanks-check::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.6rem;
  width: 0.75rem;
  height: 1.35rem;
  border: solid var(--brand-light-on-accent);
  border-width: 0 0.28rem 0.28rem 0;
  transform: rotate(45deg);
}
.thanks-body > p:first-child { margin-top: 0; font-size: 1.15rem; }
.thanks-body > h2:first-of-type { margin-top: 1.75rem; }
@media (min-width: 56rem) {
  .thanks-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem; }
}

/* Footer */
.site-footer { border-top: 2px solid var(--border-light-default); }
.site-footer-inner { max-width: 90rem; margin: 0 auto; padding: 2rem 1rem 2.5rem; }
.footer-name { margin: 0 0 0.4rem; font-weight: 700; font-size: 1.1rem; }
.footer-line { margin: 0; max-width: 40rem; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none; animation: none; }
}
