/* Jarvis Vinson — shared site styles */
:root {
  --charcoal: #1F2A33;
  --ink: #243038;
  --muted: #5C6B75;
  --offwhite: #F7F4EF;
  --cream: #EFE8DC;
  --steel: #2F5F7A;
  --steel-hover: #244C63;
  --accent-line: #C4A574;
  --surface: #FFFFFF;
  --header-bg: #F7F4EF;
  --header-text: #1F2A33;
  --footer-bg: #243038;
  --hero-scrim: linear-gradient(180deg, rgba(20,32,40,0.18) 0%, rgba(20,32,40,0.42) 55%, rgba(20,32,40,0.62) 100%);
  --border: rgba(31, 42, 51, 0.10);
  --shadow: 0 6px 20px rgba(31, 42, 51, 0.06);
  --radius: 6px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--steel); }
a:hover { color: var(--steel-hover); }
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--steel);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0.75rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Header — daylight paper */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--header-text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--steel); }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--steel); }
.nav a.nav-contact {
  color: var(--offwhite);
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--steel);
  border-radius: 4px;
  background: var(--steel);
}
.nav a.nav-contact:hover {
  border-color: var(--steel-hover);
  background: var(--steel-hover);
  color: #fff;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(31, 42, 51, 0.22);
  color: var(--header-text);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 3.5rem);
  display: flex;
  align-items: center;
  color: var(--offwhite);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: -2%;
  background: url("assets/hero.jpg") center / cover no-repeat;
  filter: none;
  transform: scale(1);
  animation: hero-kenburns 20s ease-out forwards;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,0.025) 48px, rgba(255,255,255,0.025) 49px),
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,0.018) 48px, rgba(255,255,255,0.018) 49px);
  opacity: 0.85;
}
.hero-grid::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(246, 243, 238, 0.28);
  border-right: 1px solid rgba(246, 243, 238, 0.28);
  opacity: 0.7;
}
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}
.hero-layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 2rem 3rem;
  align-items: center;
  padding: 3.25rem 0 3.5rem;
}
.hero-content {
  max-width: 38.75rem; /* ~620px */
}
.hero-role {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(246, 243, 238, 0.9);
  margin: 0 0 0.85rem;
}
.hero-offer {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 28ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.hero-deck {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(246, 243, 238, 0.86);
  max-width: 44ch;
}
.hero-for {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(246, 243, 238, 0.62);
  max-width: 48ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.hero-independence {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(246, 243, 238, 0.88);
  letter-spacing: 0.01em;
}
.hero-loc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(246, 243, 238, 0.55);
}
.hero-panel {
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 220px;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(246, 243, 238, 0.16);
  background: rgba(18, 24, 32, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.hero-panel-label {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.5);
}
.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-panel li {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(246, 243, 238, 0.88);
  padding: 0.45rem 0;
  border-top: 1px solid rgba(246, 243, 238, 0.1);
  letter-spacing: 0.01em;
}
.hero-panel li:first-child { border-top: 0; padding-top: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:focus-visible,
.nav a:focus-visible,
.text-link:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}
.btn-primary:focus-visible {
  outline-color: #9eb6c9;
}
.text-link:focus-visible,
.nav a:focus-visible:not(.nav-contact) {
  outline-color: var(--steel);
}

.btn-primary {
  background: var(--steel);
  color: var(--offwhite);
  border-color: var(--steel);
}
.btn-primary:hover {
  background: var(--steel-hover);
  border-color: var(--steel-hover);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--offwhite);
  border-color: rgba(246, 243, 238, 0.45);
}
.btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}
.btn-block { width: 100%; }
.btn-outline {
  background: transparent;
  color: var(--steel);
  border-color: var(--steel);
}
.btn-outline:hover {
  background: var(--steel);
  color: var(--offwhite);
}
.btn-on-cream.btn-secondary {
  color: var(--charcoal);
  border-color: rgba(31, 42, 51, 0.28);
}
.btn-on-cream.btn-secondary:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* Sections */
section { padding: 4.5rem 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}
.section-sub {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.prose { max-width: 65ch; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

/* About */
#about { background: var(--offwhite); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.35fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.portrait {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream);
  max-width: 360px;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.block { margin-bottom: 1.5rem; }
.block h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.4rem;
}
.block p { margin: 0; max-width: 58ch; }
.pullquote {
  margin: 2rem 0 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 3px solid var(--steel);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
  max-width: 36ch;
}

/* Work */
#work { background: var(--cream); }
.work-lead { margin: 0 0 2rem; max-width: 65ch; }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.card p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.card .card-meta {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
}
.reason {
  font-style: italic;
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
  font-size: 1.05rem;
}

/* Tools */
#tools { background: var(--cream); }
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tool-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #e8e2d8, #d4cdc2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.mock-page {
  width: min(58%, 180px);
  aspect-ratio: 3 / 4;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(31,42,51,0.12);
  padding: 0.85rem 0.75rem;
  font-size: 0.58rem;
  line-height: 1.35;
  color: #444;
}
.mock-page strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.72rem;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  border-bottom: 2px solid var(--steel);
  padding-bottom: 0.25rem;
}
.tool-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}
.badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(47, 95, 122, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}
.tool-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0;
}
.tool-body p {
  margin: 0;
  flex: 1;
  font-size: 1.02rem;
}
.shop-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.shop-link:hover { border-bottom-color: currentColor; }

