:root {
  color-scheme: dark;
  --background: #212121;
  --foreground: #f2f0ee;
  --muted: #777477;
  --accent: #79a7f5;
  --rule: #3b393a;
  --font-family: "Hanken Grotesk", Arial, sans-serif;
  --font-display: "Cygre", "Hanken Grotesk", Arial, sans-serif;
}

@font-face { font-family: "Cygre"; src: url("assets/fonts/Cygre-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Cygre"; src: url("assets/fonts/Cygre-Medium.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Cygre"; src: url("assets/fonts/Cygre-SemiBold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Cygre"; src: url("assets/fonts/Cygre-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
html { background: var(--background); scroll-behavior: smooth; }
body { margin: 0; color: var(--foreground); background: var(--background); font-family: var(--font-family); }
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 24px 32px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.home-page .site-header { justify-content: flex-end; }
.site-header > * { pointer-events: auto; }
.wordmark { text-decoration: none; white-space: nowrap; font-family: var(--font-family); font-weight: 700; letter-spacing: -0.075em; }
.wordmark-in { font-family: var(--font-family); font-style: italic; font-weight: 400; letter-spacing: -0.12em; }
.wordmark-small { font-size: 26px; opacity: 0; transition: opacity 350ms ease; }
.wordmark-always { opacity: 1; }
.home-page.is-engaged .wordmark-small { opacity: 1; }
.outline-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 7px 16px 8px;
  border: 1.5px solid rgba(244, 242, 241, 0.88);
  border-radius: 999px;
  background: rgba(32, 32, 32, 0.22);
  color: var(--foreground);
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.outline-link:hover, .outline-link:focus-visible { color: #202020; background: var(--foreground); transform: translateY(-1px); }
.link-arrow { font-family: var(--font-family); font-size: 16px; }

.landing { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.portfolio-rail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 6vw 0 80px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.portfolio-rail::-webkit-scrollbar { display: none; }
.portfolio-track { display: flex; align-items: center; gap: 32px; width: max-content; padding: 0; }
.intro-card { flex: 0 0 auto; display: flex; align-items: center; gap: 0; width: calc(100vw - 80px); transform: none; }
.hero-copy { flex: 0 0 395px; width: 395px; }
.hero-statement { margin: 0; font-size: 33.6px; font-weight: 500; line-height: 1.08; letter-spacing: 0; }
.hero-statement span { display: block; }
.hero-statement span:first-child, .hero-statement span:nth-child(2) { color: rgba(255,255,255,.4); }
.hero-statement strong { color: #fff; font-weight: 700; }
.hero-signature { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; white-space: nowrap; }
.hero-signature-label { color: #fff; font-size: 14.4px; font-weight: 600; line-height: .9; }
.hero-name-link { display: inline-block; background: linear-gradient(-90deg, #feb74d 0%, #f37d01 100%); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: var(--font-family); font-size: 36px; font-weight: 600; line-height: 1; text-decoration: none; transition: filter 180ms ease; }
.hero-name-link:hover { filter: brightness(1.16); }
.hero-name-link:focus-visible { outline: 2px solid #feb74d; outline-offset: 4px; border-radius: 2px; }
.project-card { position: relative; flex: 0 0 clamp(360px, 27.4vw, 526px); width: clamp(360px, 27.4vw, 526px); transition: opacity 500ms ease, transform 600ms cubic-bezier(.2,.8,.2,1), filter 500ms ease; transform-origin: 50% 58%; }
.project-art { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; border: 0; border-radius: 12px; padding: 0; background: #302f31; cursor: pointer; text-align: left; }
.project-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms cubic-bezier(.2,.8,.2,1), filter 500ms ease; }
.project-art[data-select-card]:hover img, .project-art[data-open-case]:hover img, .project-art:focus-visible img { transform: scale(1.035); }
.project-art:focus-visible { outline: 2px solid #f4f0ec; outline-offset: 5px; }
.project-art-pending { position: relative; cursor: default; }
.project-art-pending .project-status { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; padding: 8px 12px; transform: translateY(5px); border: 1px solid rgba(255,255,255,.23); border-radius: 999px; background: rgba(20,20,22,.76); color: #f4f0ec; font-size: 13px; font-weight: 500; line-height: 1; opacity: 0; backdrop-filter: blur(12px); transition: opacity 180ms ease, transform 180ms ease; pointer-events: none; }
.project-art-pending .project-status::before { width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #feb74d; content: ""; }
.project-card:hover .project-art-pending .project-status,
.project-art-pending:focus-visible .project-status { transform: translateY(0); opacity: 1; }
.project-caption { position: absolute; top: calc(100% + 12px); right: 0; left: 0; min-height: 74px; padding-top: 12px; opacity: 0; transform: translateY(7px); transition: opacity 350ms ease, transform 400ms ease; }
.project-caption h2 { margin: 0 0 3px; font-family: var(--font-family); font-size: 23px; line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.project-caption p { margin: 0; color: #696568; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.portfolio-rail.has-selection .project-card { opacity: 0.44; filter: saturate(.72); transform: scale(.96); }
.portfolio-rail.has-selection .project-card.is-selected { opacity: 1; filter: none; transform: translateY(-10px) scale(1.045); z-index: 2; }
.portfolio-rail.has-selection .project-card.is-selected .project-caption { opacity: 1; transform: translateY(0); }
.image-only-card .project-art { cursor: default; }
.bio-copy { padding: 0 8px; max-width: 530px; }
.bio-copy h2 { margin: 0 0 15px; font-size: 23px; line-height: 1.25; }
.bio-copy p { margin: 0 0 15px; font-size: 21px; line-height: 1.43; letter-spacing: -0.018em; }
.bio-copy .profile-role { color: #898588; }
.social-marks { display: flex; align-items: center; gap: 16px; margin-top: 42px; }
.social-marks a { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; color: #aaa7aa; text-decoration: none; transition: color 180ms ease, transform 180ms ease; }
.social-marks a:hover, .social-marks a:focus-visible { color: #fff; transform: translateY(-2px); }
.social-marks svg, .resume-contact-icons svg, .download-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.home-footer { position: absolute; left: 32px; bottom: 30px; color: #777477; font-family: var(--font-family); font-size: 16px; }

.case-page, .resume-page { min-height: 100vh; }
.case-header, .resume-header { inset: 24px max(32px, calc((100vw - 1080px) / 2)) auto; }
.case-header { position: absolute; }
.case-mark { width: 42px; color: var(--foreground); text-decoration: none; font-size: 26px; font-style: italic; line-height: 1; letter-spacing: -0.16em; }
.case-actions { display: flex; align-items: center; gap: 12px; }
.case-actions .outline-link { background: var(--background); }
.case-main { width: min(1080px, calc(100% - 64px)); margin: 95px auto 100px; }
.case-cover { width: 100%; margin: 0 0 24px; aspect-ratio: 1.39; overflow: hidden; border-radius: 12px; background: #9b7ce2; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-title { margin: 0; font-size: clamp(42px, 4vw, 56px); font-weight: 400; line-height: 1.1; letter-spacing: -0.045em; }
.case-subtitle { margin: 12px 0 36px; color: #777477; font-size: 25px; line-height: 1.35; }
.project-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 22px 0 26px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.project-meta dt { margin-bottom: 7px; font-size: 21px; font-weight: 700; }
.project-meta dd { margin: 0; color: #8c888b; font-size: 20px; line-height: 1.45; }
.project-meta a, .project-meta .reference-link { color: var(--accent); text-decoration: none; }
.case-section { margin-top: 70px; }
.case-section h2 { margin: 0 0 24px; font-family: var(--font-family); font-size: 39px; font-weight: 700; letter-spacing: -0.055em; line-height: 1.08; }
.case-section p { margin: 0; font-size: 23px; line-height: 1.55; letter-spacing: -0.02em; }
.case-section .section-intro { margin-bottom: 34px; }
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.problem-card img { width: 100%; aspect-ratio: 1.75; object-fit: cover; border-radius: 12px; }
.problem-card h3, .feature h3 { margin: 26px 0 9px; font-family: var(--font-family); font-size: 26px; line-height: 1.2; letter-spacing: -0.035em; }
.problem-card p, .feature p { font-size: 22px; line-height: 1.52; }
.problem-card h3 { margin: 42px 0 15px; }
.problem-card p { font-size: 23px; line-height: 1.45; letter-spacing: 0; }
.solution-cover { width: 100%; overflow: hidden; margin: 0 0 45px; border-radius: 12px; background: #9a7be4; }
.solution-cover img { width: 100%; height: auto; }
.feature { margin: 54px 0 0; }
.feature img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 12px; background: #9b7ce2; }
.prototype-section { margin-top: 76px; }
.prototype-shell { position: relative; overflow: hidden; border-radius: 12px 12px 0 0; background: #a087e7; padding: clamp(28px, 5vw, 74px) 7% 22px; }
.prototype-fullscreen {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border: 1px solid #d2c6f5; border-radius: 9px;
  background: rgba(255,255,255,.92); color: #27232f; cursor: pointer; font: 20px var(--font-family);
}
.laptop { width: min(690px, 85%); margin: 0 auto; padding: 11px 11px 0; border: 5px solid #242225; border-bottom: 0; border-radius: 22px 22px 3px 3px; background: #242225; box-shadow: 0 0 0 2px rgba(255,255,255,.28); }
.laptop-screen { position: relative; overflow: hidden; aspect-ratio: 1.54; border-radius: 9px 9px 0 0; background: #efeff0; }
.laptop-screen::before { content: ""; position: absolute; z-index: 1; top: 0; left: 50%; width: 14%; height: 17px; transform: translateX(-50%); border-radius: 0 0 9px 9px; background: #242225; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.laptop-base { width: calc(min(690px, 85%) + 78px); height: 18px; margin: 0 auto; border-radius: 0 0 24px 24px; background: linear-gradient(#d8d6d9, #828087 55%, #bab8bd); box-shadow: 0 4px 6px rgba(0,0,0,.18); }
.prototype-controls { position: relative; z-index: 2; display: flex; justify-content: center; margin: -2px auto 0; }
.prototype-pager { display: inline-flex; align-items: center; height: 38px; overflow: hidden; border: 1px solid #d2cce0; border-radius: 9px; background: #faf9fb; color: #3d3844; font: 15px var(--font-family); }
.prototype-pager button { width: 36px; height: 100%; border: 0; background: transparent; color: #4a4550; cursor: pointer; font: 22px/1 var(--font-family); }
.prototype-pager button:hover, .prototype-pager button:focus-visible { background: #e9e3f3; }
.prototype-count { min-width: 50px; text-align: center; }
.prototype-footer { display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 0 24px; border-radius: 0 0 12px 12px; background: #eeedef; color: #3c393c; font-family: var(--font-family); font-size: 15px; }
.visual-design { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 12px; }
.logo-sample { min-height: 280px; display: flex; align-items: center; justify-content: center; font: 700 clamp(44px, 7vw, 96px)/1 var(--font-family); letter-spacing: -0.09em; }
.logo-sample span { color: var(--accent); }
.logo-sample.purple { background: #6941a7; color: #efebf5; }
.logo-sample.light { background: #efedef; color: #171619; }
.case-footer { display: flex; justify-content: space-between; margin-top: 80px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 17px; }

.resume-main { width: min(1080px, calc(100% - 64px)); margin: 95px auto 48px; }
.resume-topline { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.resume-topline h1 { margin: 0; font-size: 48px; font-weight: 400; letter-spacing: -0.04em; }
.resume-topline p { margin: 8px 0 0; color: #888487; font-size: 18px; }
.download-link { border-color: var(--accent); background: var(--accent); color: #fff; font-family: var(--font-family); font-size: 15px; }
.download-link:hover, .download-link:focus-visible { border-color: #b78aff; background: #b78aff; color: #19151f; }
.resume-preview-link { display: block; width: min(820px, 100%); margin: 0 auto; border-radius: 12px; }
.resume-preview { display: block; width: 100%; height: auto; border: 1px solid #49464a; border-radius: 12px; background: #fff; box-shadow: 0 18px 56px rgba(0, 0, 0, .25); }
.resume-back { display: inline-block; margin-top: 20px; color: #aaa5a9; font-size: 18px; text-decoration: none; }
.resume-back:hover, .resume-back:focus-visible { color: #fff; }
.fullscreen-viewer[hidden] { display: none; }
.fullscreen-viewer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(17,16,19,.96); }
.fullscreen-viewer .prototype-shell { width: min(1480px, 100%); }
.fullscreen-viewer .laptop { width: min(1020px, 85%); }
.fullscreen-viewer .laptop-base { width: min(calc(1020px + 78px), calc(85% + 78px)); }
.fullscreen-close { position: fixed; top: 22px; right: 24px; z-index: 55; width: 44px; height: 44px; border: 1px solid #aaa; border-radius: 50%; background: #f2f0ee; color: #202020; font: 25px var(--font-family); cursor: pointer; }

@media (max-width: 900px) {
  .site-header { inset: 18px 20px auto; }
  .wordmark-small { font-size: 22px; }
  .outline-link { min-height: 40px; padding-inline: 13px; font-size: 16px; }
  .portfolio-rail { padding-left: 6vw; padding-right: 6vw; }
  .intro-card { flex-basis: 82vw; width: 82vw; }
  .wordmark-large { font-size: clamp(46px, 9vw, 64px); }
  .project-card { flex-basis: 82vw; width: 82vw; }
  .project-caption h2 { font-size: 21px; }
  .project-caption p { font-size: 18px; }
  .bio-copy { padding: 0; }
  .bio-copy p { font-size: 18px; }
  .social-marks { margin-top: 30px; }
  .home-footer { left: 20px; bottom: 18px; font-size: 13px; }
  .case-header, .resume-header { inset: 18px 20px auto; }
  .case-main, .resume-main { width: min(100% - 40px, 720px); margin-top: 84px; }
  .case-cover { aspect-ratio: 1.25; }
  .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .problem-grid { grid-template-columns: 1fr; gap: 38px; }
  .case-section h2 { font-size: 33px; }
  .case-section p { font-size: 20px; }
  .problem-card h3, .feature h3 { font-size: 23px; }
  .problem-card p, .feature p { font-size: 19px; }
  .prototype-shell { padding-inline: 4%; }
  .laptop { width: 92%; }
  .laptop-base { width: calc(92% + 40px); }
  .visual-design .logo-sample { min-height: 180px; }
  .resume-topline h1 { font-size: 40px; }
}

@media (max-width: 560px) {
  .site-header { inset: 14px 14px auto; }
  .wordmark-small { font-size: 20px; }
  .resume-link { gap: 8px; min-height: 38px; font-size: 15px; }
  .landing { min-height: 560px; }
  .portfolio-rail { gap: 0; padding-left: 14px; padding-right: 14px; }
  .portfolio-track { gap: 16px; }
  .intro-card { flex-basis: 74vw; width: 74vw; }
  .project-card { flex-basis: 86vw; width: 86vw; }
  .intro-card { transform: translateY(-24px); }
  .wordmark-large { font-size: clamp(43px, 11vw, 58px); }
  .creator-signature { font-size: 31px; }
  .project-caption { min-height: 68px; }
  .project-caption h2 { font-size: 19px; }
  .project-caption p { font-size: 16px; }
  .bio-copy h2 { font-size: 20px; }
  .bio-copy p { font-size: 17px; line-height: 1.48; }
  .home-footer { max-width: calc(100vw - 28px); left: 14px; bottom: 12px; }
  .case-actions { gap: 7px; }
  .case-actions .outline-link { min-height: 37px; padding: 6px 10px; font-size: 14px; }
  .case-mark { font-size: 23px; }
  .case-main, .resume-main { width: calc(100% - 28px); margin-top: 78px; }
  .case-cover { aspect-ratio: 1.1; }
  .case-title { font-size: 43px; }
  .case-subtitle { font-size: 20px; }
  .project-meta dt { font-size: 17px; }
  .project-meta dd { font-size: 16px; }
  .case-section { margin-top: 52px; }
  .case-section h2 { font-size: 30px; }
  .case-section p { font-size: 18px; }
  .feature { margin-top: 42px; }
  .feature img { aspect-ratio: 1.25; }
  .prototype-shell { padding: 48px 4% 17px; }
  .prototype-fullscreen { top: 9px; right: 9px; width: 34px; height: 34px; }
  .laptop { width: 95%; padding: 6px 6px 0; border-width: 3px; border-radius: 12px 12px 2px 2px; }
  .laptop-screen { border-radius: 5px 5px 0 0; }
  .laptop-base { width: calc(95% + 26px); height: 11px; }
  .prototype-pager { height: 33px; }
  .prototype-pager button { width: 32px; }
  .prototype-footer { min-height: 48px; padding: 0 13px; font-size: 13px; }
  .visual-design { grid-template-columns: 1fr 1fr; }
  .visual-design .logo-sample { min-height: 140px; font-size: 42px; }
  .case-footer { gap: 20px; font-size: 14px; }
  .resume-topline { align-items: start; flex-direction: column; }
  .resume-topline h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Anant Patel portfolio refinements */

.resume-main { width: min(1400px, calc(100% - 80px)); margin: 30px auto 80px; }
.resume-topline { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid #343336; }
.resume-topline h1 { margin: 0; color: #f3f2f2; font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.resume-topline p { margin: 12px 0 0; color: #929095; font-size: 16px; }
.resume-top-actions { display: flex; align-items: center; gap: 24px; }
.resume-contact-icons { display: flex; align-items: center; gap: 20px; }
.resume-contact-icons a { display: inline-grid; width: 26px; height: 30px; place-items: center; color: #aaa7ab; text-decoration: none; transition: color 160ms ease, transform 160ms ease; }
.resume-contact-icons a:hover, .resume-contact-icons a:focus-visible { color: #fff; transform: translateY(-1px); }
.outline-link.download-link { min-height: 44px; gap: 10px; border: 1px solid #706e73; background: transparent; color: #f4f2f3; font-family: var(--font-family); font-size: 16px; font-weight: 500; }
.outline-link.download-link svg { width: 18px; height: 18px; }
.outline-link.download-link:hover, .outline-link.download-link:focus-visible { border-color: #aaa7ac; background: #28272a; color: #fff; transform: none; }
.resume-summary { margin: 0 0 34px; padding: 3px 0 3px 22px; border-left: 2px solid #5f90e6; }
.resume-summary h2, .resume-overline { margin: 0 0 14px; color: #83aaf4; font-size: 14px; font-weight: 600; letter-spacing: .2em; line-height: 1.2; text-transform: uppercase; }
.resume-summary p { max-width: 1200px; margin: 0; color: #a9a6aa; font-size: 16px; line-height: 1.68; }
.resume-content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); gap: 62px; align-items: start; }
.resume-section { min-width: 0; }
.resume-primary-column > .resume-section + .resume-section, .resume-side-column > .resume-section + .resume-section { margin-top: 42px; }
.resume-section > h2:not(.resume-overline) { margin: 0 0 24px; font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.resume-overline { margin-bottom: 16px; }
.experience-list { position: relative; margin-left: 8px; padding-left: 26px; border-left: 1px solid #424149; }
.experience-item { position: relative; padding: 0 0 30px; }
.experience-item:last-child { padding-bottom: 2px; }
.experience-item::before { position: absolute; top: 5px; left: -32px; width: 10px; height: 10px; border-radius: 50%; background: #6d98f0; box-shadow: 0 0 0 4px #141415; content: ""; }
.experience-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.experience-heading > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.experience-heading h3, .resume-project h3, .education-entry h3 { margin: 0; color: #f0eff0; font-size: 18px; font-weight: 600; }
.experience-role { color: #dbd9dc; font-size: 16px; }
.experience-heading time, .education-entry time { flex: 0 0 auto; color: #aaa7ac; font-size: 14px; }
.experience-location { margin: 8px 0 0; color: #858289; font-size: 14px; }
.award-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 11px; }
.award-pills span { padding: 5px 10px; border: 1px solid #363945; border-radius: 999px; background: #202229; color: #d5d8df; font-size: 13px; }
.resume-project { padding: 0 0 24px; }
.resume-project h3 { font-size: 18px; }
.resume-project h3 span { color: #aaa7ac; font-weight: 400; }
.resume-project ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 19px; color: #a9a6aa; font-size: 15px; line-height: 1.58; }
.resume-side-column { display: grid; gap: 36px; }
.recognition-card { margin-bottom: 12px; padding: 18px 20px; border: 1px solid #3d3b40; border-radius: 6px; }
.recognition-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.recognition-card p { margin: 0; color: #929096; font-size: 14px; }
.skill-tags, .tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span, .tool-tags span { padding: 7px 10px; border: 1px solid #3c3a3f; border-radius: 4px; color: #aaa7ac; font-size: 12px; line-height: 1.2; text-transform: uppercase; }
.tool-tags span { font-size: 12px; text-transform: none; }
.compact-list { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.compact-list li { display: grid; gap: 5px; color: #efedef; font-size: 14px; }
.compact-list strong { font-weight: 600; }
.compact-list span { color: #aaa7ac; line-height: 1.45; }
.education-entry { padding: 16px 18px; border: 1px solid #3d3b40; border-radius: 6px; }
.education-entry h3 { font-size: 16px; line-height: 1.35; }
.education-entry p { margin: 7px 0; color: #aaa7ac; font-size: 14px; }
.resume-back { display: inline-block; margin-top: 42px; color: #aaa5a9; font-size: 16px; text-decoration: none; }
.resume-back:hover, .resume-back:focus-visible { color: #fff; }

@media (max-width: 900px) {
  .intro-card { gap: 44px; }
  .hero-copy { flex-basis: 340px; width: 340px; }
  .hero-statement { font-size: 30px; }
  .resume-content-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr); gap: 34px; }
  .resume-main { width: calc(100% - 44px); }
  .resume-topline h1 { font-size: 48px; }
}

@media (max-width: 560px) {
  .portfolio-rail { padding: 0 14px; }
  .portfolio-track { gap: 16px; }
  .intro-card { flex: 0 0 calc(100vw - 28px); flex-direction: column; align-items: flex-start; gap: 24px; width: calc(100vw - 28px); }
  .hero-copy { flex: 0 0 auto; width: 100%; }
  .hero-statement { font-size: clamp(27px, 8vw, 32px); line-height: 1.08; }
  .hero-signature { margin-top: 8px; }
  .hero-name-link { font-size: 39px; }
  .social-marks { margin-top: 26px; }
  .resume-main { width: calc(100% - 28px); margin: 28px auto 56px; }
  .resume-topline { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; }
  .resume-topline h1 { font-size: 42px; }
  .resume-topline p { margin-top: 8px; font-size: 14px; }
  .resume-top-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .resume-contact-icons { gap: 14px; }
  .outline-link.download-link { min-height: 40px; padding: 8px 11px; font-size: 14px; }
  .resume-content-grid { grid-template-columns: 1fr; gap: 46px; }
  .resume-summary { margin-bottom: 34px; padding-left: 16px; }
  .resume-summary p { font-size: 14px; }
  .resume-section > h2:not(.resume-overline) { font-size: 22px; }
  .experience-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .experience-heading h3 { font-size: 16px; }
  .experience-role { font-size: 14px; }
  .resume-project h3 { font-size: 16px; }
  .resume-project ul { font-size: 14px; }
}

/* Final home and resume pass */
.intro-card { width: calc(100vw - 80px); gap: 0; }
.portfolio-track::after { content: ""; flex: 0 0 max(0px, calc(94vw - 979px)); }
.about-card { display: grid; flex: 0 0 953px; grid-template-columns: 395px 526px; align-items: center; gap: 32px; width: 953px; }
.portfolio-rail.has-selection .about-card { opacity: 1; filter: none; transform: none; z-index: 2; }
.about-portrait { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; }
.about-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 82%; }
.social-marks a, .resume-contact-icons a { text-decoration: none; }
.resume-site-header { justify-content: space-between; }
.resume-back-link { justify-self: start; }
.resume-main { width: min(1400px, calc(100% - 80px)); margin: 112px auto 80px; }
.resume-topline { align-items: center; padding-bottom: 22px; border-bottom: 1px solid #343336; }
.resume-topline h1 { font-size: 60px; font-weight: 700; letter-spacing: -.04em; }
.resume-topline p { color: #aaa7ac; font-size: 18px; }
.resume-top-actions { justify-content: flex-end; }
.outline-link.download-link { min-height: 42px; gap: 10px; padding: 7px 16px 8px; border: 1.5px solid rgba(244,242,241,.88); border-radius: 999px; background: rgba(32,32,32,.22); color: var(--foreground); font-family: var(--font-family); font-size: 16px; font-weight: 500; }
.outline-link.download-link:hover, .outline-link.download-link:focus-visible { border-color: var(--foreground); background: var(--foreground); color: #202020; }
.social-marks a { width: 30px; height: 30px; }
.social-marks a i, .resume-contact-icons a i { display: block; font-size: 24px; line-height: 1; }
.resume-contact-icons { gap: 18px; }
.resume-contact-icons a { width: 30px; height: 32px; }

/* Figma-matched hero, end card, and dedicated resume scroll area */
.outline-link { font-family: var(--font-display); }
.resume-link { font-family: var(--font-display); }
.landing { isolation: isolate; }
.portfolio-rail { padding: 84px 80px 54px 80px; }
.portfolio-track::after { display: none; content: none; }
.intro-card { flex-basis: calc(100vw - 160px); width: calc(100vw - 160px); }
.hero-copy { flex: 0 0 394.8px; width: 394.8px; }
.hero-statement { margin: 0; font-family: var(--font-display); font-size: 33.6px; font-weight: 500; line-height: normal; letter-spacing: 0; }
.hero-statement .hero-opening { display: block; margin-bottom: -8px; color: rgba(255,255,255,.4); }
.hero-statement .hero-product-line { display: flex; align-items: center; gap: 9.6px; white-space: nowrap; color: rgba(255,255,255,.4); }
.hero-statement .hero-emphasis { display: inline-flex; align-items: baseline; color: #fff; font-family: var(--font-display); font-weight: 400; }
.hero-emphasis strong { font-family: var(--font-display); font-weight: 700; }
.hero-signature { align-items: center; gap: 8px; margin: 0; }
.hero-signature-label { font-family: var(--font-display); font-size: 14.4px; font-weight: 600; line-height: .9; }
.hero-name-link { position: relative; display: inline-block; background: linear-gradient(-90deg, #feb74d 0%, #f37d01 100%); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: "Corinthia", cursive; font-size: 43.2px; font-weight: 400; line-height: 1; text-decoration: none; transition: filter 180ms ease; }
.hero-name-link::after { position: absolute; top: 50%; left: calc(100% + 8px); background: linear-gradient(-90deg, #feb74d 0%, #f37d01 100%); background-clip: text; -webkit-background-clip: text; color: transparent; content: "→"; font-family: "Hanken Grotesk", Arial, sans-serif; font-size: 26px; font-weight: 500; opacity: 0; transform: translate(-6px, -50%); transition: opacity 180ms ease, transform 180ms ease; }
.hero-name-link:hover, .hero-name-link:focus-visible { filter: brightness(1.16); }
.hero-name-link:hover::after, .hero-name-link:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.hero-name-link:focus-visible { outline: 2px solid #feb74d; outline-offset: 5px; border-radius: 2px; }
.project-caption h2, .bio-copy h2 { font-family: var(--font-display); }
.project-caption p { font-family: var(--font-family); font-size: 19px; font-weight: 400; }
.about-card { flex: 0 0 calc(100vw - 160px); grid-template-columns: clamp(360px, 27.4vw, 526px) minmax(0, 1fr); gap: 32px; width: calc(100vw - 160px); height: auto; align-items: center; }
.about-portrait { height: auto; aspect-ratio: 4 / 3; }
.about-portrait img { object-position: center 82%; }
.about-card .bio-copy { max-width: none; padding: 0; }
.about-card .bio-copy h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.about-card .bio-copy p { margin: 0; font-family: var(--font-family); font-size: 18px; font-weight: 300; line-height: 1.45; letter-spacing: 0; }
.about-card .social-marks { margin-top: 24px; }
.resume-page { display: flex; height: 100svh; min-height: 0; flex-direction: column; overflow: hidden; }
.resume-site-header { position: relative; inset: auto; z-index: 20; flex: 0 0 88px; padding: 0 max(32px, calc((100vw - 1400px) / 2)); background: var(--background); }
.resume-page .outline-link { border-radius: 8px; font-family: var(--font-display); }
.resume-main { flex: 1 1 auto; min-height: 0; width: min(1400px, calc(100% - 80px)); margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 24px 0 80px; }
.resume-topline h1, .resume-section > h2:not(.resume-overline), .experience-heading h3, .resume-project h3, .education-entry h3 { font-family: var(--font-display); }
.experience-heading-main { display: flex; flex-wrap: wrap; align-items: center !important; gap: 12px !important; }
.company-mark { display: inline-grid; flex: 0 0 14px; width: 14px; height: 14px; place-items: center; overflow: hidden; }
.starflinx-mark { border-radius: 50%; background: #efe1f7; }
.thinkitive-mark { border-radius: 50%; background: #2879c9; }
.piratefox-mark { border-radius: 50%; background: #cc0602; }
.company-mark img { display: block; max-width: none; }
.piratefox-mark img { width: 11.5px; height: auto; object-fit: contain; }
.certification-brand { display: flex; width: max-content; align-items: center; gap: 6px; padding: 3px 7px; border-radius: 8px; background: #202126; }
.certification-logo { display: inline-grid; flex: 0 0 12px; width: 12px; height: 12px; place-items: center; overflow: hidden; border-radius: 50%; background: #f2f2f7; }
.certification-logo:not(.hfi-logo) img { width: 12px; height: 12px; object-fit: contain; }
.hfi-logo { background: #fff; }
.hfi-logo img { max-width: none; mask: url("assets/portfolio/resume-logos/hfi-mask.svg") center / contain no-repeat; }
.education-entry { border-radius: 12px; }
.award-pills span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: #f1f5f9; border-color: #ecf1f6; color: #344357; }
.award-icon { display: block; flex: 0 0 auto; max-width: none; }
.skill-tags span, .tool-tags span { border-radius: 8px; }

@media (max-width: 1100px) {
  .intro-card { flex-basis: 82vw; width: 82vw; }
  .hero-copy { flex-basis: 340px; width: 340px; }
  .hero-statement { font-size: 30px; }
}

@media (max-width: 900px) {
  .portfolio-rail { padding: 80px 6vw 54px; }
  .project-caption p { font-size: 17px; }
  .about-card { flex-basis: 88vw; width: 88vw; }
  .resume-site-header { flex-basis: 76px; padding-inline: 20px; }
  .resume-main { width: calc(100% - 44px); margin: 0 auto; padding-top: 20px; }
}

@media (max-width: 700px) {
  .about-card { grid-template-columns: 1fr; gap: 20px; }
  .about-card .bio-copy p { font-size: 17px; line-height: 1.45; }
}

@media (max-width: 560px) {
  .portfolio-rail { padding: 74px 14px 48px; }
  .intro-card { flex-basis: calc(100vw - 28px); width: calc(100vw - 28px); transform: translateY(-10px); }
  .hero-copy { flex: 0 0 auto; width: 100%; }
  .hero-statement { font-size: clamp(26px, 7.9vw, 30.8px); line-height: normal; }
  .hero-product-line { gap: 7px; }
  .project-caption p { font-size: 16px; }
  .hero-name-link { font-size: 39px; }
  .hero-name-link::after { font-size: 23px; }
  .about-card { flex-basis: calc(100vw - 28px); width: calc(100vw - 28px); }
  .about-card .bio-copy h2 { font-size: 22px; }
  .about-card .bio-copy p { font-size: 16px; }
  .resume-site-header { flex-basis: 66px; padding-inline: 14px; }
  .resume-main { width: calc(100% - 28px); margin: 0 auto; padding: 18px 0 56px; }
}

@media (max-width: 1100px) {
  .about-card { flex-basis: 82vw; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 22px; width: 82vw; }
  .about-card .bio-copy p { font-size: 16px; }
  .portfolio-track::after { flex-basis: max(0px, calc(12vw - 32px)); }
}

@media (max-width: 900px) {
  .intro-card { width: 82vw; }
  .about-card { flex-basis: 82vw; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 22px; width: 82vw; }
  .about-card .bio-copy p { font-size: 16px; }
  .resume-main { width: calc(100% - 44px); margin-top: 100px; }
}

@media (max-width: 560px) {
  .intro-card { width: calc(100vw - 28px); }
  .about-card { flex-basis: calc(100vw - 28px); grid-template-columns: 1fr; gap: 18px; width: calc(100vw - 28px); }
  .portfolio-track::after { flex-basis: 0; }
  .about-card .bio-copy { padding: 0; }
  .about-card .bio-copy h2 { margin-bottom: 10px; }
  .about-card .bio-copy p { font-size: 16px; line-height: 1.45; }
  .about-card .social-marks { margin-top: 20px; }
  .resume-main { width: calc(100% - 28px); margin: 88px auto 56px; }
  .resume-topline { align-items: flex-start; }
  .resume-topline h1 { font-size: 42px; }
  .resume-topline p { font-size: 15px; }
  .resume-top-actions { justify-content: flex-start; }
  .outline-link.download-link { min-height: 38px; padding: 6px 12px; font-size: 14px; }
  .resume-contact-icons { gap: 16px; }
}

/* Home layout and shared action buttons, aligned to the recorded portfolio rail */
.home-page main { min-height: 0; }
.home-page .landing {
  position: relative;
  display: block;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
}
.home-page .portfolio-rail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 6vw 0 112px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.home-page .intro-card {
  display: flex;
  flex: 0 0 413px;
  align-items: center;
  width: 413px;
  max-width: 100%;
  margin: 0 68px 0 0;
  transform: none;
}
.home-page .hero-copy { width: 394.8px; max-width: 100%; }
.home-page .hero-statement {
  width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: 33.6px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}
.home-page .hero-statement .hero-opening { margin-bottom: -8px; color: rgba(255,255,255,.4); }
.home-page .hero-statement .hero-product-line {
  display: flex;
  align-items: center;
  gap: 9.6px;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.home-page .hero-statement .hero-emphasis { display: inline-flex; align-items: baseline; color: #fff; font-family: var(--font-display); font-weight: 400; }
.home-page .hero-emphasis strong { color: #fff; font-family: var(--font-display); font-weight: 700; }
.home-page .hero-signature { display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
.home-page .hero-signature-label { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: .9; }
.home-page .hero-name-link {
  position: relative;
  display: inline-block;
  width: 174px;
  height: 51px;
  background: linear-gradient(-90deg, #feb74d 0%, #f37d01 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: "Corinthia", cursive;
  font-size: 48px;
  font-weight: 400;
  line-height: 51px;
  text-decoration: none;
  transition: filter 180ms ease;
}
.home-page .hero-name-link::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  background: linear-gradient(-90deg, #feb74d 0%, #f37d01 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  content: "→";
  font-family: var(--font-family);
  font-size: 26px;
  font-weight: 500;
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}
.home-page .hero-name-link:hover, .home-page .hero-name-link:focus-visible { filter: brightness(1.16); }
.home-page .hero-name-link:hover::after, .home-page .hero-name-link:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.home-page .hero-name-link:focus-visible { outline: 2px solid #feb74d; outline-offset: 5px; border-radius: 2px; }
.home-page .portfolio-track { display: flex; align-items: center; gap: 32px; width: max-content; padding: 0; }
.home-page .project-caption h2, .home-page .bio-copy h2 { font-family: var(--font-display); }
.home-page .project-caption h2 { font-size: 21px; font-weight: 400; }
.home-page .project-caption p { font-family: var(--font-family); font-size: 19px; font-weight: 400; }
.home-page .about-card {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: clamp(360px, 27.4vw, 526px) clamp(360px, 27.4vw, 526px);
  gap: 32px;
  width: max-content;
  height: auto;
  align-items: center;
}
.home-page .about-card .bio-copy { max-width: none; padding: 0; }
.home-page .about-card .bio-copy h2 { margin: 0 0 14px; font-size: 24px; font-weight: 500; }
.home-page .about-card .bio-copy p { margin: 0; font-family: var(--font-family); font-size: 18px; font-weight: 300; line-height: 1.45; letter-spacing: 0; }
.home-page .about-card .social-marks { margin-top: 24px; }
.home-page .home-footer { position: absolute; left: 32px; bottom: 30px; margin: 0; padding: 0; color: #777477; font-size: 16px; }

.outline-link, .resume-page .outline-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 7px 16px 8px;
  border: 1.5px solid rgba(244, 242, 241, 0.88);
  border-radius: 8px;
  background: rgba(32, 32, 32, 0.22);
  color: var(--foreground);
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.outline-link:hover, .outline-link:focus-visible,
.outline-link.download-link:hover, .outline-link.download-link:focus-visible,
.resume-page .outline-link:hover, .resume-page .outline-link:focus-visible {
  border-color: rgba(244, 242, 241, 0.88);
  background: var(--foreground);
  color: #202020;
  transform: translateY(-1px);
}
.outline-link.download-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

@media (max-width: 900px) {
  .home-page .portfolio-rail { padding-right: 6vw; padding-left: 6vw; }
  .home-page .intro-card { flex-basis: 413px; width: 413px; }
  .home-page .about-card { flex-basis: 82vw; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); width: 82vw; gap: 22px; }
}
@media (max-width: 700px) {
  .home-page .about-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-page .about-card .bio-copy p { font-size: 17px; line-height: 1.45; }
}
@media (max-width: 560px) {
  .home-page .portfolio-rail { padding: 74px 14px 48px; }
  .home-page .hero-statement { font-size: clamp(25px, 7.8vw, 30.8px); }
  .home-page .hero-statement .hero-product-line { gap: 7px; }
  .home-page .hero-name-link { width: 156px; height: 44px; font-size: 39px; line-height: 44px; }
  .home-page .hero-name-link::after { font-size: 23px; }
  .home-page .portfolio-track { gap: 16px; }
  .home-page .intro-card { flex-basis: calc(100vw - 28px); width: calc(100vw - 28px); margin-right: 84px; }
  .home-page .hero-copy { flex: 0 0 100%; width: 100%; }
  .home-page .project-card { flex-basis: 86vw; width: 86vw; }
  .home-page .project-caption p { font-size: 16px; }
  .home-page .about-card { flex-basis: calc(100vw - 28px); width: calc(100vw - 28px); grid-template-columns: 1fr; gap: 18px; }
  .home-page .about-card .bio-copy { padding: 0; }
  .home-page .about-card .bio-copy h2 { margin-bottom: 10px; font-size: 22px; }
  .home-page .about-card .bio-copy p { font-size: 16px; line-height: 1.45; }
  .home-page .about-card .social-marks { margin-top: 20px; }
  .home-page .home-footer { left: 14px; bottom: 12px; font-size: 13px; }
  .resume-page .resume-main { width: calc(100% - 28px); margin: 0 auto; padding: 18px 0 56px; }
}
@media (hover: none) {
  .project-art-pending .project-status { transform: none; opacity: 1; }
}
@media (max-width: 350px) {
  .resume-page .resume-site-header {
    flex: 0 0 108px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
  }
  .resume-page .outline-link { flex: 0 0 auto; white-space: nowrap; }
}

/* Prime Score case study */
@view-transition { navigation: auto; }
::view-transition-group(prime-score-cover),
::view-transition-group(worklynk-cover) {
  animation-duration: 680ms;
  animation-timing-function: cubic-bezier(.2,.8,.2,1);
}
.home-page .project-card[data-card="prime-score"] .project-art,
.prime-score-page .prime-hero-art { view-transition-name: prime-score-cover; }
.home-page [data-card="finsight"] .project-art { view-transition-name: finsight-cover; }
.home-page .project-card[data-card="worklynk"] .project-art,
.worklynk-page .worklynk-hero-art { view-transition-name: worklynk-cover; }

.prime-score-page {
  --prime-blue: #0c6fc6;
  --prime-panel: #252526;
  --prime-border: rgba(242, 240, 238, .13);
  --prime-muted: #8b878a;
  --prime-radius: 12px;
  --prime-control-radius: 8px;
  background: #212121;
  color: #f2f0ee;
}
.prime-case-header {
  position: sticky;
  inset: auto;
  top: 0;
  z-index: 30;
  width: min(1080px, calc(100% - 64px));
  height: 70px;
  margin: 0 auto;
  padding: 12px 0;
  justify-content: space-between;
  pointer-events: auto;
  background: #212121;
}
.prime-case-header .outline-link {
  min-height: 42px;
  border-radius: var(--prime-control-radius);
  background: #212121;
  backdrop-filter: none;
  font-size: 16px;
}
.prime-score-page .outline-link:hover,
.prime-score-page .outline-link:focus-visible {
  color: #202020;
  background: var(--foreground);
  transform: translateY(-1px);
}
.prime-case-header .outline-link span { font-size: 19px; }
.prime-case-main {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto 72px;
  padding: 0 0 32px;
}
.prime-case-main [id] { scroll-margin-top: 92px; }
.prime-hero { margin: 0; }
.prime-hero-art {
  width: 100%;
  margin: 0 0 26px;
  overflow: hidden;
  aspect-ratio: 1.39;
  border-radius: var(--prime-radius);
  background: #0b3974;
}
.prime-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.prime-title-block { max-width: 1000px; }
.prime-eyebrow, .prime-section-label {
  margin: 0 0 14px;
  color: #82aef4;
  font: 600 12px/1.35 var(--font-family);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.prime-eyebrow span { color: var(--foreground); opacity: .55; }
.prime-hero h1 {
  max-width: 1000px;
  margin: 0;
  font: 500 clamp(38px, 3.15vw, 50px)/1.1 var(--font-display);
  letter-spacing: -.04em;
}
.prime-hero-summary {
  max-width: 900px;
  margin: 22px 0 0;
  color: #b8b4b6;
  font-size: 18px;
  line-height: 1.55;
}
.prime-section { margin-top: 78px; }
.prime-section-heading { max-width: 1000px; margin-bottom: 27px; }
.prime-section-heading .prime-section-label { margin-bottom: 12px; }
.prime-section h2 {
  max-width: 980px;
  margin: 0;
  font: 500 clamp(30px, 2.5vw, 40px)/1.12 var(--font-display);
  letter-spacing: -.035em;
}
.prime-section p { color: #b5b1b3; font-size: 18px; line-height: 1.55; }
.prime-lede { max-width: 910px; margin: 17px 0 0; }
.prime-challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prime-info-card {
  min-height: 205px;
  padding: 23px 22px;
  border: 1px solid var(--prime-border);
  border-radius: var(--prime-radius);
  background: #252526;
}
.prime-info-card h3, .prime-solution-list h3, .prime-feature-list h3, .prime-walkthrough-row h3 {
  margin: 0 0 10px;
  font: 500 22px/1.2 var(--font-display);
  letter-spacing: -.02em;
}
.prime-info-card p, .prime-solution-list p, .prime-capability-grid p, .prime-walkthrough-row p {
  margin: 0;
  color: #b5b1b3;
  font-size: 16px;
  line-height: 1.55;
}
.prime-solution-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.prime-solution-list article {
  min-height: 245px;
  padding: 22px;
  border: 1px solid rgba(130,174,244,.27);
  border-radius: var(--prime-radius);
  background: linear-gradient(145deg, rgba(40,54,73,.78), rgba(35,36,39,.96) 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.prime-solution-list article:hover { transform: translateY(-3px); border-color: rgba(130,174,244,.56); background: linear-gradient(145deg, rgba(45,66,94,.88), rgba(37,38,42,.98) 72%); box-shadow: 0 14px 32px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.055); }
.prime-solution-list article > span { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 22px; border: 1px solid rgba(130,174,244,.42); border-radius: 50%; background: rgba(12,111,198,.15); color: #a9c7fb; font-size: 12px; font-weight: 600; }
.prime-solution-list h3 { margin-bottom: 10px; font-size: 22px; }
.prime-solution-list p { max-width: 850px; }
.prime-comparison-section { padding: 0; }
.prime-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--prime-border);
  border-radius: var(--prime-radius);
  background: #171718;
  scrollbar-color: #5d5d62 #212123;
}
.prime-comparison-table { width: 100%; min-width: 820px; table-layout: fixed; border-collapse: collapse; text-align: left; font-size: 14px; }
.prime-comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.prime-comparison-table th, .prime-comparison-table td { padding: 14px 15px; border-bottom: 1px solid rgba(242,240,238,.15); }
.prime-comparison-table th:first-child { width: 41%; }
.prime-comparison-table th:not(:first-child) { width: 14.75%; text-align: center; }
.prime-comparison-table thead th {
  color: #bdb9bb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.prime-comparison-table thead th:nth-child(2) { color: #e3e0e1; background: #242425; }
.prime-comparison-table tbody th { color: #b5b1b3; font-weight: 400; }
.prime-comparison-table tbody td { text-align: center; }
.prime-comparison-table tbody td:nth-child(2) { background: #242425; }
.prime-comparison-table tbody tr:last-child th, .prime-comparison-table tbody tr:last-child td { border-bottom: 0; }
.prime-check, .prime-cross {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  font: 700 13px/1 var(--font-family);
}
.prime-check { background: #6dc995; color: #163a28; }
.prime-cross { background: #df765d; color: #48201a; }
.prime-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.prime-table-note { margin: 14px 0 0 !important; color: #858185 !important; font-size: 14px !important; line-height: 1.5 !important; }
.prime-capabilities-section > .prime-section-label { margin-bottom: 12px; }
.prime-capabilities-section > .prime-lede { margin: 16px 0 22px; }
.prime-wide-art { overflow: hidden; margin: 30px 0 27px; border-radius: var(--prime-radius); background: transparent; }
.prime-wide-art img { width: 100%; height: auto; }
.prime-capabilities-section .prime-wide-art { aspect-ratio: 1.48; background: #0e4384; }
.prime-capabilities-section .prime-wide-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.prime-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prime-capability-grid article { min-height: 150px; padding: 20px 21px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #252526; }
.prime-capability-grid h3 { margin: 0 0 9px; font: 500 20px/1.22 var(--font-display); letter-spacing: -.02em; }
.prime-persona { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: center; }
.prime-persona .prime-section-label { margin-bottom: 12px; }
.prime-persona h2 { max-width: 340px; }
.prime-quote-card { margin: 0; padding: 27px 29px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #252526; }
.prime-quote-card blockquote { margin: 0; color: #d4d1d2; font: 400 19px/1.5 var(--font-family); }
.prime-quote-card figcaption { display: grid; gap: 4px; margin-top: 20px; color: #f2f0ee; font-size: 15px; }
.prime-quote-card figcaption span { color: #969194; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.prime-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prime-feature-list article { min-height: 220px; padding: 22px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: linear-gradient(145deg, #29292b, #242426); transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.prime-feature-list article:hover { transform: translateY(-2px); border-color: rgba(130,174,244,.38); background: linear-gradient(145deg, #2d2d30, #252527); }
.prime-feature-list article::before { content: attr(data-feature-index); display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 17px; border: 1px solid rgba(130,174,244,.35); border-radius: 50%; color: #82aef4; font: 500 11px/1 var(--font-family); }
.prime-feature-list article:last-child { grid-column: 1 / -1; min-height: 0; }
.prime-feature-list h3 { margin: 0 0 12px; font-size: 20px; }
.prime-feature-list ul { display: grid; gap: 8px; margin: 0; padding: 0; color: #b5b1b3; font-size: 15px; line-height: 1.5; list-style: none; }
.prime-feature-list li { position: relative; padding-left: 16px; }
.prime-feature-list li::before { position: absolute; top: .68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #82aef4; content: ""; }
.prime-walkthrough .prime-section-heading h2 { max-width: 920px; }
.prime-deck-slide { background: #142132; }
.prime-deck-slide img { display: block; width: 100%; height: auto; max-height: none; object-fit: cover; }
.prime-walkthrough-row { display: grid; grid-template-columns: .82fr 1.18fr; gap: 36px; align-items: center; margin-top: 42px; }
.prime-walkthrough-row.reverse { grid-template-columns: 1.18fr .82fr; }
.prime-walkthrough-row.reverse > div { grid-column: 2; grid-row: 1; }
.prime-walkthrough-row.reverse figure { grid-column: 1; grid-row: 1; }
.prime-walkthrough-row h3 { margin: 0 0 12px; font-size: 23px; }
.prime-walkthrough-row figure { overflow: hidden; margin: 0; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #161b20; }
.prime-walkthrough-row figure img { width: 100%; height: auto; }
.prime-prototype-section { padding-top: 3px; }
.prime-prototype-frame { overflow: hidden; min-height: 640px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #19191b; }
.prime-prototype-frame iframe { display: block; width: 100%; height: min(80vh, 900px); min-height: 640px; border: 0; background: #19191b; }
.prime-prototype-placeholder { display: grid; min-height: 640px; align-content: center; justify-items: center; padding: 40px; text-align: center; background: radial-gradient(ellipse at 50% 42%, rgba(12,111,198,.2), transparent 54%), #19191b; }
.prime-prototype-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: #f4f4f5; color: var(--prime-blue); font: 600 32px var(--font-display); }
.prime-prototype-placeholder p { margin: 23px 0 0; }
.prime-signoff { overflow: hidden; margin: 78px 0 0; border-radius: var(--prime-radius); background: #0e4384; }
.prime-signoff img { width: 100%; height: auto; }
.prime-case-footer { display: grid; justify-items: center; gap: 17px; padding: 26px 0 0; border-top: 1px solid var(--prime-border); color: #858287; font-size: 14px; text-align: center; }
.prime-case-footer .outline-link { border-radius: var(--prime-control-radius); background: #212121; font-size: 16px; }

@media (max-width: 900px) {
  .prime-case-header, .prime-case-main { width: calc(100% - 52px); }
  .prime-case-header { height: 66px; }
  .prime-hero h1 { font-size: clamp(36px, 5.5vw, 46px); }
  .prime-section { margin-top: 68px; }
  .prime-challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prime-challenge-grid .prime-info-card:last-child { grid-column: 1 / -1; }
  .prime-solution-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prime-solution-list article { min-height: 0; }
  .prime-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prime-persona { grid-template-columns: 1fr; gap: 20px; }
  .prime-persona h2 { max-width: 640px; }
  .prime-walkthrough-row, .prime-walkthrough-row.reverse { grid-template-columns: 1fr; gap: 18px; }
  .prime-walkthrough-row.reverse > div, .prime-walkthrough-row.reverse figure { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .prime-case-header, .prime-case-main { width: calc(100% - 28px); }
  .prime-case-header { height: 61px; padding: 10px 0; }
  .prime-case-header .outline-link { min-height: 40px; gap: 8px; padding: 7px 11px 8px; font-size: 14px; }
  .prime-case-main { margin-bottom: 48px; }
  .prime-case-main [id] { scroll-margin-top: 76px; }
  .prime-hero-art { margin-bottom: 21px; aspect-ratio: 1.12; }
  .prime-eyebrow, .prime-section-label { margin-bottom: 10px; font-size: 10px; letter-spacing: .16em; }
  .prime-hero h1 { font-size: clamp(33px, 9vw, 42px); line-height: 1.08; }
  .prime-hero-summary, .prime-section p { font-size: 16px; line-height: 1.52; }
  .prime-hero-summary { margin-top: 16px; }
  .prime-section { margin-top: 57px; }
  .prime-section-heading { margin-bottom: 21px; }
  .prime-section h2 { font-size: 32px; line-height: 1.12; }
  .prime-lede { margin-top: 13px; }
  .prime-challenge-grid { grid-template-columns: 1fr; gap: 10px; }
  .prime-challenge-grid .prime-info-card:last-child { grid-column: auto; }
  .prime-info-card { min-height: 0; padding: 18px; }
  .prime-info-card h3 { font-size: 20px; }
  .prime-info-card p, .prime-solution-list p, .prime-capability-grid p, .prime-walkthrough-row p { font-size: 15px; }
  .prime-solution-list { grid-template-columns: 1fr; gap: 10px; }
  .prime-solution-list article { padding: 18px; }
  .prime-solution-list article > span { margin-bottom: 15px; }
  .prime-solution-list h3 { font-size: 21px; }
  .prime-comparison-table { min-width: 800px; font-size: 13px; }
  .prime-comparison-table th, .prime-comparison-table td { padding: 12px 10px; }
  .prime-capability-grid, .prime-feature-list { grid-template-columns: 1fr; }
  .prime-capability-grid { gap: 9px; }
  .prime-capability-grid article { min-height: 0; padding: 18px; }
  .prime-capability-grid h3 { font-size: 19px; }
  .prime-persona { gap: 16px; }
  .prime-quote-card { padding: 20px; }
  .prime-quote-card blockquote { font-size: 16px; }
  .prime-feature-list article, .prime-feature-list article:last-child { min-height: 0; padding: 18px; }
  .prime-feature-list h3 { font-size: 19px; }
  .prime-feature-list ul { font-size: 14px; }
  .prime-walkthrough-row, .prime-walkthrough-row.reverse { margin-top: 32px; }
  .prime-walkthrough-row h3 { font-size: 21px; }
  .prime-prototype-frame, .prime-prototype-placeholder { min-height: 520px; }
  .prime-prototype-frame iframe { height: 74vh; min-height: 520px; }
  .prime-prototype-placeholder { padding: 24px; }
  .prime-signoff { margin-top: 54px; }
  .prime-case-footer { gap: 15px; padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .prime-score-page *, .prime-score-page *::before, .prime-score-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  ::view-transition-group(prime-score-cover), ::view-transition-group(worklynk-cover) { animation-duration: .01ms !important; }
}

/* WorkLynk case study */
.worklynk-page { --prime-blue: #2060e4; --prime-panel: #242527; }
.worklynk-page .prime-hero-art { background: #1559d4; }
.worklynk-page .prime-eyebrow,
.worklynk-page .prime-section-label { color: #82a8ff; }
.worklynk-page .prime-solution-list article,
.worklynk-page .prime-feature-list article:hover { border-color: rgba(84,132,255,.36); }
.worklynk-page .prime-prototype-placeholder { background: radial-gradient(ellipse at 50% 42%, rgba(32,96,228,.24), transparent 54%), #19191b; }
.worklynk-page .prime-prototype-mark { color: #2060e4; }
.worklynk-about { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 34px; }
.worklynk-about h2 { margin-bottom: 16px; }
.worklynk-about > div > p:last-child { margin: 0; }
.worklynk-about-art,
.worklynk-process-art,
.worklynk-grid-art,
.worklynk-dashboard-art,
.worklynk-screens-art,
.worklynk-other-art,
.worklynk-closing-art { overflow: hidden; margin: 0; border-radius: var(--prime-radius); background: #f2f3f6; }
.worklynk-about-art { border: 1px solid var(--prime-border); aspect-ratio: 1.3; background: #17191d; }
.worklynk-about-art img { width: 100%; height: 100%; object-fit: cover; }
.worklynk-capability-grid .prime-info-card { min-height: 190px; }
.worklynk-pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.worklynk-pair-card { min-height: 100%; padding: 24px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #252526; }
.worklynk-pair-card h3 { margin: 0 0 19px; font: 500 22px/1.2 var(--font-display); letter-spacing: -.02em; }
.worklynk-pair-card ul { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.worklynk-pair-card li { position: relative; padding-left: 19px; color: #b5b1b3; font-size: 15px; line-height: 1.52; }
.worklynk-pair-card li::before { position: absolute; top: .64em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #858185; content: ""; }
.worklynk-solutions-card { border-color: rgba(32,96,228,.42); background: linear-gradient(145deg, rgba(32,96,228,.16), #252526 70%); }
.worklynk-solutions-card li::before { background: #6f9cff; box-shadow: 0 0 12px rgba(71,127,255,.4); }
.worklynk-process-art { margin-bottom: 25px; background: #f5f6f8; }
.worklynk-process-art img { width: 100%; height: auto; }
.worklynk-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.worklynk-stage-grid article { min-height: 118px; padding: 17px 18px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #252526; }
.worklynk-stage-grid article > span { color: #82a8ff; font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.worklynk-stage-grid h3 { margin: 12px 0 4px; font: 500 18px/1.2 var(--font-display); }
.worklynk-stage-grid p { margin: 0; color: #928e92; font-size: 14px; }
.worklynk-persona-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.worklynk-persona-card { min-height: 100%; padding: 22px; border: 1px solid var(--prime-border); border-radius: var(--prime-radius); background: #252526; }
.worklynk-persona-role { margin: 0 0 17px; color: #9db8ff; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.worklynk-persona-card h3 { margin: 0 0 10px; font: 500 21px/1.2 var(--font-display); letter-spacing: -.02em; }
.worklynk-persona-context { min-height: 66px; margin: 0 0 20px; color: #b5b1b3; font-size: 14px; line-height: 1.5; }
.worklynk-persona-card > div { padding-top: 16px; border-top: 1px solid var(--prime-border); }
.worklynk-persona-card > div > strong { color: #f1eff0; font-size: 12px; font-weight: 600; }
.worklynk-persona-card ul { display: grid; gap: 10px; margin: 11px 0 0; padding-left: 17px; color: #a9a5a8; font-size: 13px; line-height: 1.45; }
.worklynk-grid-art { padding: 10px; background: #f4f3f6; }
.worklynk-grid-art img,
.worklynk-dashboard-art img,
.worklynk-screens-art img,
.worklynk-other-art img,
.worklynk-closing-art img { display: block; width: 100%; height: auto; }
.worklynk-dashboard-art { background: #fff; }
.worklynk-screens-art { background: #fff; }
.worklynk-other-art { background: #d7e2f6; }
.worklynk-closing { margin-top: 78px; }
.worklynk-closing-art { background: #1559d4; }
@media (max-width: 900px) {
  .worklynk-about { grid-template-columns: 1fr; gap: 21px; }
  .worklynk-about-art { max-height: 480px; }
  .worklynk-persona-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .worklynk-about { gap: 16px; }
  .worklynk-about-art { aspect-ratio: 1.25; }
  .worklynk-pair-grid { grid-template-columns: 1fr; gap: 10px; }
  .worklynk-pair-card { padding: 19px; }
  .worklynk-pair-card h3 { font-size: 20px; }
  .worklynk-pair-card ul { gap: 13px; }
  .worklynk-pair-card li { font-size: 14px; }
  .worklynk-process-art { margin-bottom: 19px; }
  .worklynk-stage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .worklynk-stage-grid article { min-height: 110px; padding: 14px; }
  .worklynk-stage-grid h3 { font-size: 16px; }
  .worklynk-stage-grid p { font-size: 12px; }
  .worklynk-persona-grid { grid-template-columns: 1fr; gap: 10px; }
  .worklynk-persona-card { padding: 19px; }
  .worklynk-persona-context { min-height: 0; }
  .worklynk-grid-art { padding: 5px; }
  .worklynk-closing { margin-top: 55px; }
}

/* Mobile portfolio feed and compact case-study reading layout */
@media (max-width: 700px) {
  html { overflow-x: clip; }
  .home-page .landing {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  .home-page .site-header { position: absolute; inset: 14px 14px auto; }
  .home-page .site-header .outline-link { min-height: 39px; padding: 7px 12px; font-size: 14px; }
  .home-page .portfolio-rail {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
    overflow: visible;
    padding: 82px 18px 102px;
    overscroll-behavior: auto;
  }
  .home-page .portfolio-track {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .home-page .intro-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 70svh;
    margin: 0 0 20px;
    padding: 22px 0;
    align-items: center;
    justify-content: center;
    transform: none;
  }
  .home-page .hero-copy { flex: 0 0 100%; width: 100%; }
  .home-page .hero-statement { font-size: clamp(27px, 7.4vw, 34px); line-height: 1.04; }
  .home-page .hero-statement .hero-product-line { gap: 7px; }
  .home-page .hero-signature { margin-top: 12px; }
  .home-page .hero-signature-label { font-size: 13px; }
  .home-page .hero-name-link { width: 150px; height: 42px; font-size: 37px; line-height: 42px; }
  .home-page .hero-name-link::after { font-size: 22px; }
  .home-page .project-card {
    flex: 0 0 auto;
    width: 100%;
    transform-origin: center;
  }
  .home-page .project-art { aspect-ratio: 4 / 3; border-radius: 12px; }
  .home-page .portfolio-rail.has-selection .project-card {
    opacity: .5;
    filter: saturate(.82);
    transform: scale(.985);
  }
  .home-page .portfolio-rail.has-selection .project-card.is-selected {
    opacity: 1;
    filter: none;
    transform: scale(1);
  }
  .home-page .portfolio-rail.has-selection .project-card.is-selected .project-caption { opacity: 1; }
  .home-page .project-caption {
    position: static;
    min-height: 0;
    padding: 13px 2px 0;
    opacity: 1;
    transform: none;
  }
  .home-page .project-caption h2 { margin-bottom: 4px; font-size: 20px; }
  .home-page .project-caption p { color: #aaa6a8; font-size: 15px; line-height: 1.35; }
  .home-page .about-card {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
    width: 100%;
    margin-top: 10px;
    transform-origin: center;
    transition: opacity 500ms ease, transform 600ms cubic-bezier(.2,.8,.2,1), filter 500ms ease;
  }
  .home-page .portfolio-rail.has-mobile-selection .about-card {
    opacity: .5;
    filter: saturate(.82);
    transform: scale(.985);
  }
  .home-page .portfolio-rail.has-mobile-selection .about-card.is-selected {
    opacity: 1;
    filter: none;
    transform: scale(1);
  }
  .home-page .about-portrait { aspect-ratio: 1.2; max-height: 390px; }
  .home-page .about-card .bio-copy { padding: 0; }
  .home-page .about-card .bio-copy h2 { margin-bottom: 10px; font-size: 22px; }
  .home-page .about-card .bio-copy p { font-size: 15px; line-height: 1.5; }
  .home-page .about-card .social-marks { margin-top: 19px; }
  .home-page .home-footer {
    position: static;
    margin: 0 18px;
    padding: 0 0 20px;
    font-size: 13px;
  }

  .prime-case-header, .prime-case-main { width: calc(100% - 32px); }
  .prime-case-header {
    height: 58px;
    padding: 8px 0;
    justify-content: flex-start;
  }
  .prime-case-header .outline-link { min-height: 40px; padding: 7px 11px; font-size: 14px; }
  .prime-case-main { margin: 0 auto 42px; padding-bottom: 20px; overflow-x: clip; }
  .prime-case-main [id] { scroll-margin-top: 72px; }
  .prime-hero-art { margin-bottom: 18px; aspect-ratio: 1.48; }
  .prime-eyebrow, .prime-section-label { margin-bottom: 9px; font-size: 9px; letter-spacing: .14em; }
  .prime-hero h1 { font-size: clamp(28px, 7.6vw, 33px); line-height: 1.12; letter-spacing: -.035em; }
  .prime-hero-summary { max-width: none; margin-top: 13px; font-size: 14px; line-height: 1.52; }
  .prime-section { margin-top: 42px; }
  .prime-section-heading { margin-bottom: 16px; }
  .prime-section-heading .prime-section-label { margin-bottom: 8px; }
  .prime-section h2 { font-size: clamp(23px, 6.2vw, 27px); line-height: 1.16; }
  .prime-section p { font-size: 14px; line-height: 1.52; }
  .prime-lede { margin-top: 11px; }
  .prime-challenge-grid, .prime-solution-list, .prime-capability-grid,
  .prime-feature-list, .worklynk-pair-grid { grid-template-columns: 1fr; gap: 9px; }
  .prime-info-card, .prime-solution-list article, .prime-capability-grid article,
  .prime-feature-list article, .prime-feature-list article:last-child,
  .worklynk-pair-card { min-height: 0; padding: 16px; }
  .prime-info-card h3, .prime-solution-list h3, .prime-feature-list h3,
  .prime-capability-grid h3, .prime-walkthrough-row h3,
  .worklynk-pair-card h3 { font-size: 18px; }
  .prime-info-card p, .prime-solution-list p, .prime-capability-grid p,
  .prime-walkthrough-row p { font-size: 14px; }
  .prime-solution-list article > span { margin-bottom: 12px; }
  .prime-comparison-table { min-width: 730px; font-size: 12px; }
  .prime-comparison-table th, .prime-comparison-table td { padding: 10px 9px; }
  .prime-table-note { font-size: 12px !important; }
  .prime-wide-art { margin: 21px 0 18px; }
  .prime-capabilities-section .prime-wide-art { aspect-ratio: 1.28; }
  .prime-persona { gap: 14px; }
  .prime-quote-card { padding: 17px; }
  .prime-quote-card blockquote { font-size: 14px; line-height: 1.55; }
  .prime-quote-card figcaption { margin-top: 14px; font-size: 13px; }
  .prime-quote-card figcaption span { font-size: 10px; }
  .prime-feature-list article::before { margin-bottom: 12px; }
  .prime-feature-list ul { gap: 7px; font-size: 13px; }
  .prime-walkthrough-row, .prime-walkthrough-row.reverse { gap: 12px; margin-top: 25px; }
  .prime-walkthrough-row figure { border-radius: 10px; }
  .prime-prototype-section { padding-top: 0; }
  .prime-prototype-frame, .prime-prototype-placeholder { min-height: 540px; }
  .prime-prototype-frame iframe { height: min(76svh, 760px); min-height: 540px; }
  .prime-prototype-placeholder { padding: 20px; }
  .prime-signoff { margin-top: 42px; }
  .prime-case-footer { gap: 13px; padding-top: 18px; font-size: 12px; }
  .prime-case-footer .outline-link { min-height: 40px; font-size: 14px; }
  .worklynk-about { gap: 14px; }
  .worklynk-about-art { aspect-ratio: 1.4; }
  .worklynk-pair-card h3 { margin-bottom: 13px; }
  .worklynk-pair-card ul { gap: 10px; }
  .worklynk-pair-card li { font-size: 13px; }
  .worklynk-persona-grid { grid-template-columns: 1fr; gap: 9px; }
  .worklynk-persona-card { padding: 16px; }
  .worklynk-process-art { margin-bottom: 17px; }
  .worklynk-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .worklynk-stage-grid article { min-height: 0; padding: 12px; }
  .worklynk-grid-art { padding: 4px; }
  .worklynk-closing { margin-top: 42px; }
}

@media (max-width: 700px) and (max-height: 720px) {
  .home-page .portfolio-rail { padding-bottom: 12px; }
  .home-page .about-portrait { max-width: 360px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .portfolio-rail.has-selection .project-card,
  .home-page .portfolio-rail.has-selection .project-card.is-selected,
  .home-page .portfolio-rail.has-mobile-selection .about-card { transition-duration: .01ms; }
}
