:root {
  --bg: #f7f3eb;
  --surface: rgba(255, 252, 247, 0.86);
  --surface-strong: #fefcf8;
  --header-bg: rgba(254, 252, 248, 0.78);
  --text: #12110f;
  --muted: #655f55;
  --line: rgba(18, 17, 15, 0.12);
  --line-strong: rgba(18, 17, 15, 0.18);
  --button-bg: rgba(255, 252, 247, 0.72);
  --button-hover-bg: rgba(18, 17, 15, 0.08);
  --panel-padding: 2rem;
  --about-card-radius: 1.15rem;
  --site-scroll-speed: 1;
  --intro-progress: 0;
  --intro-scroll-height: 300vh;
  --intro-scroll-height-mobile: 250vh;
  --about-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Garamond, Baskerville, "Times New Roman", serif;
  transition: background-color 220ms ease, color 220ms ease;
}

body[data-site-version="entrepreneur"] {
  --bg: #11130e;
  --surface: rgba(24, 27, 20, 0.9);
  --surface-strong: #181b14;
  --header-bg: rgba(17, 19, 14, 0.82);
  --text: #f5f1e8;
  --muted: #bab2a4;
  --line: rgba(245, 241, 232, 0.14);
  --line-strong: rgba(245, 241, 232, 0.24);
  --button-bg: rgba(245, 241, 232, 0.08);
  --button-hover-bg: rgba(245, 241, 232, 0.14);
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 132, 83, 0.22), transparent 28%),
    linear-gradient(180deg, #181b14 0%, var(--bg) 100%);
  color-scheme: dark;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.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;
}

