:root {
  --ink-950: #09131d;
  --ink-900: #10202d;
  --ink-800: #1b3344;
  --ink-700: #314757;
  --ink-500: #637684;
  --paper-0: #fcfbf8;
  --paper-100: #f5efe5;
  --paper-200: #e8ddcb;
  --paper-300: #d8cab4;
  --copper-500: #bc6f41;
  --copper-700: #8f4722;
  --brass-400: #d8a667;
  --sage-400: #718978;
  --teal-400: #5c8793;
  --white-strong: rgba(255, 255, 255, 0.88);
  --white-soft: rgba(255, 255, 255, 0.68);
  --line: rgba(16, 32, 45, 0.12);
  --line-strong: rgba(16, 32, 45, 0.22);
  --shadow-soft: 0 24px 60px rgba(11, 23, 34, 0.1);
  --shadow-deep: 0 34px 92px rgba(11, 23, 34, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 10% 10%, rgba(188, 111, 65, 0.18), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(92, 135, 147, 0.16), transparent 24%),
    radial-gradient(circle at 72% 76%, rgba(113, 137, 120, 0.14), transparent 24%),
    linear-gradient(155deg, #f7f2ea 0%, #f3ecdf 46%, #fbf8f1 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background-image:
    linear-gradient(rgba(16, 32, 45, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 45, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
}

body::after {
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(16, 32, 45, 0.06) 48%, rgba(16, 32, 45, 0.06) 50%, transparent 50%, transparent 100%),
    linear-gradient(135deg, transparent 0 54%, rgba(188, 111, 65, 0.08) 54%, rgba(188, 111, 65, 0.08) 56%, transparent 56%, transparent 100%);
  opacity: 0.8;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--shell-width));
  margin: 0 auto;
  padding: 28px 20px 88px;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0 20px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 32, 45, 0.14), transparent);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 243, 236, 0.84), rgba(247, 239, 230, 0.7));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(188, 111, 65, 0.12), transparent 36%),
    linear-gradient(90deg, transparent, rgba(92, 135, 147, 0.08), transparent);
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  flex: none;
  filter: drop-shadow(0 10px 18px rgba(9, 19, 29, 0.14));
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--ink-500);
  font-size: 0.85rem;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a,
.footer-links a {
  position: relative;
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--copper-500), var(--teal-400));
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--copper-700);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-900);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

main {
  display: grid;
  gap: 74px;
}

.section,
.hero-grid,
.inner-hero {
  position: relative;
}

.section-head {
  position: relative;
  max-width: 760px;
  margin-bottom: 28px;
  padding-left: 18px;
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 8px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--copper-500), var(--teal-400));
}

.section-frame,
.panel,
.timeline-card,
.source-card,
.faq-card,
.founder-panel,
.contact-card,
.hero-card,
.callout-card,
.showcase-card,
.link-card,
.table-shell,
.note-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 238, 227, 0.82));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.section-frame::before,
.panel::before,
.timeline-card::before,
.source-card::before,
.faq-card::before,
.founder-panel::before,
.contact-card::before,
.hero-card::before,
.callout-card::before,
.showcase-card::before,
.link-card::before,
.table-shell::before,
.note-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(216, 166, 103, 0.8), rgba(255, 255, 255, 0.92));
}

.panel,
.timeline-card,
.source-card,
.faq-card,
.founder-panel,
.contact-card,
.hero-card,
.callout-card,
.showcase-card,
.link-card,
.table-shell,
.note-band {
  padding: 28px;
}

.above-fold-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.afc-phone {
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
}

.afc-email {
  color: var(--copper-700);
  text-decoration: none;
}

.afc-sep {
  color: var(--ink-500);
  opacity: 0.4;
}

.afc-name {
  color: var(--ink-500);
}

.hero-stack {
  padding: 36px;
}

.hero-sub {
  margin-top: 16px;
  padding: 10px 16px;
  border-left: 4px solid var(--copper-500);
  background: rgba(188, 111, 65, 0.06);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}

.phone-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.founder-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.founder-contact a {
  text-decoration: none;
}

.proof-visual {
  position: relative;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.proof-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 238, 227, 0.82));
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-before .proof-label {
  color: var(--ink-700);
  background: rgba(16, 32, 45, 0.06);
}

.proof-after .proof-label {
  color: #2d6b3f;
  background: rgba(45, 107, 63, 0.1);
}

