@import url('/font-system.css?v=20261117f');
/*
 * Sparlab public portfolio theme
 *
 * This stylesheet is intentionally scoped to the public business portfolio,
 * personal profile home, and their public subpages. It loads after
 * public-sections.css so the established route structure keeps working while
 * the presentation follows the supplied portfolio handoff.
 */

body.portfolio-business-home,
body.spr-person-profile-home,
body.spr-business-page,
body.spr-person-page {
  --portfolio-page: #ffffff;
  --portfolio-ink: var(--spr-ink, #222222);
  --portfolio-muted: var(--spr-muted, #626260);
  --portfolio-line: var(--spr-stroke, #e5e5e2);
  --portfolio-panel: var(--spr-surface, #fff);
  --portfolio-focus: #555b56;
  --portfolio-owner: var(--portfolio-ink);
  --portfolio-blue: #d0e1ed;
  --portfolio-lavender: #dbd2ed;
  --portfolio-peach: #f1d5c7;
  --portfolio-ease: cubic-bezier(.2, .8, .2, 1);
  --portfolio-editorial: var(--font-sans);
  min-height: 100svh;
  background: #ffffff;
  color: var(--portfolio-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

:is(body.portfolio-business-home, body.spr-person-profile-home, body.spr-business-page, body.spr-person-page)
  :is(button, input, select, textarea, kbd, label) {
  font-family: var(--font-sans);
}

body.portfolio-business-home a,
body.portfolio-business-home button,
body.spr-person-profile-home a,
body.spr-person-profile-home button,
body.spr-business-page a,
body.spr-business-page button,
body.spr-person-page a,
body.spr-person-page button {
  -webkit-tap-highlight-color: transparent;
}

body.portfolio-business-home a:focus-visible,
body.portfolio-business-home button:focus-visible,
body.portfolio-business-home [tabindex="0"]:focus-visible,
body.spr-person-profile-home a:focus-visible,
body.spr-person-profile-home button:focus-visible,
body.spr-business-page a:focus-visible,
body.spr-business-page button:focus-visible,
body.spr-person-page a:focus-visible,
body.spr-person-page button:focus-visible {
  outline: 2px solid var(--portfolio-focus);
  outline-offset: 5px;
}

.portfolio-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.portfolio-ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .8;
}

.portfolio-ambient span:nth-child(1) {
  top: 28vh;
  left: -20vw;
  width: 70vw;
  height: 62vh;
  background: radial-gradient(ellipse, var(--portfolio-blue), #e1e8ef 45%, transparent 70%);
  transform: rotate(-20deg);
}

.portfolio-ambient span:nth-child(2) {
  top: 35vh;
  left: 17vw;
  width: 80vw;
  height: 64vh;
  background: radial-gradient(ellipse, var(--portfolio-lavender), #e8def0 40%, transparent 70%);
}

.portfolio-ambient span:nth-child(3) {
  top: 20vh;
  right: -22vw;
  width: 60vw;
  height: 75vh;
  background: radial-gradient(ellipse, var(--portfolio-peach), #f1e4d8 50%, transparent 70%);
}

.portfolio-ambient::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  content: "";
  opacity: .035;
}

/* Business portfolio home ------------------------------------------------- */

body.portfolio-business-home > .spr-business-header {
  position: relative;
  top: auto;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(132px, 1fr) auto minmax(132px, 1fr);
  min-height: 104px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 28px 52px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

body.portfolio-business-home > .public-site-header {
  position: relative;
  top: auto;
  z-index: 5;
  border-bottom: 1px solid var(--portfolio-line);
  background: #fff;
  backdrop-filter: none;
}

body.portfolio-business-home .public-site-header-inner {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) auto minmax(132px, 1fr);
  min-height: 68px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 36px);
  gap: 24px;
}

body.portfolio-business-home .public-home-mark {
  position: relative;
  width: 132px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.portfolio-business-home .public-home-mark img,
body.spr-person-profile-home .spr-wordmark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 202px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}

body.portfolio-business-home .spr-wordmark {
  justify-self: start;
  color: var(--portfolio-ink);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -.075em;
  text-decoration: none;
}

.portfolio-header-note {
  justify-self: center;
  align-self: center;
  color: #71736e;
  font-size: 11px;
  line-height: 25px;
}

.portfolio-header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
}

body.portfolio-business-home .spr-business-mark {
  display: inline-flex;
  max-width: 220px;
  align-items: center;
  gap: 9px;
  color: var(--portfolio-ink);
  text-decoration: none;
}

body.portfolio-business-home .public-business-header-brand {
  display: inline-flex;
  max-width: 220px;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--portfolio-ink);
  text-decoration: none;
}

body.portfolio-business-home .spr-business-mark img,
body.portfolio-business-home .spr-business-mark span {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 5px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: linear-gradient(145deg, #e7eddf, #e6e6ef);
  box-shadow: 0 8px 22px -15px rgba(66, 70, 62, .35), 0 0 0 1px rgba(255, 255, 255, .55);
  color: #5c6555;
}

body.portfolio-business-home .public-business-header-brand img,
body.portfolio-business-home .public-business-header-brand > span {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 5px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: linear-gradient(145deg, #e7eddf, #e6e6ef);
  box-shadow: 0 8px 22px -15px rgba(66, 70, 62, .35), 0 0 0 1px rgba(255, 255, 255, .55);
  color: #5c6555;
}

body.portfolio-business-home .spr-business-mark strong {
  font-size: 11px;
  font-weight: 600;
}

body.portfolio-business-home .public-business-header-brand strong {
  max-width: 150px;
  overflow: hidden;
  color: var(--portfolio-ink);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-contact,
.spr-profile-return {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--portfolio-line);
  border-radius: var(--capsule-radius);
  background: var(--portfolio-panel);
  color: var(--portfolio-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.portfolio-contact {
  border-color: var(--capsule-active);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.portfolio-contact:hover {
  border-color: #383a38;
  background: #383a38;
  color: var(--capsule-active-text);
}

.spr-profile-return:hover {
  border-color: #c8cac5;
  background: var(--spr-surface-muted, #f5f5f3);
  color: var(--portfolio-ink);
}

body.portfolio-business-home main {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.portfolio-business-home .business-cover-hero {
  position: relative;
  width: min(calc(100% - 32px), 1080px);
  height: clamp(132px, 18vw, 220px);
  min-height: 0;
  margin: clamp(18px, 3vw, 36px) auto 46px;
  padding: 4px;
  overflow: visible;
  aspect-ratio: auto;
  border: 1px solid var(--portfolio-line);
  border-radius: var(--spr-radius-card, 26px);
  background: var(--portfolio-panel);
  box-shadow: var(--spr-elevation, 0 12px 32px #2628220e);
}

body.portfolio-business-home .business-cover-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--spr-radius-card, 26px) - 5px);
}

body.portfolio-business-home .business-cover-image,
body.portfolio-business-home .business-cover-fallback {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--spr-radius-card, 26px) - 5px);
  object-fit: cover;
}

body.portfolio-business-home .business-cover-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #e8e8e5, #f5f5f2 62%, #dedfdb);
  color: #555752;
  font: 500 32px/1 var(--portfolio-editorial);
}

body.portfolio-business-home .business-cover-logo {
  position: absolute;
  right: auto;
  bottom: -36px;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--spr-surface-muted, #f4f4f1);
  box-shadow: var(--spr-elevation, 0 12px 32px #2628220e);
  color: #555752;
  font: 400 28px/1 var(--portfolio-editorial);
  transform: translateX(-50%);
}

body.portfolio-business-home .business-cover-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-intro {
  padding: 4px 20px 0;
  text-align: center;
}

.portfolio-eyebrow {
  margin: 0;
  color: #71716c;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.portfolio-intro h1 {
  margin: 8px auto 0;
  color: var(--portfolio-ink);
  font-family: var(--portfolio-editorial);
  font-size: clamp(48px, 5.1vw, 76px);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.portfolio-owner {
  margin: 10px 0 0;
  color: #62665d;
  font-size: .875rem;
}

.portfolio-owner a {
  color: var(--portfolio-owner);
  font-weight: 700;
  text-decoration: none;
}

.portfolio-owner strong {
  font-weight: 700;
}

.portfolio-owner a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portfolio-bio {
  max-width: 58ch;
  margin: 12px auto 0;
  color: #565b52;
  font-size: .9375rem;
  line-height: 1.55;
}

.portfolio-bio a {
  margin-left: 6px;
  padding: 6px 0;
  color: var(--portfolio-ink);
  font-weight: 700;
  text-decoration-color: #c3c6ba;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.portfolio-bio a:hover {
  color: var(--portfolio-ink);
  text-decoration-color: currentColor;
}

.portfolio-socials,
.spr-profile-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px auto 0;
}

.portfolio-socials {
  flex-wrap: wrap;
  margin-top: 16px;
}

.portfolio-socials a,
.spr-profile-socials a {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--portfolio-line);
  border-radius: 50%;
  background: var(--portfolio-panel);
  color: var(--portfolio-ink);
  text-decoration: none;
  transition: transform .2s var(--portfolio-ease), background .2s, border-color .2s;
}

.portfolio-socials a:hover,
.spr-profile-socials a:hover {
  border-color: #c8cac5;
  background: var(--spr-surface-muted, #f5f5f3);
  color: var(--portfolio-ink);
}

.portfolio-socials svg,
.spr-profile-socials svg {
  display: block;
  width: 19px;
  height: 19px;
}

.portfolio-secondary-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 10px auto 0;
}

.portfolio-secondary-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--portfolio-line);
  border-radius: 999px;
  background: var(--portfolio-panel);
  color: var(--portfolio-ink);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
}

.portfolio-secondary-links a:hover {
  border-color: #c8cac5;
  background: var(--spr-surface-muted, #f5f5f3);
  color: var(--portfolio-ink);
}

.portfolio-stack {
  width: min(calc(100% - 32px), 920px);
  margin: clamp(24px, 4vw, 40px) auto 0;
}

.portfolio-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--portfolio-line);
  border-radius: var(--capsule-radius);
  background: var(--capsule-track);
}

.portfolio-tabs[data-portfolio-tab-count="1"] { max-width: 130px; }
.portfolio-tabs[data-portfolio-tab-count="2"] { max-width: 260px; }
.portfolio-tabs[data-portfolio-tab-count="3"] { max-width: 390px; }
.portfolio-tabs:is([data-portfolio-tab-count="1"], [data-portfolio-tab-count="2"], [data-portfolio-tab-count="3"]) {
  margin-inline: auto;
}

.portfolio-tab {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: var(--capsule-radius);
  color: var(--portfolio-ink);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.portfolio-tab:hover,
.portfolio-tab:focus-visible {
  background: #e9eae6;
  color: var(--portfolio-ink);
}

.portfolio-tab[aria-selected="true"],
.portfolio-tab.is-active,
.portfolio-tab.active {
  border-color: var(--capsule-active);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.portfolio-main-card {
  margin-top: 12px;
  border: 1px solid var(--portfolio-line);
  border-radius: var(--spr-radius-card, 26px);
  background: var(--portfolio-panel);
  box-shadow: var(--spr-elevation, 0 12px 32px #2628220e);
}

.portfolio-panel-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(16px, 3.4vw, 36px);
  animation: portfolio-reveal .35s var(--portfolio-ease);
}

@keyframes portfolio-reveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.portfolio-panel-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
  min-width: 0;
}

.portfolio-panel-intro h2 {
  margin: 0;
  color: var(--portfolio-ink);
  font-family: var(--portfolio-editorial);
  font-size: var(--type-section-size);
  line-height: var(--type-section-line);
}

.portfolio-panel-view {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 2px;
  color: var(--portfolio-ink);
  font-size: .875rem;
  font-weight: 600;
  text-decoration-color: #969b91;
  text-underline-offset: .22em;
}

.portfolio-panel-view:hover {
  color: var(--portfolio-ink);
  text-decoration-color: currentColor;
}

.portfolio-row-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 16px);
  min-width: 0;
}

.portfolio-row {
  text-align: left;
  text-decoration: none;
}

.portfolio-row:hover .portfolio-row-title {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.portfolio-row-copy {
  display: block;
  min-width: 0;
  margin-top: auto;
}

.portfolio-row-title {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.3px;
  overflow-wrap: anywhere;
}

.portfolio-row-description {
  display: block;
  margin-top: 4px;
  color: #62665d;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.portfolio-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #62665d;
  font-size: .9375rem;
}

.portfolio-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portfolio-footer {
  display: flex;
  width: min(calc(100% - 32px), 1080px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 36px auto 0;
  padding: 18px 0 24px;
  border-top: 1px solid var(--portfolio-line);
  color: #62665d;
  font-size: .8125rem;
}

.portfolio-footer a {
  color: var(--portfolio-ink);
  font-weight: 700;
  text-decoration: none;
}

body.portfolio-business-home > .public-footer,
body.portfolio-business-home > .spr-footer,
body.spr-person-profile-home > .spr-footer {
  display: none;
}

/* Personal profile home --------------------------------------------------- */

body.spr-person-profile-home > .spr-person-header {
  position: relative;
  top: auto;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  min-height: 100px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 28px 52px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

body.spr-person-profile-home .spr-wordmark {
  position: relative;
  display: block;
  width: 132px;
  height: 40px;
  overflow: hidden;
  justify-self: start;
  color: var(--portfolio-ink);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -.075em;
  text-decoration: none;
}

.spr-profile-header-note {
  justify-self: center;
  align-self: center;
  color: #71736e;
  font-size: 11px;
}

body.spr-person-profile-home .spr-profile-return {
  max-width: min(42vw, 220px);
  overflow: hidden;
  justify-self: end;
  text-overflow: ellipsis;
}

body.spr-person-profile-home main,
.spr-profile-linktree {
  width: min(calc(100% - 36px), 480px);
  margin: 28px auto 0;
  padding: 0 0 36px;
}

.spr-profile-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spr-profile-avatar {
  position: relative;
  display: grid;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #eeeeeb, #dbded8);
  box-shadow: 0 0 0 1px var(--portfolio-line), var(--spr-elevation, 0 12px 32px #2628220e);
  color: #555752;
  font-family: var(--portfolio-editorial);
  font-size: 29px;
  letter-spacing: -1.5px;
}

.spr-profile-avatar { order: 1; }
.spr-profile-socials { order: 2; }
.spr-profile-identity h1 { order: 3; }
.spr-profile-roles { order: 4; }
.spr-profile-headline { order: 5; }
.spr-profile-bio { order: 6; }
.spr-profile-location { order: 7; }
.spr-profile-credentials { order: 8; }

.spr-profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spr-profile-identity h1 {
  margin: 20px 0 14px;
  color: var(--portfolio-ink);
  font-family: var(--portfolio-editorial);
  font-size: 43px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.6px;
  overflow-wrap: anywhere;
}

.spr-profile-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.spr-profile-roles > * {
  margin: 0;
  padding: 5px 10px;
  border: 1px solid rgba(119, 126, 109, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .45);
  color: #70766a;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .15px;
}

.spr-profile-headline {
  margin: 13px 0 0;
  color: #75796e;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.spr-profile-bio {
  max-width: 390px;
  margin: 15px auto 0;
  color: #6f7569;
  font-size: 12px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.spr-profile-bio a {
  margin-left: 5px;
  color: var(--portfolio-ink);
  font-size: 11px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.spr-profile-location {
  margin: 10px 0 0;
  color: #85897f;
  font-size: 10px;
  line-height: 1.6;
}

.spr-profile-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px auto 0;
  padding: 0;
  list-style: none;
}

.spr-profile-credentials li,
.spr-profile-credentials span {
  padding: 5px 9px;
  border: 1px solid rgba(119, 126, 109, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  color: #777d70;
  font-size: 9px;
}

.spr-profile-socials {
  margin-top: 14px;
  gap: 9px;
}

.spr-profile-socials svg {
  width: 18px;
  height: 18px;
}

.spr-profile-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  margin-top: 30px;
}

.spr-profile-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 17px 22px;
  border: 1px solid rgba(255, 255, 255, .93);
  border-radius: 17px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 7px 22px -17px rgba(102, 101, 117, .3);
  color: var(--portfolio-ink);
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(20px);
  transition: transform .25s var(--portfolio-ease), background .25s, box-shadow .25s;
}

.spr-profile-link:hover {
  background: #fff;
  box-shadow: 0 14px 25px -18px rgba(102, 101, 117, .4);
  color: var(--portfolio-ink);
  transform: translateY(-3px);
}

.spr-profile-link.featured,
.spr-profile-link.is-featured,
.spr-profile-link[data-featured="true"] {
  min-height: 88px;
  justify-content: flex-start;
  background: rgba(255, 255, 255, .94);
  text-align: left;
}

.spr-profile-business-mark {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(157, 170, 138, .1);
  border-radius: 12px;
  background: #eef1e8;
  color: #667159;
  font-family: var(--portfolio-editorial);
  font-size: 16px;
  letter-spacing: -.8px;
}

.spr-profile-business-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spr-profile-link-copy {
  min-width: 0;
}

.spr-profile-link-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.2px;
  overflow-wrap: anywhere;
}

.spr-profile-link.featured .spr-profile-link-title,
.spr-profile-link.is-featured .spr-profile-link-title,
.spr-profile-link[data-featured="true"] .spr-profile-link-title {
  font-size: 15px;
}

.spr-profile-link-description {
  display: block;
  margin-top: 4px;
  color: #858b7c;
  font-size: 10px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.spr-profile-signature {
  margin: 27px 0 0;
  color: #9a9e92;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.spr-profile-signature a {
  color: #777e6c;
  font-weight: 600;
  text-decoration: none;
}

.spr-profile-signature a:hover {
  color: #777e6c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Matching public subpages ----------------------------------------------- */

body.spr-business-page:not(.portfolio-business-home) > .spr-business-header,
body.spr-person-page:not(.spr-person-profile-home) > .spr-person-header {
  border-bottom: 1px solid var(--portfolio-line);
  background: var(--portfolio-panel);
  box-shadow: 0 6px 20px #26282205;
  backdrop-filter: blur(22px);
}

body.spr-business-page:not(.portfolio-business-home) .spr-wordmark,
body.spr-person-page:not(.spr-person-profile-home) .spr-wordmark {
  color: var(--portfolio-ink);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -.055em;
}

body.spr-business-page:not(.portfolio-business-home) .spr-wordmark img,
body.spr-person-page:not(.spr-person-profile-home) .spr-wordmark img {
  display: block;
  width: 116px;
  height: 30px;
  object-fit: contain;
}

body.spr-business-page:not(.portfolio-business-home) .spr-business-header nav a,
body.spr-person-page:not(.spr-person-profile-home) .spr-person-header nav a {
  color: #74786f;
  font-size: 12px;
  font-weight: 600;
}

body.spr-business-page:not(.portfolio-business-home) .spr-business-header nav a:hover,
body.spr-person-page:not(.spr-person-profile-home) .spr-person-header nav a:hover {
  background: rgba(255, 255, 255, .7);
  color: var(--portfolio-ink);
}

body.spr-business-page:not(.portfolio-business-home) .spr-business-header nav a[aria-current="page"],
body.spr-person-page:not(.spr-person-profile-home) .spr-person-header nav a[aria-current="page"] {
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

body.spr-business-page:not(.portfolio-business-home) .spr-business-mark img,
body.spr-business-page:not(.portfolio-business-home) .spr-business-mark span {
  border-radius: 50%;
  background: #eef1e8;
  color: #667159;
}

body.spr-business-page:not(.portfolio-business-home) main,
body.spr-person-page:not(.spr-person-profile-home) main {
  position: relative;
}

body.spr-business-page:not(.portfolio-business-home) .spr-page-heading,
body.spr-person-page:not(.spr-person-profile-home) .spr-page-heading {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 30px 70px -42px rgba(74, 69, 88, .3), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px);
}

body.spr-business-page:not(.portfolio-business-home) h1,
body.spr-person-page:not(.spr-person-profile-home) h1,
body.spr-business-page:not(.portfolio-business-home) h2,
body.spr-person-page:not(.spr-person-profile-home) h2,
body.spr-business-page:not(.portfolio-business-home) h3,
body.spr-person-page:not(.spr-person-profile-home) h3 {
  color: var(--portfolio-ink);
  font-family: var(--portfolio-editorial);
  font-weight: 400;
}

body.spr-business-page:not(.portfolio-business-home) .spr-kicker,
body.spr-person-page:not(.spr-person-profile-home) .spr-kicker {
  color: #7d8177;
  font-size: 9px;
  letter-spacing: 1.65px;
}

body.spr-business-page:not(.portfolio-business-home) .spr-card,
body.spr-person-page:not(.spr-person-profile-home) .spr-card,
body.spr-business-page:not(.portfolio-business-home) .spr-empty,
body.spr-person-page:not(.spr-person-profile-home) .spr-empty {
  border-color: rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .79);
  box-shadow: 0 18px 46px -34px rgba(74, 69, 88, .36), inset 0 1px 0 #fff;
  backdrop-filter: blur(20px);
}

body.spr-business-page:not(.portfolio-business-home) .spr-card,
body.spr-person-page:not(.spr-person-profile-home) .spr-card,
body.spr-business-page:not(.portfolio-business-home) .spr-card-image img,
body.spr-person-page:not(.spr-person-profile-home) .spr-card-image img {
  transition: transform .25s var(--portfolio-ease), background .25s, box-shadow .25s;
}

body.spr-business-page:not(.portfolio-business-home) .spr-card:hover,
body.spr-person-page:not(.spr-person-profile-home) .spr-card:hover {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 24px 58px -36px rgba(74, 69, 88, .4);
  transform: translateY(-3px);
}

body.spr-business-page:not(.portfolio-business-home) .spr-avatar,
body.spr-person-page:not(.spr-person-profile-home) .spr-avatar {
  border-radius: 50%;
  background: linear-gradient(145deg, #e7eddf, #e6e6ef);
  color: #5c6555;
  font-family: var(--portfolio-editorial);
}

body.spr-business-page:not(.portfolio-business-home) .spr-gallery figure,
body.spr-person-page:not(.spr-person-profile-home) .spr-gallery figure,
body.spr-business-page:not(.portfolio-business-home) .spr-detail-heading img,
body.spr-person-page:not(.spr-person-profile-home) .spr-detail-heading img,
body.spr-business-page:not(.portfolio-business-home) .spr-article-cover,
body.spr-person-page:not(.spr-person-profile-home) .spr-article-cover {
  border-color: rgba(255, 255, 255, .9);
  border-radius: 22px;
  box-shadow: 0 18px 48px -34px rgba(74, 69, 88, .32);
}

body.spr-business-page:not(.portfolio-business-home) .spr-prose,
body.spr-person-page:not(.spr-person-profile-home) .spr-prose {
  color: #4f534b;
  font-family: var(--font-sans);
}

body.spr-business-page:not(.portfolio-business-home) .spr-button,
body.spr-person-page:not(.spr-person-profile-home) .spr-button {
  background: var(--capsule-active);
}

body.spr-business-page:not(.portfolio-business-home) .spr-button:hover,
body.spr-person-page:not(.spr-person-profile-home) .spr-button:hover {
  background: #292929;
}

body.spr-business-page:not(.portfolio-business-home) .spr-footer,
body.spr-person-page:not(.spr-person-profile-home) .spr-footer {
  border-color: var(--portfolio-line);
  color: #8f9089;
}

/* Responsive behavior ---------------------------------------------------- */

@media (max-width: 1050px) {
  body.portfolio-business-home > .spr-business-header,
  body.spr-person-profile-home > .spr-person-header {
    padding-right: 36px;
    padding-left: 36px;
  }

}

@media (max-width: 900px) {
  body.spr-business-page:not(.portfolio-business-home) > .spr-business-header {
    grid-template-columns: auto 1fr auto;
  }

  body.spr-business-page:not(.portfolio-business-home) > .spr-business-header nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: 100%;
    padding-top: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 700px) {
  body.portfolio-business-home > .spr-business-header,
  body.spr-person-profile-home > .spr-person-header {
    grid-template-columns: 1fr auto;
    min-height: 84px;
    padding: 20px 23px;
  }

  body.portfolio-business-home .public-site-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 60px;
    gap: 12px;
    padding: 8px 16px;
  }

  .portfolio-header-note,
  .spr-profile-header-note {
    display: none;
  }

  body.portfolio-business-home .spr-wordmark,
  body.spr-person-profile-home .spr-wordmark {
    font-size: 1.4rem;
  }

  body.portfolio-business-home .spr-business-mark strong {
    display: none;
  }

  body.portfolio-business-home .public-business-header-brand strong {
    display: none;
  }

  body.portfolio-business-home .spr-business-mark img,
  body.portfolio-business-home .spr-business-mark span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  body.portfolio-business-home .public-business-header-brand img,
  body.portfolio-business-home .public-business-header-brand > span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  body.portfolio-business-home .public-home-mark,
  body.spr-person-profile-home .spr-wordmark {
    width: 112px;
    height: 36px;
  }

  body.portfolio-business-home .public-home-mark img,
  body.spr-person-profile-home .spr-wordmark img {
    width: 176px;
  }

  body.portfolio-business-home .business-cover-hero {
    height: clamp(118px, 33vw, 170px);
    margin-top: 16px;
    margin-bottom: 37px;
    border-radius: var(--spr-radius-card, 26px);
  }

  body.portfolio-business-home .business-cover-logo {
    bottom: -29px;
    width: 62px;
    height: 62px;
  }

  .portfolio-contact,
  .spr-profile-return {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 10px;
  }

  .portfolio-tabs {
    gap: 3px;
    padding: 5px;
  }

  .portfolio-tab {
    padding-inline: 2px;
    font-size: .8125rem;
  }

  .portfolio-panel-content {
    gap: 12px;
  }

  .portfolio-row-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .portfolio-footer {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }

  body.spr-person-profile-home main,
  .spr-profile-linktree {
    width: min(calc(100% - 40px), 480px);
    margin-top: 28px;
    padding-bottom: 28px;
  }

  .spr-profile-avatar { width: 92px; height: 92px; font-size: 27px; }
  .spr-profile-identity h1 { margin-top: 18px; font-size: 38px; }
  .spr-profile-bio { max-width: 340px; font-size: 11px; }
  .spr-profile-links { margin-top: 27px; }
  .spr-profile-link { padding: 16px 18px; }

  body.spr-person-page:not(.spr-person-profile-home) > .spr-person-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.spr-person-page:not(.spr-person-profile-home) > .spr-person-header nav {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  body.spr-business-page:not(.portfolio-business-home) .spr-page-heading,
  body.spr-person-page:not(.spr-person-profile-home) .spr-page-heading {
    border-radius: 23px;
  }
}

@media (max-width: 370px) {
  .portfolio-header-actions { gap: 6px; }
  .portfolio-contact { padding-right: 10px; padding-left: 10px; }
  .portfolio-tab { font-size: .75rem; }
  body.portfolio-business-home .public-home-mark { width: 98px; }
  body.portfolio-business-home .public-home-mark img { width: 156px; }
}

@media (prefers-reduced-motion: reduce) {
  body.portfolio-business-home *,
  body.portfolio-business-home *::before,
  body.portfolio-business-home *::after,
  body.spr-person-profile-home *,
  body.spr-person-profile-home *::before,
  body.spr-person-profile-home *::after,
  body.spr-business-page *,
  body.spr-business-page *::before,
  body.spr-business-page *::after,
  body.spr-person-page *,
  body.spr-person-page *::before,
  body.spr-person-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .portfolio-ambient,
  .portfolio-header-note,
  .spr-profile-header-note,
  .portfolio-secondary-links,
  .portfolio-tabs,
  .portfolio-footer {
    display: none !important;
  }

  body.portfolio-business-home,
  body.spr-person-profile-home,
  body.spr-business-page,
  body.spr-person-page {
    background: #fff;
  }

  .portfolio-main-card,
  .spr-profile-link,
  body.spr-business-page .spr-card,
  body.spr-person-page .spr-card {
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* Flightcast-inspired Sparlab typography system ------------------------- */

:is(body.portfolio-business-home, body.spr-person-profile-home, body.spr-business-page, body.spr-person-page)
  :is(h1, h2, h3) {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.025em;
}

:is(body.portfolio-business-home, body.spr-person-profile-home, body.spr-business-page, body.spr-person-page)
  :is(.portfolio-intro h1, .spr-profile-identity h1, .spr-page-heading h1) {
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-display-tracking);
  line-height: var(--type-display-line);
}

:is(body.portfolio-business-home, body.spr-person-profile-home, body.spr-business-page, body.spr-person-page)
  :is(.portfolio-card-title, .spr-card h2, .spr-card h3, .portfolio-row-title) {
  font-family: var(--font-sans);
  font-size: var(--type-card-size);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: var(--type-card-line);
}

:is(body.portfolio-business-home, body.spr-person-profile-home, body.spr-business-page, body.spr-person-page)
  :is(.portfolio-eyebrow, .spr-kicker) {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1rem;
  text-transform: uppercase;
}

/* Business collection and detail pages */
body.spr-business-page > .spr-business-header {
  min-height: 64px;
  padding-block: 8px;
  border-color: var(--portfolio-line);
  background: #fff;
  box-shadow: none;
}

body.spr-business-page .spr-business-header nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  font-size: .8125rem;
}

body.spr-business-page .spr-business-header nav a:not([aria-current]):hover {
  background: var(--spr-surface-muted, #f3f3f1);
}

.spr-business-content {
  padding-block: clamp(24px, 4vw, 52px) clamp(36px, 5vw, 64px);
}

body.spr-business-page .spr-business-content .spr-page-heading {
  max-width: none;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 0 0 clamp(14px, 2vw, 20px);
  border: 0;
  border-bottom: 1px solid var(--portfolio-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.spr-business-content :is(.spr-page-heading, .spr-detail-heading) h1 {
  max-width: 24ch;
  margin: 0;
  overflow-wrap: anywhere;
}

.spr-business-content .spr-kicker {
  margin-bottom: 6px;
  color: var(--portfolio-muted);
}

.spr-business-content .spr-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

body.spr-business-page .spr-business-content :is(.spr-card, .spr-empty) {
  padding: 18px;
  border-color: var(--portfolio-line);
  border-radius: var(--spr-radius-card, 26px);
  background: var(--portfolio-panel);
  box-shadow: var(--spr-elevation, 0 12px 32px #2628220e);
  backdrop-filter: none;
}

body.spr-business-page .spr-business-content .spr-card:hover {
  transform: none;
}

body.spr-business-page .spr-business-content .spr-offer-card {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

body.spr-business-page .spr-business-content .spr-offer-card:hover {
  border-color: #c8cac5;
  background: #fcfcfb;
  box-shadow: var(--spr-elevation-hover, 0 14px 36px #26282216);
}

.spr-business-content .spr-offer-card .spr-card-image {
  margin: 5px 5px 0;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--spr-radius-card, 26px) - 5px);
}

.spr-business-content .spr-offer-copy {
  padding: 16px 18px 18px;
}

.spr-business-content :is(.spr-card, .spr-empty) h2 {
  margin: 0;
  overflow-wrap: anywhere;
}

.spr-business-content .spr-card p:not(.spr-kicker) {
  margin: 6px 0 0;
  color: var(--portfolio-muted);
  font-size: .9375rem;
}

.spr-business-content .spr-person-card .spr-avatar {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.spr-business-content .spr-breadcrumbs {
  gap: 4px 8px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.spr-business-content .spr-detail-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--portfolio-line);
}

.spr-business-content .spr-detail-heading img {
  max-height: 420px;
  aspect-ratio: 16 / 10;
  border: 4px solid var(--portfolio-panel);
  border-radius: var(--spr-radius-card, 26px);
  box-shadow: 0 0 0 1px var(--portfolio-line), var(--spr-elevation, 0 12px 32px #2628220e);
  object-fit: cover;
}

.spr-business-content .spr-detail-heading .spr-lead {
  margin: 10px 0 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.spr-business-content .spr-prose {
  max-width: 66ch;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.spr-business-content .spr-prose > :first-child { margin-top: 0; }
.spr-business-content .spr-prose > :last-child { margin-bottom: 0; }
.spr-business-content .spr-prose :is(h2, h3) { margin: 1.35em 0 .45em; }
.spr-business-content .spr-detail-action { margin: 18px 0 0; }

@media (min-width: 760px) {
  .spr-business-content .spr-detail-heading.has-cover {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  }
}

/* Business portfolio and collection tiles */
.portfolio-stack,
.spr-business-content,
.business-archive-view {
  --business-tile-surface: linear-gradient(155deg, #292929, #171717 88%);
  --business-tile-ink: #fafaf9;
  --business-tile-muted: #d2d2cd;
  --business-tile-border: #494949;
  --business-tile-shadow: 0 2px 4px rgb(15 15 14 / 16%), 0 14px 20px -12px rgb(15 15 14 / 42%);
}

.portfolio-stack .portfolio-row,
body.spr-business-page .spr-business-content :is(.spr-offer-card, .spr-person-card),
body .business-archive-view .public-article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(22px, 3vw, 38px);
  min-width: 0;
  min-height: clamp(162px, 19vw, 212px);
  padding: clamp(14px, 2.2vw, 22px);
  border: 1px solid var(--business-tile-border);
  border-radius: clamp(16px, 2.2vw, 24px);
  background: var(--business-tile-surface);
  box-shadow: var(--business-tile-shadow);
  color: var(--business-tile-ink);
  transition: border-color .2s, box-shadow .2s;
}

.portfolio-stack .portfolio-row:is(:hover, :focus-visible),
body.spr-business-page .spr-business-content .spr-offer-card:is(:hover, :focus-visible),
body .business-archive-view .public-article-card:is(:hover, :focus-visible) {
  border-color: #868681;
  background: var(--business-tile-surface);
  box-shadow: 0 3px 5px rgb(15 15 14 / 20%), 0 17px 24px -11px rgb(15 15 14 / 46%);
  color: var(--business-tile-ink);
}

body.spr-business-page .spr-business-content .spr-person-card:hover {
  background: var(--business-tile-surface);
  box-shadow: var(--business-tile-shadow);
}

.business-tile-media {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 14px;
  background: rgb(255 255 255 / 7%);
  color: #deded9;
}

.business-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-tile-initials {
  font-size: 1rem;
  font-weight: 650;
}

.business-tile-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
}

.business-tile-icon::before,
.business-tile-icon::after {
  position: absolute;
  right: 4px;
  left: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.business-tile-icon::before { top: 7px; }
.business-tile-icon::after { top: 13px; right: 8px; }
.business-tile-media[data-kind="posts"] .business-tile-icon { width: 20px; height: 25px; }

.portfolio-stack .portfolio-row-title,
body.spr-business-page .spr-business-content :is(.spr-offer-card, .spr-person-card) h2,
body .business-archive-view .business-post-copy h2 {
  color: var(--business-tile-ink);
  font-size: clamp(.975rem, 1.7vw, 1.125rem);
  line-height: 1.35;
}

.portfolio-stack .portfolio-row-description,
body.spr-business-page .spr-business-content :is(.spr-offer-card, .spr-person-card) :is(p.spr-kicker, p:not(.spr-kicker)),
body .business-archive-view .business-post-copy :is(p, .public-kicker) {
  color: var(--business-tile-muted);
}

.spr-business-content .spr-card-grid,
.business-archive-view .public-article-grid {
  padding: clamp(12px, 2.3vw, 22px);
  border: 1px solid var(--portfolio-line, var(--spr-stroke));
  border-radius: var(--spr-radius-card, 24px);
  background: var(--spr-surface, #fff);
  box-shadow: var(--spr-elevation);
}

.spr-business-content .spr-offer-copy,
.business-archive-view .business-post-copy {
  margin-top: auto;
  padding: 0;
}

body.spr-business-page .spr-business-content .spr-person-card {
  gap: 5px;
}

body.spr-business-page .spr-business-content .spr-person-card .spr-avatar {
  margin-bottom: clamp(22px, 3vw, 38px);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 14px;
  background: rgb(255 255 255 / 7%);
  color: #deded9;
}

.spr-business-content .spr-person-card .spr-kicker { margin-top: auto; }
.spr-business-content .spr-person-card h2 a:hover { color: #fff; }
.spr-business-content .spr-person-card a:focus-visible { outline-color: #fff; }

@media (max-width: 700px) {
  .portfolio-stack .portfolio-row,
  body.spr-business-page .spr-business-content :is(.spr-offer-card, .spr-person-card),
  body .business-archive-view .public-article-card {
    gap: 16px;
    min-height: 158px;
    padding: 12px;
  }

  .business-tile-media {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .portfolio-stack .portfolio-row-description,
  body.spr-business-page .spr-business-content :is(.spr-offer-card, .spr-person-card) p,
  body .business-archive-view .business-post-copy p {
    font-size: .8125rem;
    line-height: 1.45;
  }
}

@media (min-width: 371px) and (max-width: 700px) {
  .portfolio-row-list > .portfolio-row:last-child:nth-child(odd):not(:first-child) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - clamp(10px, 1.5vw, 16px)) / 2);
  }
}

@media (max-width: 370px) {
  .portfolio-row-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .business-archive-view .public-article-card { transition: none; }
}
