/* =========================================================
   Logan Schiller - portfolio
   Tokens
   ========================================================= */
:root {
  --page: #f6f4ed;
  --panel: #fffdf8;
  --surface: #ffffff;
  --ink: #14201c;
  --muted: #5b635d;
  --faint: #979d96;
  --line: #e5dfd4;
  --line-strong: #d3ccc0;
  --green: #103a2d;
  --green-2: #18543f;
  --green-soft: #2d6a52;
  --mint: #e9f1e8;
  --mint-2: #d7e6d5;
  --mint-deep: #c4dcc1;
  --warm: #fbf3ee;
  --warm-line: #f0ddce;
  --warm-ink: #b06a3e;
  --blue: #5879c7;

  --shadow-sm: 0 1px 2px rgba(28, 40, 34, 0.05), 0 1px 3px rgba(28, 40, 34, 0.04);
  --shadow: 0 10px 26px rgba(28, 40, 34, 0.07), 0 2px 8px rgba(28, 40, 34, 0.04);
  --shadow-lg: 0 26px 60px rgba(20, 32, 28, 0.14);

  --radius: 18px;
  --radius-lg: 22px;
  --radius-sm: 12px;

  --max: 1140px;
  --header: 70px;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

/* =========================================================
   Reset + base
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  letter-spacing: -0.01em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(23, 75, 57, 0.4);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--green);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: var(--header);
  padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2));
  background: rgba(246, 244, 237, 0.82);
  border-bottom: 1px solid rgba(213, 204, 192, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  width: fit-content;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-family: var(--mono);
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.top-tabs {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.26rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.top-tab {
  min-width: 5rem;
  padding: 0.48rem 0.82rem;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.top-tab:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.top-tab.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(15, 58, 45, 0.22);
}

/* =========================================================
   Buttons
   ========================================================= */
.header-cta,
.button,
.text-action,
.back-button {
  cursor: pointer;
  border-radius: 11px;
  font-weight: 750;
}

.header-cta,
.button.primary {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.68rem 1.15rem;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(15, 58, 45, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta:hover,
.button.primary:hover {
  background: var(--green-2);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 58, 45, 0.26);
}

.button.ghost,
.button.small {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.ghost:hover,
.button.small:hover {
  border-color: var(--green-soft);
  transform: translateY(-1px);
}

.button.small {
  min-height: 2.55rem;
  background: var(--mint);
  border-color: var(--mint-2);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  background: transparent;
  white-space: nowrap;
  transition: gap 160ms ease, color 160ms ease;
}

.text-action:hover {
  gap: 0.65rem;
  color: var(--green-2);
}

/* =========================================================
   Layout containers
   ========================================================= */
.page-view,
.footer-cta {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.page-view {
  padding: 2.5rem 0 0;
}

.page-view[hidden] {
  display: none;
}

/* Shared card surface */
.workflow-card,
.project-card,
.focus-card,
.notes-profile,
.case-section,
.project-metric-card,
.browse-bar,
.contact-page {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   Hero (work)
   ========================================================= */
.hero-grid,
.about-hero,
.notes-hero,
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.6rem;
  align-items: center;
}

.hero-copy h1,
.about-hero h1,
.notes-hero h1,
.contact-page h1,
.project-hero h1 {
  max-width: 720px;
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 3.3rem;
  font-weight: 500;
  line-height: 1.07;
}

.about-hero h1,
.notes-hero h1 {
  color: var(--green);
  font-family: var(--sans);
  font-size: 2.9rem;
  font-weight: 850;
  line-height: 1.1;
}

.project-hero h1 {
  font-family: var(--sans);
  font-size: 3.5rem;
  font-weight: 850;
}

.hero-copy p,
.about-hero p,
.notes-hero p,
.contact-page p,
.project-hero p,
.case-section p {
  max-width: 660px;
  color: var(--muted);
  font-size: 0.99rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1.4rem;
}

.mini-profile {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem 1.1rem;
  align-items: center;
  max-width: 430px;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.mini-profile img,
.notes-profile img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 50%;
  background: var(--mint);
  border: 1px solid var(--mint-2);
}

.mini-profile ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}

.profile-disclosure {
  grid-column: 1 / -1;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}

.profile-disclosure summary {
  width: fit-content;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.profile-disclosure summary::marker {
  color: var(--green-2);
}

.profile-disclosure p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* =========================================================
   Featured workflow card (hero right)
   ========================================================= */
.workflow-card {
  padding: 1.45rem;
}

.wf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.wf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wf-tag::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-2);
}

.wf-name {
  font-weight: 850;
  color: var(--ink);
}

.wf-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.wf-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.95rem;
  padding: 0.55rem 0;
}

.wf-step::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.7rem;
  bottom: -0.6rem;
  width: 2px;
  background: var(--line-strong);
  transform: translateX(-1px);
}

.wf-step:last-child::before {
  display: none;
}

.wf-step-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--mint-deep);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 850;
  position: relative;
  z-index: 1;
}

.wf-step.is-strong .wf-step-mark {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 58, 45, 0.25);
}

.wf-step-body {
  padding-top: 0.1rem;
}

.wf-step-body small {
  display: block;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wf-step-body h3 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.02rem;
}

.wf-step.is-strong .wf-step-body h3 {
  color: var(--green);
}

.wf-step-body p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.wf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.wf-stats div {
  padding: 0.65rem 0.5rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 12px;
  text-align: center;
}

.wf-stats strong {
  display: block;
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 850;
}

.wf-stats span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.wf-note {
  margin: 0.95rem 0 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.86rem;
}

/* =========================================================
   Section scaffolding
   ========================================================= */
.section-block {
  padding: 4rem 0 0;
}

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

.section-row h2,
.section-title,
.case-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
}

.section-title {
  margin-top: 0.1rem;
}

/* =========================================================
   Project grid + cards
   ========================================================= */
