/* Y Assurance PLLC — site styles
   Surface palette mirrors chiarohq.com.
   Type system: Geist (sans) + Instrument Serif (display) + Geist Mono.
*/

:root {
  --bg: #F6F2E9;
  --surface: #FCFAF4;
  --surface-pure: #FFFFFF;
  --ink: #0B1221;
  --ink-2: #475569;
  --ink-3: #94A3B8;
  --line: #E5DDD0;
  --accent: #2563EB;
  --accent-deep: #1E3A8A;
  --sans: 'Geist', -apple-system, 'Inter', 'Helvetica Neue', sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', 'Menlo', 'Monaco', monospace;
  --serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #fff; }

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

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

a.inline {
  color: var(--accent);
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.inline:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* Buttons (mirrors chiaro's pill button) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 18px rgba(37, 99, 235, 0.28);
}
.btn:active { transform: translateY(0); }
.btn--large { padding: 14px 28px; font-size: 15px; }

/* Nav (mirrors chiaro nav style) */
nav.site-nav {
  padding: 14px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}
nav.site-nav.scrolled,
nav.site-nav.is-pinned {
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(232, 230, 224, 0.6);
  position: fixed;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark img {
  height: 30px;
  display: block;
  transition: height 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
nav.site-nav.scrolled .brand-mark img,
nav.site-nav.is-pinned .brand-mark img { height: 22px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
nav.site-nav.scrolled .nav-links a.nav-link,
nav.site-nav.is-pinned .nav-links a.nav-link { color: var(--ink-2); }
nav.site-nav.scrolled .nav-links a.nav-link:hover,
nav.site-nav.is-pinned .nav-links a.nav-link:hover { color: var(--ink); background: rgba(11, 18, 33, 0.04); }
.nav-links .btn { margin-left: 10px; padding: 10px 20px; font-size: 14px; }
/* In transparent nav (over video) — light button */
nav.site-nav:not(.scrolled):not(.is-pinned) .nav-links .btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
nav.site-nav:not(.scrolled):not(.is-pinned) .nav-links .btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

/* Hero video */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050608;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 32px;
  max-width: 980px;
}
.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero-content h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #93C5FD 0%, #fff 30%, #fff 70%, #93C5FD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content .hero-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin: 0 auto 36px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  transition: all 0.18s ease;
}
.trust-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-1px);
}
.trust-pill img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  background: #fff;
}

/* Sections */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.section .section-intro { max-width: 720px; margin: 0 0 72px; }
.section .section-intro .label { margin-bottom: 20px; }
.section .section-intro h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--ink);
}
.section .section-intro h2 em {
  font-style: italic;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #1E3A8A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section .section-intro p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}

/* JOURNEY (mirrors chiaro) */
.journey { padding: 120px 0; border-top: 1px solid var(--line); background: var(--bg); }
.journey-intro { max-width: 720px; margin: 0 0 88px; }
.journey-intro .label {
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.journey-intro h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--ink);
}
.journey-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}

.journey-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  column-gap: 0;
  row-gap: 40px;
}
.flow-ring-cell {
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.ring-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  flex-shrink: 0;
}
.ring-svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(11, 18, 33, 0.07); stroke-width: 2.5; }
.ring-progress {
  fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 352; stroke-dashoffset: 352;
}
.ring-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.18em;
  color: var(--ink-3); text-transform: uppercase; transition: opacity 0.4s ease, transform 0.4s ease;
}
.ring-num em {
  font-style: normal; font-family: var(--serif); font-size: 28px; font-weight: 400;
  letter-spacing: -0.01em; color: var(--ink); margin-left: 6px;
}
.ring-check {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink); opacity: 0; transform: scale(0.7);
}
.ring-check svg { width: 38px; height: 38px; }
.ring-glow {
  position: absolute; inset: -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 18, 33, 0.10) 0%, transparent 60%);
  opacity: 0; pointer-events: none;
}
.flow-connector-cell { align-self: start; margin-top: 61px; min-width: 80px; width: 100%; padding: 0 18px; }
.connector { position: relative; height: 1px; background: rgba(11, 18, 33, 0.08); }
.connector::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.connector::before {
  content: ''; position: absolute; top: 50%; left: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 0 4px rgba(11, 18, 33, 0.06);
}
.flow-step { text-align: center; padding: 0; max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.flow-step h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 22px;
}
.flow-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; }
.flow-bullet { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.3; color: var(--ink-2); opacity: 0; transform: translateY(6px); }
.flow-bullet svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--ink-3); opacity: 0.85; }

