.founder-profile-page {
  --profile-muted: #58665c;
  --profile-line: #d9e3d9;
  --profile-evidence: #edf3ec;
}

.founder-profile-page .founder-hero {
  padding-block: clamp(84px, 7.4vw, 106px) clamp(22px, 3.2vw, 40px);
  background: linear-gradient(150deg, #f1ece2, var(--paper));
}

.founder-profile-page .founder-hero-layout {
  grid-template-areas:
    "identity portrait"
    "main portrait";
  grid-template-columns: minmax(0, 1fr) clamp(210px, 24vw, 264px);
  grid-template-rows: auto 1fr;
  gap: 13px clamp(20px, 4vw, 52px);
  align-items: start;
}

.founder-hero-identity { grid-area: identity; align-self: end; }
.founder-hero-main { grid-area: main; align-self: start; }
.founder-profile-page .founder-hero .founder-photo {
  grid-area: portrait;
  align-self: center;
  width: 100%;
  border-radius: 16px;
}

.founder-profile-page .founder-hero h1 {
  max-width: 13em;
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.45rem);
  line-height: 1.23;
}

.founder-hero-main .founder-roles {
  max-width: 42em;
  margin: 10px 0 0;
  color: var(--founder-forest);
  font-weight: 650;
  line-height: 1.55;
}

.founder-hero-main .founder-roles span { display: inline-block; }

.founder-hero-intro {
  max-width: 37em;
  margin: 9px 0 0;
  color: var(--ink-2);
  line-height: 1.8;
}

.founder-profile-page .founder-sections > .wrap { gap: 8px; }
.founder-profile-page .founder-sections a {
  min-height: 45px;
  padding-inline: 10px;
  border-bottom: 2px solid transparent;
}
.founder-profile-page .founder-sections a[aria-current] {
  border-bottom-color: #365746;
  background: #e6eee2;
  color: #294638;
  font-weight: 700;
  text-decoration: none;
}
.founder-profile-page .founder-section { padding-block: clamp(25px, 3.7vw, 44px); }
.founder-profile-page .founder-section h2 { margin-bottom: 12px; }
.founder-profile-page .founder-lead { margin-bottom: 14px; }
.founder-profile-page .founder-eyebrow { margin-bottom: 6px; }
.founder-profile-page .founder-actions { margin-top: 15px; }
.founder-profile-page .founder-prose p { margin-bottom: 10px; }
.founder-profile-page main [id] { scroll-margin-top: 128px; }

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

.founder-case-featured {
  grid-column: 1 / -1;
  padding: clamp(14px, 2vw, 24px);
  background: var(--profile-evidence);
  border-color: var(--profile-line);
}

.founder-proof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.founder-proof-header h3 { font-size: clamp(1.32rem, 2.9vw, 1.8rem); }
.founder-proof-header p { margin-bottom: 2px; }
.founder-proof-cover { flex: 0 1 220px; margin: 0; }
.founder-proof-cover img { border-radius: 8px; }

.founder-proof-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 11px;
  padding-top: 7px;
  border-top: 1px solid var(--profile-line);
}

.founder-proof-result .founder-case-metric { margin: 0; }
.founder-proof-result strong { font-size: clamp(1.4rem, 3vw, 2.15rem); }
.founder-profile-page .founder-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder-profile-page .founder-case img { max-height: 144px; }
.founder-profile-page .founder-case-copy { padding: clamp(13px, 1.6vw, 19px); }
.founder-profile-page .founder-case-note { margin-top: 10px; }
.founder-profile-page .founder-case-service { color: var(--profile-muted); }

.founder-flow {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: profile-step;
}

.founder-flow-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder-flow-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.founder-flow li {
  position: relative;
  min-width: 0;
  padding: 13px 15px 15px;
  border: 1px solid var(--profile-line);
  border-radius: 9px;
  background: var(--paper);
  counter-increment: profile-step;
}

.founder-flow h3 { margin-bottom: 5px; }
.founder-flow p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.65; }
.founder-flow h3::before {
  content: counter(profile-step, decimal-leading-zero);
  display: block;
  margin-bottom: 2px;
  color: var(--gold-deep);
  font-size: .78rem;
}

.founder-flow li:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: -11px;
  width: 7px;
  height: 7px;
  content: "";
  transform: rotate(-45deg);
  border-right: 1.5px solid #596e61;
  border-bottom: 1.5px solid #596e61;
}
.founder-feedback { margin: 14px 0 0; color: var(--founder-forest); font-weight: 700; }
.founder-method-next { margin: 4px 0 0; }

