:root {
  color-scheme: light;
  --ink: #12110f;
  --muted: #69645c;
  --paper: #f6efe2;
  --paper-strong: #fffaf0;
  --line: rgba(18, 17, 15, 0.13);
  --green: #315b48;
  --blue: #234e70;
  --red: #a94438;
  --gold: #c78328;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 239, 226, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.header-cta,
.secondary-action {
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  background: rgba(255, 250, 240, 0.72);
}

.primary-action {
  padding: 0.8rem 1.15rem;
  background: var(--ink);
  color: var(--paper-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(38rem, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(2.2rem, 5vw, 5.5rem) clamp(1rem, 4vw, 3rem) 2rem;
}

.hero-copy {
  max-width: 45rem;
}

.hero-logo {
  width: min(22rem, 78vw);
  height: auto;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.3rem, 7vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-text,
.problem-band p,
.section-heading p,
.collab-copy > p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.format-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.format-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.hero-visual {
  min-width: 0;
}

.crate-window,
.drop-zone-visual {
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--paper-strong);
  box-shadow: 18px 18px 0 rgba(18, 17, 15, 0.12);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 2px solid var(--ink);
  padding: 0.85rem 1rem;
}

.window-top span {
  width: 0.75rem;
  height: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.window-top span:nth-child(2) {
  background: var(--gold);
}

.window-top span:nth-child(3) {
  background: var(--green);
}

.window-top strong {
  margin-left: 0.6rem;
  font-size: 0.9rem;
}

.crate-layout {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr) 12rem;
  min-height: 34rem;
}

.agenda-rail,
.notes-rail {
  padding: 1rem;
  background: #efe4cf;
}

.agenda-rail {
  border-right: 2px solid var(--ink);
}

.notes-rail {
  border-left: 2px solid var(--ink);
}

.agenda-rail p,
.notes-rail p,
.lane p {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agenda-rail button {
  width: 100%;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.65rem;
  background: var(--paper-strong);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.agenda-rail button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
}

.document-stage {
  min-width: 0;
  padding: 1rem;
  background:
    linear-gradient(rgba(18, 17, 15, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 15, 0.05) 1px, transparent 1px),
    #fff9ec;
  background-size: 1.2rem 1.2rem;
}

.resource-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: var(--white);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.tab.active {
  border-color: var(--ink);
  color: var(--ink);
}

.preview-card {
  min-height: 26rem;
  border: 2px solid var(--ink);
  border-radius: 0.65rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.preview-card[data-kind="pdf"] {
  background: #fff3ef;
}

.preview-card[data-kind="slides"] {
  background: #eef5f1;
}

.preview-card[data-kind="table"] {
  background: #eef4fb;
}

.preview-card[data-kind="notes"] {
  background: #fff7df;
}

.preview-kicker {
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.preview-card p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2rem;
}

.mini-grid span,
.note-card,
.private-note,
.notion-pill {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper-strong);
  padding: 0.75rem;
  font-weight: 800;
}

.note-card {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.note-card strong,
.note-card span {
  display: block;
}

.note-card span {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.45;
}

.problem-band,
.formats-section,
.feature-section,
.split-section,
.export-section,
.join-section {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.problem-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-block: 2px solid var(--ink);
  background: var(--green);
  color: var(--paper-strong);
}

.problem-band .eyebrow,
.problem-band p {
  color: rgba(255, 250, 240, 0.78);
}

.section-heading {
  max-width: 57rem;
  margin-bottom: 2rem;
}

.formats-section {
  background: var(--paper);
}

.format-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.format-card {
  min-height: 18rem;
  border: 2px solid var(--ink);
  border-radius: 0.65rem;
  padding: 1rem;
  background: var(--paper-strong);
  box-shadow: 8px 8px 0 rgba(18, 17, 15, 0.09);
}

.format-card span {
  display: inline-flex;
  margin-bottom: 3.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 950;
}

.format-card p {
  color: var(--muted);
  line-height: 1.55;
}

.pdf-card {
  background: #fff0eb;
}

.html-card {
  background: #eef4fb;
  transform: translateY(1.2rem);
}

.ppt-card {
  background: #fff4dc;
}

.canva-card {
  background: #edf5ef;
  transform: translateY(1.2rem);
}

.csv-card {
  background: #edf2f8;
}

.note-card-format {
  background: #fbefe5;
  transform: translateY(1.2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.export-card {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.2rem;
  background: var(--paper-strong);
}

.feature-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.feature-grid p,
.export-card p {
  color: var(--muted);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: #efe4cf;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  content: "✓";
  color: var(--green);
  font-weight: 950;
}

.drop-zone-visual {
  overflow: hidden;
}

.drop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding: 1rem;
}

.drop-header span {
  color: var(--muted);
  font-weight: 800;
}

.drop-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 24rem;
}

.lane {
  padding: 1rem;
}

.lane + .lane {
  border-left: 2px solid var(--ink);
}

.floating-file {
  margin-bottom: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  padding: 1.1rem 0.85rem;
  background: var(--white);
  font-weight: 950;
  box-shadow: 7px 7px 0 rgba(18, 17, 15, 0.1);
}

.floating-file.pdf {
  color: var(--red);
}

.floating-file.ppt {
  color: var(--gold);
  transform: translateX(1rem) rotate(2deg);
}

.floating-file.html {
  color: var(--blue);
  transform: translateX(0.4rem) rotate(-2deg);
}

.lane ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-weight: 800;
  line-height: 2.1;
}

.private-note {
  color: var(--muted);
  line-height: 1.45;
}

.notion-pill {
  display: inline-flex;
  margin-top: 0.9rem;
  background: var(--ink);
  color: var(--paper-strong);
}

.export-section {
  background: var(--blue);
  color: var(--paper-strong);
}

.export-section .eyebrow,
.export-section .section-heading p {
  color: rgba(255, 250, 240, 0.78);
}

.export-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.export-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 250, 240, 0.09);
}

.export-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--blue);
  padding: 0.4rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 950;
}