@keyframes ringFill { to { stroke-dashoffset: 0; } }
@keyframes connFill { to { transform: scaleX(1); } }
@keyframes connDot {
  0%   { transform: translate(-50%, -50%) scale(1); left: 0%; }
  90%  { transform: translate(-50%, -50%) scale(1); left: 100%; }
  100% { transform: translate(-50%, -50%) scale(0); left: 100%; }
}
@keyframes numFade { to { opacity: 0; transform: scale(0.85); } }
@keyframes checkIn { to { opacity: 1; transform: scale(1); } }
@keyframes glowPulse {
  0%   { opacity: 0; transform: scale(0.92); }
  40%  { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.15); }
}
@keyframes bulletIn { to { opacity: 1; transform: translateY(0); } }

.journey.in-view .ring-1 .ring-progress { animation: ringFill 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s; }
.journey.in-view .ring-2 .ring-progress { animation: ringFill 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards 3.3s; }
.journey.in-view .ring-3 .ring-progress { animation: ringFill 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards 6.4s; }

.journey.in-view .ring-1 .ring-num   { animation: numFade 0.45s ease forwards 2.5s; }
.journey.in-view .ring-1 .ring-check { animation: checkIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 2.6s; }
.journey.in-view .ring-1 .ring-glow  { animation: glowPulse 1.2s ease forwards 2.5s; }

.journey.in-view .ring-2 .ring-num   { animation: numFade 0.45s ease forwards 5.6s; }
.journey.in-view .ring-2 .ring-check { animation: checkIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 5.7s; }
.journey.in-view .ring-2 .ring-glow  { animation: glowPulse 1.2s ease forwards 5.6s; }

.journey.in-view .ring-3 .ring-num   { animation: numFade 0.45s ease forwards 8.7s; }
.journey.in-view .ring-3 .ring-check { animation: checkIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 8.8s; }
.journey.in-view .ring-3 .ring-glow  { animation: glowPulse 1.2s ease forwards 8.7s; }

.journey.in-view .connector-1::after { animation: connFill 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards 2.5s; }
.journey.in-view .connector-2::after { animation: connFill 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards 5.6s; }
.journey.in-view .connector-1::before { animation: connDot 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards 2.5s; }
.journey.in-view .connector-2::before { animation: connDot 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards 5.6s; }

.journey.in-view .flow-bullet { animation: bulletIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  .journey.in-view .ring-progress { stroke-dashoffset: 0; animation: none; }
  .journey.in-view .ring-num { opacity: 0; animation: none; }
  .journey.in-view .ring-check { opacity: 1; transform: scale(1); animation: none; }
  .journey.in-view .connector::after { transform: scaleX(1); animation: none; }
  .journey.in-view .flow-bullet { opacity: 1; transform: none; animation: none; }
}

