/* /joseph/ founder profile (restored from the Oct 12 release, dark). Loaded only by joseph/index.html. */
#main.profile-grid .eyebrow { margin: 0 0 var(--stz-space-3); }
#main.profile-grid .small { font-size: var(--stz-size-label); line-height: var(--stz-leading-dense); }
#main.profile-grid .text-link { display: inline-flex; align-items: center; gap: var(--stz-space-2); min-height: 44px; border-bottom: 1px solid var(--stz-border-strong); color: var(--stz-text); font-size: var(--stz-size-small); font-weight: var(--stz-weight-medium); }
#main.profile-grid .text-link:hover { border-color: currentColor; }
#main.profile-grid { background: var(--stz-surface-base, var(--stz-bg)); color: var(--stz-text); }
/* ── Joseph's profile page: six-column block composition, carried over from his personal brand. ─── */
.profile-tile { position: relative; min-width: 0; padding: var(--stz-space-8); background: var(--stz-surface-panel); display: flex; flex-direction: column; justify-content: space-between; gap: var(--stz-space-6); }
.profile-tile p:last-child { margin: 0; }
.profile-tile h2 { font-size: clamp(var(--stz-size-h5),3vw,var(--stz-size-h3)); line-height: 1.08; }
.profile-tile .eyebrow { font-size: var(--stz-size-caption); }
.profile-tile a { color: inherit; }
a.profile-tile:hover { outline: 1px solid var(--stz-border-strong); outline-offset: -1px; }
.profile-page .eyebrow { color: inherit; font-weight: var(--stz-weight-medium); letter-spacing: normal; text-transform: none; }
.founder-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.profile-identity { padding: 0; overflow: hidden; gap: var(--stz-space-6); justify-content: flex-start; }
.profile-identity > div { padding: 0 var(--stz-space-6) var(--stz-space-6); }
.tile-statement { font-size: var(--stz-size-h5); line-height: 1.15; letter-spacing: var(--stz-tracking-heading); color: var(--stz-text); }
.tile-statement strong { color: var(--stz-accent-text); }
.profile-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); grid-auto-rows: minmax(180px,auto); gap: var(--stz-space-1); padding: var(--stz-space-1); max-width: 1800px; margin-inline: auto; }
.profile-identity { grid-column: span 2; grid-row: span 2; background: var(--stz-surface-brand); color: var(--stz-on-surface-brand); }
.profile-identity h1 { font-size: var(--stz-size-h4); color: inherit; line-height: var(--stz-lh-h4); }
.profile-identity .eyebrow { display: block; margin-top: var(--stz-space-6); }
.profile-intro { grid-column: span 2; grid-row: span 2; }
.profile-intro .tile-statement { font-size: clamp(var(--stz-size-h5),3vw,var(--stz-size-h3)); }
.profile-story { grid-column: span 2; grid-row: span 3; justify-content: end; overflow: hidden; isolation: isolate; background: var(--stz-surface-raised); padding-top: var(--stz-space-14); }
.profile-story h2 { font-size: clamp(var(--stz-size-h3),4.4vw,var(--stz-size-h1)); }
.outlined { color: transparent; -webkit-text-stroke: 1px var(--stz-text); }
.profile-ring { width: 100%; aspect-ratio: 1; position: absolute; z-index: -1; top: -5%; right: -25%; border: 1px solid var(--stz-border-strong); border-radius: var(--stz-radius-round); }
.profile-ring::after { content: ''; position: absolute; inset: 15%; border: 1px solid var(--stz-accent-decor); border-radius: var(--stz-radius-round); }
.profile-stat { grid-column: span 1; min-height: 210px; padding: var(--stz-space-6); }
.profile-stat strong { font-size: var(--stz-size-display-page-sm); line-height: var(--stz-leading-display); }
.profile-stat p { font-size: var(--stz-size-small); line-height: var(--stz-leading-dense); }
.stat-retail { background: var(--stz-surface-raised); color: var(--stz-text); }
.stat-retail strong { color: inherit; }
.stat-payments { background: var(--stz-surface-brand); color: var(--stz-on-surface-brand); }
.stat-payments strong { color: inherit; }
.profile-payments { grid-column: span 2; grid-row: span 2; background: var(--stz-accent-900); color: var(--stz-on-surface-brand); }
.profile-payments h2 { color: inherit; }
.profile-retail, .profile-automation { grid-column: span 2; grid-row: span 2; min-height: 450px; }
.profile-retail { background: var(--stz-surface-raised); color: var(--stz-text); }
.profile-retail h2, .profile-retail a { color: inherit; }
.profile-calls, .profile-lab { grid-column: span 1; padding: var(--stz-space-5); }
.profile-calls h2, .profile-lab h2 { font-size: var(--stz-size-h6); }
.profile-calls p, .profile-lab p { font-size: var(--stz-size-small); line-height: var(--stz-leading-dense); }
.profile-lab { background: var(--stz-surface-raised); }
.profile-help { grid-column: span 2; }
.profile-help ul { padding-left: var(--stz-space-4); margin: 0; font-size: var(--stz-size-small); }
.profile-quote { grid-column: span 4; }
.profile-career { grid-column: span 6; }
.profile-career > p:not(.eyebrow) { max-width: 70ch; }
.profile-quote blockquote { margin: 0; font-size: var(--stz-size-h4); line-height: var(--stz-lh-h4); letter-spacing: var(--stz-tracking-tight); color: var(--stz-text); }
.profile-contact { grid-column: span 3; background: var(--stz-surface-brand); color: var(--stz-on-surface-brand); }
.profile-contact h2 { color: inherit; }
.profile-contact > span { font-size: var(--stz-size-small); overflow-wrap: anywhere; }
.profile-contact:focus-visible, .profile-identity :focus-visible { outline-color: var(--stz-focus-on-brand); }
.profile-social { grid-column: span 1; justify-content: center; align-items: center; text-align: center; gap: var(--stz-space-2); padding: var(--stz-space-4); }
.profile-social > span { font-size: var(--stz-size-label); }
.social-accent { background: var(--stz-surface-raised); }
@media (prefers-reduced-motion: no-preference) {
  a.profile-tile { transition: filter var(--stz-duration-fast) ease; }
  a.profile-tile:hover { filter: brightness(1.08); }
}
@media (max-width: 1099px) {
  .profile-tile { padding: var(--stz-space-6); }
  .profile-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .profile-story { grid-column: 3 / span 2; grid-row: 3 / span 3; min-height: 500px; }
  .profile-stat { grid-row: 3; }
  .profile-payments { grid-column: 1 / span 2; grid-row: 4 / span 2; }
  .profile-calls, .profile-lab { grid-column: span 2; }
  .profile-quote { grid-column: span 2; }
  .profile-contact { grid-column: span 4; }
  .profile-career { grid-column: span 4; }
  .profile-social:last-child { grid-column: span 2; }
}
@media (max-width: 767px) {
  .profile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: auto; }
  .profile-grid > .profile-tile { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .profile-grid > .profile-stat { grid-column: span 1; min-height: 230px; padding: var(--stz-space-5); }
  .profile-identity { min-height: 440px !important; padding: 0; }
  .profile-grid > .profile-story { min-height: 550px; }
  .profile-story h2 { font-size: var(--stz-size-h1); }
  .profile-grid > .profile-social { min-height: 120px; }
  .profile-tile h2 { font-size: var(--stz-size-h4); }
  .profile-quote blockquote { font-size: var(--stz-size-h5); line-height: var(--stz-lh-h5); }
}
