/* Rooted Basecamp — shared styles
   Look: matches the On Track checkup. Warm cream paper, painted watercolor scenes,
   Cormorant Garamond headings over Lato, forest-teal accents, clay labels.
   Change a color here and every page follows. */
:root {
  --paper: #FAF8EF;       /* page background */
  --card: #FFFEFA;        /* cards */
  --sand: #F3EEE3;        /* quiet fills */
  --line: #E8E0D0;        /* borders */
  --line-strong: #CFC6B4; /* dashed "coming soon" borders */
  --ink: #2B2420;         /* body text */
  --muted: #635850;
  --navy: #2F4A4C;        /* headings, dark buttons */
  --forest: #4F7C80;      /* main accent */
  --moss: #8FA48A;
  --clay: #A4483A;        /* small labels */
  --gold: #C98E3A;
  --good: #5F7D58;
  --teal-wash: #EAF1EF;   /* tinted panels */
  --teal-band: #DCE7E4;   /* hero panels */

  /* older names some pages still use */
  --blue: var(--forest);
  --blue-deep: var(--navy);
  --blue-soft: var(--teal-wash);
  --on-navy-muted: var(--muted);

  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: Lato, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --r-lg: 18px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-btn: 14px;
  --shadow: 0 1px 2px rgba(43,36,32,.04), 0 8px 24px -16px rgba(43,36,32,.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 62px); line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--forest); }
