/* ============================================================
   James Sheldon — jamessheldon.net
   Design system: warm editorial base, law-library green accent,
   monospace utility voice for data details.
   ============================================================ */

:root {
  --bg: #f3f0e9;
  --paper: #fbf9f4;
  --paper-strong: #fffdf8;
  --ink: #17150f;
  --muted: #565149;
  --soft: #6d675d;
  --line: rgba(23, 21, 15, 0.14);
  --line-soft: rgba(23, 21, 15, 0.08);
  --green: #23443a;
  --green-deep: #14261f;
  --green-soft: rgba(35, 68, 58, 0.09);
  --brass: #96712f;
  --brass-soft: rgba(150, 113, 47, 0.14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', Menlo, Consolas, monospace;
  --radius: 18px;
  --shadow-card: 0 1px 2px rgba(23, 21, 15, 0.04), 0 12px 32px rgba(23, 21, 15, 0.06);
  --shadow-lift: 0 2px 4px rgba(23, 21, 15, 0.05), 0 24px 56px rgba(23, 21, 15, 0.10);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection { background: rgba(35, 68, 58, 0.18); }

.skip-link {
  position: absolute;
  left: 24px;
  top: 14px;
  z-index: 200;
  padding: 10px 16px;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 240, 233, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  align-self: center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Layout ---------- */

.page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.section {
  margin-top: 104px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.section-label {
  position: sticky;
  top: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  padding-top: 6px;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}

/* ---------- Type ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 320;
  font-variation-settings: "opsz" 144;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  margin-bottom: 30px;
}

h1 em, .accent-em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

.lead {
  max-width: 56ch;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--muted);
}

.lead strong { color: var(--ink); font-weight: 500; }

.prose { max-width: 720px; }

.prose p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--muted);
}

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

.prose .prose-open {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 29px);
  font-weight: 380;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.prose a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.prose a:hover { color: var(--green-deep); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(56px, 9vh, 104px) 0 clamp(48px, 7vh, 88px);
}

.hero-copy .lead { margin-bottom: 34px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--soft);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Signature: bundle window ---------- */

.bundle-scene {
  position: relative;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}

.bundle-sheet {
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transform: rotate(1.4deg);
}

.bundle-window {
  position: relative;
  border-radius: var(--radius);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.bundle-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.bundle-lights { display: flex; gap: 6px; }
.bundle-lights i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.bundle-titlebar strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.bundle-body {
  display: grid;
  grid-template-columns: 44px 1fr;
}

.bundle-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 18px 0;
  border-right: 1px solid var(--line-soft);
  background: var(--green-soft);
}

.bundle-rail i {
  width: 18px;
  height: 5px;
  border-radius: 3px;
  background: rgba(35, 68, 58, 0.28);
}
.bundle-rail i.on { background: var(--green); }

.bundle-index { padding: 18px 20px 8px; }

.bundle-index h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 12px;
}

.bundle-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  animation: rowIn 0.5s var(--ease) forwards;
}

.bundle-row:nth-child(2) { animation-delay: 0.15s; }
.bundle-row:nth-child(3) { animation-delay: 0.3s; }
.bundle-row:nth-child(4) { animation-delay: 0.45s; }
.bundle-row:nth-child(5) { animation-delay: 0.6s; }
.bundle-row:nth-child(6) { animation-delay: 0.75s; }

@keyframes rowIn {
  to { opacity: 1; transform: translateY(0); }
}

.bundle-row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(23, 21, 15, 0.3);
  transform: translateY(-4px);
}

.bundle-row .pg {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
}

.bundle-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  background: var(--paper);
}

.bundle-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35, 68, 58, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(35, 68, 58, 0); }
}

/* ---------- Focus grid (what I work on) ---------- */

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

.focus-item {
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.focus-item:hover {
  border-color: rgba(35, 68, 58, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.focus-item svg {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-item h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.focus-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-strong);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 68, 58, 0.32);
  box-shadow: var(--shadow-lift);
}

.product-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.product-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-mark.cf { background: #1d4ed8; color: #fff; }
.product-mark.qp { background: var(--green); color: #f3f0e9; }

.product-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.product-type {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--soft);
}

.product-card > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 26px;
}

.product-specs span {
  padding: 5px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.25s ease;
}

.btn:hover { background: var(--green-deep); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow,
.product-card:hover .btn .arrow,
.resource-card:hover .btn .arrow { transform: translateX(4px); }

.btn-quiet {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-quiet:hover { background: var(--green-soft); border-color: rgba(35, 68, 58, 0.3); color: var(--ink); }

/* ---------- Index rows (used on hub-style listings) ---------- */

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

.index-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 36px 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.3s var(--ease), background-color 0.3s ease;
}

.index-row:hover { padding-left: 22px; background: var(--paper); }

.index-main h2, .index-main h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.index-row:hover .index-main h2,
.index-row:hover .index-main h3 { color: var(--green); }

.index-main p { font-size: 15px; color: var(--muted); max-width: 62ch; }

.index-arrow {
  font-size: 20px;
  color: var(--soft);
  transition: transform 0.3s var(--ease), color 0.2s ease;
}

.index-row:hover .index-arrow { transform: translateX(6px); color: var(--green); }

/* ---------- Case studies (Projects) ---------- */

.case {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-strong);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.case + .case { margin-top: 28px; }

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.4vw, 38px);
  border-bottom: 1px solid var(--line-soft);
}

