:root {
  color: #111111;
  background: #f1f2f0;
  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;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 242, 240, 0.84)),
    #f1f2f0;
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.brand-mark {
  width: clamp(136px, 18vw, 220px);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #313131;
  font-size: 14px;
}

.hero {
  min-height: calc(100vh - 168px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: 44px;
  padding: 58px 0 48px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #7a2d22;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: 72px;
  line-height: 0.97;
  letter-spacing: 0;
}

.lede {
  margin: 28px 0 0;
  max-width: 620px;
  color: #3a3a3a;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111111;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.primary-action {
  background: #111111;
  color: #ffffff;
}

.secondary-action,
.contact-link {
  background: transparent;
}

.shannon-visual {
  width: min(100%, 390px);
  justify-self: end;
}

.shannon-canvas {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(17, 17, 17, 0.18);
  border: 1px solid rgba(17, 17, 17, 0.18);
}

.metric {
  min-height: 148px;
  background: #fafafa;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.metric span,
.metric small {
  color: #55514c;
  font-size: 13px;
  line-height: 1.35;
}

.metric strong {
  color: #111111;
  font-size: 30px;
  line-height: 1;
}

.notes {
  padding: 88px 0 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.02;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.3);
  text-underline-offset: 5px;
}

.note-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.note-card {
  min-height: 290px;
  padding: 28px 0 28px 28px;
  border-left: 1px solid rgba(17, 17, 17, 0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.note-card-featured {
  padding-right: 28px;
  padding-left: 0;
  border-left: 0;
}

.note-meta,
.article-meta {
  margin: 0;
  color: #6a645d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.note-card h3 {
  max-width: 700px;
  margin: 24px 0 14px;
  font-size: 38px;
  line-height: 1.08;
}

.note-card p:not(.note-meta) {
  max-width: 610px;
  margin: 0 0 28px;
  color: #4a4641;
  line-height: 1.65;
}

.note-card .text-link {
  margin-top: auto;
}

.brief {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0 0;
}

.brief h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

.brief p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #3d3a35;
  line-height: 1.65;
}

.contact-actions,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-actions {
  justify-content: flex-end;
}

.footer-links {
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.3);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  color: #5c5751;
  font-size: 12px;
}

.article-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.article-shell .topbar {
  margin-bottom: 70px;
}

.article-header {
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.article-header h1 {
  max-width: 860px;
  margin: 18px 0 24px;
  font-size: 74px;
  line-height: 0.98;
}

.article-deck {
  max-width: 720px;
  margin: 0;
  color: #46423d;
  font-size: 20px;
  line-height: 1.55;
}

.article-body {
  max-width: 720px;
  padding: 46px 0 24px;
  font-size: 17px;
  line-height: 1.75;
}

.article-body h2 {
  margin: 52px 0 14px;
  font-size: 30px;
  line-height: 1.12;
}

.article-body p,
.article-body ol,
.article-body ul {
  margin: 0 0 24px;
}

.article-body li {
  margin-bottom: 10px;
  padding-left: 6px;
}

.article-callout {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 3px solid #7a2d22;
  background: #e6e8e5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}

.article-body blockquote {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 3px solid #7a2d22;
  background: #e6e8e5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}

.article-body blockquote p {
  margin: 0;
}

.blog-index-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.blog-index-header h1 {
  margin-top: 14px;
}

.blog-list .note-card {
  min-height: 250px;
  padding-right: 0;
}

html[data-api="offline"] .secondary-action {
  border-color: #9b3428;
  color: #9b3428;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    gap: 24px;
  }

  h1 {
    font-size: 58px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .topbar {
    min-height: 58px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 42px 0 36px;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  .lede {
    font-size: 17px;
  }

  .shannon-visual {
    display: none;
  }

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

  .notes {
    padding-top: 64px;
  }

  .section-heading,
  .blog-index-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .note-card h3 {
    font-size: 30px;
  }

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

  .note-card,
  .note-card-featured,
  .blog-list .note-card {
    min-height: 0;
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  }

  .article-shell {
    width: min(100% - 28px, 900px);
  }

  .article-shell .topbar {
    margin-bottom: 48px;
  }

  .article-header h1 {
    font-size: 48px;
  }

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

  .contact-actions,
  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .topbar {
    gap: 12px;
  }

  .brand-mark {
    width: 104px;
  }

  .nav-actions {
    gap: 10px;
    font-size: 12px;
  }

  h1 {
    font-size: 38px;
  }
}

@media (max-width: 350px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0 14px;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
}
