@charset "UTF-8";

:root {
  --ink: #173028;
  --ink-soft: #3c4a40;
  --paper: #ead8b1;
  --paper-deep: #dbc494;
  --paper-light: #f3e6c8;
  --rust: #a8492f;
  --ochre: #b7843d;
  --olive: #72744a;
  --line: rgba(23, 48, 40, 0.28);
  --white: #fffaf0;
  --display: "Iowan Old Style", Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", Avenir, "Gill Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url('/assets/grain.svg');
  background-attachment: fixed;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
::selection { background: var(--rust); color: var(--white); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
textarea { resize: vertical; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 240ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(100% - 64px, 1480px);
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand svg { flex: 0 0 auto; }
.edition { color: var(--ink-soft); }

.hero {
  min-height: calc(100dvh - 90px);
  width: min(100% - 64px, 1480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.78fr);
  gap: clamp(48px, 7vw, 124px);
  align-items: center;
  padding: 72px 0 96px;
  position: relative;
}
.hero::before {
  content: "ATTENTION";
  position: absolute;
  left: -1vw;
  bottom: 0;
  color: rgba(23, 48, 40, 0.045);
  font-family: var(--display);
  font-size: clamp(92px, 15vw, 230px);
  line-height: 0.7;
  letter-spacing: -0.07em;
  pointer-events: none;
  white-space: nowrap;
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.kicker, .section-index, .day-system, .cover-series {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.kicker { display: inline-block; padding-bottom: 7px; border-bottom: 2px solid var(--rust); }
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 28px 0 28px;
  font-family: var(--display);
  font-size: clamp(68px, 7.4vw, 124px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}
.hero-lede {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.45;
}
.hero-action { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 7px 9px 7px 25px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  transition: background-color 500ms var(--ease), color 500ms var(--ease);
}
.primary-button:hover, .primary-button:focus-visible { background: var(--rust); }
.button-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper-light);
  transition: transform 500ms var(--ease);
}
.primary-button:hover .button-mark, .primary-button:focus-visible .button-mark { transform: translateY(3px); }
.text-link {
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.text-link span { transition: transform 420ms var(--ease); }
.text-link:hover span, .text-link:focus-visible span { transform: translate(4px, 4px); }
.privacy-note { margin: 16px 0 0; color: var(--ink-soft); font-size: 12px; }

.artifact-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 590px; height: 590px; }
.orbit-two { width: 450px; height: 450px; }
.guide-cover {
  position: relative;
  width: min(390px, 80vw);
  aspect-ratio: 0.73;
  padding: 28px 30px 32px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 24px 36px 72px rgba(23, 48, 40, 0.18);
  transform: rotate(2.4deg);
  animation: cover-breathe 7s var(--ease) infinite alternate;
  overflow: hidden;
}
.guide-cover::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.guide-cover::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(23, 48, 40, 0.22);
  pointer-events: none;
}
@keyframes cover-breathe {
  from { transform: rotate(2.4deg) translateY(0); }
  to { transform: rotate(1.4deg) translateY(-9px); }
}
.cover-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; }
.cover-series { margin-top: 40px; color: var(--rust); }
.guide-cover h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 51px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.89;
}
.attention-mark { position: absolute; z-index: 1; width: 70%; right: -5%; bottom: 11%; color: rgba(23, 48, 40, 0.55); }
.attention-mark svg { display: block; width: 100%; }
.attention-mark text { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.cover-bottom { position: absolute; z-index: 1; left: 30px; bottom: 34px; margin: 0; max-width: 145px; font-size: 11px; line-height: 1.45; }
.artifact-caption { position: absolute; bottom: 0; right: 7%; max-width: 180px; margin: 0; padding-left: 32px; font-size: 11px; color: var(--ink-soft); }
.artifact-caption::before { content: ""; position: absolute; top: 8px; left: 0; width: 22px; height: 1px; background: var(--ink); }

.manifesto {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
  padding: clamp(84px, 10vw, 156px) max(32px, calc((100vw - 1480px) / 2));
  color: var(--paper-light);
  background: var(--ink);
}
.manifesto h2, .section-heading h2, .map-intro h2, .days-intro h2, .rule-head h2, .field-note h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.manifesto > div > p { max-width: 760px; margin: 28px 0 0; color: rgba(243, 230, 200, 0.76); font-size: 19px; }
.manifesto blockquote { margin: 0; padding-top: 12px; border-top: 2px solid var(--rust); }
.manifesto blockquote p { margin: 0; font-family: var(--display); font-size: 27px; line-height: 1.25; }

.section-shell { width: min(100% - 64px, 1320px); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(240px, 0.5fr); gap: 40px; align-items: end; }
.section-heading > p:last-child { margin: 0; color: var(--ink-soft); }
.section-heading.compact { grid-template-columns: 150px 1fr; }
.check-in { padding: clamp(96px, 11vw, 176px) 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 72px; border-top: 1px solid var(--line); }
.check-grid label {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
input[type="checkbox"] {
  appearance: none;
  width: 25px;
  height: 25px;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
  transition: background-color 320ms var(--ease), transform 320ms var(--ease);
}
input[type="checkbox"]::after { content: ""; width: 7px; height: 12px; border: solid var(--paper-light); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 260ms var(--ease); }
input[type="checkbox"]:checked { background: var(--ink); }
input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
input[type="checkbox"]:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.check-summary { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: var(--ink-soft); font-size: 12px; }

.map-section { padding-bottom: clamp(96px, 12vw, 184px); }
.map-intro { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(260px, 0.56fr); gap: 40px; align-items: end; }
.map-intro > p:last-child { margin: 0; color: var(--ink-soft); }
.systems-map { margin-top: 72px; display: grid; grid-template-columns: minmax(420px, 0.8fr) 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.map-graphic { width: 100%; max-width: 560px; overflow: visible; }
.map-graphic text { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; fill: var(--ink); }
.map-graphic .map-center { fill: var(--paper-light); font-size: 11px; }
.system-notes { border-top: 1px solid var(--line); }
.system-notes article { display: grid; grid-template-columns: 46px minmax(150px, 0.48fr) 1fr; gap: 22px; align-items: baseline; padding: 27px 0; border-bottom: 1px solid var(--line); }
.system-notes span { font-size: 11px; color: var(--rust); }
.system-notes h3 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 400; }
.system-notes p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.setup { padding: 104px 0 120px; border-top: 1px solid var(--line); }
.setup-list { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.setup-list li { min-height: 230px; padding: 24px 24px 30px; border-right: 1px solid var(--line); }
.setup-list li:last-child { border-right: 0; }
.setup-list span { color: var(--rust); font-size: 12px; font-weight: 700; }
.setup-list p { margin: 50px 0 0; font-family: var(--display); font-size: 23px; line-height: 1.25; }
.journal-prompt { display: block; margin-top: 56px; }
.journal-prompt > span { display: block; margin-bottom: 12px; font-family: var(--display); font-size: 26px; }
textarea {
  display: block;
  width: 100%;
  padding: 19px 0 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  line-height: 1.5;
}
textarea::placeholder { color: rgba(23, 48, 40, 0.48); }

.days { background: var(--paper-light); }
.days-intro { padding: clamp(96px, 12vw, 164px) 0 88px; display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(250px, 0.5fr); gap: 40px; align-items: end; }
.days-intro > p:not(.section-index) { margin: 0; color: var(--ink-soft); }
.progress-wrap { grid-column: 2 / -1; margin-top: 32px; }
.progress-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; font-size: 12px; color: var(--ink-soft); }
.progress-track { height: 4px; background: rgba(23, 48, 40, 0.14); overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--rust); transition: width 700ms var(--ease); }
.day-entry {
  width: min(100% - 64px, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 40px;
  padding: 84px 0 104px;
  border-top: 1px solid var(--line);
}
.day-entry:nth-of-type(even) .day-main { margin-left: min(8vw, 110px); }
.day-number { display: flex; flex-direction: column; align-items: flex-start; }
.day-number span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.day-number strong { font-family: var(--display); font-size: 86px; font-weight: 400; line-height: 0.9; color: var(--rust); }
.day-main { max-width: 880px; }
.day-system { color: var(--olive); }
.day-main h3 { margin: 8px 0 14px; font-family: var(--display); font-size: clamp(45px, 6vw, 80px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; }
.day-lede { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 19px; }
.practice-list { list-style: none; margin: 45px 0 0; padding: 0; border-top: 1px solid var(--line); }
.practice-list li { border-bottom: 1px solid var(--line); }
.practice-list label { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: center; min-height: 72px; cursor: pointer; }
.practice-list input:checked + span { text-decoration: line-through; text-decoration-thickness: 1px; color: rgba(23, 48, 40, 0.58); }
.day-complete { display: inline-grid; grid-template-columns: 26px auto; gap: 12px; align-items: center; margin-top: 34px; color: var(--rust); font-size: 13px; font-weight: 700; cursor: pointer; }
.day-complete input { width: 25px; height: 25px; border-color: var(--rust); }
.day-complete input:checked { background: var(--rust); }

.rule-section { padding: clamp(104px, 13vw, 184px) 0; }
.rule-head { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; }
.rule-lines { margin: 80px 0 0; border-top: 1px solid var(--line); }
.rule-lines label { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rule-lines label > span { padding-top: 18px; color: var(--rust); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; }
.rule-lines textarea { font-family: var(--display); font-size: 26px; }
.rule-statement { max-width: 870px; margin: 72px 0 0 190px; font-family: var(--display); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.15; }
.closing-actions { margin: 50px 0 0 190px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.share-button, .clear-button {
  appearance: none;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.share-button span { display: inline-block; margin-left: 7px; transition: transform 420ms var(--ease); }
.share-button:hover span, .share-button:focus-visible span { transform: translate(4px, -4px); }
.clear-button { color: var(--ink-soft); border-bottom-color: var(--line); font-weight: 500; }

.field-note {
  position: relative;
  padding: clamp(112px, 14vw, 208px) max(32px, calc((100vw - 1050px) / 2));
  color: var(--paper-light);
  background: var(--rust);
  overflow: hidden;
}
.field-note::after { content: "K"; position: absolute; right: -1vw; bottom: -12vw; font-family: var(--display); font-size: min(47vw, 650px); line-height: 1; color: rgba(243, 230, 200, 0.08); }
.field-note > * { position: relative; z-index: 1; }
.field-note .section-index { margin-bottom: 26px; }
.field-note > p:not(.section-index):not(.signature) { max-width: 820px; margin: 36px 0 0; font-size: 21px; color: var(--paper-light); }
.field-note .signature { margin: 48px 0 0; font-family: var(--display); font-size: 38px; font-style: italic; }
.site-footer {
  display: grid;
  grid-template-columns: 0.65fr 1.2fr auto;
  gap: 60px;
  padding: 58px max(32px, calc((100vw - 1480px) / 2));
  color: var(--paper-light);
  background: var(--ink);
  font-size: 12px;
}
.site-footer p { margin: 0 0 8px; }
.footer-notes { color: rgba(243, 230, 200, 0.66); }
.footer-notes a { color: var(--paper-light); }
.back-top { align-self: start; text-decoration: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 420px; gap: 32px; }
  .artifact-stage { min-height: 570px; }
  .orbit-one { width: 480px; height: 480px; }
  .orbit-two { width: 370px; height: 370px; }
  .guide-cover { width: 330px; }
  .guide-cover h2 { font-size: 43px; }
  .manifesto { grid-template-columns: 60px 1fr; }
  .manifesto blockquote { grid-column: 2; }
  .section-heading, .map-intro, .days-intro { grid-template-columns: 110px 1fr; }
  .section-heading > p:last-child, .map-intro > p:last-child, .days-intro > p:not(.section-index), .progress-wrap { grid-column: 2; }
  .systems-map { grid-template-columns: 1fr; }
  .map-graphic { margin: 0 auto; max-width: 480px; }
  .setup-list { grid-template-columns: 1fr 1fr; }
  .setup-list li:nth-child(2) { border-right: 0; }
  .setup-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .day-entry { grid-template-columns: 110px 1fr; }
  .day-entry:nth-of-type(even) .day-main { margin-left: 0; }
  .site-footer { grid-template-columns: 1fr 1.5fr; }
  .back-top { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header, .hero, .section-shell, .day-entry { width: min(100% - 36px, 100%); }
  .site-header { min-height: 74px; }
  .brand span { max-width: 135px; line-height: 1.1; }
  .edition { max-width: 100px; text-align: right; line-height: 1.2; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding: 66px 0 78px; }
  .hero::before { bottom: 46%; font-size: 29vw; }
  h1 { font-size: clamp(61px, 18vw, 88px); }
  .hero-lede { font-size: 19px; }
  .hero-action { align-items: flex-start; flex-direction: column; gap: 20px; }
  .primary-button { width: 100%; justify-content: space-between; }
  .artifact-stage { min-height: 520px; overflow: hidden; }
  .orbit-one { width: 420px; height: 420px; }
  .orbit-two { width: 330px; height: 330px; }
  .guide-cover { width: 300px; max-width: calc(100vw - 68px); }
  .guide-cover h2 { font-size: 39px; }
  .artifact-caption { right: 1%; }
  .manifesto { grid-template-columns: 1fr; padding: 90px 18px; gap: 30px; }
  .manifesto blockquote { grid-column: 1; }
  .manifesto .section-index { color: var(--rust); }
  .manifesto h2, .section-heading h2, .map-intro h2, .days-intro h2, .rule-head h2, .field-note h2 { font-size: clamp(44px, 13vw, 62px); }
  .section-heading, .section-heading.compact, .map-intro, .days-intro, .rule-head { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p:last-child, .map-intro > p:last-child, .days-intro > p:not(.section-index), .progress-wrap { grid-column: 1; }
  .check-in { padding: 90px 0; }
  .check-grid { grid-template-columns: 1fr; margin-top: 52px; }
  .check-summary { align-items: flex-start; flex-direction: column; }
  .map-section { padding-bottom: 100px; }
  .systems-map { margin-top: 52px; }
  .map-graphic { max-width: 100%; }
  .system-notes article { grid-template-columns: 34px 1fr; gap: 8px 14px; }
  .system-notes p { grid-column: 2; }
  .setup { padding: 80px 0 90px; }
  .setup-list { grid-template-columns: 1fr; }
  .setup-list li { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .setup-list li:last-child { border-bottom: 0; }
  .setup-list p { margin-top: 24px; }
  .days-intro { padding: 90px 0 68px; }
  .day-entry { grid-template-columns: 1fr; gap: 24px; padding: 68px 0 82px; }
  .day-number { flex-direction: row; align-items: baseline; gap: 8px; }
  .day-number strong { font-size: 60px; }
  .day-main h3 { font-size: clamp(48px, 14vw, 70px); }
  .practice-list label { min-height: 78px; }
  .journal-prompt > span { font-size: 23px; }
  .rule-section { padding: 100px 0; }
  .rule-lines { margin-top: 56px; }
  .rule-lines label { grid-template-columns: 1fr; gap: 0; }
  .rule-lines label > span { padding-top: 0; }
  .rule-statement, .closing-actions { margin-left: 0; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .share-button, .clear-button { align-self: flex-start; }
  .field-note { padding: 100px 18px 126px; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; padding: 52px 18px; }
  .back-top { grid-column: auto; }
}

@media (max-width: 360px) {
  .site-header, .hero, .section-shell, .day-entry { width: min(100% - 28px, 100%); }
  .site-header { font-size: 11px; }
  .brand { gap: 8px; }
  .brand svg { width: 27px; height: 27px; }
  h1 { font-size: clamp(56px, 18vw, 68px); }
  .artifact-stage { min-height: 470px; }
  .guide-cover { max-width: calc(100vw - 50px); padding: 24px 24px 28px; }
  .guide-cover h2 { font-size: 35px; }
  .cover-bottom { left: 24px; bottom: 28px; }
  .artifact-caption { display: none; }
  .system-notes h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
