/* =========================================================================
   Tiffany Carey Jones — V2 design system
   Editorial, warm, rooted. Great Lakes light, not nonprofit green.
   ========================================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4, blockquote {
  font-family: 'Fraunces', Georgia, serif;
  margin: 0;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--lake);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Design tokens ---------- */
:root {
  /* Great Lakes palette: sunrise light, water, soil, wildflower — not uniform green */
  --cream: #faf6ee;
  --paper: #fffdf8;
  --ink: #24221d;
  --ink-soft: #5c584c;
  --ink-faint: #8c8676;

  --goldenrod: #a8791c;
  --goldenrod-soft: #e9cf94;
  --goldenrod-tint: #f6ecd4;

  --lake: #234a58;
  --lake-soft: #6f9aa6;
  --lake-tint: #e2edee;

  --soil: #9a5430;
  --soil-soft: #e3b393;

  --sage: #5f7350;
  --sage-soft: #c6d2b8;

  --plum: #4a2f43;
  --plum-soft: #cba9c1;
  --plum-tint: #f1e6ee;

  --border: #e7ddc8;
  --border-soft: #f0e9d8;

  --shadow-sm: 0 2px 10px rgba(36, 34, 29, 0.06);
  --shadow-md: 0 18px 50px rgba(36, 34, 29, 0.16);

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  --w-narrow: 640px;
  --w-read: 760px;
  --w-wide: 1160px;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--w-wide); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 24px; }
.wrap-read { max-width: var(--w-read); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soil);
}
.eyebrow.on-dark { color: var(--goldenrod-soft); }

.center { text-align: center; }
.center .eyebrow, .center .section-title, .center .section-sub { margin-left: auto; margin-right: auto; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soil);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 8px;
}

.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
.section + .section,
.section-tight + .section,
.section + .section-tight { border-top: 1px solid var(--border); }
.section-dark { background: var(--lake); color: var(--paper); border-top: none !important; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .section-sub { color: rgba(255, 253, 248, 0.75); }
.section-plum { background: var(--plum); color: var(--paper); border-top: none !important; }
.section-plum h1, .section-plum h2, .section-plum h3 { color: var(--paper); }
.section-plum .section-sub { color: rgba(255, 253, 248, 0.78); }
.section-tint { background: var(--goldenrod-tint); border-top: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: none;
}
.btn-primary { background: var(--plum); color: var(--paper); }
.btn-primary:hover { background: #3a2434; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-outline-light:hover { background: var(--paper); color: var(--lake); }
.btn-text { padding: 0; border-radius: 0; color: var(--soil); font-weight: 600; }
.btn-text::after { content: '→'; margin-left: 6px; transition: transform 0.2s ease; display: inline-block; }
.btn-text:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover, .nav a.is-active { color: var(--plum); }

.nav-more { position: relative; }
.nav-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-more-btn:hover { color: var(--plum); }
.nav-more-caret { font-size: 0.7em; transition: transform 0.2s ease; }
.nav-more.open .nav-more-caret { transform: rotate(180deg); }
.nav-more-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 10px; min-width: 200px;
  display: none; flex-direction: column;
}
.nav-more.open .nav-more-menu { display: flex; }
.nav-more-menu a { padding: 10px 14px; border-radius: 8px; font-size: 0.92rem; }
.nav-more-menu a:hover { background: var(--goldenrod-tint); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Text hero ---------- */
.hero { padding: 96px 0 80px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1.1; margin: 20px 0 22px; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); margin: 0 auto 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-actions-left { justify-content: flex-start; }

/* ---------- Photo hero (homepage) ---------- */
.hero-photo { position: relative; padding-bottom: 0; }
.hero-photo-frame { position: relative; width: 100%; height: clamp(520px, 82vh, 800px); overflow: hidden; }
.hero-photo-bg { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-photo-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36, 26, 24, 0.78) 0%, rgba(36, 26, 24, 0.32) 42%, rgba(36, 26, 24, 0.05) 68%);
}
.hero-photo-text { position: absolute; left: 0; bottom: 0; max-width: 640px; padding: 0 32px 64px; color: var(--paper); }
.hero-photo-text .eyebrow { color: var(--goldenrod-soft); }
.hero-photo-text h1 { color: var(--paper); font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 18px 0 22px; }
.hero-sub-light { color: rgba(255, 253, 248, 0.9); margin-left: 0; }

/* ---------- Placeholder photo block (until real assets land) ---------- */
.photo-block {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--goldenrod-soft), var(--lake-soft));
}
.photo-block img { width: 100%; height: 100%; object-fit: cover; }
.photo-block-placeholder {
  display: flex; align-items: center; justify-content: center;
  min-height: 320px; padding: 32px; text-align: center;
  color: var(--ink); font-family: 'Fraunces', serif; font-size: 1.05rem; font-style: italic;
  background: repeating-linear-gradient(135deg, var(--goldenrod-tint), var(--goldenrod-tint) 14px, var(--lake-tint) 14px, var(--lake-tint) 28px);
}

/* ---------- Editorial intro / manifesto ---------- */
.intro-copy p { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 22px; line-height: 1.7; }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-copy strong { color: var(--ink); font-weight: 600; }

.manifesto {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.35;
  max-width: 880px;
  margin: 0 auto;
}

/* ---------- Numbered beliefs ---------- */
.beliefs-list { list-style: none; margin: 0; padding: 0; }
.belief-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  padding: 36px 0; border-top: 1px solid rgba(255, 253, 248, 0.16);
}
.belief-row:first-child { border-top: 1px solid rgba(255, 253, 248, 0.16); }
.belief-num { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--goldenrod-soft); }
.belief-text { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-family: 'Fraunces', serif; font-weight: 500; }