p { margin: 0; }
strong { font-weight: 700; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 10px 16px; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
main.wrap { padding-block: 36px 72px; display: flex; flex-direction: column; gap: 56px; }
.section { display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px dashed #D9CDB8; }
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split > .wide { flex: 999 1 560px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Header */
.site-header { background: rgba(255,254,250,.94); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; font-size: 15px; font-weight: 700; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--forest); }
.nav a[aria-current="page"] { border-bottom-color: var(--clay); color: var(--navy); }
.nav-toggle { display: none; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--navy); font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; padding: 0 14px; cursor: pointer; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--display); font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: inset 0 0 10px rgba(30,20,10,.2); }
.avatar:hover { color: #fff; }
@media (max-width: 900px) {
  .site-header .wrap { column-gap: 10px; }
  .site-header .avatar { order: 2; }
  .nav-toggle { display: inline-block; order: 3; }
  .nav { order: 10; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--clay); }
}
@media (max-width: 420px) {
  .brand-name { font-size: 22px; }
  .brand svg { width: 28px; height: 28px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 24px; border-radius: var(--r-btn); font: inherit; font-weight: 900; font-size: 17px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; text-align: center; }
.btn-primary, .btn-light { background: var(--forest); color: #fff; box-shadow: inset 0 0 18px rgba(30,20,10,.12); }
.btn-primary:hover, .btn-light:hover { background: #426A6E; color: #fff; }
.btn-dark { background: var(--navy); color: #fff; box-shadow: inset 0 0 18px rgba(30,20,10,.15); }
.btn-dark:hover { background: #223839; color: #fff; }
.btn-gold { background: #E6C48A; color: var(--ink); box-shadow: inset 0 0 14px rgba(80,60,30,.15); }
.btn-gold:hover { background: #DDB676; color: var(--ink); }
.btn-ghost, .btn-ghost-light { background: var(--card); color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover, .btn-ghost-light:hover { background: var(--teal-wash); color: var(--navy); }
.btn-block { width: 100%; }

/* Cards and panels */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: var(--shadow); }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.band { background: var(--teal-band); border: 1.5px solid rgba(79,124,128,.3); border-radius: 20px 26px 18px 24px / 24px 18px 26px 20px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.band p { color: var(--ink); }
.band h1, .band h2 { color: var(--navy); }
.tint { background: var(--sand); border-radius: var(--r-lg); padding: 32px; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 12px; background: var(--teal-wash); color: var(--navy); white-space: nowrap; }
.badge-quiet { background: #ECE5D8; color: var(--muted); }
.badge-good { background: #DDE6D4; color: #4A6845; }
.chip { background: var(--teal-wash); border-radius: var(--r-sm); padding: 10px 12px; font-size: 15px; }
.placeholder { background: var(--sand); border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); padding: 20px; color: var(--muted); text-align: center; }
.say { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: inset 4px 0 0 var(--forest), var(--shadow); font-size: 19px; }
.say .lbl { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; color: var(--forest); margin-bottom: 4px; }

/* Painted scenes */
.scene { position: relative; }
.scene svg { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 68%, transparent 100%); }
.vig { margin: -6px -6px 0; max-width: 260px; }
.vig svg { width: 100%; height: auto; display: block; max-height: 104px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%); }

/* Landmark grid */
.landmarks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.landmark { text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.landmark:hover { color: var(--ink); border-color: var(--forest); transform: translateY(-2px); }
.landmark.start { border: 1.5px solid rgba(79,124,128,.55); background: var(--teal-wash); }
.landmark.soon { border-style: dashed; border-color: var(--line-strong); box-shadow: none; background: transparent; }
.landmark p { color: var(--muted); font-size: 16px; }
.landmark-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.landmark-top .vig { flex: 1 1 auto; }
.icon { width: 36px; height: 36px; flex: none; }
@media (prefers-reduced-motion: reduce) { .landmark { transition: none; } .landmark:hover { transform: none; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.hero .band { flex: 999 1 560px; min-width: 0; }
.hero-side { flex: 1 1 300px; min-width: 0; }
.hero-art { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 24px; align-items: center; }
.hero-art .scene { max-width: 420px; justify-self: center; width: 100%; }
@media (max-width: 760px) { .hero-art { grid-template-columns: minmax(0, 1fr); } .hero-art .scene { max-width: 320px; order: -1; } }
.trail { display: flex; flex-direction: column; padding: 0; margin: 0; }
.trail li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.trail li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; border-left: 2px dashed #D9C6A0; }
.trail li:last-child::before { display: none; }
.trail-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 10px rgba(30,20,10,.22); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.price.featured { border: 1.5px solid rgba(79,124,128,.55); background: var(--teal-wash); }
.price-amount { font-family: var(--display); font-size: 54px; font-weight: 700; line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.price-amount span { font-family: var(--body); font-size: 16px; font-weight: 400; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.ticks li::before { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); margin: 8px 0 0 4px; }
.price .btn { margin-top: auto; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 900; color: var(--navy); padding: 16px 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 17px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 700; font-size: 16px; }
input[type="email"], input[type="text"], input[type="password"], textarea, select {
  font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; min-height: 52px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--forest); border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 240px; min-width: 0; }
.form-msg { font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #3F5A3A; background: #E6EDE1; padding: 10px 12px; border-radius: 10px; }
.form-msg.warn { color: #8A3A2E; background: #F4E1DC; padding: 10px 12px; border-radius: 10px; }

/* Lists */
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list li > strong:first-child { font-family: var(--display); font-size: 21px; color: var(--navy); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 17px; cursor: pointer; }
.checks input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--forest); flex: none; }

/* Library */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-size: 15px; font-weight: 900; min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.book { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.book .badge { align-self: flex-start; }
.book .btn { margin-top: auto; align-self: flex-start; min-height: 46px; padding: 10px 20px; font-size: 16px; }

/* Posts */
.post { display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; padding-bottom: 0; }
.post-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #E3D6C1; color: var(--forest); font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }

/* Video placeholder */
.video { aspect-ratio: 16 / 9; max-width: 100%; background: var(--teal-band); border: 1.5px solid rgba(79,124,128,.3); border-radius: var(--r-lg); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; }
.video strong { font-family: var(--display); font-size: 24px; }

/* Footer */
.site-footer { border-top: 1px dashed #D9CDB8; background: var(--paper); }
.site-footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }

/* Member page header */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: center; gap: 8px 28px; }
.page-head > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.page-head .scene { width: 100%; }
@media (max-width: 700px) { .page-head { grid-template-columns: minmax(0, 1fr); } .page-head .scene { max-width: 280px; order: -1; } }
.crumb { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; text-decoration: none; color: var(--forest); }

/* A note from Shannon: pink lined notebook paper with a torn top edge (from On Track) */
.guide{display:block;position:relative;background-color:#F7E8E3;
  background-image:linear-gradient(90deg,transparent 30px,rgba(176,96,84,.28) 30px,rgba(176,96,84,.28) 31.5px,transparent 31.5px),repeating-linear-gradient(180deg,transparent 0,transparent 29px,rgba(130,110,140,.22) 29px,rgba(130,110,140,.22) 30px);
  background-position:0 0,0 19px;border-radius:2px 2px 6px 6px;padding:30px 20px 18px 46px;margin:20px 0 18px;box-shadow:0 1px 2px rgba(43,36,32,.06),0 12px 24px -18px rgba(43,36,32,.3);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10 L0 4 L7 6 L13 3 L21 6 L28 2 L36 5 L44 3 L51 7 L59 4 L66 6 L74 2 L82 5 L90 3 L97 6 L105 3 L113 6 L120 2 L128 5 L136 4 L143 7 L151 3 L159 5 L166 2 L174 6 L182 3 L190 6 L200 3 L200 10 Z'/%3E%3C/svg%3E") top/100% 10px no-repeat,linear-gradient(#000,#000) 0 9px/100% calc(100% - 9px) no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10 L0 4 L7 6 L13 3 L21 6 L28 2 L36 5 L44 3 L51 7 L59 4 L66 6 L74 2 L82 5 L90 3 L97 6 L105 3 L113 6 L120 2 L128 5 L136 4 L143 7 L151 3 L159 5 L166 2 L174 6 L182 3 L190 6 L200 3 L200 10 Z'/%3E%3C/svg%3E") top/100% 10px no-repeat,linear-gradient(#000,#000) 0 9px/100% calc(100% - 9px) no-repeat}
.guide .lbl{display:block;font-family:var(--body);font-style:normal;font-weight:900;font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--forest);line-height:30px;margin:0}
.guide p{font-family:var(--body);font-size:18px;line-height:30px;color:var(--ink);margin:0}
.guide p + p{margin-top:0}
.guide .sig{font-family:var(--display);font-style:italic;font-size:22px;color:var(--clay)}

/* NOTE-C: pink paper, margin line, no ruled lines */
.guide{display:block !important;position:relative !important;background-color:#F7E8E3 !important;background-image:linear-gradient(90deg,transparent 30px,rgba(176,96,84,.3) 30px,rgba(176,96,84,.3) 31.5px,transparent 31.5px) !important;background-position:0 0 !important;background-size:auto !important;border:0 !important;border-radius:4px 4px 14px 14px !important;padding:20px 20px 18px 44px !important;margin:16px 0 !important;box-shadow:none !important;-webkit-mask:none !important;mask:none !important;clip-path:none !important}
.guide::before,.guide::after{content:none !important;display:none !important}
.guide .pic{display:none !important}
.guide .lbl{display:block !important;font-family:var(--sans,Lato,sans-serif) !important;font-style:normal !important;font-weight:900 !important;font-size:12.5px !important;letter-spacing:.12em !important;text-transform:uppercase !important;color:var(--forest,#4F7C80) !important;line-height:1.4 !important;margin:0 0 6px !important;padding:0 !important}
.guide p{font-family:var(--sans,Lato,sans-serif) !important;font-size:18px !important;line-height:1.55 !important;color:var(--ink,#3A2E28) !important;margin:0 !important;padding:0 !important}
@media print{.guide{background-image:none !important;border:1px solid #ccc !important}}