.project-grid,
.principle-grid,
.note-card-grid,
.tool-grid,
.takeaway-grid,
.library-list,
.tldr-grid,
.before-after,
.lead-grid,
.results-grid,
.use-grid,
.optimization-grid {
  display: grid;
  gap: 1rem;
}

.project-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: stretch;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 1.4rem;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.project-card h3 {
  font-size: 1.2rem;
}

.project-card > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.project-card .soft-icon {
  margin-bottom: 1rem;
}

.project-card .small-pill {
  margin-top: auto;
}

.project-card.featured {
  color: #fff;
  background: linear-gradient(150deg, #134031 0%, #0a241b 100%);
  border-color: transparent;
}

.project-card.featured:hover {
  border-color: transparent;
}

.project-card.card-center-card {
  color: #fff;
  background:
    radial-gradient(circle at 86% 14%, rgba(239, 68, 68, 0.18), transparent 28%),
    linear-gradient(150deg, #17201e 0%, #08120f 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1001px) {
  .project-card.retail-card {
    grid-row: span 2;
  }

  .project-card.card-center-card {
    grid-column: span 2;
    min-height: 220px;
  }
}

.project-card.card-center-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.project-card.card-center-card p {
  color: rgba(255, 255, 255, 0.76);
}

.project-card.card-center-card .status-pill {
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.35);
  line-height: 1;
}

.project-card.card-center-card .project-icon {
  background: #121814;
  border-color: rgba(255, 255, 255, 0.14);
}

.card-center-icon {
  color: #f1f7ef;
}

.card-center-icon svg {
  width: 2rem;
  height: 2rem;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.project-card.featured .project-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.project-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.project-stats {
  display: flex;
  gap: 0.45rem;
  padding: 0;
  margin: 1.4rem 0 0;
}

.project-stats div {
  flex: 1;
  padding: 0.7rem 0.6rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
}

.project-stats dt {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.project-stats dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.circle-link {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--green);
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease;
}

.circle-link:hover {
  transform: translateY(-2px) scale(1.04);
}

/* Soft / project icon marks */
.soft-icon,
.project-icon {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
  font-family: var(--mono);
  font-weight: 850;
}

.status-pill,
.small-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
}

.project-card.featured .status-pill {
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

/* =========================================================
   Principles
   ========================================================= */
.principle-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.principle {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding-right: 1.4rem;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: 0;
  padding-right: 0;
}

.principle .soft-icon {
  width: 2.9rem;
  height: 2.9rem;
}

.workflow-panels h3,
.project-card h3,
.principle h3,
.note-card h3,
.focus-card h3,
.takeaway h3,
.case-section h3 {
  margin: 0 0 0.5rem;
}

.principle p,
.note-card p,
.takeaway p,
.focus-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.principle p {
  margin: 0;
}

/* =========================================================
   Note cards (shared previews)
   ========================================================= */
.note-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.note-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.note-card[data-note-id],
.library-list [data-note-id] {
  cursor: pointer;
}

.note-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.note-card[data-note-id]:hover,
.library-list [data-note-id]:hover {
  transform: translateY(-2px);
}

.note-card:focus-visible,
.library-list article:focus-visible {
  outline: 3px solid rgba(13, 79, 57, 0.22);
  outline-offset: 3px;
  border-color: var(--green);
}

.note-card time {
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.note-card h3 {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.note-card p {
  margin: 0 0 1rem;
}

.note-card .note-meta {
  margin-top: auto;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

/* =========================================================
   About hero + focus card
   ========================================================= */
.about-hero,
.notes-hero {
  align-items: start;
}

.focus-card,
.notes-profile {
  padding: 1.5rem;
}

.focus-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.focus-card article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.focus-card article:first-of-type {
  border-top: 0;
  padding-top: 0.4rem;
}

.focus-card .soft-icon {
  width: 2.8rem;
  height: 2.8rem;
}

.focus-card h3 {
  font-size: 1.02rem;
}

.focus-card p {
  margin: 0;
}

/* =========================================================
   Timeline (My journey)
   ========================================================= */
.timeline {
  position: relative;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 0.55rem;
  bottom: 0.9rem;
  width: 2px;
  background: var(--line-strong);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px 76px 1fr;
  gap: 0 1.1rem;
  padding-bottom: 2.1rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-node {
  grid-column: 1;
  justify-self: center;
  align-self: start;
  margin-top: 0.5rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--green-soft);
  position: relative;
  z-index: 1;
}

.tl-item:last-child .tl-node {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--mint);
}

.tl-year {
  grid-column: 2;
  align-self: start;
  padding-top: 0.3rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 850;
}

.tl-body {
  grid-column: 3;
}

.tl-body h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.2rem;
}

.tl-body p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.tl-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
}

.tl-stats div {
  padding: 0.55rem 0.9rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 12px;
  text-align: center;
}

.tl-stats dt {
  color: var(--green);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
}

.tl-stats dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

/* =========================================================
   Tools
   ========================================================= */
.tool-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.tool {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 3.8rem;
  padding: 0.7rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tool:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.tool-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.tool-mark .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.tool-mark.excel {
  background: #1d6f42;
  border-color: #185c37;
}

/* =========================================================
   Notes page - browse bar + filters
   ========================================================= */
.notes-profile {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.1rem;
  align-items: center;
}

.notes-profile h2 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
}

.notes-profile p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.browse-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding: 1rem 1.1rem;
  margin: 2.2rem 0 0;
}

.browse-bar strong {
  margin-right: auto;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.note-filter {
  padding: 0.5rem 0.95rem;
  color: var(--muted);
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.note-filter:hover {
  color: var(--ink);
  border-color: var(--green-soft);
}

.note-filter.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

/* =========================================================
   Notes page - practical takeaways
   ========================================================= */
.takeaway-grid {
  grid-template-columns: repeat(3, 1fr);
}

.takeaway {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint-deep);
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 170ms ease, box-shadow 170ms ease, border-left-color 170ms ease;
}

.takeaway:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-left-color: var(--green-soft);
}

.tk-index {
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.takeaway h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.takeaway p {
  margin: 0;
}

/* =========================================================
   Notes page - note library
   ========================================================= */
.library-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.library-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 150ms ease, border-color 150ms ease;
}

.library-list article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.library-list span {
  font-weight: 700;
}

.library-list small {
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
}

/* =========================================================
   Notes reader
   ========================================================= */
.note-reader {
  max-width: 920px;
  margin: 2.2rem auto 0;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56)),
    var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.note-back-button,