.site-width {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  opacity: 0;
  transform: translateY(-1.25rem);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

body.header-visible .site-header {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header-inner {
  width: calc(100% - 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-brand {
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--muted);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.version-toggle {
  --version-toggle-switch-width: 1.4em;
  --version-toggle-switch-height: 0.75em;
  --version-toggle-thumb-size: 0.5em;
  --version-toggle-thumb-offset: 0.125em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1em;
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
}

.version-toggle:hover {
  color: var(--text);
}

.version-toggle:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.25rem;
}

.version-toggle-label {
  color: var(--muted);
  transition: color 160ms ease;
}

.version-toggle-switch {
  position: relative;
  flex: 0 0 auto;
  width: var(--version-toggle-switch-width);
  height: var(--version-toggle-switch-height);
  border: 1px solid rgba(18, 17, 15, 0.1);
  border-radius: 999px;
  background: #d9d6cf;
  box-shadow: inset 0 0 0 1px rgba(18, 17, 15, 0.04);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.version-toggle-thumb {
  position: absolute;
  top: 50%;
  left: var(--version-toggle-thumb-offset);
  width: var(--version-toggle-thumb-size);
  height: var(--version-toggle-thumb-size);
  border-radius: 50%;
  background: #fffefa;
  box-shadow: 0 1px 4px rgba(18, 17, 15, 0.24);
  transform: translate(0, -50%);
  transition: transform 180ms ease;
}

.version-toggle[data-active-version="investor"] .version-toggle-label-investor,
.version-toggle[data-active-version="entrepreneur"] .version-toggle-label-entrepreneur {
  color: var(--text);
}

.version-toggle[data-active-version="entrepreneur"] .version-toggle-switch {
  border-color: rgba(70, 207, 91, 0.62);
  background: #4bd264;
}

.version-toggle[data-active-version="entrepreneur"] .version-toggle-thumb {
  transform: translate(
    calc(var(--version-toggle-switch-width) - var(--version-toggle-thumb-size) - var(--version-toggle-thumb-offset) - var(--version-toggle-thumb-offset)),
    -50%
  );
}

.intro {
  height: var(--intro-scroll-height);
}

.intro-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: clip;
}

.intro-mark {
  width: min(92vw, 1180px);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0;
  padding: 0 1rem;
  transform:
    translateY(calc(var(--intro-progress) * -10vh))
    scale(calc(1.08 - var(--intro-progress) * 0.08));
  filter: blur(calc(var(--intro-progress) * 5px));
  will-change: transform, filter;
}

.intro-line {
  display: block;
  overflow: hidden;
}

.intro-line + .intro-line {
  margin-top: -0.08em;
}

.intro-text {
  display: inline-block;
  font-size: clamp(6rem, 18vw, 13rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  opacity: 0;
  filter: blur(16px);
  transform: translateY(1.5rem) scale(1.02);
  animation: intro-settle 1.8s cubic-bezier(0.16, 0.84, 0.18, 1) forwards;
  will-change: transform, filter, opacity;
}

.intro-line-top .intro-text {
  animation-delay: 0.12s;
}

.intro-line-bottom .intro-text {
  animation-delay: 0.42s;
}

@keyframes intro-settle {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(1.5rem) scale(1.02);
  }

  55% {
    opacity: 0.72;
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.website-shell {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(247, 243, 235, 0), var(--surface-strong) 7rem);
}

.page-main {
  padding-top: 4.6rem;
}

.vedant-profile-page .page-main {
  padding-top: 2.4rem;
}

.page-hero {
  padding: 5rem 0 4rem;
}

.page-title {
  margin-bottom: 1rem;
  font-weight: 400;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.page-lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-section,
.content-section {
  padding: 7rem 0;
}

.hero-section {
  padding-bottom: 3.5rem;
}

.hero-layout {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 44rem;
  display: grid;
  justify-items: center;
}

.hero-copy h2 {
  margin-left: auto;
  margin-right: auto;
}

[data-version-variant="entrepreneur"] {
  display: none;
}

body[data-site-version="entrepreneur"] [data-version-variant="investor"] {
  display: none;
}

body[data-site-version="entrepreneur"] [data-version-variant="entrepreneur"] {
  display: inline;
}

.section-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h2,
h3 {
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.7rem, 8vw, 6.7rem);
  max-width: 10ch;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  max-width: 11ch;
}

.section-heading {
  max-width: none;
}

.hero-text,
.section-copy p,
.section-copy,
.contact-value,
.contact-card p,
.focus-card p {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-text {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  border-top: 1px solid var(--line);
}

.content-section-muted {
  background: rgba(255, 252, 247, 0.66);
}

body[data-site-version="entrepreneur"] .content-section-muted {
  background: rgba(245, 241, 232, 0.04);
}

.section-grid,
.contact-layout,
.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.home-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.focus-card,
.contact-card {
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

body[data-site-version="entrepreneur"] .about-intro-panel,
body[data-site-version="entrepreneur"] .about-member-link {
  background: var(--surface);
}

body[data-site-version="entrepreneur"] .about-intro-panel::after {
  background:
    linear-gradient(180deg, rgba(24, 27, 20, 0) 0%, rgba(24, 27, 20, 0.88) 46%, rgba(24, 27, 20, 0.99) 100%);
}

body[data-site-version="entrepreneur"] .about-members-section,
body[data-site-version="entrepreneur"] .website-shell {
  background: linear-gradient(180deg, rgba(17, 19, 14, 0), var(--surface-strong) 7rem);
}

body[data-site-version="entrepreneur"] .about-member-link:hover,
body[data-site-version="entrepreneur"] .about-member-link:focus-visible {
  background: rgba(245, 241, 232, 0.08);
  border-color: var(--line-strong);
}

body[data-site-version="entrepreneur"] .about-member-media,
body[data-site-version="entrepreneur"] .team-photo-frame {
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.1) 0%, rgba(105, 132, 83, 0.14) 100%);
}

.home-contact-item {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

h4 {
  margin-bottom: 0.75rem;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.contact-label {
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  margin-bottom: 1.4rem;
}

.contact-value:last-child {
  margin-bottom: 0;
}

.about-page .page-main {
  padding-top: 0;
}

.about-intro-section {
  position: relative;
  height: auto;
}

.about-intro-stage {
  position: relative;
  z-index: 3;
  min-height: 62vh;
}

.about-intro-panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62vh;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(254, 252, 248, 0.78);
  backdrop-filter: blur(18px);
  opacity: 1;
  filter: none;
  transform: none;
}

.about-intro-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  background:
    linear-gradient(180deg, rgba(254, 252, 248, 0) 0%, rgba(254, 252, 248, 0.88) 46%, rgba(254, 252, 248, 0.99) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-intro-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7rem clamp(1rem, 2.4vw, 2.2rem) 4rem;
}

.about-intro-inner {
  width: 100%;
  padding: 0;
  text-align: left;
}

.about-intro-label {
  margin-bottom: 0;
}

.about-intro-title {
  width: 100%;
  margin: 0;
  font-size: clamp(4.2rem, 8.5vw, 8.4rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.about-intro-line {
  display: block;
  opacity: 0;
  filter: blur(16px);
  transform: translateY(1.5rem) scale(1.02);
  animation: intro-settle 1.8s cubic-bezier(0.16, 0.84, 0.18, 1) forwards;
  will-change: transform, filter, opacity;
}

.about-intro-line-strong {
  margin-left: -0.02em;
  animation-delay: 0.26s;
}

.about-intro-lead {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
  opacity: 0;
  filter: blur(16px);
  transform: translateY(1.5rem) scale(1.02);
  animation: intro-settle 1.8s cubic-bezier(0.16, 0.84, 0.18, 1) forwards;
  animation-delay: 0.42s;
  will-change: transform, filter, opacity;
}

.about-intro-label {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(1.2rem) scale(1.01);
  animation: intro-settle 1.5s cubic-bezier(0.16, 0.84, 0.18, 1) forwards;
  animation-delay: 0.04s;
  will-change: transform, filter, opacity;
}

.about-members-section {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding-top: 4rem;
  background: var(--surface-strong);
}

.about-members-container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.about-members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.about-member-link {
  display: block;
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 0.8rem 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--about-card-radius);
  background: rgba(255, 252, 247, 0.46);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.about-member-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.about-member-media,
.team-photo-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247, 243, 235, 0.68) 0%, rgba(239, 232, 221, 0.88) 100%);
}

.about-member-media {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--about-card-radius) - 0.28rem);
}

.about-member-photo-shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-member-photo-namebar {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1rem 0.9rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.74) 100%);
  opacity: 1;
  transition: opacity 220ms ease, transform 240ms ease;
}