/* ---------- Asymmetric two-column editorial section ---------- */
.editorial-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.editorial-split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.editorial-split.reverse .editorial-split-media { order: 2; }
@media (max-width: 860px) {
  .editorial-split, .editorial-split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .editorial-split.reverse .editorial-split-media { order: 0; }
}

/* ---------- Work-in-action areas ---------- */
.work-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
@media (max-width: 720px) { .work-areas { grid-template-columns: 1fr; } }
.work-area { background: var(--paper); padding: 40px 36px; }
.work-area-num { font-family: 'Fraunces', serif; font-style: italic; color: var(--soil); font-size: 1.1rem; margin-bottom: 14px; }
.work-area h3 { font-size: 1.3rem; margin-bottom: 14px; }
.work-area p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 18px; }

/* ---------- Editorial entry list (research, press, talks, connect areas) ---------- */
.entry-list { list-style: none; margin: 0; padding: 0; }
.entry-item { display: block; padding: 32px 0; border-bottom: 1px solid var(--border); }
.entry-item:first-child { padding-top: 0; }
.entry-item:last-child { border-bottom: none; }
.entry-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; margin-bottom: 10px; }
.label-sage { color: var(--sage); }
.label-soil { color: var(--soil); }
.label-lake { color: var(--lake); }
.label-gold { color: var(--goldenrod); }
.entry-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.entry-item p { color: var(--ink-soft); font-size: 0.98rem; }
.entry-item p + p { margin-top: 8px; }
a.entry-item h3 { transition: color 0.2s ease; }
a.entry-item:hover h3 { color: var(--plum); }
.entry-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.entry-link { color: var(--soil); font-weight: 600; font-size: 0.95rem; }
.entry-link:hover { text-decoration: underline; }

/* ---------- Quotes ---------- */
.quotes-list { display: flex; flex-direction: column; gap: 32px; }
.quotes-list p { font-family: 'Fraunces', serif; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--plum); }

/* ---------- Ideas / journal cards ---------- */
.idea-themes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.idea-theme-pill {
  font-size: 0.85rem; font-weight: 600; padding: 8px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); color: var(--ink-soft);
}
.idea-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.idea-row { background: var(--paper); padding: 30px 32px; display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: baseline; }
@media (max-width: 640px) { .idea-row { grid-template-columns: 1fr; gap: 8px; } }
.idea-row-theme { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--soil); }
.idea-row h3 { font-size: 1.15rem; font-weight: 500; }
.idea-note { margin-top: 56px; padding: 28px 32px; background: var(--goldenrod-tint); border-radius: var(--radius-md); color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Community features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { display: flex; gap: 16px; }
.feature-mark { color: var(--goldenrod); font-family: 'Fraunces', serif; font-style: italic; font-size: 1.2rem; flex-shrink: 0; }
.feature-item p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Podcast ---------- */
.podcast-text p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 30px; }
.podcast-text strong { color: var(--ink); }
.podcast-media { aspect-ratio: 1/1; max-width: 320px; margin: 40px auto 0; border-radius: var(--radius-md); overflow: hidden; }
.podcast-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Forms ---------- */
.form-block { max-width: 620px; margin: 0 auto; text-align: left; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-row .hint { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.85rem; margin-top: 4px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--paper); color: var(--ink); font-family: inherit; font-size: 1rem;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--plum); }
.form-row textarea { resize: vertical; }
.form-row-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.form-radio-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 10px 18px;
  font-size: 0.92rem; cursor: pointer; color: var(--ink-soft); background: var(--paper);
}
.form-radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.form-radio-option:has(input:checked) { border-color: var(--plum); color: var(--plum); background: var(--plum-tint); font-weight: 600; }
.form-submit { display: block; width: 100%; text-align: center; }
.form-status { margin-top: 16px; font-size: 0.95rem; min-height: 1.4em; }
.form-status.success { color: var(--sage); }
.form-status.error { color: var(--soil); }

/* ---------- Pathway list (contact page) ---------- */
.pathway-list { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 640px) { .pathway-list { grid-template-columns: 1fr; } }
.pathway-item { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--paper); }
.pathway-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.pathway-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Content checklist / TODO callout (dev-facing, styled quietly) ---------- */
.content-todo {
  margin: 40px auto 0; max-width: var(--w-read); padding: 20px 24px;
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm);
  color: var(--ink-faint); font-size: 0.88rem;
}
.content-todo strong { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 48px; border-top: 1px solid var(--border); background: var(--cream); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-tagline { font-family: 'Fraunces', serif; font-style: italic; color: var(--ink-soft); font-size: 1.05rem; max-width: 420px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 0.9rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--plum); }
.footer-meta { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Responsive header ---------- */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 84px; left: 0; right: 0; z-index: 100; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--border); transform: translateY(-150%); opacity: 0; transition: all 0.25s ease;
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .menu-toggle { display: flex; }
  .nav-more-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; }
  .nav-more.open .nav-more-menu { display: flex; }

  .hero-photo-frame { height: 640px; }
  .hero-photo-text { max-width: 100%; padding: 0 20px 44px; }
}

/* Scroll-reveal — opt-in via JS (see script.js). Content is visible by
   default so it never depends on JS running, IntersectionObserver firing,
   or a screenshot/print tool catching it mid-transition; script.js adds
   .reveal-ready only on elements it's actually able to animate. */
[data-reveal].reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-ready { opacity: 1; transform: none; transition: none; }
}