.proof-doc {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.messy-doc {
  position: relative;
  padding: 20px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(100, 140, 180, 0.12) 27px,
      rgba(100, 140, 180, 0.12) 28px
    ),
    linear-gradient(135deg, #f5f0e4, #efe8d8);
  border: 1px solid var(--line);
  font-family: "Courier New", Courier, monospace;
  transform: rotate(-0.8deg);
}

.messy-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.messy-stamp {
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  opacity: 0.7;
}

.messy-scrawl {
  font-style: italic;
  color: #3a5f8a;
  font-size: 0.88rem;
}

.messy-line {
  height: 2px;
  margin: 8px 0;
  background: rgba(16, 32, 45, 0.08);
  border-radius: 999px;
}

.messy-line.short {
  width: 60%;
}

.messy-handwriting {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  font-size: 0.82rem;
  color: var(--ink-700);
}

.messy-note {
  color: #3a5f8a;
  font-style: italic;
  font-weight: 600;
  transform: rotate(-1.2deg);
  margin-left: 10px;
}

.messy-sig {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(16, 32, 45, 0.15);
}

.sig-scrawl {
  font-style: italic;
  font-size: 1.1rem;
  color: #3a5f8a;
  opacity: 0.6;
}

.messy-date {
  font-size: 0.78rem;
  color: var(--ink-500);
}

.messy-coffee {
  position: absolute;
  right: 16px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.15), rgba(139, 90, 43, 0.06) 60%, transparent 70%);
  border: 2px solid rgba(139, 90, 43, 0.08);
}

.proof-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
}

.arrow-line {
  width: 2px;
  flex: 1;
  min-height: 30px;
  background: linear-gradient(180deg, transparent, var(--copper-500), transparent);
}

.arrow-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-700);
  line-height: 1.3;
}

.clean-doc {
  border: 1px solid rgba(45, 107, 63, 0.18);
  background: #fbfdf9;
  padding: 0;
}

.clean-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  color: #fff7ef;
}

.clean-header strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.clean-header span {
  font-size: 0.78rem;
  opacity: 0.7;
}

.clean-section {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(16, 32, 45, 0.06);
}

.clean-section.found {
  background: rgba(45, 107, 63, 0.04);
}

.clean-section.total {
  border-bottom: none;
}

.clean-row-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d6b3f;
  margin-bottom: 10px;
}

.clean-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
}

.clean-row + .clean-row {
  margin-top: 8px;
}

.clean-row span {
  color: var(--ink-700);
}

.clean-row strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  white-space: nowrap;
}

.recovered {
  color: #2d6b3f;
}

.clean-row.highlight {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(45, 107, 63, 0.08);
}

.recovered-total {
  color: #2d6b3f;
  font-size: 1.3rem;
}

.clean-footer {
  padding: 12px 18px;
  font-size: 0.78rem;
  color: var(--ink-500);
  background: rgba(16, 32, 45, 0.02);
  border-top: 1px solid rgba(16, 32, 45, 0.06);
}

.proof-caption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-500);
  font-weight: 600;
}

.hero-grid,
.founder-grid,
.contact-grid,
.boundary-grid,
.feature-grid,
.timeline-grid,
.faq-grid,
.source-grid,
.artifact-grid,
.sample-showcase {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  align-items: stretch;
}

.hero-grid::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 166, 103, 0.22), rgba(216, 166, 103, 0));
  pointer-events: none;
}

.hero-copy,
.inner-hero {
  padding: 36px;
}

.hero-copy {
  position: relative;
}

.inner-hero {
  max-width: 900px;
}

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

.timeline-grid,
.artifact-grid,
.source-grid,
.sample-showcase,
.boundary-grid,
.contact-grid,
.founder-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sample-showcase {
  align-items: stretch;
}

.showcase-main {
  min-height: 100%;
}

.hero-signals,
.review-badges,
.cta-row,
.stat-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-signals {
  margin-bottom: 18px;
}

.signal-chip,
.eyebrow,
.card-label,
.review-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--copper-500), var(--brass-400));
  box-shadow: 0 0 0 4px rgba(188, 111, 65, 0.12);
}

.signal-chip {
  color: var(--ink-700);
  background: rgba(16, 32, 45, 0.05);
  border: 1px solid rgba(16, 32, 45, 0.08);
}

.eyebrow {
  color: var(--copper-700);
  background: rgba(188, 111, 65, 0.12);
}

.card-label {
  margin-bottom: 16px;
  color: var(--sage-400);
  background: rgba(113, 137, 120, 0.12);
}

.review-ribbon {
  margin-bottom: 18px;
  color: #fff8f0;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.02;
}

h1 {
  margin-top: 18px;
  max-width: 22ch;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.34rem;
}

p,
li,
td,
th {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.72;
}

p {
  margin: 0;
}

.lede {
  max-width: 66ch;
  margin-top: 18px;
  font-size: 1.08rem;
}

.narrow {
  max-width: 58ch;
}

.hero-annotation {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--ink-500);
  font-size: 0.98rem;
  font-weight: 600;
}

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

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  color: #fff7ef;
  box-shadow: 0 16px 32px rgba(11, 23, 34, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #132433, #204256);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.62);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
}