.founder-cycle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(16px, 2.8vw, 36px);
}

.founder-cycle-diagram {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}

.founder-cycle-diagram::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 2px solid #a5b5a6;
  border-radius: 50%;
  background: radial-gradient(circle, #f9faf4 34%, #e6ede1 100%);
  box-shadow: 0 0 0 5px #dce5d94d, inset 0 0 0 6px #f9faf480;
}

.founder-cycle-hub {
  position: absolute;
  inset: 34%;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: linear-gradient(145deg, #385748, #20362c);
  color: #fffdf5;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 6px 15px #20362c30;
}

.founder-cycle-hub strong { font-size: clamp(.95rem, 2vw, 1.35rem); }
.founder-cycle-nodes { margin: 0; padding: 0; list-style: none; }
.founder-cycle-nodes li { position: absolute; inset: 0; pointer-events: none; }
.founder-cycle-node {
  position: absolute;
  top: var(--node-y);
  left: var(--node-x);
  transform: translate(-50%, -50%);
  border: 1px solid #c5d1c1;
  border-radius: 14px;
  padding: 5px 8px 6px;
  background: #fcfbf5;
  box-shadow: 0 3px 10px #20362c16;
  text-align: center;
  white-space: nowrap;
  line-height: 1.35;
  pointer-events: auto;
  text-decoration: none;
}

.founder-cycle-nodes b {
  display: block;
  font-family: var(--font-ui, sans-serif);
  font-size: .7rem;
  color: var(--gold-deep);
  letter-spacing: .08em;
}

.founder-cycle-node > span {
  display: block;
  color: var(--founder-forest);
  font-size: clamp(.78rem, 1.36vw, 1.01rem);
  font-weight: 700;
}

.founder-cycle-nodes li::after {
  position: absolute;
  top: var(--arrow-y);
  left: var(--arrow-x);
  width: 17px;
  height: 12px;
  content: "";
  transform: translate(-50%, -50%) rotate(var(--arrow-angle));
  background: #466c54;
  clip-path: polygon(0 39%, 60% 39%, 60% 0, 100% 50%, 60% 100%, 60% 61%, 0 61%);
}

.founder-cycle-nodes li:nth-child(1) { --node-x: 50%; --node-y: 12%; --arrow-x: 69%; --arrow-y: 17.1%; --arrow-angle: 30deg; }
.founder-cycle-nodes li:nth-child(2) { --node-x: 82.9%; --node-y: 31%; --arrow-x: 88%; --arrow-y: 50%; --arrow-angle: 90deg; }
.founder-cycle-nodes li:nth-child(3) { --node-x: 82.9%; --node-y: 69%; --arrow-x: 69%; --arrow-y: 82.9%; --arrow-angle: 150deg; }
.founder-cycle-nodes li:nth-child(4) { --node-x: 50%; --node-y: 88%; --arrow-x: 31%; --arrow-y: 82.9%; --arrow-angle: 210deg; }
.founder-cycle-nodes li:nth-child(5) { --node-x: 17.1%; --node-y: 69%; --arrow-x: 12%; --arrow-y: 50%; --arrow-angle: 270deg; }
.founder-cycle-nodes li:nth-child(6) { --node-x: 17.1%; --node-y: 31%; --arrow-x: 31%; --arrow-y: 17.1%; --arrow-angle: 330deg; }

.founder-profile-page .founder-cycle-details { margin: 0; }
.founder-profile-page .founder-cycle-details > li { padding: 0; border: 0; background: transparent; }
.founder-cycle-card {
  display: block;
  height: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.founder-cycle-card h3 { padding-inline-end: 42px; }
.founder-profile-page .founder-cycle-details p { font-size: .94rem; line-height: 1.62; }
.founder-cycle-details li::before { pointer-events: none; }
.founder-cycle-layout a:is(:focus-visible, :target) {
  outline: 2px solid #466c54;
  outline-offset: 3px;
}
.founder-cycle-layout a:hover { border-color: #5c8066; }
.founder-cycle-layout a[aria-current] {
  border-color: #5c8066;
  background: #e7f0e4;
  box-shadow: 0 0 0 2px #5c806633, 0 3px 10px #20362c16;
}

.founder-numbered { counter-reset: founder-card; }
.founder-numbered > li {
  position: relative;
  counter-increment: founder-card;
}
.founder-numbered > li > h3 { padding-inline-end: 42px; }
.founder-numbered > li::before {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 29px;
  content: counter(founder-card, decimal-leading-zero);
  border: 1px solid #c9d4c6;
  border-radius: 7px;
  background: linear-gradient(150deg, #f8faf4, #e5ede1);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px #23362c0b;
  color: #355444;
  font: 700 .78rem/1 var(--font-ui, sans-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.founder-launch-chart,
.founder-indirect {
  margin: 10px 0 0;
  padding: 0 11px 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}

.founder-profile-page summary {
  min-height: 44px;
  padding: 9px 0;
  cursor: pointer;
  color: var(--founder-forest);
  font-size: .93rem;
  font-weight: 700;
}

.founder-profile-page summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.founder-bars {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 4px 0 10px;
  list-style: none;
}

.founder-bars li {
  display: grid;
  grid-template-columns: auto minmax(22px, 1fr) auto;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
}
.founder-bars strong { color: var(--founder-forest); white-space: nowrap; }
.founder-bars meter { width: 100%; height: 14px; accent-color: #4d785d; }
.founder-bars meter::-webkit-meter-optimum-value { background: #4d785d; }
.founder-launch-chart > p, .founder-indirect > p { color: var(--profile-muted); font-size: .86rem; }
.founder-indirect dl { display: flex; gap: 8px; margin: 0; }
.founder-indirect dd { margin: 0; font-weight: 700; }
.founder-results .founder-metrics { grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr)); margin-top: 14px; }

.founder-workflow {
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--profile-line);
  border-radius: 12px;
  background: var(--profile-evidence);
}
.founder-workflow > h3 { margin-bottom: 13px; }

.founder-route-grid { margin-top: 12px; }
.founder-route-grid > li {
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.founder-route-grid p { margin: 0; }
.founder-card-actions { display: flex; flex-wrap: wrap; column-gap: 13px; }
.founder-profile-page .founder-timeline { margin-top: 14px; }
.founder-timeline .founder-card-detail { margin-top: 9px; color: var(--ink-soft); }
.founder-timeline .founder-card-actions { margin-top: 5px; }
.founder-profile-page .founder-timeline li {
  position: relative;
  padding-top: 13px;
  border-top-color: #798d80;
}
.founder-profile-page .founder-timeline li::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: #597060;
}

.founder-family-story {
  margin-top: 15px;
  padding: clamp(14px, 2.6vw, 24px);
  border: 1px solid var(--profile-line);
  border-radius: 14px;
  background: var(--paper);
}
.founder-family-story h3 {
  margin-bottom: 10px;
  color: var(--founder-forest);
  font-size: clamp(1.18rem, 2.7vw, 1.75rem);
}
.founder-family-story .founder-prose p:last-child { margin-bottom: 4px; }
.founder-brand-values { margin-top: 14px; }

@media (max-width: 895px) {
  .founder-profile-page .founder-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .founder-cycle-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .founder-profile-page .founder-hero { padding-block: 80px 20px; }
  .founder-profile-page .founder-hero-layout {
    grid-template-areas: "portrait identity" "main main";
    grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
    gap: 11px 14px;
    align-items: center;
  }
  .founder-profile-page .founder-hero .founder-photo {
    width: 100%;
    justify-self: start;
    border-radius: 10px;
  }
  .founder-hero-identity { align-self: center; }
  .founder-name span { display: block; margin: 7px 0 0; }
  .founder-profile-page .founder-hero h1 { max-width: 15em; }
  .founder-profile-page .founder-hero .btn { padding-inline: 12px; font-size: .92rem; }
  .founder-profile-page .founder-sections > .wrap { gap: 5px; }
  .founder-flow-three, .founder-flow-four, .founder-profile-page .founder-route-grid { grid-template-columns: minmax(0, 1fr); }
  .founder-profile-page .founder-case-grid { grid-template-columns: minmax(0, 1fr); }
  .founder-results .founder-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-flow li:not(:last-child)::after {
    display: block;
    top: auto;
    left: 21px;
    right: auto;
    bottom: -10px;
    transform: rotate(45deg);
  }
  .founder-profile-page .founder-timeline li {
    padding: 0 0 12px 17px;
    border: 0;
    border-inline-start: 2px solid #798d80;
  }
  .founder-profile-page .founder-timeline li::before { top: 5px; left: -6px; }
}

@media (max-width: 420px) {
  .founder-proof-cover { flex-basis: 184px; }
}