.about-member-photo-name {
  margin: 0;
  color: #f8f5ef;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.about-member-photo,
.team-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 240ms ease, filter 220ms ease, opacity 220ms ease;
}

.about-member-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0.08) 0%, rgba(18, 17, 15, 0.76) 34%, rgba(18, 17, 15, 0.94) 100%);
  color: var(--text);
  opacity: 0;
  transform: translateY(1.8rem);
  transition: opacity 240ms ease, transform 260ms ease;
  pointer-events: none;
}

.about-member-card-name {
  margin: 0;
  color: #f8f5ef;
  font-size: clamp(2.15rem, 3.4vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.about-member-card-copy {
  margin: 0;
  width: 100%;
  color: #f8f5ef;
  font-size: 1.08rem;
  line-height: 1.72;
  transform: translateY(1.2rem);
  transition: transform 280ms ease;
}

.about-member-copy {
  flex: 1;
}

.about-member-bio {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-member-bio-short {
  max-width: 24rem;
  transition: opacity 220ms ease, transform 240ms ease;
}

.about-member-divider {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-color: var(--line);
}

.about-member-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.about-member-link:hover,
.about-member-link:focus-visible {
  transform: translateY(-0.22rem);
  border-color: rgba(18, 17, 15, 0.2);
  background: rgba(255, 252, 247, 0.62);
}

.about-member-link:hover .about-member-photo,
.about-member-link:focus-visible .about-member-photo {
  transform: scale(1.03);
  opacity: 0.62;
  filter: none;
}

.about-member-link:hover .about-member-photo-namebar,
.about-member-link:focus-visible .about-member-photo-namebar,
.about-member-link:hover .about-member-bio-short,
.about-member-link:focus-visible .about-member-bio-short {
  opacity: 0;
  transform: translateY(-0.9rem);
}

.about-member-link:hover .about-member-card-overlay,
.about-member-link:focus-visible .about-member-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.about-member-link:hover .about-member-card-copy,
.about-member-link:focus-visible .about-member-card-copy {
  transform: translateY(0);
}

.profile-back-link:hover {
  color: #4f4234;
}

.about-member-link:focus-visible,
.profile-back-link:focus-visible {
  outline: 2px solid rgba(18, 17, 15, 0.7);
  outline-offset: 0.35rem;
}

body[data-site-version="entrepreneur"] .profile-back-link:hover {
  color: var(--text);
}

body[data-site-version="entrepreneur"] .about-member-link:focus-visible,
body[data-site-version="entrepreneur"] .profile-back-link:focus-visible {
  outline-color: rgba(245, 241, 232, 0.78);
}

.team-photo-frame {
  aspect-ratio: 4 / 5;
}

.team-photo-image {
  transform: scale(1);
}

.profile-hero {
  padding-bottom: 2.5rem;
}

.profile-hero-compact {
  padding-top: 1.9rem;
  padding-bottom: 0.7rem;
}

.profile-hero-compact + .content-section {
  padding-top: 3.8rem;
}

.profile-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.65fr);
  gap: 2.5rem;
  align-items: end;
}

.profile-title {
  max-width: 12ch;
}

.profile-hero-compact .profile-title {
  margin-bottom: 0.65rem;
  font-size: clamp(3rem, 5.8vw, 4.9rem);
}

.profile-back-link {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.profile-hero-compact .profile-back-link {
  margin-bottom: 1rem;
}

.profile-lead {
  max-width: 30rem;
}

.profile-hero-aside {
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
}

.profile-hero-note-label,
.profile-meta-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.profile-hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem;
  align-items: start;
}

.profile-photo-panel,
.profile-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-photo-panel {
  display: grid;
  gap: 1.5rem;
}

.profile-panel {
  display: flex;
  flex-direction: column;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line-strong);
}