.export-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.export-card p {
  color: rgba(255, 250, 240, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper-strong);
}

.join-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-top: 2px solid var(--ink);
  background: var(--paper-strong);
}

.join-section p:last-child {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 1.7;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: rgba(255, 250, 240, 0.62);
}

.site-footer a {
  color: rgba(255, 250, 240, 0.78);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Journal */
.journal-hero {
  min-height: 30rem;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.journal-hero h1 {
  max-width: 62rem;
  margin-bottom: 1.5rem;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.96;
}

.journal-hero > p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.journal-feed {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 7vw, 7rem);
}

.journal-feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.journal-feed-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.journal-feed-heading p {
  color: var(--muted);
}

.featured-post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper-strong);
  box-shadow: 0 1.5rem 4rem rgba(18, 17, 15, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-post-card:hover {
  box-shadow: 0 1.75rem 4.5rem rgba(18, 17, 15, 0.11);
  transform: translateY(-3px);
}

.featured-post-link {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
}

.post-card-art {
  position: relative;
  display: flex;
  min-height: 28rem;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 250, 240, 0.2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--green);
  color: var(--paper-strong);
}

.post-art-label,
.post-art-footer {
  color: rgba(255, 250, 240, 0.64);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-art-line {
  position: absolute;
  top: 4.8rem;
  left: clamp(1.5rem, 3vw, 2.5rem);
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.post-card-art p {
  max-width: 20rem;
  margin: auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.post-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.post-meta {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.post-meta span::before { content: "·"; margin-right: 0.8rem; }

.post-card-copy h3 {
  max-width: 42rem;
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 4.3vw, 4.6rem);
  line-height: 1;
}

.post-card-copy > p:not(.eyebrow) {
  max-width: 41rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.read-link {
  margin-top: 1.5rem;
  font-weight: 900;
}

.journal-note {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.journal-note span { color: var(--red); font-weight: 900; }
.journal-note p { max-width: 40rem; color: var(--muted); line-height: 1.6; }

/* Article */
.article-page { background: var(--paper); }

.article-header {
  max-width: 75rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
}

.back-link {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 5rem;
  color: var(--muted);
  font-weight: 850;
}

.back-link:hover { color: var(--ink); }

.article-header h1 {
  max-width: 64rem;
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.98;
}

.article-deck {
  max-width: 51rem;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.55;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.author-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  font-weight: 950;
}

.article-byline strong,
.article-byline span { display: block; }
.article-byline div > span { margin-top: 0.2rem; color: var(--muted); font-size: 0.9rem; }

.article-hero-art {
  position: relative;
  display: flex;
  min-height: clamp(25rem, 42vw, 36rem);
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100vw - 68rem) / 2));
  border-block: 1px solid rgba(18, 17, 15, 0.18);
  background: var(--blue);
  color: var(--paper-strong);
}

.article-hero-art > strong {
  max-width: 58rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.article-art-kicker {
  margin-bottom: 2rem;
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-art-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 250, 240, 0.24);
  padding-top: 1.2rem;
}

.article-art-path span {
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.84rem;
  font-weight: 750;
}

.article-art-path span + span::before {
  content: "→";
  margin: 0 1rem;
  color: var(--gold);
}

.article-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 46rem);
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 9vw, 8rem) 1rem;
}