/* 3-up card grid (clients section) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 18, 33, 0.18);
  box-shadow: 0 22px 50px -24px rgba(11, 18, 33, 0.2);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  stroke-width: 1.6;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
}
.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* Rotator (Claude Code / Codex / Cursor) */
.rotator {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  text-align: left;
}
.rotator-spacer {
  display: inline-block;
  visibility: hidden;
  pointer-events: none;
  color: transparent;
}
.rotator-word {
  --rx: 0%;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(var(--rx)) translateY(24%);
  animation: rotateWord 7.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  will-change: opacity, transform, background-position;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #1E3A8A 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}
.rotator-word:nth-child(2) { animation-delay: 0s; }
.rotator-word:nth-child(3) { animation-delay: 2.5s; }
.rotator-word:nth-child(4) { animation-delay: 5s; }
@keyframes rotateWord {
  0%   { opacity: 0; transform: translateX(0) translateY(24%); }
  4%   { opacity: 1; transform: translateX(0) translateY(0); }
  29%  { opacity: 1; transform: translateX(0) translateY(0); }
  33%  { opacity: 0; transform: translateX(0) translateY(-24%); }
  100% { opacity: 0; transform: translateX(0) translateY(-24%); }
}

/* TEAM GRID (mirrors chiaro Hard-earned depth section exactly) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  position: relative;
  padding: 40px 36px 36px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(11, 18, 33, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 18, 33, 0.12);
  box-shadow: 0 18px 40px -22px rgba(11, 18, 33, 0.18);
}
.team-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}
.team-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 28px;
  color: var(--ink-3);
}
.team-visual {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.team-visual--founders { overflow: visible; }
.logo-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.logo-halo .lh {
  position: absolute;
  object-fit: contain;
  opacity: 0.32;
  filter: grayscale(1) blur(0.5px);
  -webkit-user-drag: none;
  user-select: none;
  will-change: transform;
}
.logo-halo .lh-deloitte {
  width: 88px; height: 19px;
  top: 14px; left: -2%;
  transform: rotate(-5deg);
  animation: drift1 12s ease-in-out infinite;
}
.logo-halo .lh-tiktok {
  width: 90px; height: 22px;
  bottom: 10px; right: -1%;
  transform: rotate(4deg);
  opacity: 0.30;
  animation: drift2 14s ease-in-out infinite;
}
.logo-halo .lh-rj {
  width: 100px; height: 28px;
  top: 14px; right: -3%;
  transform: rotate(6deg);
  opacity: 0.36;
  animation: drift3 16s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-5px) rotate(-5deg); }
}
@keyframes drift2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-7px) rotate(3deg); }
}
@keyframes drift3 {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50%      { transform: translateY(-4px) rotate(6deg); }
}
.team-visual--founders .team-avatars { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .logo-halo .lh { animation: none; }
}

.team-avatars {
  display: flex;
  align-items: center;
}
.team-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(11, 18, 33, 0.08),
    0 10px 24px -12px rgba(11, 18, 33, 0.18);
  background: #F5F3ED;
}
.team-avatar + .team-avatar { margin-left: -28px; z-index: 1; }
.team-avatar:first-child { z-index: 2; }
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-avatar:first-child img { object-position: 50% 38%; }
.team-avatar:nth-child(2) img { object-position: 50% 30%; }

.team-mosaic {
  position: relative;
  width: 220px;
  height: 132px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}
.team-mosaic .tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #F5F3ED;
  box-shadow: 0 0 0 1px rgba(11, 18, 33, 0.06);
}
.team-mosaic .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card:nth-child(3) .team-mosaic .tile img { object-position: 50% 18%; }
.team-card:nth-child(3) .team-mosaic .tile:nth-child(2) img { object-position: 50% 50%; }
.team-card img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.team-card .team-mosaic .tile { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.team-card:hover .team-mosaic .tile:nth-child(1) { transform: translate(-2px, -2px); }
.team-card:hover .team-mosaic .tile:nth-child(2) { transform: translateY(-2px); }
.team-card:hover .team-mosaic .tile:nth-child(3) { transform: translate(2px, -2px); }
.team-card:hover .team-mosaic .tile:nth-child(4) { transform: translate(-2px, 2px); }
.team-card:hover .team-mosaic .tile:nth-child(5) { transform: translateY(2px); }
.team-card:hover .team-mosaic .tile:nth-child(6) { transform: translate(2px, 2px); }

.team-more { margin-top: 56px; text-align: center; }
.team-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid rgba(11, 18, 33, 0.18);
  padding-bottom: 4px;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.2s ease;
}
.team-more-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.team-more-link span { transition: transform 0.2s ease; }
.team-more-link:hover span { transform: translateX(3px); }

.team-card .team-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.team-card .team-body p + p { margin-top: 10px; }
.team-card p .who {
  font-weight: 400;
  color: var(--ink-2);
  margin-right: 6px;
}
.team-card p .who::after {
  content: '·';
  color: var(--ink-3);
  margin: 0 0 0 6px;
}

/* About page (about-hero + story rows) */
.about-page nav.site-nav {
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(232, 230, 224, 0.6);
  position: sticky;
}
.about-page nav.site-nav .nav-links a.nav-link { color: var(--ink-2); }
.about-page nav.site-nav .nav-links a.nav-link:hover { color: var(--ink); background: rgba(11, 18, 33, 0.04); }
.about-page nav.site-nav .nav-links .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.about-page nav.site-nav .nav-links .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

header.about-hero { padding: 96px 0 56px; max-width: 820px; margin: 0 auto; }
header.about-hero .about-hero-inner { padding: 0 32px; }
header.about-hero .label { margin-bottom: 20px; }
header.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--ink);
}
header.about-hero .role {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.55;
}

.story { padding: 24px 0 32px; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
}
.row.reverse .photo { order: 2; }
.row.reverse .text { order: 1; }
.photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--surface);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -14px rgba(0, 0, 0, 0.14);
}
.photo.p1 { background-image: url('about-photos/founders-portrait.jpg'); aspect-ratio: 746 / 1100; background-position: center top; }
.photo.p3 { background-image: url('about-photos/speaking-2.jpg'); }
.photo.p4 { background-image: url('about-photos/austin.jpg'); }

