:root {
  --ink: #14212b;
  --muted: #5c6972;
  --paper: #f6f7f5;
  --surface: #ffffff;
  --line: #cfd6d9;
  --steel: #31566d;
  --steel-dark: #203b4d;
  --signal: #d8652b;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  border-top: 5px solid var(--signal);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 245, 0.96);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.05rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav { display: flex; gap: 1.35rem; }
nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover, nav a:focus-visible { color: var(--signal); }

main { min-height: 72vh; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7.5rem) 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 { margin-bottom: 1.35rem; font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin-bottom: 0.65rem; font-size: 1.6rem; }

.hero-copy {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.sequence-card {
  border-left: 3px solid var(--signal);
  padding: 0.25rem 0 0.25rem 1.4rem;
}

.sequence-card strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--steel-dark);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sequence-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.sequence {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.sequence ol {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  counter-reset: path;
}

.sequence li {
  counter-increment: path;
  position: relative;
  padding: 0.55rem 1rem 0.55rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sequence li::before {
  content: "0" counter(path);
  display: block;
  margin-bottom: 0.2rem;
  color: var(--signal);
  font-size: 0.7rem;
}

.sequence li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0.65rem;
  top: 1.1rem;
  color: #9da9af;
}

.notes-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

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

.section-head p { max-width: 500px; margin: 0; color: var(--muted); }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.note-card {
  display: flex;
  min-height: 330px;
  padding: 2rem;
  flex-direction: column;
  background: var(--surface);
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.note-card:hover { background: #f0f3f3; }
.note-card:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.note-card .meta { margin-bottom: 2.6rem; color: var(--signal); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.note-card p { margin: 0; color: var(--muted); }
.note-card .read { margin-top: auto; padding-top: 1.8rem; color: var(--steel-dark); font-weight: 800; font-size: 0.9rem; }
.note-card.coming { background: var(--steel-dark); color: white; }
.note-card.coming p, .note-card.coming .read { color: #d7e0e5; }

.article-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 1.5rem 7rem;
}

.article-header { margin-bottom: 3rem; }
.article-header h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); }
.article-meta { color: var(--signal); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.article-deck { color: var(--muted); font-size: 1.25rem; }
.article-body p { margin: 0 0 1.55rem; }
.article-body p:first-child { font-size: 1.16rem; }
.article-body .pull {
  margin: 2.5rem 0;
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-left: 4px solid var(--signal);
  color: var(--steel-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.25;
}

.formula {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--steel-dark);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  text-align: center;
}

.next-note {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.next-note span { display: block; color: var(--signal); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.next-note a { display: inline-block; margin-top: 0.45rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 7rem);
}
.about-grid p { margin-top: 0; color: var(--muted); font-size: 1.12rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  color: var(--muted);
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.86rem; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; }
  nav { gap: 0.85rem; }
  .hero, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .sequence ol { grid-template-columns: repeat(2, 1fr); }
  .sequence li:not(:last-child)::after { display: none; }
  .notes-grid { grid-template-columns: 1fr; }
  .section-head, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .header-inner { flex-direction: column; gap: 0.8rem; }
  .brand span { display: none; }
  h1 { font-size: 2.8rem; }
  .note-card { min-height: 280px; }
}