.profile-summary {
  display: grid;
  gap: 1.75rem;
}

.profile-summary h3 {
  max-width: 12ch;
  margin-bottom: 0;
}

.profile-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.profile-panel h4 {
  margin-bottom: 0.9rem;
}

.profile-panel-intro {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.profile-photo-frame {
  min-height: 34rem;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.profile-meta-item {
  padding-top: 0.1rem;
}

.profile-meta-value {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.profile-empty-state {
  flex: 1;
  min-height: 14rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  display: grid;
  align-content: start;
  gap: 1.35rem;
}

.profile-empty-state p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.profile-empty-lines {
  display: grid;
  gap: 0.75rem;
}

.profile-empty-lines span {
  display: block;
  height: 1px;
  background: var(--line);
}

.profile-empty-lines span:nth-child(1) {
  width: 82%;
}

.profile-empty-lines span:nth-child(2) {
  width: 61%;
}

.profile-empty-lines span:nth-child(3) {
  width: 74%;
}

.portfolio-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.8rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-highlight {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
}

.portfolio-highlight-number {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
}

.portfolio-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.portfolio-stack {
  display: grid;
  gap: 1.45rem;
}

.portfolio-item,
.portfolio-skill-block {
  min-width: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.portfolio-item-kicker {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  overflow-wrap: anywhere;
}

.portfolio-item h5 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.portfolio-item p:not(.portfolio-item-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.portfolio-points {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.portfolio-points li::marker {
  color: var(--text);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portfolio-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .about-members-section {
    margin-top: 0;
    padding-top: 2.8rem;
  }

  .about-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .profile-photo-frame {
    min-height: 28rem;
  }

  .profile-meta-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .portfolio-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header-inner,
  .section-grid,
  .contact-layout,
  .focus-grid,
  .home-contact-grid,
  .about-members-grid,
  .profile-layout,
  .profile-sections {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 0.9rem 1rem;
    margin-left: 0;
  }

  .version-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: fit-content;
  }

  .intro {
    height: var(--intro-scroll-height-mobile);
  }

  .page-main {
    padding-top: 7.5rem;
  }

  .vedant-profile-page .page-main {
    padding-top: 6.2rem;
  }

  .hero-section,
  .content-section {
    padding: 5.5rem 0;
  }

  .hero-section {
    padding-bottom: 2.5rem;
  }

  .page-hero {
    padding: 4rem 0 3rem;
  }

  .profile-hero-compact {
    padding-top: 2rem;
    padding-bottom: 1.2rem;
  }

  .profile-hero-compact + .content-section {
    padding-top: 3.2rem;
  }

  h2 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  h3 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .page-title {
    font-size: clamp(3.2rem, 13vw, 5.4rem);
  }

  .profile-hero-compact .profile-title {
    font-size: clamp(2.7rem, 10vw, 4rem);
  }

  .intro-text {
    font-size: clamp(4.7rem, 22vw, 8rem);
  }

  .hero-text,
  .section-copy p,
  .section-copy,
  .contact-value,
  .contact-card p,
  .focus-card p,
  .page-lead,
  .about-intro-lead,
  .about-member-bio,
  .profile-empty-state p {
    font-size: 1.08rem;
  }

  .about-member-card-copy {
    font-size: 1.04rem;
  }

  .about-intro-section {
    height: auto;
  }

  .about-intro-panel {
    min-height: 58vh;
  }

  .about-intro-stage {
    min-height: 58vh;
  }

  .about-intro-shell {
    padding: 6.2rem 1rem 3rem;
  }

  .about-intro-inner {
    padding: 0;
  }

  .about-members-section {
    margin-top: 0;
    padding-top: 2.15rem;
  }

  .about-intro-title {
    font-size: clamp(3.6rem, 15vw, 6.2rem);
    line-height: 0.88;
  }

  .about-intro-lead {
    max-width: 25rem;
  }

  .profile-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .profile-panel,
  .profile-photo-panel {
    padding: 0;
  }

  .profile-photo-frame {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .version-toggle-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .intro {
    height: auto;
    min-height: 100vh;
  }

  .intro-stage {
    position: relative;
  }

  .intro-mark {
    transform: none;
    filter: none;
  }

  .intro-text {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .about-member-link,
  .about-member-photo,
  .about-member-photo-namebar,
  .about-member-card-overlay,
  .about-member-bio-short,
  .about-member-card-copy,
  .team-photo-image {
    transition: none;
  }

  .about-intro-panel {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .about-members-section {
    transform: none;
  }

  .about-intro-label,
  .about-intro-line,
  .about-intro-lead {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .about-member-bio-short {
    opacity: 1;
    transform: none;
  }

  .about-member-card-overlay {
    opacity: 0;
    transform: translateY(1.8rem);
  }
}

@media (hover: none) {
  .about-member-bio-short {
    display: none;
  }

  .about-member-photo-namebar {
    opacity: 1;
    transform: none;
  }

  .about-member-card-overlay {
    position: static;
    opacity: 1;
    transform: none;
    padding: 1rem 0 0;
    background: transparent;
    gap: 0.6rem;
  }

  .about-member-card-name {
    display: none;
  }

  .about-member-card-copy {
    color: var(--muted);
    transform: none;
  }

  .about-member-photo {
    opacity: 1;
    filter: none;
  }
}
