/* Text-first, low-contrast, irregular spacing. */

:root{
  --bg: #f6f5f2;
  --text: #222;
  --muted: rgba(34,34,34,0.72);
  --faint: rgba(34,34,34,0.52);
  --rule: rgba(34,34,34,0.12);
  --link: rgba(34,34,34,0.82);
  --linkHover: rgba(34,34,34,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);

  background-image:
    linear-gradient(rgba(246,245,241,0.91), rgba(246,245,241,0.91)),
    url('background_tree_soft.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body::selection{ background: rgba(34,34,34,0.12); }

.wrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 22px 84px;
}

header{
  padding: 18px 0 10px;
}

.brand{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

nav{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
}

nav a{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  color: var(--link);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

nav a:hover, nav a:focus{
  color: var(--linkHover);
  border-bottom-color: rgba(34,34,34,0.32);
}

.divider{
  height: 1px;
  background: var(--rule);
  margin: 18px 0 0;
}

main{
  margin-top: 26px;
}

h1, h2, h3{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  margin: 0;
}

h1{
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 18px;
}

h2{
  font-size: 22px;
  line-height: 1.25;
  margin-top: 34px;
}

.lede{
  margin-top: 14px;
  max-width: 62ch;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
}

p{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.78;
  margin: 14px 0 0;
  max-width: 70ch;
}

.soft{
  color: var(--muted);
}

.section{
  padding-top: 4px;
}

/* Irregular memory-map spacing: avoid symmetry. */
.section.s1{ margin-top: 6px; }
.section.s2{ margin-top: 38px; }
.section.s3{ margin-top: 54px; }
.section.s4{ margin-top: 44px; }
.section.s5{ margin-top: 62px; }
.section.s6{ margin-top: 48px; }
.section.s7{ margin-top: 70px; }

.dash{
  margin-top: 56px;
  padding-top: 10px;
}

.dash h2{
  margin-top: 0;
}

.map-list{
  margin-top: 22px;
  display: block;
}

.map-point{
  margin: 0;
}

/* Uneven spacing between points, no grid/cards. */
.map-point:nth-child(1){ margin-top: 4px; }
.map-point:nth-child(2){ margin-top: 16px; }
.map-point:nth-child(3){ margin-top: 10px; }
.map-point:nth-child(4){ margin-top: 22px; }
.map-point:nth-child(5){ margin-top: 12px; }
.map-point:nth-child(6){ margin-top: 26px; }
.map-point:nth-child(7){ margin-top: 14px; }
.map-point:nth-child(8){ margin-top: 24px; }
.map-point:nth-child(9){ margin-top: 18px; }

.map-point a{
  display: inline-block;
  text-decoration: none;
  color: var(--link);
  max-width: 72ch;
}

.map-point a:hover, .map-point a:focus{
  color: var(--linkHover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-point .title{
  display: block;
  font-size: 17px;
  line-height: 1.5;
}

.map-point .note{
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.unsettled{
  margin-top: 44px;
  max-width: 72ch;
}

.unsettled .line{
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.contact{
  margin-top: 54px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  max-width: 70ch;
}

.contact .label{
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact .value{
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  line-height: 1.8;
}

.small-links{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.small-links a{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  color: var(--link);
  text-decoration: none;
}

.small-links a:hover, .small-links a:focus{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related{
  margin-top: 44px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  max-width: 72ch;
}

.related h2{
  margin-top: 0;
}

.related ul{
  margin: 16px 0 0;
  padding-left: 18px;
}

.related li{
  margin-top: 10px;
}

.related a{
  color: var(--link);
  text-decoration: none;
}

.related a:hover, .related a:focus{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.return{
  margin-top: 22px;
}

.return a{
  color: var(--link);
  text-decoration: none;
}

.return a:hover, .return a:focus{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Minimal fade-in; keeps motion subtle. */
.fade{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 900ms ease, transform 900ms ease;
}
.fade.in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .fade, .fade.in{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Text-first, low-contrast, dusty, restrained */
:root{
  --bg: #f6f5f2;
  --text: #222;
  --muted: rgba(34,34,34,0.72);
  --faint: rgba(34,34,34,0.55);
  --line: rgba(34,34,34,0.14);
  --link: rgba(34,34,34,0.82);
  --linkHover: rgba(34,34,34,0.62);
  --max: 68ch;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.72;

  /* MANDATORY background implementation */
  background-image:
    linear-gradient(rgba(246,245,242,0.92), rgba(246,245,242,0.92)),
    url('background_clutter_soft.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* A gentle frame that never feels like a hero */
.wrap{
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

header{
  padding: 16px 0 10px;
}

.brand{
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--faint);
}

nav{
  margin-top: 10px;
}

.navline{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}

.navline a{
  color: var(--link);
  text-decoration: none;
  font-size: 14px;
}
.navline a:hover,
.navline a:focus{
  text-decoration: underline;
  opacity: 0.95;
}

main{
  padding-top: 14px;
}

h1, h2, h3{
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

h1{
  font-size: clamp(28px, 3vw, 38px);
  margin: 18px 0 10px;
}

h2{
  font-size: 18px;
  margin: 0 0 10px;
  color: rgba(34,34,34,0.92);
}

p{
  margin: 10px 0;
  max-width: var(--max);
}

.lede{
  color: var(--muted);
  max-width: var(--max);
}

/* Accumulation → release spacing system */
.stage{
  position: relative;
  padding-left: 8px;
  margin-left: 6px;
}
.stage::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(34,34,34,0.10);
}

.stage-normal{ margin-top: 20px; padding-top: 10px; padding-bottom: 18px; }
.stage-cluttered{ margin-top: 22px; padding-top: 10px; padding-bottom: 14px; }
.stage-overwhelming{
  margin-top: 18px;
  padding-top: 8px;
  padding-bottom: 10px;
}
.stage-overwhelming p{
  margin: 8px 0; /* denser */
}
.stage-cleared{
  margin-top: 34px;
  padding-top: 16px;
  padding-bottom: 28px;
}
.stage-cleared p{
  margin: 12px 0; /* lighter again */
}

/* Subtle fragment links, not a CTA */
.fragment{
  display: inline-block;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(34,34,34,0.22);
}
.fragment:hover{ border-bottom-color: rgba(34,34,34,0.38); opacity: 0.92; }

/* Dashboard list (text-only, vertical, uneven spacing) */
.dashboard{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.dashboard h2{
  margin-bottom: 14px;
}
.items{
  display: block;
  max-width: var(--max);
}
.item{
  margin: 0;
}
.item + .item{ margin-top: 12px; }
.item:nth-child(2){ margin-top: 18px; }
.item:nth-child(3){ margin-top: 9px; }
.item:nth-child(4){ margin-top: 22px; }
.item:nth-child(5){ margin-top: 14px; }
.item:nth-child(6){ margin-top: 26px; }
.item:nth-child(7){ margin-top: 11px; }
.item:nth-child(8){ margin-top: 20px; }
.item:nth-child(9){ margin-top: 15px; }

.item a{
  display: inline-block;
  color: var(--link);
  text-decoration: none;
}
.item a:hover{ text-decoration: underline; opacity: 0.92; }

.item .title{
  display: block;
  font-size: 16px;
}
.item .note{
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

/* Final short lines */
.shortlines{
  max-width: var(--max);
  margin-top: 12px;
  color: rgba(34,34,34,0.86);
}
.shortlines .line{
  margin: 6px 0;
}

/* Contact block */
.contact{
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: var(--max);
}
.contact .label{
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-bottom: 8px;
}
.contact a{
  color: var(--link);
  text-decoration: none;
}
.contact a:hover{ text-decoration: underline; }

/* Article layout */
.article{
  max-width: var(--max);
  margin-top: 22px;
}
.article-title{
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 18px 0 8px;
}
.meta{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}
.related{
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.related a{
  color: var(--link);
  text-decoration: none;
}
.related a:hover{ text-decoration: underline; opacity: 0.92; }
.related ul{
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}
.related li{
  margin: 8px 0;
}

.return{
  margin-top: 18px;
}
.return a{
  color: var(--link);
  text-decoration: none;
}
.return a:hover{ text-decoration: underline; opacity: 0.92; }

footer{
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  max-width: var(--max);
}

/* Gentle fade-in, nothing flashy */
.fade{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 700ms ease, transform 900ms ease;
}
.fade.visible{
  opacity: 1;
  transform: translateY(0);
}

/* Small screens */
@media (max-width: 560px){
  .wrap{ padding: 22px 16px 56px; }
  .navline{ gap: 8px 12px; }
}