/* Presence */
#presence {
  padding: 3rem 0;
  background: var(--footer-bg);
  color: rgba(247, 244, 239, 0.9);
}
#presence .prose { margin: 0 0 1.25rem; max-width: 58ch; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(247, 244, 239, 0.28);
  border-radius: 999px;
  color: var(--offwhite);
}

/* Contact */
#contact { background: var(--offwhite); text-align: left; }
.close-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--charcoal);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.contact-links a { text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.contact-firm {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 65ch;
}
.contact-firm h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.75rem;
}
.contact-firm p { margin: 0 0 0.75rem; }
.contact-firm ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}
.contact-firm li { margin-bottom: 0.25rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(247, 244, 239, 0.7);
  padding: 1.25rem 0;
  font-size: 0.9rem;
  text-align: center;
}
.site-footer p { margin: 0; line-height: 1.5; }

/* —— Shared section leads —— */
.section-lead {
  margin: 0 0 1rem;
  max-width: 65ch;
  font-size: 1.1rem;
  color: var(--ink);
}
.section-body {
  margin: 0 0 1.25rem;
  max-width: 65ch;
}
.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: currentColor; }


/* —— Homepage masthead —— */
.home-masthead {
  background: var(--offwhite);
  border-bottom: 1px solid rgba(31, 42, 51, 0.10);
  padding: 1.15rem 1.5rem 1.05rem;
}
.home-masthead__line {
  margin: 0 auto;
  max-width: 72rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--charcoal);
  text-align: center;
  letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  .home-masthead {
    padding: 1rem 1.15rem 0.95rem;
    text-align: left;
  }
  .home-masthead__line {
    text-align: left;
    font-size: 1.05rem;
  }
}

/* —— Triptych hero (homepage) —— */
.triptych {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: calc(100vh - 3.5rem - 4.25rem);
  min-height: calc(100svh - 3.5rem - 4.25rem);
  padding: 0;
  background: var(--cream);
  overflow: hidden;
}
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  isolation: isolate;
  border-right: 1px solid rgba(31, 42, 51, 0.08);
  overflow: hidden;
  animation: triptych-fade 0.7s ease both;
  animation-delay: 0s; /* equal — all three together */
}
.panel:last-child { border-right: 0; }
.panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: none;
  transform: scale(1.02);
  transition: filter 0.35s ease;
}
/* per-panel human focus */
.panel:nth-child(1) .panel-bg { background-position: 50% 40%; } /* firm — completed mixed-use project */
.panel:nth-child(2) .panel-bg { background-position: 48% 42%; } /* pi — data library / shelves */
.panel:nth-child(3) .panel-bg { background-position: 50% 45%; } /* founder — chair + math board */

.panel-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(20, 32, 40, 0.06) 0%,
      rgba(20, 32, 40, 0.14) 40%,
      rgba(20, 32, 40, 0.36) 70%,
      rgba(20, 32, 40, 0.55) 100%);
  pointer-events: none;
}
.panel-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0.85rem 0.85rem;
  padding: 1.35rem 1.25rem 1.25rem;
  color: var(--ink);
  background: rgba(247, 244, 239, 0.96);
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(31, 42, 51, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--accent-line);
  display: inline-block;
}
.panel-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0.55rem 0 0.75rem;
  color: var(--charcoal);
  max-width: none;
  white-space: nowrap;
  text-shadow: none;
}
.panel-line {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 34ch;
  min-height: 4.5em; /* ~3 lines — keeps cards level with firm */
}
.panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}
.panel-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 51, 0.12);
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: none;
}
.panel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  margin-bottom: 0.75rem;
  border-radius: 4px;
  background: var(--steel);
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--steel);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(31, 42, 51, 0.12);
}
.panel-btn:hover {
  background: var(--steel-hover);
  border-color: var(--steel-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 42, 51, 0.16);
}
.panel-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.panel-link:hover {
  color: var(--steel-hover);
  border-bottom-color: currentColor;
}
.panel:hover .panel-bg,
.panel:focus-within .panel-bg {
  filter: brightness(1.03);
}
.panel-btn:focus-visible,
.panel-link:focus-visible,
.panel:focus-within {
  outline: none;
}
.panel-btn:focus-visible {
  outline: 2px solid #9eb6c9;
  outline-offset: 3px;
}
.panel-link:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

