:root {
  --bg: #f5f3ee;
  --bg-2: #efede8;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #7c7c7c;
  --line: #e1e1e1;
  --accent: #2b76bc;
  --accent-2: #3f8ed6;
  --accent-dark: #373330;
  --card: #ffffff;
  --shadow: rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  font: 16px/1.65 Georgia, "Times New Roman", serif;
}
a { color: inherit; }
.wrap { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--accent);
}
.header-wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 5.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.9rem;
  text-decoration: none; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: 220px;
}
.brand img {
  display: block;
  height: 3rem;
  width: 180px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}
.site-nav { display: flex; gap: 1rem; }
.site-nav a {
  text-decoration: none;
  color: #ffffff;
  font: 700 0.98rem/1.2 Arial, Helvetica, sans-serif;
}
.site-nav a:hover { color: rgba(255,255,255,0.82); }
.hero { padding: 2.5rem 0 1.5rem; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 2rem;
  align-items: start;
}
.hero-copy {
  min-width: 0;
}
.eyebrow {
  margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
  font: 700 0.82rem/1.2 Arial, Helvetica, sans-serif; color: var(--accent);
}
h1, h2, h3 {
  margin: 0 0 0.75rem;
  line-height: 1.05;
  font-family: Arial, Helvetica, sans-serif;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); max-width: 9ch; }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.lede { max-width: 62ch; color: var(--muted); font-size: 1.05rem; }
.hero-note {
  margin-top: 1rem;
}
.review-note {
  margin-top: 0.5rem;
}
.stats {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem;
}
.letter-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,244,238,0.98)),
    repeating-linear-gradient(
      180deg,
      rgba(43, 118, 188, 0.04) 0,
      rgba(43, 118, 188, 0.04) 1px,
      transparent 1px,
      transparent 2.05rem
    );
  box-shadow: 0 18px 34px var(--shadow);
  padding: 1.8rem 1.9rem;
  position: relative;
  min-width: 0;
}
.letter-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), #7aaadd);
}
.letter-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 0.78rem/1.2 Arial, Helvetica, sans-serif;
}
.letter-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.letter-panel p {
  margin: 0 0 1rem;
  color: #444;
  font-size: 1rem;
  max-width: 60ch;
}
.letter-signoff {
  margin-top: 1.5rem;
  font-weight: 700;
  color: #1e1e1e;
  font-style: italic;
}
.stat {
  min-width: 10rem; padding: 1rem 1.1rem; border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 8px 22px var(--shadow);
}
.stat strong { display: block; font-size: 2rem; color: var(--accent); }
.stat span { color: var(--muted); font-family: system-ui, sans-serif; }
.section { padding: 2rem 0 4rem; }
.section-head { margin-bottom: 1.5rem; }
.section-head p { color: var(--muted); max-width: 60ch; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.stack { display: grid; gap: 1rem; }
.card {
  padding: 1.2rem; border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 20px 30px var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.button {
  display: inline-block; padding: 0.8rem 1rem; border-radius: 999px; text-decoration: none;
  background: var(--accent);
  color: #ffffff; font: 700 0.95rem/1 Arial, Helvetica, sans-serif;
  box-shadow: 0 10px 18px rgba(43, 118, 188, 0.18);
}
.button.ghost {
  background: transparent; color: var(--accent); border: 1px solid var(--line);
}
.top-actions { margin-bottom: 2rem; }
.article-shell { padding: 3rem 0 5rem; }
.article-wrap {
  display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 2rem;
}
.article-sidebar {
  align-self: start; position: sticky; top: 6rem;
}
.article-sidebar h1 { font-size: clamp(1.8rem, 4vw, 3.4rem); max-width: none; }
.meta-line { margin: 0.4rem 0; color: var(--muted); }
.note {
  margin-top: 1rem; padding: 0.9rem; border-left: 4px solid var(--accent);
  background: rgba(43, 118, 188, 0.08);
}
.article-body {
  padding: clamp(1.4rem, 3vw, 2.8rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 24px 48px var(--shadow);
}
.article-body p, .article-body ul { margin: 0 0 1.2rem; }
.article-body ul { padding-left: 1.2rem; }
.article-body a { color: var(--accent); }
.article-card,
.author-card {
  position: relative;
}
.article-card::before,
.author-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: -1px;
  width: 11.75rem;
  height: 2.35rem;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
}
.article-card .eyebrow,
.author-card .eyebrow {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding: 0.62rem 1.35rem 0.62rem 0.9rem;
  margin-bottom: 1.4rem;
  max-width: none;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.author-profile-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
}
.author-profile-card .eyebrow {
  margin-bottom: 0.35rem;
}
.author-profile-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}
.author-profile-card p {
  margin: 0 0 0.55rem;
}
.author-profile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(43, 118, 188, 0.14), rgba(43, 118, 188, 0.08));
  border: 2px solid rgba(43, 118, 188, 0.16);
  box-shadow: 0 6px 12px var(--shadow);
}
.author-profile-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feedback-section {
  padding-top: 0;
}
.feedback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 28px var(--shadow);
}
.feedback-form label {
  display: grid;
  gap: 0.45rem;
  font: 700 0.95rem/1.3 Arial, Helvetica, sans-serif;
  color: #2b2b2b;
}
.feedback-form label span {
  color: #4b4b4b;
}
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #cfd8e2;
  background: #fff;
  color: #111;
  font: 400 1rem/1.45 Arial, Helvetica, sans-serif;
}
.feedback-form textarea {
  resize: vertical;
}
.feedback-form .full {
  grid-column: 1 / -1;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font: 400 0.95rem/1.45 Arial, Helvetica, sans-serif;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f6f2;
}
.footer-wrap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem 0 2rem;
  color: var(--muted);
}
.footer-wrap a { color: var(--accent); text-decoration: none; }
@media (max-width: 820px) {
  .site-nav { font-size: 0.95rem; gap: 0.8rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .author-profile-card { grid-template-columns: 1fr; }
  .feedback-form { grid-template-columns: 1fr; }
}