.article-aside {
  position: sticky;
  top: 7rem;
  align-self: start;
  display: grid;
  gap: 0.8rem;
  padding-left: 1rem;
  border-left: 2px solid var(--ink);
}

.article-aside p { margin-bottom: 0.3rem; color: var(--red); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.article-aside a { color: var(--muted); font-size: 0.9rem; font-weight: 750; }
.article-aside a:hover { color: var(--ink); }

.article-body { min-width: 0; }

.article-body > p,
.article-body > ol {
  color: #3f3b35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.34rem);
  line-height: 1.82;
}

.article-body .article-lede {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.5;
}

.article-body h2 {
  margin: 4.5rem 0 1.2rem;
  scroll-margin-top: 7rem;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.article-body blockquote {
  margin: 3.5rem 0;
  border-left: 0.45rem solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 850;
  line-height: 1.2;
}

.article-callout {
  margin: 3.5rem 0;
  border: 2px solid var(--ink);
  border-radius: 0.6rem;
  padding: 1.5rem;
  background: #efe4cf;
  box-shadow: 8px 8px 0 rgba(18, 17, 15, 0.1);
}

.article-callout span { color: var(--red); font-size: 0.75rem; font-weight: 950; letter-spacing: 0.14em; }
.article-callout p { margin: 0.8rem 0 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 850; line-height: 1.35; }

.principle-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 3rem;
  padding: 0;
  list-style: none;
  counter-reset: principles;
}

.principle-list li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.7rem;
  border-top: 1px solid var(--line);
  counter-increment: principles;
}

.principle-list li::before {
  position: absolute;
  left: 0;
  top: 1rem;
  content: "0" counter(principles);
  color: var(--red);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 950;
}

.principle-list strong,
.principle-list span { display: block; }
.principle-list strong { color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.05rem; }
.principle-list span { margin-top: 0.35rem; }

.article-signoff {
  display: grid;
  gap: 0.25rem;
  margin-top: 4rem;
  font-size: 1.1rem;
}

.article-next {
  padding: clamp(4rem, 8vw, 8rem) max(1rem, calc((100vw - 58rem) / 2));
  border-top: 2px solid var(--ink);
  background: var(--green);
  color: var(--paper-strong);
}

.article-next .eyebrow,
.article-next > p:not(.eyebrow) { color: rgba(255, 250, 240, 0.74); }
.article-next > p:not(.eyebrow) { font-size: 1.15rem; }
.article-next .primary-action { border: 0; background: var(--gold); color: var(--ink); }

.tally-side-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 20;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 0.55rem 0 0 0.55rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.85rem 0.75rem;
  box-shadow: -8px 8px 0 rgba(18, 17, 15, 0.13);
  cursor: pointer;
  transform: translateY(-50%);
}