.text p.hook {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 22px;
}
.text p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.text p strong { color: var(--ink); font-weight: 600; }
.person { margin-bottom: 28px; }
.person:last-child { margin-bottom: 0; }
.person-name {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.person p { margin-bottom: 0; }

/* Footer (mirrors chiaro) */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}
footer.site-footer .wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.footer-main {
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 96px;
  align-items: start;
}
.footer-left .footer-brand img {
  height: 22px;
  display: block;
  margin-bottom: 28px;
}
.footer-entity-text p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 60ch;
}
.footer-firm-reg {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-firm-reg span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  text-transform: none;
  letter-spacing: 0.04em;
  margin-left: 8px;
  font-weight: 500;
}
.footer-cta { margin-top: 28px; }
.footer-cta .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.footer-cta .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.35);
}
.footer-creds {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-creds-seal {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: block;
}
.footer-creds-seal img { width: 100%; height: 100%; display: block; object-fit: contain; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.15s ease;
}
.footer-socials a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}
.footer-socials svg { width: 15px; height: 15px; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
}
.footer-right-cols { display: flex; gap: 56px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s ease;
}
.footer-col li a:hover { color: rgba(255, 255, 255, 0.85); }
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.15s ease;
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.6); }

/* Mobile */
@media (max-width: 960px) {
  .journey-flow {
    grid-template-columns: 64px 1fr;
    column-gap: 18px;
    row-gap: 36px;
  }
  .flow-connector-cell { display: none; }
  .journey-flow > div:empty { display: none; }
  .flow-ring-cell { padding: 0; align-self: center; justify-self: center; }
  .flow-step { align-items: flex-start; text-align: left; padding: 0; }
  .flow-step h3 { text-align: left; font-size: 18px; margin-bottom: 10px; line-height: 1.2; }
  .flow-bullets { align-items: flex-start; text-align: left; gap: 6px; }
  .flow-bullet { font-size: 13.5px; line-height: 1.35; }
  .ring-wrap { width: 64px; height: 64px; }
  .ring-num em { font-size: 18px; }
  .ring-check svg { width: 22px; height: 22px; }
  .journey-flow > :nth-child(1) { grid-row: 1; grid-column: 1; }
  .journey-flow > :nth-child(6) { grid-row: 1; grid-column: 2; }
  .journey-flow > :nth-child(3) { grid-row: 2; grid-column: 1; }
  .journey-flow > :nth-child(8) { grid-row: 2; grid-column: 2; }
  .journey-flow > :nth-child(5) { grid-row: 3; grid-column: 1; }
  .journey-flow > :nth-child(10) { grid-row: 3; grid-column: 2; }
  .team-card { padding: 32px 28px 28px; border-radius: 16px; }
  .team-title { font-size: 20px; }
  .team-sub { font-size: 14px; margin-bottom: 22px; }
  .team-visual { height: auto; margin-bottom: 24px; }
  .team-avatar { width: 88px; height: 88px; }
  .team-avatar + .team-avatar { margin-left: -24px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .brand-mark img { height: 24px; }
  nav.site-nav.scrolled .brand-mark img,
  nav.site-nav.is-pinned .brand-mark img { height: 20px; }
  .nav-links { gap: 0; }
  .nav-links a.nav-link { padding: 6px 10px; font-size: 13px; }
  .nav-links .btn { padding: 8px 16px; font-size: 13px; }
  .hero-content { padding: 0 24px; }
  .hero-content h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero-content .hero-lead { font-size: 16px; }
  .section { padding: 72px 0; }
  .journey { padding: 72px 0; }
  .journey-intro { margin-bottom: 56px; }
  .section .section-intro { margin-bottom: 48px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 24px; }
  .feature-card h3 { font-size: 26px; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  header.about-hero { padding: 80px 0 16px; }
  .row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .row.reverse .photo, .row.reverse .text { order: initial; }
  .photo { max-width: 420px; width: 100%; margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 40px; }
  .footer-right { align-items: flex-start; gap: 32px; }
  .footer-right-cols { flex-direction: column; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
  }
  .footer-creds-seal { width: 60px; height: 60px; }
}

@media (max-width: 640px) {
  header.about-hero h1 { font-size: 40px; line-height: 1.06; }
  header.about-hero .role { font-size: 14.5px; }
  .row { gap: 26px; padding: 32px 0; }
  .photo { max-width: none; border-radius: 10px; }
  .text p.hook { font-size: 22px; margin-bottom: 16px; }
  .text p { font-size: 15.5px; line-height: 1.65; }
  .person { margin-bottom: 22px; }
}
