:root {
  --paper: #f5f0e7;
  --paper-deep: #e8dfd2;
  --ink: #22201d;
  --muted: #6e675f;
  --accent: #7c302f;
  --accent-dark: #57201f;
  --line: #c9bca9;
  --white: #fffdf8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --reading: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--accent);
}
.skip-link:focus { left: 1rem; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 231, .98);
}
.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 104px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; width: 190px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.main-nav a {
  padding: .35rem 0;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.main-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.header-action { justify-self: end; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--white);
  background: var(--accent);
  font: 700 .77rem/1 var(--sans);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover, .button:focus-visible, button:hover { background: var(--accent-dark); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.button.secondary:hover { color: var(--white); background: var(--ink); }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, h4, blockquote {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}
h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 7.8rem); letter-spacing: -.045em; }
h2 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 5vw, 4.8rem); letter-spacing: -.035em; }
h3 { margin: 0 0 1rem; font-size: clamp(1.75rem, 3vw, 2.7rem); }
h4 { margin: 0 0 .8rem; font-size: 1.35rem; }
p { margin: 0 0 1.2rem; }
.lede { max-width: 790px; font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.45; }

.home-hero {
  width: min(1440px, 100%);
  min-height: 720px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-bottom: 1px solid var(--line);
}
.home-hero-copy { padding: clamp(4rem, 9vw, 9rem) clamp(2rem, 7vw, 7rem); align-self: center; }
.home-hero-copy p:not(.eyebrow) { max-width: 620px; margin: 2rem 0; font-size: 1.2rem; }
.home-hero-image { min-height: 560px; overflow: hidden; }
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: clamp(5rem, 10vw, 9rem) 24px; }
.section-inner { width: min(1180px, 100%); margin: auto; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.split-image { min-height: 580px; object-fit: cover; }
.statement { max-width: 990px; }
.statement p { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.55; }
.tinted { background: var(--paper-deep); }
.mission-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 10vw, 10rem); }
.process-list { counter-reset: process; border-top: 1px solid var(--line); }
.process-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.process-item::before {
  counter-increment: process;
  content: "0" counter(process);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.5rem;
}
.process-item h3 { font-size: 1.8rem; }

.page-intro { width: min(1180px, calc(100% - 48px)); margin: auto; padding: clamp(5rem, 10vw, 9rem) 0; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 980px; font-size: clamp(3.5rem, 9vw, 8.5rem); }
.page-intro .lede { margin: 2rem 0 0 auto; }
.story-index { margin-top: 4rem; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.story-index a { padding: 1.25rem .75rem; text-decoration: none; border-right: 1px solid var(--line); }
.story-index a:last-child { border-right: 0; }
.story-index strong { display: block; color: var(--accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.story-index span { display: block; margin-top: .35rem; font-family: var(--serif); line-height: 1.25; }

.workshop { scroll-margin-top: 1rem; border-bottom: 1px solid var(--line); }
.workshop-head { width: min(1180px, calc(100% - 48px)); margin: auto; padding: clamp(5rem, 9vw, 8rem) 0 3rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.workshop:nth-of-type(even) .workshop-head { grid-template-columns: 1.1fr .9fr; }
.workshop:nth-of-type(even) .workshop-cover { order: 2; }
.workshop-cover { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.workshop-number { color: var(--accent); font: 800 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.theme { color: var(--muted); font-size: .95rem; }
.story-body { width: min(var(--reading), calc(100% - 48px)); margin: auto; padding: 2rem 0 clamp(6rem, 10vw, 9rem); }
.story-body h2 { margin-top: 4.5rem; font-size: clamp(2rem, 4vw, 3.25rem); }
.story-body h3 { margin-top: 3rem; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.story-body .reflection { margin-top: 4rem; padding: 3rem; background: var(--paper-deep); border-top: 4px solid var(--accent); }
.story-body .closing-question { margin: 4rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line); color: var(--accent-dark); font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.35; }
.founder-note { background: var(--accent-dark); color: var(--white); }
.founder-note .story-body { padding-top: clamp(6rem, 11vw, 10rem); }
.founder-note .eyebrow { color: #e8b9a9; }
.founder-note h2 { margin-top: 0; }
.founder-note .lede { margin-bottom: 3rem; }

.join-hero { width: min(1180px, calc(100% - 48px)); margin: auto; padding: clamp(5rem, 10vw, 9rem) 0; display: grid; grid-template-columns: 1fr .8fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.join-hero img { width: 100%; min-height: 560px; object-fit: cover; }
.join-hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.join-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-details { list-style: none; padding: 0; margin: 2rem 0; }
.contact-details li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-details a { text-underline-offset: .2em; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
input, textarea { width: 100%; padding: .9rem; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; font: inherit; }
textarea { min-height: 150px; resize: vertical; }

.site-footer { padding: 4rem 24px; color: var(--white); background: var(--ink); }
.footer-inner { width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: 1fr; gap: 3rem; }
.footer-brand { width: 180px; filter: invert(1); }
.footer-tagline { max-width: 520px; color: #d8d1c7; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid #4e4a45; color: #aaa39a; font-size: .8rem; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; padding: 1rem 0; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 1.5rem; overflow-x: auto; }
  .home-hero, .split, .split.reverse, .mission-grid, .workshop-head, .workshop:nth-of-type(even) .workshop-head, .join-hero, .contact-grid { grid-template-columns: 1fr; }
  .home-hero-image { grid-row: 1; min-height: 420px; }
  .home-hero-copy { padding-top: 4rem; padding-bottom: 5rem; }
  .workshop:nth-of-type(even) .workshop-cover { order: 0; }
  .story-index { grid-template-columns: 1fr 1fr; }
  .story-index a { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner, .page-intro, .workshop-head, .join-hero { width: min(100% - 32px, 1180px); }
  .brand { width: 150px; }
  .header-action { padding: .7rem .85rem; font-size: .68rem; }
  .main-nav { gap: 1.2rem; }
  .home-hero-copy { padding-left: 20px; padding-right: 20px; }
  .home-hero-image { min-height: 320px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .story-index { grid-template-columns: 1fr; }
  .story-index a { border-right: 0; }
  .story-body { width: min(100% - 36px, var(--reading)); }
  .story-body .reflection { padding: 2rem 1.35rem; }
  .join-columns, .contact-form, .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