@keyframes triptych-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.triptych-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}
.triptych-strip-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}
.triptych-strip-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 58ch;
}
.triptych-strip-btn {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .triptych {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .panel {
    border-right: 0;
    border-bottom: 1px solid rgba(31, 42, 51, 0.08);
    min-height: min(72vh, 560px);
  }
  .panel:last-child { border-bottom: 0; }
  .panel-title {
    font-size: clamp(1.2rem, 4.2vw, 1.45rem);
    max-width: none;
    white-space: nowrap;
  }
  .panel-body {
    margin: 0 0.75rem 0.75rem;
    padding: 1.2rem 1.1rem 1.1rem;
  }
  .triptych-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .triptych-strip-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .panel {
    animation: none;
  }
  .panel-btn {
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }
  .panel-btn:hover {
    transform: none;
  }
  .panel-bg {
    transition: none;
  }
}

/* —— Proof strip —— */
#proof {
  background: var(--cream);
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem 1rem;
  margin: 0 0 1rem;
  list-style: none;
  padding: 0;
}
.proof-stats li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: none;
}
.proof-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.proof-stats span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.proof-note {
  margin: 0 0 0.65rem;
  max-width: 62ch;
  font-size: 0.98rem;
  color: var(--ink);
}
.proof-quiet {
  margin: 0;
  font-size: 0.95rem;
}

/* —— Services —— */
#services { background: var(--offwhite); }

/* —— Method tiles —— */
#how, #method { background: var(--cream); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 1.75rem;
}
.method-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.method-tile h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.4rem;
}
.method-tile p { margin: 0; font-size: 1rem; }
.method-close {
  max-width: 62ch;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--steel);
}
.method-close h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.4rem;
}
.method-close p { margin: 0; }

/* —— Results —— */
#results { background: var(--offwhite); }
.results-body {
  max-width: 65ch;
  margin: 0 0 1.5rem;
}
.results-body p { margin: 0 0 0.85rem; }
.results-body p:last-child { margin-bottom: 0; }
.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Tools label —— */
.tools-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.5rem;
}
.tools-pdf-note { margin-top: 1.75rem; }


/* —— Contact paths (three doors) —— */
.contact-path-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0 0 2rem;
  font-weight: 600;
}
.contact-path-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.contact-path-nav a:hover {
  border-bottom-color: currentColor;
}
.contact-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.contact-path {
  background: var(--surface);
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 6px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 6px 18px rgba(31, 42, 51, 0.06);
}
.contact-path h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.contact-path .contact-actions { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .contact-paths {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.15rem;
    align-items: stretch;
  }
  .contact-path {
    display: flex;
    flex-direction: column;
  }
  .contact-path .contact-actions { margin-top: auto; padding-top: 1rem; }
}