.case-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.case-title h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
}

.case-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--soft);
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--paper);
}

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

.case-col {
  padding: clamp(22px, 2.8vw, 32px) clamp(24px, 3.4vw, 38px);
}

.case-col + .case-col { border-left: 1px solid var(--line-soft); }

.case-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 12px;
}

.case-col h3::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--brass);
}

.case-col p { font-size: 15px; line-height: 1.65; color: var(--muted); }

.case-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(24px, 3.4vw, 38px);
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}

.case-foot .product-specs { margin: 0; }

/* ---------- Resource cards ---------- */

.resource-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-strong);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 68, 58, 0.32);
  box-shadow: var(--shadow-lift);
}

.resource-card.primary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.resource-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.resource-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* mini calc sheet inside QuantumPro resource card */
.calc-sheet {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 18px 20px 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  box-shadow: var(--shadow-card);
}

.calc-sheet h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 10px;
}

.calc-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
}

.calc-row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(23, 21, 15, 0.28);
  transform: translateY(-3px);
}

.calc-row .val { color: var(--ink); }

.calc-row.total {
  border-top: 1px solid var(--line-soft);
  margin-top: 6px;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 600;
}
.calc-row.total .val { color: var(--green); }

/* ---------- Notes / disclaimers ---------- */

.note {
  margin-top: 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--brass);
  border-radius: 0 12px 12px 0;
  background: var(--brass-soft);
  color: var(--muted);
  font-size: 14.5px;
  max-width: 760px;
}

/* ---------- Fact list (About sidebar) ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.fact-card {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 10px;
}

.fact-card h2 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 6px;
}

.fact {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fact:last-child { border-bottom: none; }

.fact dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 4px;
}

.fact dd { font-size: 15px; color: var(--ink); }


/* ---------- Page-hero variant (single column) ---------- */

.hero.solo {
  grid-template-columns: 1fr;
  padding-bottom: 24px;
}

.section.tight { margin-top: 40px; }

/* label used inside prose columns */
.inline-label {
  display: flex;
  margin-bottom: 22px;
}

.prose-cta { margin-top: 28px; }

/* the linking cell in the focus grid */
a.focus-item.focus-more {
  border-style: dashed;
  border-color: rgba(35, 68, 58, 0.35);
  background: var(--green-soft);
}

a.focus-item.focus-more:hover {
  border-style: solid;
  background: var(--paper);
}

a.focus-item.focus-more h3 { color: var(--green); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* If JS never runs, everything stays visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 120px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--soft);
}

.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--green); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .bundle-row { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */

@media (max-width: 960px) {
  .page, .site-header .inner { width: min(720px, calc(100% - 40px)); }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 48px 0 56px;
  }

  .bundle-scene { justify-self: start; max-width: 440px; }

  .section { margin-top: 80px; padding-top: 44px; }

  .section-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-label { position: static; padding-top: 0; }

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

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

  .case-body { grid-template-columns: 1fr; }
  .case-col + .case-col {
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }

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

  .about-grid { grid-template-columns: 1fr; }
  .fact-card { position: static; }
}

/* ---------- Mobile ---------- */

@media (max-width: 560px) {
  .page, .site-header .inner { width: calc(100% - 36px); }

  .site-header .inner {
    flex-direction: row;
    padding: 14px 0;
  }

  .brand { font-size: 17px; }

  .site-nav { gap: 18px; font-size: 13.5px; }
  /* larger tap targets */
  .site-nav a { padding: 8px 0; }

  .hero { padding: 36px 0 44px; gap: 40px; }

  h1 { margin-bottom: 22px; }

  .hero-copy .lead { margin-bottom: 24px; }

  .hero-meta { gap: 8px 16px; font-size: 12px; }

  .bundle-scene { max-width: 100%; }
  .bundle-sheet { inset: 14px -8px -8px 14px; }
  .bundle-index { padding: 14px 16px 6px; }
  .bundle-row { font-size: 12.5px; padding: 8px 0; }

  .section { margin-top: 64px; padding-top: 36px; }

  .focus-grid { grid-template-columns: 1fr; gap: 12px; }
  .focus-item { padding: 20px 18px; }
  .focus-item svg { margin-bottom: 12px; }

  .product-card { padding: 24px 20px; }

  .index-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 4px;
  }
  .index-arrow { display: none; }
  .index-row:hover { padding-left: 12px; }

  .case-head, .case-col, .case-foot { padding-left: 20px; padding-right: 20px; }

  .resource-card { padding: 24px 20px; }

  .note { font-size: 14px; padding: 16px 18px; }

  .btn { padding: 13px 20px; }

  .site-footer {
    flex-direction: column;
    gap: 18px;
    margin-top: 80px;
  }
}