.note-reader-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  padding: 0 0.9rem;
  color: var(--green);
  cursor: pointer;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 999px;
  font-weight: 850;
}

.note-reader-header {
  max-width: 800px;
  margin-top: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.note-reader-meta {
  margin: 0 0 0.7rem;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.note-reader-title {
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.note-reader-dek {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.note-reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.note-reader-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0 0.65rem;
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 850;
}

.note-reader-body {
  max-width: 800px;
  margin-top: 1.7rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.82;
}

.note-reader-body h2 {
  margin: 2.1rem 0 0.7rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.note-reader-body p {
  margin: 0 0 1.05rem;
  color: var(--muted);
}

.note-reader-body ul,
.note-reader-body ol {
  margin: 0 0 1.2rem 1.2rem;
  color: var(--muted);
}

.note-reader-body li {
  margin: 0.28rem 0;
}

.note-reader-body strong {
  color: var(--ink);
}

.note-reader-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 800px;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-page {
  padding: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: stretch;
  margin-top: 2.2rem;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
  transition: transform 160ms ease, border-color 160ms ease;
}

a.contact-tile:hover {
  transform: translateY(-2px);
  border-color: var(--green-soft);
}

.ct-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.ct-text {
  display: grid;
  gap: 0.1rem;
}

.ct-label {
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-value {
  color: var(--ink);
  font-weight: 800;
}

.contact-grid .button.primary {
  height: 100%;
}

/* =========================================================
   Project page - scaffolding
   ========================================================= */
.project-page {
  padding-bottom: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  padding: 0.7rem 0;
  color: var(--green);
  background: transparent;
  transition: gap 150ms ease;
}

.back-button:hover {
  gap: 0.7rem;
}

.case-switch-wrap {
  position: sticky;
  top: var(--header);
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0.55rem 0;
  margin: 0 0 1rem;
  background: rgba(246, 244, 237, 0.92);
  border-bottom: 1px solid rgba(213, 204, 192, 0.6);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.case-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.28rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.view-toggle {
  min-width: 7rem;
  padding: 0.6rem 1rem;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: color 150ms ease, background 150ms ease;
}

.view-toggle:hover {
  color: var(--ink);
}

.view-toggle.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(15, 58, 45, 0.22);
}

.project-hero {
  padding: 1rem 0 1.4rem;
  align-items: start;
}

.ph-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.3rem;
}

.ph-tags span {
  padding: 0.4rem 0.75rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 750;
}

.project-metric-card {
  padding: 1.1rem;
  align-self: start;
}

.pmc-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

.pmc-flow span {
  flex: 1;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.pmc-flow em {
  color: var(--green-soft);
  font-style: normal;
  font-weight: 800;
}

.project-metric-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  padding: 0;
  margin: 0.75rem 0 0;
}

.project-metric-card dl div {
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.project-metric-card dt {
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.project-metric-card dd {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* =========================================================
   Project page - case sections (base)
   ========================================================= */
.case-section {
  padding: 1.6rem;
  margin: 1rem 0;
}

.case-section > .eyebrow + h2 {
  margin-bottom: 0.9rem;
}

.case-section h2 {
  margin-bottom: 0.9rem;
}

.case-section > p {
  margin-top: 0;
}

/* =========================================================
   Case section: Overview (what it is / why it matters)
   ========================================================= */
.case-lead {
  background: #eef4ed;
  border-color: var(--mint-2);
}

.lead-grid {
  grid-template-columns: repeat(2, 1fr);
}

.lead-grid article {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

.lead-icon,
.lead-note-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
}

.lead-icon {
  margin-bottom: 0.8rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.lead-icon .icon,
.lead-note-mark .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.lead-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.lead-grid p {
  margin: 0;
  max-width: none;
}

.lead-note {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  align-items: start;
  margin: 1rem 0 0;
  max-width: none;
  padding: 1.05rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

.lead-note-mark {
  background: var(--green);
  color: #fff;
}

.lead-note > span:last-child {
  align-self: center;
  color: var(--muted);
  font-size: 0.96rem;
}

.lead-note strong {
  color: var(--green);
}

/* =========================================================
   Case section: Goal / Build / Result
   ========================================================= */
.tldr-view {
  color: #fff;
  background: linear-gradient(150deg, #134031, #0c2c22);
  border-color: transparent;
}

.tldr-view .eyebrow {
  color: var(--mint-deep);
}

.tldr-view h2 {
  color: #fff;
}

.tldr-view p {
  color: rgba(255, 255, 255, 0.8);
}

.tldr-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.3rem;
}

.tldr-grid article {
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.tldr-tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tldr-grid h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.12rem;
}

.tldr-grid p {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   Case section: Problem (before / after)
   ========================================================= */
.problem-section {
  background: var(--surface);
  border-color: var(--line-strong);
}

.before-after {
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  margin-top: 0.4rem;
}

.before-after article {
  padding: 1.2rem;
  border-radius: 14px;
}

.ba-before {
  background: var(--warm);
  border: 1px solid var(--warm-line);
}

.ba-after {
  background: var(--mint);
  border: 1px solid var(--mint-2);
}

.ba-tag {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ba-before .ba-tag {
  color: var(--warm-ink);
  background: #f6e4d7;
}

.ba-after .ba-tag {
  color: var(--green);
  background: var(--mint-2);
}

.before-after h3 {
  margin: 0 0 0.4rem;
}

.before-after p {
  margin: 0;
  max-width: none;
}

.ba-arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green-soft);
}

.ba-arrow .icon {
  width: 1.3rem;
  height: 1.3rem;
}

/* =========================================================
   Case section: System / pipeline
   ========================================================= */
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  margin-top: 0.4rem;
}

.pipeline-step {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-height: 128px;
  padding: 1.1rem;
  cursor: pointer;
  background: var(--surface);
  border-right: 1px solid var(--line);
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.pipeline-step:last-child {
  border-right: 0;
}

.pipeline-step span {
  color: var(--green-soft);
  font-family: var(--mono);
  font-weight: 850;
  font-size: 0.78rem;
}

.pipeline-step strong {
  font-size: 1.02rem;
}

.pipeline-step small {
  color: var(--muted);
  font-size: 0.82rem;
}

.pipeline-step:hover {
  background: #f4f8f2;
}

.pipeline-step.is-active {
  background: var(--green);
  color: #fff;
}

.pipeline-step.is-active span,
.pipeline-step.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.pipeline-detail {
  max-width: none;
  padding: 1.1rem 1.2rem;
  margin-top: 0.9rem;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

/* =========================================================
   Case section: Decisions
   ========================================================= */
.decisions-section {
  background: #eef4ec;
  border-color: var(--mint-2);
}

.optimization-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0.4rem;
}

.decision-card {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--mint-2);
  border-radius: 16px;
}

.decision-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-weight: 850;
  font-size: 1rem;
}

.decision-body h3 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.decision-rows {
  display: grid;
  gap: 0.7rem;
}

.decision-rows > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.dl {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.decision-rows p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================================================
   Case section: Schema
   ========================================================= */
.schema-section {
  background: var(--surface);
  border-color: var(--line-strong);
}

.schema-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 0.85fr;
  gap: 1rem;
  margin-top: 0.4rem;
}

.code-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1714;
  border: 1px solid #20302a;
  box-shadow: var(--shadow);
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  background: #16211d;
  border-bottom: 1px solid #233029;
}

.cc-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.cc-dots i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #3a4a42;
}

.cc-dots i:nth-child(1) {
  background: #e0685f;
}

.cc-dots i:nth-child(2) {
  background: #e4b35e;
}

.cc-dots i:nth-child(3) {
  background: #7fb98a;
}

.cc-name {
  color: #9fb4a9;
  font-family: var(--mono);
  font-size: 0.74rem;
}

.code-card pre {
  margin: 0;
  padding: 1.05rem 1.15rem;
  overflow-x: auto;
}

.code-card code {
  color: #e7f2ea;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.75;
  white-space: pre;
}

.code-card .t-k {
  color: #9ecbff;
}

.code-card .t-s {
  color: #b6e09a;
}

.code-card .t-n {
  color: #f0c987;
}

.code-card .t-p {
  color: #7e948a;
}

.schema-notes {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.schema-notes article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.sn-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 11px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.sn-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.schema-notes p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================================================
   Case section: Dataset use
   ========================================================= */
.use-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 0.4rem;
}

.use-grid article {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.use-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.use-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.use-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.use-grid p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================================================
   Case section: Results
   ========================================================= */
.results-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.4rem;
}

.results-grid article {
  display: grid;
  gap: 0.5rem;
  min-height: 148px;
  place-content: center;
  place-items: center;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.results-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.results-grid strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
}

.results-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

/* =========================================================
   Case section: Conclusion
   ========================================================= */
.conclusion-section {
  background: #eef4ed;
  border-color: var(--mint-2);
}

.conclusion-section h2 {
  max-width: 760px;
}

.conclusion-section p {
  max-width: 720px;
}

/* =========================================================
   Card Center project additions
   ========================================================= */
.card-center-page .project-hero h1 {
  max-width: 820px;
}

.card-center-visual {
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(239, 68, 68, 0.1), transparent 32%),
    linear-gradient(160deg, #ffffff, #f7fbf5);
}

.card-visual-stage {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) auto minmax(170px, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  background: #101715;
  border: 1px solid #25342d;
  border-radius: 18px;
}

.card-frame-mini {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #24352e, #0b110f);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card-frame-mini::before {
  content: "";
  position: absolute;
  inset: 18px 27px;
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(155, 196, 160, 0.14), transparent 46%),
    linear-gradient(180deg, #2a3a34, #141d19);
  border: 1px solid rgba(244, 239, 230, 0.12);
}

.card-photo-block {
  position: absolute;
  inset: 72px 50px 32px 50px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 54% 26%, rgba(244, 197, 66, 0.5), transparent 18%),
    linear-gradient(135deg, rgba(239, 68, 68, 0.28), rgba(155, 196, 160, 0.26));
  opacity: 0.8;
}

.outer-guide,
.inner-guide,
.crosshair {
  position: absolute;
  pointer-events: none;
}

.outer-guide {
  inset: 22px 20px;
  border: 2px dashed #f4c542;
  border-radius: 14px;
}

.inner-guide {
  inset: 48px 42px;
  border: 2px dashed #61d979;
  border-radius: 10px;
}

.crosshair.horizontal {
  left: 12px;
  right: 12px;
  top: 50%;
  border-top: 1px dashed rgba(239, 68, 68, 0.8);
}

.crosshair.vertical {
  top: 12px;
  bottom: 12px;
  left: 50%;
  border-left: 1px dashed rgba(239, 68, 68, 0.8);
}

.visual-arrow {
  color: #f4c542;
  font-family: var(--mono);
  font-weight: 900;
}

.centering-mini-read {
  padding: 1rem;
  background: #f8fbf6;
  border: 1px solid rgba(215, 230, 213, 0.8);
  border-radius: 16px;
}

.centering-mini-read span,
.visual-read-grid span,
.read-score-card span,
.read-signal-grid span,
.centering-ratios dt {
  display: block;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.centering-mini-read strong {
  display: block;
  margin: 0.18rem 0 0.2rem;
  color: var(--green);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.centering-mini-read p {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.visual-read-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.visual-read-grid article {
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.visual-read-grid strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.3;
}

.centering-read-panel {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

.read-score-card {
  display: grid;
  align-content: center;
  min-height: 230px;
  padding: 1.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(244, 197, 66, 0.16), transparent 32%),
    linear-gradient(150deg, #123d30, #08241c);
  border-radius: 18px;
}

.read-score-card span {
  color: var(--mint-deep);
}

.read-score-card strong {
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.read-score-card p {
  max-width: 260px;
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.read-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.read-signal-grid article,
.centering-ratios div {
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.read-signal-grid strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.centering-ratios {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.centering-ratios dd {
  margin: 0.3rem 0 0;
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
}

.card-before-after {
  margin-bottom: 1rem;
}

.asset-compare {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  margin-top: 1.1rem;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  background: #111815;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: 400px;
  padding: 0.75rem;
  background: #0e1512;
  object-fit: contain;
  object-position: center;
}

.screenshot-frame figcaption {
  padding: 0.8rem 1rem 0.95rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
}

.overlay-frame img {
  object-position: center;
}

.measurement-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.measurement-pipeline article {
  position: relative;
  min-height: 190px;
  padding: 1.15rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.measurement-pipeline span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.measurement-pipeline h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.measurement-pipeline p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.interface-section {
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(239, 68, 68, 0.11), transparent 32%),
    linear-gradient(150deg, #101714, #080e0c);
  border-color: #1d2a24;
}

.interface-section .eyebrow {
  color: #9ecfa4;
}

.interface-section h2 {
  color: #fff;
}

.interface-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.4rem;
}

.overlay-feature {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.overlay-feature img {
  height: 430px;
  object-position: center top;
}

.interface-notes {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.interface-notes article {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.8rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.interface-notes h3 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1rem;
}

.interface-notes p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.legend-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.legend-dot.yellow {
  background: #fbbf24;
}

.legend-dot.green {
  background: #4ade80;
}

.legend-dot.red {
  background: #ef4444;
}

.legend-dot.neutral {
  background: #94a3b8;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.4rem;
}

.technical-grid article {
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.technical-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.technical-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-measurement-panel {
  align-items: start;
}

.card-decision-grid {
  grid-template-columns: 1fr;
}

.card-decision-grid .decision-card {
  grid-template-columns: 3.4rem 1fr;
}

/* =========================================================
   Flyover project additions
   ========================================================= */
.project-card.flyover-card {
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(209, 94, 43, 0.18), transparent 30%),
    linear-gradient(150deg, #17382e 0%, #071a15 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.project-card.flyover-card p {
  color: rgba(255, 255, 255, 0.78);
}

.project-card.flyover-card .status-pill {
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(209, 94, 43, 0.17);
  border-color: rgba(209, 94, 43, 0.36);
  line-height: 1;
}

.project-card.flyover-card .project-icon {
  color: #f8f2e8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.flyover-icon svg {
  width: 2rem;
  height: 2rem;
}

/* =========================================================
   Retail Intelligence project card
   ========================================================= */
.project-card.retail-card {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(194, 133, 31, 0.2), transparent 30%),
    linear-gradient(150deg, #153a2f 0%, #081612 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.project-card.retail-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.project-card.retail-card p {
  color: rgba(255, 255, 255, 0.78);
}

.project-card.retail-card .project-preview {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  line-height: 1.45;
}

.project-card.retail-card .status-pill {
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(194, 133, 31, 0.18);
  border-color: rgba(194, 133, 31, 0.38);
  line-height: 1;
}

.project-card.retail-card .project-icon {
  color: #f7f2e7;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.retail-icon svg {
  width: 2rem;
  height: 2rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.25rem 0.48rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1;
}

.retail-stats {
  flex-wrap: wrap;
  margin-bottom: 3.2rem;
}

.retail-stats div {
  flex: 1 1 calc(50% - 0.45rem);
}

.retail-stats dt {
  font-size: 1.05rem;
}

.retail-stats dd {
  font-size: 0.69rem;
}

.flyover-page .project-hero h1 {
  max-width: 760px;
}

.flyover-page .project-hero,
.flyover-page .project-hero > *,
.flyover-hero-visual {
  min-width: 0;
}

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

.flyover-hero-visual {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(248, 243, 234, 0.96)),
    var(--surface);
}

.flyover-route,
.architecture-flow,
.cadence-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.flyover-route {
  padding: 0.85rem;
  background: #f8f1e9;
  border: 1px solid #ead8c7;
  border-radius: 14px;
}

.flyover-route span,
.architecture-flow span,
.cadence-line span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.42rem 0.7rem;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
}

.flyover-route em,
.architecture-flow em,
.cadence-line em {
  color: #b66b3d;
  font-style: normal;
  font-weight: 900;
}

.flyover-mini-board {
  margin-top: 0.75rem;
  padding: 1rem;
  color: #f8f2e8;
  background:
    radial-gradient(circle at 80% 14%, rgba(209, 94, 43, 0.16), transparent 34%),
    linear-gradient(150deg, #122a23, #071813);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.mini-board-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.7rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-board-head span,
.flyover-mini-board small {
  color: rgba(248, 242, 232, 0.66);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-board-head strong {
  color: #f1c6a0;
}

.mini-board-row {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.52rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-board-row:last-of-type {
  border-bottom: 0;
}

.mini-board-row b {
  color: #f1c6a0;
  font-family: var(--mono);
}

.mini-board-row span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-board-row i {
  padding: 0.2rem 0.45rem;
  color: #d8e6d5;
  border: 1px solid rgba(216, 230, 213, 0.28);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-style: normal;
}

.flyover-output-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.flyover-output-grid span {
  display: grid;
  min-height: 3.1rem;
  place-items: center;
  padding: 0.55rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.flyover-system-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.flyover-system-flow article {
  position: relative;
  min-height: 172px;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid #d15e2b;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.flyover-system-flow span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #b65d34;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
}

.flyover-system-flow h3,
.flyover-system-flow p {
  margin: 0;
}

.flyover-system-flow h3 {
  margin-bottom: 0.4rem;
}

.flyover-system-flow p {
  color: var(--muted);
  font-size: 0.9rem;
}

.flyover-dispatch-section {
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(209, 94, 43, 0.16), transparent 34%),
    linear-gradient(150deg, #14251f, #071813);
  border-color: #20342b;
}

.flyover-dispatch-section .eyebrow {
  color: #f1c6a0;
}

.flyover-dispatch-section h2 {
  color: #fff;
}

.flyover-dispatch-section > p {
  color: rgba(255, 255, 255, 0.72);
}

.dispatch-board {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.dispatch-header,
.dispatch-metrics,
.dispatch-row {
  display: grid;
  gap: 0.75rem;
}

.dispatch-header {
  grid-template-columns: 1fr auto;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dispatch-kicker,
.demo-label {
  color: #f1c6a0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dispatch-header strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
  font-size: 1.2rem;
}

.demo-label {
  padding: 0.38rem 0.62rem;
  color: #fff;
  background: rgba(209, 94, 43, 0.24);
  border: 1px solid rgba(209, 94, 43, 0.42);
  border-radius: 999px;
  white-space: nowrap;
}

.dispatch-metrics {
  grid-template-columns: repeat(5, 1fr);
  margin: 0.9rem 0;
}

.dispatch-metrics article {
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
}

.dispatch-metrics span,
.dispatch-head span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dispatch-metrics strong {
  display: block;
  margin-top: 0.1rem;
  color: #f1c6a0;
  font-size: 1.55rem;
  line-height: 1;
}

.dispatch-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.dispatch-row {
  grid-template-columns: 0.55fr 1.6fr 0.6fr 0.8fr 0.75fr 0.75fr;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dispatch-row:last-child {
  border-bottom: 0;
}

.dispatch-head {
  background: rgba(255, 255, 255, 0.08);
}

.dispatch-row:not(.dispatch-head) span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 750;
}

.dispatch-row .score {
  color: #f1c6a0;
  font-family: var(--mono);
  font-weight: 900;
}

.channel,
.action-pill {
  justify-self: start;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.channel.letter {
  color: #f8f2e8 !important;
  border: 1px solid rgba(248, 242, 232, 0.4);
}

.channel.email {
  color: #9ecbff !important;
  border: 1px solid rgba(158, 203, 255, 0.4);
}

.channel.call {
  color: #a8d7a5 !important;
  border: 1px solid rgba(168, 215, 165, 0.4);
}

.action-pill {
  color: #0f281f !important;
  background: #f1c6a0;
}

.action-pill.muted {
  color: rgba(255, 255, 255, 0.76) !important;
  background: rgba(255, 255, 255, 0.12);
}

.score-ledger {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1rem;
  background: #fbf7ef;
  border: 1px solid #ead8c7;
  border-radius: 16px;
}

.ledger-head {
  display: flex !important;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 0.7rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #ead8c7;
}

.ledger-head span {
  color: #8d5d3a;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ledger-head strong {
  color: var(--green);
  font-size: 1.55rem;
  line-height: 1;
}

.score-ledger > div:not(.ledger-head) {
  display: grid;
  grid-template-columns: 1fr minmax(80px, 0.8fr) 2rem;
  gap: 0.65rem;
  align-items: center;
}

.score-ledger span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.score-ledger i {
  height: 0.55rem;
  background: var(--surface);
  border: 1px solid #ead8c7;
  border-radius: 999px;
  overflow: hidden;
}

.score-ledger i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--green-soft), #d15e2b);
}

.score-ledger b {
  color: #8d5d3a;
  font-family: var(--mono);
}

.cadence-line {
  margin: 0.8rem 0 1rem;
}

.cadence-line span {
  background: #fbf7ef;
  border-color: #ead8c7;
}

.cadence-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.cadence-rules article {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

.cadence-rules strong {
  color: var(--green);
}

.cadence-rules p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.flyover-match-section {
  background: #fbf7ef;
  border-color: #ead8c7;
}

.buyer-match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.company-profile,
.buyer-profile {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.company-profile span,
.buyer-profile span,
.demo-note {
  color: #8d5d3a;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-profile h3,
.buyer-profile h3 {
  margin-top: 0.45rem;
}

.company-profile p {
  margin: 0;
}

.match-arrow {
  align-self: center;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: #d15e2b;
  background: var(--surface);
  border: 1px solid #ead8c7;
  border-radius: 50%;
  font-weight: 900;
}

.buyer-profile strong {
  display: block;
  margin: 0.5rem 0 0.45rem;
  color: var(--green);
}

.buyer-profile ul {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.buyer-profile li {
  color: var(--muted);
}

.buyer-profile li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #d15e2b;
}

.demo-note {
  margin: 0.9rem 0 0;
}

.architecture-flow {
  padding: 1rem;
  margin: 0.8rem 0 1rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 16px;
}

.flyover-decision-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Reading-mode toggle */
body[data-case-view="tldr"] .detail-only {
  display: none;
}

body[data-case-view="tldr"] .project-page {
  max-width: 940px;
  margin: 0 auto;
}

/* =========================================================
   Footer
   ========================================================= */
.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #103a2d, #08251d);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.footer-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 500;
}

.footer-cta p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-cta a {
  padding: 0.9rem 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 160ms ease;
}

.footer-cta a:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   Utilities
   ========================================================= */
.is-filtered {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  :root {
    --header: 118px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-block: 0.8rem;
  }

  .brand {
    justify-self: center;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .about-hero,
  .notes-hero,
  .project-hero {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .principle-grid,
  .note-card-grid,
  .takeaway-grid,
  .optimization-grid,
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .before-after,
  .lead-grid,
  .schema-panel,
  .asset-compare,
  .interface-grid {
    grid-template-columns: 1fr;
  }

  .measurement-pipeline,
  .technical-grid,
  .centering-read-panel,
  .flyover-output-grid,
  .flyover-system-flow,
  .dispatch-metrics,
  .cadence-rules {
    grid-template-columns: repeat(2, 1fr);
  }

  .buyer-match-card {
    grid-template-columns: 1fr;
  }

  .buyer-match-card .match-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .before-after .ba-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .project-grid .featured {
    grid-column: 1 / -1;
  }

  .principle {
    border-right: 0;
    padding-right: 0;
  }

  .hero-copy h1,
  .about-hero h1,
  .notes-hero h1,
  .contact-page h1,
  .project-hero h1 {
    font-size: 2.95rem;
  }

  .about-hero h1,
  .notes-hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 118px;
  }

  .site-header {
    padding-inline: 0.75rem;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .top-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .top-tab {
    min-width: max-content;
    padding: 0.44rem 0.72rem;
  }

  .page-view,
  .footer-cta {
    width: min(100% - 1.5rem, var(--max));
  }

  .section-block {
    padding-top: 3rem;
  }

  .hero-copy h1,
  .about-hero h1,
  .notes-hero h1,
  .contact-page h1,
  .project-hero h1 {
    font-size: 2.3rem;
  }

  .section-row h2,
  .section-title,
  .case-section h2 {
    font-size: 2rem;
  }

  .results-grid strong {
    font-size: 2.7rem;
  }

  .footer-cta h2 {
    font-size: 1.9rem;
  }

  .project-grid,
  .principle-grid,
  .note-card-grid,
  .takeaway-grid,
  .tool-grid,
  .library-list,
  .tldr-grid,
  .before-after,
  .lead-grid,
  .optimization-grid,
  .results-grid,
  .asset-compare,
  .interface-grid,
  .measurement-pipeline,
  .technical-grid,
  .flyover-output-grid,
  .flyover-system-flow,
  .dispatch-metrics,
  .cadence-rules,
  .flyover-decision-grid,
  .buyer-match-card,
  .card-visual-stage,
  .visual-read-grid,
  .centering-read-panel,
  .read-signal-grid,
  .centering-ratios,
  .pipeline-board,
  .schema-panel,
  .project-metric-card dl,
  .contact-grid,
  .footer-cta,
  .wf-stats {
    grid-template-columns: 1fr;
  }

  .wf-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .principle {
    grid-template-columns: 56px 1fr;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }

  .principle:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .section-row,
  .wf-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .browse-bar strong {
    width: 100%;
  }

  .decision-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .card-decision-grid .decision-card {
    grid-template-columns: 1fr;
  }

  .screenshot-frame img,
  .overlay-feature img {
    height: 270px;
  }

  .card-visual-stage {
    gap: 0.7rem;
  }

  .visual-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .dispatch-header {
    grid-template-columns: 1fr;
  }

  .dispatch-table {
    overflow-x: auto;
  }

  .dispatch-row {
    min-width: 720px;
  }

  .score-ledger > div:not(.ledger-head) {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .flyover-route {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flyover-route span {
    justify-content: center;
    min-width: 0;
  }

  .flyover-route em {
    display: none;
  }

  .flyover-route span:nth-of-type(4) {
    grid-column: auto;
  }

  .card-frame-mini {
    min-height: 220px;
  }

  .read-score-card {
    min-height: 190px;
  }

  .read-score-card strong {
    font-size: 4rem;
  }

  .library-list article {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .contact-grid .button.primary {
    height: auto;
    min-height: 3rem;
  }

  .case-switch-wrap {
    top: var(--header);
  }

  .view-toggle {
    min-width: 6.4rem;
  }

  .pipeline-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-step:last-child {
    border-bottom: 0;
  }

  .tl-item {
    grid-template-columns: 22px 1fr;
  }

  .tl-year {
    grid-column: 2;
    padding-top: 0;
  }

  .tl-body {
    grid-column: 2;
    margin-top: 0.1rem;
  }

  .contact-page {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   AI Usefulness case study
   Reuses existing tokens, radii, shadows, and colour language.
   ========================================================= */

/* Hero metric card caption */
.pmc-cite {
  margin: 0.75rem 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.ph-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ph-meta::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green-soft);
}

/* ---- Access != Usefulness leak model (conceptual) ---- */
.leak-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.leak-node {
  flex: 1 1 0;
  min-width: 130px;
  padding: 0.95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.leak-node:first-child {
  background: var(--mint);
  border-color: var(--mint-2);
}

.leak-node:last-child {
  background: var(--warm);
  border-color: var(--warm-line);
}

.leak-node span {
  display: block;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.leak-node:last-child span {
  color: var(--warm-ink);
}

.leak-node strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.94rem;
  line-height: 1.3;
}

.leak-arrow {
  align-self: center;
  flex: 0 0 auto;
  color: var(--faint);
  font-family: var(--mono);
  font-weight: 900;
}

.conceptual-tag {
  display: inline-flex;
  margin: 1rem 0 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--warm);
  border: 1px solid var(--warm-line);
  color: var(--warm-ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Who this affects (reuses .use-grid base) ---- */
.affect-grid {
  margin-top: 1.4rem;
}

.affect-grid article span:first-child {
  display: block;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.affect-grid h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: 1rem;
}

/* ---- Framework: the six dimensions of usefulness ---- */
.fw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.4rem;
}

.fw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.fw-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.fw-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.fw-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.fw-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.fw-index {
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.fw-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.fw-card p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.fw-card .fw-ask {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 750;
}

/* ---- From prompt to value: interactive flow ---- */
.vf-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  margin-top: 0.4rem;
}

.vf-step {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  min-height: 116px;
  padding: 1rem 0.9rem;
  cursor: pointer;
  background: var(--surface);
  border-right: 1px solid var(--line);
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.vf-step:last-child {
  border-right: 0;
}

.vf-step span {
  color: var(--green-soft);
  font-family: var(--mono);
  font-weight: 850;
  font-size: 0.72rem;
}

.vf-step strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.vf-step small {
  color: var(--muted);
  font-size: 0.78rem;
}

.vf-step:hover {
  background: #f4f8f2;
}

.vf-step.is-active {
  background: var(--green);
  color: #fff;
}

.vf-step.is-active span,
.vf-step.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

/* the human-review step is the hinge: mark it */
.vf-step.is-hinge:not(.is-active) {
  background: var(--mint);
}

.vf-detail {
  max-width: none;
  padding: 1.1rem 1.2rem;
  margin-top: 0.9rem;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

.vf-foot {
  margin: 0.95rem 0 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.vf-foot strong {
  color: var(--green);
}

/* ---- Evidence / research cards (expandable) ---- */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.4rem;
}

.evidence-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ev-toggle {
  display: grid;
  grid-template-columns: 2.6rem 1fr 1.4rem;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  padding: 1.2rem;
  text-align: left;
  cursor: pointer;
  background: transparent;
  transition: background 150ms ease;
}

.ev-toggle:hover {
  background: #f6faf4;
}

.ev-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
}

.ev-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.ev-head-text small {
  display: block;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ev-head-text h3 {
  margin: 0.25rem 0 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.ev-chevron {
  justify-self: center;
  color: var(--green-soft);
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform 200ms ease;
}

.evidence-card.is-open .ev-chevron {
  transform: rotate(180deg);
}

.ev-more {
  padding: 0 1.2rem 1.3rem 5.45rem;
}

.ev-more p {
  margin: 0 0 0.7rem;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.ev-more p:last-child {
  margin-bottom: 0;
}

.ev-more p strong {
  color: var(--green);
}

.ev-source {
  display: inline-flex;
  margin-top: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

/* ---- Comparison: basic AI use vs useful workflow ---- */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.4rem;
}

.vs-col {
  padding: 1.4rem;
  border-radius: 16px;
}

.vs-basic {
  background: var(--warm);
  border: 1px solid var(--warm-line);
}

.vs-good {
  background: var(--mint);
  border: 1px solid var(--mint-2);
}

.vs-tag {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vs-basic .vs-tag {
  color: var(--warm-ink);
  background: #f6e4d7;
}

.vs-good .vs-tag {
  color: var(--green);
  background: var(--mint-2);
}

.vs-col h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.vs-col ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-col li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.vs-col li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-weight: 900;
}

.vs-basic li::before {
  content: "\00d7";
  color: var(--warm-ink);
}

.vs-good li::before {
  content: "\2713";
  color: var(--green-soft);
}

.vs-example {
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.vs-example span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vs-example p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.vs-example strong {
  color: var(--ink);
}

/* ---- Usefulness scorecard (reader self-assessment) ---- */
.scorecard {
  margin-top: 0.4rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.sc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.sc-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.sc-row > div h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.sc-row > div p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.84rem;
}

.sc-options {
  display: inline-flex;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.sc-opt {
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.sc-opt:hover {
  border-color: var(--green-soft);
  color: var(--ink);
}

.sc-opt[data-level="needs"].is-on {
  color: var(--warm-ink);
  background: var(--warm);
  border-color: var(--warm-line);
}

.sc-opt[data-level="developing"].is-on {
  color: #8a6d1f;
  background: #fbf3df;
  border-color: #f0e2bd;
}

.sc-opt[data-level="strong"].is-on {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.sc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 14px;
}

.sc-foot p {
  margin: 0;
  max-width: none;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.sc-foot button {
  flex: 0 0 auto;
  padding: 0.5rem 0.95rem;
  color: var(--green);
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--mint-2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  transition: border-color 150ms ease, transform 150ms ease;
}

.sc-foot button:hover {
  border-color: var(--green-soft);
  transform: translateY(-1px);
}

/* ---- Reusable prompts (click to copy) ---- */
.prompt-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.prompt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.prompt-head h3 {
  margin: 0;
  font-size: 1rem;
}

.prompt-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.5rem 0.85rem;
  color: var(--green);
  cursor: pointer;
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.prompt-copy:hover {
  transform: translateY(-1px);
  border-color: var(--green-soft);
}

.prompt-copy.is-copied {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.prompt-copy-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.prompt-body {
  margin: 0;
  padding: 1.05rem 1.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.prompt-body em {
  color: var(--green-soft);
  font-style: normal;
}

/* ---- Sources ---- */
.source-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.source-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.source-list b {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.source-list p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.source-note {
  margin: 1rem 0 0;
  max-width: none;
  color: var(--faint);
  font-size: 0.82rem;
}

/* =========================================================
   AI Usefulness — responsive
   ========================================================= */
@media (max-width: 1000px) {
  .fw-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .vf-step:nth-child(3) {
    border-right: 0;
  }

  .vf-step:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .fw-grid,
  .evidence-grid,
  .vs-grid,
  .vf-board {
    grid-template-columns: 1fr;
  }

  .vf-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .vf-step:last-child {
    border-bottom: 0;
  }

  .leak-arrow {
    width: 100%;
    text-align: center;
    transform: rotate(90deg);
  }

  .ev-more {
    padding-left: 1.2rem;
  }

  .sc-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .sc-options {
    flex-wrap: wrap;
  }

  .source-list article {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* Featured case-study entry on the Notes page */
.case-feature {
  min-height: 0;
  border-left: 3px solid var(--green-soft);
  gap: 0.2rem;
}

.case-feature h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.case-feature p {
  max-width: 720px;
}

.case-feature .button.primary {
  width: fit-content;
  margin-top: 0.4rem;
}

.affect-heading {
  margin: 1.6rem 0 0;
  font-size: 1.15rem;
}