.text-link {
  color: var(--copper-700);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.trust-pill,
.stat-chip,
.hero-summary > div,
.review-badges span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.trust-pill,
.stat-chip {
  padding: 16px 18px;
  border-radius: 22px;
}

.review-badges span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-700);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-pill strong,
.stat-chip strong,
.hero-summary strong,
.metric-value {
  display: block;
  color: var(--ink-900);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

.trust-pill strong,
.hero-summary strong {
  font-size: 1.22rem;
}

.trust-pill span,
.stat-chip span,
.hero-summary span,
.supporting-line {
  display: block;
  color: var(--ink-500);
}

.hero-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.hero-summary > div {
  padding: 16px 18px;
  border-radius: 22px;
}

.mini-ledger,
.hero-note,
.prose-panel {
  display: grid;
  gap: 12px;
}

.ledger-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.ledger-line span {
  color: var(--ink-700);
}

.ledger-line strong {
  font-size: 1.06rem;
}

.ledger-line.accent {
  border-color: rgba(188, 111, 65, 0.24);
  background: linear-gradient(135deg, rgba(188, 111, 65, 0.12), rgba(216, 166, 103, 0.08));
}

.hero-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.hero-note strong {
  color: var(--ink-900);
}

.boundary-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 32, 45, 0.98), rgba(32, 53, 68, 0.94));
}

.boundary-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff7ef;
}

.boundary-panel p {
  color: rgba(255, 247, 239, 0.82);
}

.clean-list,
.compact-list {
  margin: 0;
  padding-left: 18px;
}

.clean-list li + li {
  margin-top: 8px;
}

.compact-list li + li {
  margin-top: 6px;
}

.timeline-card {
  display: grid;
  gap: 12px;
}

.timeline-step,
.portrait {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 38%),
    linear-gradient(150deg, var(--ink-950), var(--ink-800));
  color: #fff6ee;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(16, 32, 45, 0.16);
}

.callout-card {
  margin-top: 18px;
  padding: 22px 24px;
}

.callout-card a {
  color: var(--copper-700);
}

.source-card {
  display: grid;
  align-content: start;
}

.source-card .text-link {
  margin-top: 14px;
}

.founder-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.portrait {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 38%),
    linear-gradient(150deg, var(--copper-500), var(--brass-400));
}

.faq-card h3,
.contact-card h3,
.showcase-card h3 {
  margin-bottom: 10px;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card .button {
  width: fit-content;
}

.sample-hero h1 {
  max-width: 12ch;
}

.link-card {
  display: block;
  min-height: 100%;
  text-decoration: none;
}

.link-card:hover,
.link-card:focus-visible,
.panel:hover,
.timeline-card:hover,
.source-card:hover,
.faq-card:hover,
.showcase-card:hover,
.contact-card:hover,
.founder-panel:hover,
.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
}

.panel,
.timeline-card,
.source-card,
.faq-card,
.showcase-card,
.contact-card,
.founder-panel,
.hero-card,
.link-card {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 0;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--ink-500);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-band {
  margin-top: 18px;
  background: linear-gradient(160deg, rgba(92, 135, 147, 0.14), rgba(255, 255, 255, 0.72));
}

.reveal {
  animation: drift-up 640ms ease-out both;
}

.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

.reveal:nth-child(4) {
  animation-delay: 200ms;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 74px;
  padding: 28px 0 10px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer-logo {
  width: 52px;
  height: 52px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy small {
  color: var(--ink-500);
  font-size: 0.88rem;
}

@keyframes drift-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@media (max-width: 1080px) {
  .hero-grid,
  .timeline-grid,
  .source-grid,
  .artifact-grid,
  .sample-showcase,
  .boundary-grid,
  .contact-grid,
  .founder-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

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

  .proof-arrow {
    flex-direction: row;
    padding: 0 18px;
  }

  .arrow-line {
    width: auto;
    height: 2px;
    min-height: 0;
    min-width: 30px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--copper-500), transparent);
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding-inline: 14px;
  }

  .site-shell::before {
    inset-inline: 14px;
  }

  .site-header {
    align-items: flex-start;
    border-radius: 30px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header[data-open="true"] .site-nav {
    display: flex;
  }

  .hero-copy,
  .hero-stack,
  .inner-hero,
  .panel,
  .timeline-card,
  .source-card,
  .faq-card,
  .founder-panel,
  .contact-card,
  .hero-card,
  .callout-card,
  .showcase-card,
  .link-card,
  .table-shell,
  .note-band {
    padding: 22px;
  }

  .hero-summary {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .above-fold-contact {
    flex-direction: column;
    border-radius: var(--radius-lg);
    gap: 6px;
    padding: 14px;
  }

  .afc-sep {
    display: none;
  }

  .afc-phone {
    font-size: 1.2rem;
    padding: 8px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
    color: #fff7ef;
    text-align: center;
    width: 100%;
    display: block;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .button {
    width: 100%;
    text-align: center;
  }

  .proof-card {
    padding: 18px;
  }

  .founder-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .founder-contact {
    flex-direction: column;
    gap: 6px;
  }

  .founder-contact .afc-sep {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .link-card,
  .panel,
  .timeline-card,
  .source-card,
  .faq-card,
  .showcase-card,
  .contact-card,
  .founder-panel,
  .hero-card,
  .button,
  .text-link {
    animation: none;
    transition: none;
    transform: none;
  }
}
