:root {
  color-scheme: only light;
  --bg-light: #f6f5f2;
  --bg-dark: #0f1416;
  --ink: #121416;
  --ink-muted: #4b555d;
  --ink-light: #e7ecef;
  --accent: #7f8d82;
  --accent-strong: #5f6f64;
  --accent-soft: rgba(127, 141, 130, 0.18);
  --border: #cfd6d1;
  --shadow: 0 20px 50px rgba(15, 20, 22, 0.16);
  --shadow-soft: 0 12px 32px rgba(15, 20, 22, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1160px;
}

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

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--ink);
  font-family: "Avenir Next", "Avenir", "Helvetica Neue", "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4 {
  font-family: "Newsreader", "Iowan Old Style", "Palatino", "Georgia", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

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

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(127, 141, 130, 0.14), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(25, 33, 35, 0.08), transparent 40%),
    linear-gradient(180deg, #f8f7f4 0%, #f6f5f2 100%);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.light {
  background: var(--bg-light);
}

.section.dark {
  background: var(--bg-dark);
  color: var(--ink-light);
}

.section.dark .subhead,
.section.dark .problem,
.section.dark .approach,
.section.dark .outcome,
.section.dark p {
  color: rgba(231, 236, 239, 0.82);
}

.section.dark .eyebrow {
  color: rgba(231, 236, 239, 0.55);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section.dark::before {
  background: radial-gradient(circle at 20% 10%, rgba(127, 141, 130, 0.22), transparent 50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 245, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 20, 22, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: padding 0.3s ease;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(18, 20, 22, 0.1), 0 6px 16px rgba(15, 20, 22, 0.18);
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: font-size 0.3s ease;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.hero {
  padding-top: 120px;
  background:
    linear-gradient(135deg, #f6f5f2 0%, #eef1ee 50%, #f6f5f2 100%),
    radial-gradient(circle at 10% 10%, rgba(127, 141, 130, 0.25), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 3.6vw, 3.8rem);
  line-height: 1.12;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.btn-secondary {
  border-color: var(--ink);
}

.btn-ghost {
  border-color: rgba(18, 20, 22, 0.2);
  padding: 10px 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.25), transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero-panel {
  display: grid;
  gap: 20px;
}

.panel-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(18, 20, 22, 0.08);
  box-shadow: var(--shadow);
}


.founder-shot {
  padding: 0;
  overflow: hidden;
}

.founder-shot img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transform: translateY(0);
  will-change: transform;
}

.founder-shot figcaption {
  padding: 16px 20px 20px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.subhead {
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.capabilities {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.capability {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.capability .problem {
  color: var(--ink-muted);
  font-weight: 500;
}

.capability .approach {
  color: var(--ink);
}

.capability .outcome {
  color: var(--accent-strong);
  font-weight: 600;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(231, 236, 239, 0.18);
  border-radius: var(--radius-sm);
  padding: 24px;
  backdrop-filter: blur(6px);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.process-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: #ffffff;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.process-list h3 {
  margin-bottom: 6px;
}

.proof-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.proof-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(231, 236, 239, 0.18);
  border-radius: var(--radius-sm);
  padding: 24px;
  backdrop-filter: blur(6px);
}

.case-strip {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.case-strip > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(231, 236, 239, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  backdrop-filter: blur(6px);
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.schedule-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  min-height: 720px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-compact {
  background: rgba(246, 245, 242, 0.96);
  box-shadow: 0 8px 22px rgba(15, 20, 22, 0.12);
}

.site-header.is-compact .header-inner {
  padding: 12px 24px;
}

.site-header.is-compact .brand-mark {
  width: 38px;
  height: 38px;
}

.site-header.is-compact .brand-sub {
  opacity: 0.6;
}

.site-footer {
  background: #0b0f11;
  color: rgba(231, 236, 239, 0.72);
  padding: 36px 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-sub {
  font-size: 0.85rem;
  color: rgba(231, 236, 239, 0.6);
}

.footer-meta {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

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

  .hero-copy {
    grid-row: 1;
  }

  .founder-shot {
    grid-row: 2;
  }

  .hero-panel {
    grid-row: 3;
  }

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

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

@media (min-width: 961px) {
  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-shot {
    grid-column: 1 / -1;
    margin-top: 12px;
  }

  .founder-shot img {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .container {
    padding: 0 18px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding-top: 96px;
  }

  .header-inner {
    padding: 16px 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }

  .lead {
    font-size: 1rem;
  }

  .panel-card,
  .capability,
  .process-list li,
  .contact-card,
  .schedule-embed {
    border-radius: 14px;
  }

  .founder-shot img {
    height: 200px;
  }

  .schedule-embed {
    min-height: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary::after {
    display: none;
  }
}