.tally-side-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tally-side-tab:hover {
  background: var(--paper-strong);
}

@media (max-width: 1080px) {
  .hero,
  .problem-band,
  .split-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .format-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .export-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav,
  .header-cta {
    display: none;
  }

  h1 {
    font-size: 3.35rem;
  }

  .crate-layout,
  .drop-lanes,
  .format-board,
  .feature-grid,
  .export-row {
    grid-template-columns: 1fr;
  }

  .html-card,
  .canva-card,
  .note-card-format {
    transform: none;
  }

  .agenda-rail,
  .notes-rail,
  .lane + .lane {
    border-left: 0;
    border-right: 0;
    border-top: 2px solid var(--ink);
  }

  .agenda-rail {
    border-top: 0;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .journal-hero { min-height: 27rem; }
  .journal-feed-heading { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .featured-post-link { grid-template-columns: 1fr; }
  .post-card-art { min-height: 20rem; border-right: 0; border-bottom: 1px solid rgba(18, 17, 15, 0.12); }
  .journal-note { grid-template-columns: 1fr; gap: 0.5rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: none; }
  .article-art-path { display: grid; gap: 0.6rem; }
  .article-art-path span + span::before { content: none; }

  .tally-side-tab {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    border-right: 2px solid var(--ink);
    border-radius: 999px;
    padding: 0.8rem 1rem;
    transform: none;
  }

  .tally-side-tab span {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* Quiet Crate visual system */
:root {
  --ink: #202523;
  --muted: #626a65;
  --paper: #f4f0e7;
  --paper-strong: #fbf9f4;
  --line: rgba(32, 37, 35, 0.16);
  --green: #78958a;
  --green-pale: #e4ebe7;
  --blue: #506864;
  --red: #b75b48;
  --gold: #a78955;
  --white: #ffffff;
}

body {
  background: var(--paper);
}

.site-header {
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  gap: 0.6rem;
  font-size: 1rem;
}

.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
}

.nav {
  gap: 1.35rem;
  font-size: 0.88rem;
  font-weight: 720;
}

.nav a {
  position: relative;
  padding-block: 0.35rem;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  opacity: 0.65;
  transform: scaleX(1);
}

.header-cta,
.primary-action,
.secondary-action {
  min-height: 2.65rem;
  border-radius: 0.18rem;
  font-size: 0.9rem;
}

.header-cta,
.secondary-action {
  border: 1px solid var(--line);
  background: transparent;
}

.header-cta:hover,
.secondary-action:hover {
  border-color: var(--ink);
  background: var(--paper-strong);
}

.primary-action {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--paper-strong);
}

.primary-action:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.hero {
  grid-template-columns: minmax(22rem, 0.78fr) minmax(39rem, 1.22fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  min-height: calc(100vh - 4.5rem);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 40rem;
}

.hero-logo {
  width: min(18rem, 68vw);
  margin-bottom: 2rem;
}

.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

h1 {
  max-width: 58rem;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 4rem);
  line-height: 1;
}

.hero-text,
.problem-band p,
.section-heading p,
.collab-copy > p {
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  line-height: 1.72;
}

.format-strip {
  gap: 0;
  margin-top: 1.6rem;
  border-block: 1px solid var(--line);
  padding-block: 0.65rem;
}

.format-strip span {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0.72rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.format-strip span:first-child {
  padding-left: 0;
}

.format-strip span + span::before {
  position: absolute;
  left: 0;
  content: "·";
  color: var(--green);
}

.hero-actions {
  margin-top: 1.75rem;
}

.crate-window,
.drop-zone-visual {
  border: 1px solid var(--ink);
  border-radius: 0.25rem;
  background: var(--paper-strong);
  box-shadow: 12px 14px 0 #ded9cf;
}

.window-top {
  border-bottom: 1px solid var(--ink);
  padding: 0.72rem 0.9rem;
}

.window-top span {
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--ink);
  background: var(--red);
}

.window-top span:nth-child(2) {
  background: var(--gold);
}

.window-top span:nth-child(3) {
  background: var(--green);
}

.window-top strong {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.crate-layout {
  grid-template-columns: 9.5rem minmax(0, 1fr) 11rem;
  min-height: 33rem;
}

.agenda-rail,
.notes-rail {
  padding: 1rem 0.85rem;
  background: #efeadf;
}

.agenda-rail {
  border-right: 1px solid var(--ink);
}

.notes-rail {
  border-left: 1px solid var(--ink);
}

.agenda-rail p,
.notes-rail p,
.lane p {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.agenda-rail button {
  margin-bottom: 0.4rem;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  padding: 0.65rem 0.6rem;
  background: transparent;
  line-height: 1.35;
}

.agenda-rail button:hover {
  border-left-color: var(--green);
  background: rgba(120, 149, 138, 0.08);
  color: var(--ink);
}

.agenda-rail button.active {
  border-left-color: var(--red);
  background: var(--ink);
  color: var(--paper-strong);
}

.document-stage {
  padding: 0.9rem;
  background:
    linear-gradient(rgba(32, 37, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 37, 35, 0.035) 1px, transparent 1px),
    #f8f6f0;
  background-size: 1.35rem 1.35rem;
}

.resource-tabs {
  gap: 0.25rem;
}

.tab {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 0.38rem 0.55rem;
  font-size: 0.72rem;
}

.tab.active {
  border-color: var(--ink);
}

.preview-card,
.preview-card[data-kind="pdf"],
.preview-card[data-kind="slides"],
.preview-card[data-kind="table"],
.preview-card[data-kind="notes"] {
  min-height: 26rem;
  border: 1px solid var(--ink);
  border-radius: 0.2rem;
  background: #fffefa;
}

.preview-kicker {
  color: var(--green);
  font-size: 0.7rem;
}

.preview-card h2 {
  max-width: 36rem;
  font-size: clamp(2.1rem, 3.7vw, 3.8rem);
  line-height: 1;
}

.preview-card p {
  font-size: 1rem;
}

.mini-grid {
  gap: 0;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.mini-grid span {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.72rem 0;
  font-size: 0.82rem;
}

.mini-grid span:nth-child(odd) {
  margin-right: 0.75rem;
}

.mini-grid span:nth-child(even) {
  margin-left: 0.75rem;
}

.note-card {
  margin-bottom: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.85rem 0;
  font-size: 0.79rem;
}

.problem-band,
.formats-section,
.feature-section,
.split-section,
.export-section,
.deploy-section {
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.problem-band {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border-block: 1px solid var(--line);
  background: var(--green-pale);
  color: var(--ink);
}

.problem-band .eyebrow {
  color: var(--green);
}

.problem-band p {
  color: var(--muted);
}

.section-heading {
  max-width: 56rem;
  margin-bottom: 3rem;
}

.format-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}

.format-card,
.pdf-card,
.html-card,
.ppt-card,
.canva-card,
.csv-card,
.note-card-format {
  min-height: 12rem;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  padding: 1rem 0 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.format-card span {
  margin-bottom: 2.2rem;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.format-card p {
  max-width: 24rem;
}

.feature-section {
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.5rem 0;
  background: transparent;
}

.feature-grid article h3,
.feature-grid article p {
  grid-column: 2;
}

.feature-icon {
  grid-row: 1 / span 2;
  width: auto;
  height: auto;
  place-items: start;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.split-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(36rem, 1.15fr);
  background: #e9edea;
}

.check-list {
  border-top: 1px solid var(--line);
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0 0.8rem 1.65rem;
}

.check-list li::before {
  content: "—";
  color: var(--green);
}

.drop-zone-visual {
  overflow: hidden;
  box-shadow: 10px 12px 0 rgba(32, 37, 35, 0.09);
}

.drop-header {
  border-bottom: 1px solid var(--ink);
}

.drop-lanes {
  min-height: 23rem;
}

.lane + .lane {
  border-left: 1px solid var(--ink);
}

.floating-file {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.85rem 0;
  background: transparent;
  box-shadow: none;
}

.floating-file.pdf,
.floating-file.ppt,
.floating-file.html {
  color: var(--ink);
  transform: none;
}

.floating-file::before {
  margin-right: 0.55rem;
  color: var(--green);
  content: "+";
}

.private-note {
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: var(--paper-strong);
}

.notion-pill {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  padding: 0.7rem 0;
}

.export-section {
  border-block: 1px solid var(--line);
  background: var(--green-pale);
  color: var(--ink);
}

.export-section .eyebrow {
  color: var(--green);
}

.export-section .section-heading p {
  color: var(--muted);
}

.export-row {
  gap: 0;
  border-block: 1px solid var(--line);
}

.export-card {
  border: 0;
  border-radius: 0;
  padding: 1.5rem;
  background: transparent;
}

.export-card + .export-card {
  border-left: 1px solid var(--line);
}

.export-card span {
  border-radius: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  letter-spacing: 0.08em;
}

.export-card p {
  color: var(--muted);
}

.deploy-section {
  border-top: 0;
  background: var(--paper);
}

.site-footer {
  padding: 2.25rem clamp(1rem, 5vw, 5rem);
  background: var(--ink);
}

.tally-side-tab {
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 0.2rem 0 0 0.2rem;
  background: var(--green);
  box-shadow: none;
}

.tally-side-tab:hover {
  background: var(--paper-strong);
}

/* Journal refinements */
.journal-hero {
  min-height: 26rem;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.journal-hero h1 {
  max-width: 58rem;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
}

.journal-feed {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 7vw, 7rem);
}

.featured-post-card {
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  box-shadow: 10px 12px 0 rgba(32, 37, 35, 0.07);
}

.featured-post-card:hover {
  box-shadow: 7px 9px 0 rgba(32, 37, 35, 0.09);
}

.post-card-art {
  border-right-color: rgba(255, 255, 255, 0.16);
  background: var(--green);
}

.post-art-line {
  background: rgba(255, 255, 255, 0.5);
}

.post-card-copy h3 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.article-header h1 {
  font-size: clamp(3.5rem, 6.6vw, 6.6rem);
}

.article-hero-art {
  border-block: 1px solid var(--line);
  background: var(--green-pale);
  color: var(--ink);
}

.article-art-kicker {
  color: var(--green);
}

.article-art-path {
  border-top-color: var(--line);
}

.article-art-path span {
  color: var(--muted);
}

.article-art-path span + span::before {
  color: var(--red);
}

.article-aside {
  border-left: 1px solid var(--ink);
}

.article-callout {
  border: 1px solid var(--ink);
  border-radius: 0.2rem;
  background: var(--green-pale);
  box-shadow: 7px 8px 0 rgba(32, 37, 35, 0.07);
}

.article-next {
  border-top: 1px solid var(--line);
  background: var(--green-pale);
  color: var(--ink);
}

.article-next .eyebrow {
  color: var(--green);
}

.article-next > p:not(.eyebrow) {
  color: var(--muted);
}

.article-next .primary-action {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--paper-strong);
}

@media (max-width: 1080px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-visual {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-block: 0.75rem;
  }

  h1,
  .journal-hero h1,
  .article-header h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero {
    padding-top: 3rem;
  }

  .crate-window,
  .drop-zone-visual,
  .featured-post-card {
    box-shadow: 7px 8px 0 rgba(32, 37, 35, 0.08);
  }

  .crate-layout {
    grid-template-columns: 1fr;
  }

  .agenda-rail,
  .notes-rail {
    border: 0;
    border-top: 1px solid var(--ink);
  }

  .agenda-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .agenda-rail p {
    grid-column: 1 / -1;
  }

  .document-stage {
    border-top: 1px solid var(--ink);
  }

  .format-board,
  .feature-grid,
  .export-row {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 0;
  }

  .export-card + .export-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .post-card-art {
    border-bottom-color: rgba(32, 37, 35, 0.18);
  }

  .tally-side-tab {
    border-right: 1px solid var(--ink);
    border-radius: 0.2rem;
  }
}