/* —— Founder: companies + quiet close —— */
.founder-companies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  max-width: 60rem;
}
@media (min-width: 800px) {
  .founder-companies { grid-template-columns: 1fr 1fr; }
}
.founder-company {
  background: var(--surface);
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 6px;
  padding: 1.35rem 1.25rem 1.2rem;
}
.founder-company h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.35rem;
}
.founder-role {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.founder-company p { margin: 0 0 0.75rem; }
.founder-company p:last-child { margin-bottom: 0; }
.founder-close {
  background: var(--offwhite);
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(31, 42, 51, 0.08);
}
.founder-close .close-line { margin: 0 0 0.6rem; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.founder-contact { margin: 0; color: var(--muted); }


/* —— Pi product shelf —— */
.pi-shelf .shelf-group-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--charcoal);
  margin: 2rem 0 1rem;
}
.pi-shelf .shelf-group-title:first-of-type { margin-top: 0.5rem; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
@media (min-width: 1020px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 16px rgba(31, 42, 51, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 42, 51, 0.12);
}
.product-card__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cream);
}
.product-card__kind {
  margin: 0.7rem 0.85rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.product-card__title {
  margin: 0 0.85rem 0.55rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}
.product-card__cta {
  margin: auto 0.85rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
}
.shelf-shop-note {
  margin: 1.75rem 0 0;
  font-weight: 600;
}
.shelf-shop-note a { text-decoration: none; }
.shelf-shop-note a:hover { text-decoration: underline; }


/* —— Contact form —— */
.contact-form-wrap { max-width: 40rem; }
.contact-form { margin-top: 0.5rem; }
.contact-honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  overflow: hidden;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-form-grid { grid-template-columns: 1fr 1fr; }
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
.contact-field--full { margin-top: 1rem; }
.contact-field span { letter-spacing: 0.02em; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(31, 42, 51, 0.18);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.contact-field textarea { resize: vertical; min-height: 9rem; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--steel);
  outline-offset: 1px;
  border-color: var(--steel);
}
.contact-form-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.contact-form-alt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}
.contact-form-alt a { font-weight: 600; }

/* —— Contact checklist —— */
.contact-loc {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--charcoal);
}
.contact-prompt { margin: 0 0 0.35rem; max-width: 55ch; }
.contact-prompt-sub {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-checklist {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  max-width: 40ch;
}
.contact-checklist li { margin-bottom: 0.25rem; }
.contact-note { margin: 0 0 0.75rem; }
.contact-email {
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.contact-email a { text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

/* —— Firm page stats (kept) —— */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
  list-style: none;
  padding: 0;
}
.stats li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.stats span {
  font-size: 0.92rem;
  color: var(--muted);
}
.firm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Firm page —— */
.page-hero {
  background: var(--cream);
  color: var(--charcoal);
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--accent-line);
  display: inline-block;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0.55rem 0 0.75rem;
  line-height: 1.25;
  color: var(--charcoal);
}
.page-hero .offer {
  margin: 0;
  max-width: 52ch;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}
.jump-nav {
  position: sticky;
  top: 3.5rem;
  z-index: 40;
  background: rgba(239, 234, 227, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.jump-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jump-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.jump-nav a:hover { color: var(--steel); }

.firm-section { background: var(--offwhite); }
.firm-section.alt { background: var(--cream); }
.firm-section .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.ai-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.ai-card h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.4rem;
}
.ai-card p { margin: 0; font-size: 1rem; }

.phase-list { margin: 1rem 0 1.75rem; }
.phase-list h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}
.phase-list ul,
.plain-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  max-width: 70ch;
}
.phase-list li,
.plain-list li { margin-bottom: 0.35rem; }

.rate-note {
  margin: 0 0 1.5rem;
  max-width: 65ch;
}
.terms-list {
  margin: 0 0 2rem;
  padding-left: 1.2rem;
  max-width: 70ch;
}
.terms-list li { margin-bottom: 0.45rem; }
.rate-cards { margin-bottom: 1.5rem; }
.rate-cards .card h3 {
  font-size: 1.1rem;
}
.rate-cards .card p { margin-bottom: 0.5rem; }
.rate-cards .card p:last-child { margin-bottom: 0; }
.rate-total {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1.05rem;
}
.checklist {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
}
.checklist li { margin-bottom: 0.3rem; }

/* Mobile */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--header-bg);
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0; }
  .hero {
    min-height: calc(100svh - 3.5rem);
    align-items: flex-start;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    width: min(100% - 2.5rem, var(--max));
    padding: 2.75rem 0 2.75rem;
    gap: 0;
  }
  .hero-content { max-width: none; }
  .hero-panel { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .proof-stats { gap: 0.65rem; }
  .nav a.nav-contact {
    display: inline-block;
    width: fit-content;
    margin-top: 0.25rem;
  }
  .about-grid,
  .cards-3,
  .cards-2,
  .stats,
  .proof-stats,
  .method-grid,
  .ai-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .firm-actions,
  .contact-actions,
  .results-actions,
  .firm-section .actions { flex-direction: column; }
  .firm-actions .btn,
  .contact-actions .btn,
  .results-actions .btn,
  .firm-section .actions .btn { width: 100%; }
  .jump-nav { top: 3.5rem; }
}

@media (min-width: 1081px) and (max-width: 1200px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-panel { display: none; }
  .hero-content { max-width: 40rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg {
    animation: none;
    transform: scale(1);
  }
}


@media (max-width: 1080px) {


}
/* cache-bust 20260924z */
