/* =========================================================
   HOME.CSS
   Styles only for index.html.
   Includes hero, profile card, stats, document hub, explore hub.
   ========================================================= */

.hero {
  padding: 1.8rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero .lead {
  max-width: 82ch;
  margin-top: 1.35rem;
  color: #c5d3e6;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 700px;
  margin-top: 1.4rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.58;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.54);
  color: var(--muted);
}

.hero-note strong {
  font-weight: 500;
}

.hero-note strong { color: var(--text); }
.hero-note + .hero-note { margin-top: 0.9rem; }

.note-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.78rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 7px rgba(143, 227, 194, 0.12);
  flex: 0 0 10px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 5%, rgba(125, 211, 252, 0.18), transparent 18rem);
  pointer-events: none;
}

.profile-image-wrap {
  position: relative;
  padding: 1rem 1rem 0;
}

.profile-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: saturate(0.92) contrast(1.04);
}

.profile-body {
  position: relative;
  padding: 1.3rem;
}

.profile-body h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.profile-body p { margin-bottom: 1rem; }
.profile-meta { display: grid; gap: 0.65rem; }

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
}

.meta-row-copy {
  appearance: none;
  -webkit-appearance: none;

  position: relative;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;

  padding: 0.75rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;

  color: var(--muted);
  font: inherit;
  font-size: 0.93rem;
  line-height: inherit;
  letter-spacing: inherit;

  cursor: pointer;
  text-align: left;
}

.meta-row-copy .meta-label {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 400;
}

.meta-row-copy .meta-value {
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  text-align: right;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.meta-row-copy:hover .meta-value {
  color: var(--accent);
  text-shadow: 0 0 16px rgba(147, 197, 253, 0.38);
}

.copy-feedback {
  position: absolute;
  right: 0;
  top: -0.15rem;
  transform: translateY(-100%);
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 999px;
  background: rgba(7, 9, 22, 0.92);
  color: var(--accent);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.meta-row-copy.is-copied .copy-feedback {
  opacity: 1;
  transform: translateY(-115%);
}

.meta-row strong { color: var(--text); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  min-height: 150px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(15, 23, 42, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat-value {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
}

.stat-label {
  display: block;
  color: var(--accent);
  font-weight: 850;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.stat-card p {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}


/* CV Overview section */
.cv-overview-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(520px, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.cv-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
}

.cv-overview-copy h2 {
  margin-bottom: 0.85rem;
}

.cv-overview-copy p {
  max-width: 42rem;
  color: var(--muted);
}

.cv-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}


@media (max-width: 680px) {
  .cv-card-list {
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
  }
}


/* Recommendation letters section */
.recommendations-showcase {
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.recommendations-copy {
  max-width: 1260px;
  margin-bottom: 1.75rem;
}

.recommendations-copy h2 {
  margin-bottom: 0.85rem;
}

.recommendations-copy p {
  color: var(--muted);
}

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

.recommendation-card {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(15, 23, 42, 0.68);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.recommendation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.recommendation-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.recommendation-card:hover::before {
  opacity: 1;
}

.recommendation-icon,
.recommendation-content,
.recommendation-arrow {
  position: relative;
  z-index: 1;
}

.recommendation-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;
  background: rgba(147, 197, 253, 0.1);
  color: var(--accent);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.recommendation-content strong {
  display: block;
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  color: var(--text);
}

.recommendation-content small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.recommendation-arrow {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 850;
  transition: transform 180ms ease;
}

.recommendation-card:hover .recommendation-arrow {
  transform: translateX(5px);
}

/* Explore section - same visual behavior as Recommendation letters */
.explore-showcase {
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.explore-header {
  max-width: 1080px;
  margin-bottom: 1.75rem;
}

.explore-header h2 {
  margin-bottom: 0.85rem;
}

.explore-header p {
  color: var(--muted);
}

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

.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 145px;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(15, 23, 42, 0.68);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.explore-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.explore-card:hover::before {
  opacity: 1;
}

.explore-number,
.explore-icon,
.explore-content,
.explore-link {
  position: relative;
  z-index: 1;
}

.explore-number {
  display: none;
}

.explore-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.explore-content strong {
  display: block;
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  color: var(--text);
}

.explore-content small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.explore-link {
  margin-top: 0.55rem;
  color: var(--accent);
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.03em;
  transition: transform 180ms ease;
}

.explore-card:hover .explore-link {
  transform: translateX(5px);
}

/* Keep Projects slightly highlighted, but with same card behavior */
.featured-explore {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(15, 23, 42, 0.68);
}

.featured-explore .explore-icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.24);
  color: var(--accent);
}

.featured-explore:hover {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(15, 23, 42, 0.9);
}

.featured-explore:hover .explore-icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.24);
  color: var(--accent);
}


@media (max-width: 980px) {
  .cv-overview-panel {
    grid-template-columns: 1fr;
  }

  .recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 1.8rem 0 3rem;
    min-height: auto;
  }
  .hero-grid,
  .stats-grid,
  .explore-grid { gap: 1.8rem; }
  .profile-card,
  .stat-card { padding: 1rem; }
  .profile-image { max-height: 280px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .documents-showcase { grid-template-columns: 1fr; }
  .documents-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: auto; }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 1.8rem;
  }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 150px; }
}

@media (max-width: 520px) {
  .documents-showcase {
    padding: 1.2rem;
    border-radius: 22px;
  }
  .document-card { grid-template-columns: auto 1fr; }
  .document-arrow { display: none; }
  .explore-card { border-radius: 20px; }
}

/* Cooler blue/indigo panels */
.profile-card,
.stat-card,
.cv-overview-panel,
.recommendations-showcase,
.explore-showcase {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(13, 16, 34, 0.72);
}

.recommendation-card,
.explore-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012)),
    rgba(13, 16, 34, 0.7);
}

.recommendation-card::before,
.explore-card::before {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.16), transparent 55%);
}

.recommendation-card:hover,
.explore-card:hover {
  border-color: rgba(216, 180, 254, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.016)),
    rgba(20, 26, 52, 0.9);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(192, 132, 252, 0.13);
}

/* Remove outer rectangle backgrounds from CV, Recommendations and Explore sections */
.cv-overview-panel,
.recommendations-showcase,
.explore-showcase {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
}

/* Minimal modern CV card */
.cv-overview-card {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  width: 100%;
  min-height: 125px;
  margin-left: auto;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;

  padding: 1.25rem 1.35rem;

  border: 1px solid rgba(191, 219, 254, 0.18);
  border-radius: 22px;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(13, 16, 34, 0.72);

  color: var(--text);
  text-decoration: none;

  box-shadow: none;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.cv-overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 180, 254, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(17, 24, 46, 0.82);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(192, 132, 252, 0.13);
}

.cv-big-label {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;

  background: rgba(147, 197, 253, 0.09);
  color: #dbeafe;

  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.cv-card-content strong {
  display: block;
  margin-bottom: 0.28rem;

  color: var(--text);
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.cv-card-content small {
  display: block;
  max-width: 48ch;

  color: var(--muted);
  line-height: 1.45;
}

.cv-card-arrow {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(191, 219, 254, 0.16);
  border-radius: 999px;

  color: var(--accent);
  font-size: 1.15rem;

  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.cv-overview-card:hover .cv-card-arrow {
  transform: translateX(4px);
  border-color: rgba(147, 197, 253, 0.32);
}

@media (max-width: 680px) {
  .cv-overview-card {
    grid-template-columns: auto 1fr;
    padding: 1.1rem;
  }

  .cv-card-arrow {
    display: none;
  }
}

/* Moving light around CV card perimeter */
@property --cv-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.cv-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;

  background: conic-gradient(
    from calc(var(--cv-angle) - 315deg),
    transparent 0deg,
    transparent 250deg,
    rgba(147, 197, 253, 0.15) 285deg,
    rgba(147, 197, 253, 0.95) 315deg,
    rgba(219, 234, 254, 0.75) 335deg,
    transparent 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  opacity: 0;
}

.cv-card-list .cv-overview-card::before {
  opacity: 1;
}

.cv-card-list .cv-overview-card:nth-child(1)::before {
  animation: cvEnglishRunner 8s linear infinite;
}

.cv-card-list .cv-overview-card:nth-child(2)::before {
  animation: cvGermanRunner 8s linear infinite;
}

/* English: one smooth full loop */
@keyframes cvEnglishRunner {
  0% {
    --cv-angle: 129deg;
  }

  100% {
    --cv-angle: 489deg;
  }
}

/* German: same loop, opposite direction */
@keyframes cvGermanRunner {
  0% {
    --cv-angle: 215deg;
  }

  100% {
    --cv-angle: -145deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-overview-card::before {
    animation: none;
    opacity: 0;
  }
}


/* Glassy shared cards */
.profile-card,
.stat-card,
.cv-overview-panel,
.cv-overview-card,
.recommendations-showcase,
.recommendation-card,
.explore-showcase,
.explore-card {
  backdrop-filter: blur(18px);
  border-color: rgba(220, 210, 255, 0.16);
}


.cv-card-list .cv-overview-card {
  max-width: none;
  width: 100%;
  margin-left: 0;
}

/* =========================================================
   VALUE SECTION — WHAT I HELP TEAMS WITH
   ========================================================= */

.value-section {
  position: relative;
}

.value-heading {
  align-items: flex-start;
  text-align: left;
}

.value-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: 1.35rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(191, 219, 254, 0.13);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.54);
}

.value-flow span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.value-flow span:nth-child(even) {
  color: var(--accent);
}

.value-grid-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  max-width: 750px;
  margin-top: 2rem;
  margin-right: auto;
}

.value-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}


.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(147, 197, 253, 0.8),
    rgba(129, 140, 248, 0.7),
    transparent
  );
  opacity: 0.55;
}

.value-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -80% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  filter: blur(24px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(147, 197, 253, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.value-card:hover::after {
  opacity: 1;
}

.value-card-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.2rem;
}

.value-card-top,
.value-card-body,
.value-card h3,
.value-card p {
  position: relative;
  z-index: 1;
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
}


.value-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(147, 197, 253, 0.16), rgba(147, 197, 253, 0.055));
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.value-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card h3 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.value-card p {
  width: 100%;
  max-width: none;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Mobile */
@media (max-width: 760px) {
  .value-flow {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .value-card-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 22px;
  }

  .value-card-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .value-card p {
    max-width: none;
  }
}

/* =========================================================
   Home page high-resolution refinements
   ========================================================= */

.profile-image-wrap picture {
  width: 100%;
  height: 100%;
}

.cv-overview-card.is-disabled,
.cv-overview-card.is-disabled:hover {
  cursor: not-allowed;
  opacity: 0.66;
  transform: none;
  border-color: rgba(191, 219, 254, 0.14);
  box-shadow: none;
}

.cv-overview-card.is-disabled .cv-card-arrow {
  width: auto;
  min-width: 3.8rem;
  padding-inline: 0.7rem;
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: none;
}

.cv-overview-card.is-disabled::before {
  animation: none !important;
  opacity: 0.18 !important;
}



/* Disabled top-navigation links for unfinished sections. */
.primary-nav .nav-link[data-disabled-link="true"],
.primary-nav .nav-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.primary-nav .nav-link[data-disabled-link="true"]:hover,
.primary-nav .nav-link[aria-disabled="true"]:hover,
.primary-nav .nav-link[data-disabled-link="true"].is-active,
.primary-nav .nav-link[aria-disabled="true"].is-active {
  color: var(--muted);
  background: rgba(148, 163, 184, 0.08);
}

/* Optional disabled explore cards. */
.explore-card[data-disabled-link="true"],
.explore-card[aria-disabled="true"] {
  opacity: 0.76;
}

.explore-card[data-disabled-link="true"]:hover,
.explore-card[aria-disabled="true"]:hover {
  transform: none;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: none;
}

.explore-card[data-disabled-link="true"]:hover::before,
.explore-card[aria-disabled="true"]:hover::before {
  opacity: 0;
}

.explore-card[data-disabled-link="true"]:hover .explore-link,
.explore-card[aria-disabled="true"]:hover .explore-link {
  transform: none;
}

/* Wider intro text for the "At a glance" section */
.overview-heading {
  max-width: 725px;
}
.overview-heading p:not(.eyebrow) {
  max-width: 725px;
}

/* Wider text under "Employer-validated strengths" and "See the other sections..." */
.recommendations-copy p,
.explore-header p {
  max-width: 1080px;
}

.availability-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.35;
  color: var(--text);
}

.availability-text {
  font-weight: 400;
  margin-top: 0.075rem;
}


/* =========================================================
   RECOMMENDATION QUOTE HIGHLIGHTS
   ========================================================= */

/* 2-column quote preview grid */
.recommendation-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  margin-top: 1.85rem;
  margin-bottom: 1.6rem;
}

/* Quote preview cards */
.recommendation-quote-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;

  min-height: 0;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.48));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.18);
  transform: translateY(0);
  backface-visibility: hidden;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.recommendation-quote-card::before {
  content: "“";
  position: absolute;
  top: -0.42rem;
  right: 0.85rem;
  z-index: -1;

  color: rgba(148, 163, 184, 0.08);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.recommendation-quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.12),
      transparent 38%,
      rgba(34, 211, 238, 0.045)
    );
  opacity: 0.38;
}

.recommendation-quote-head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.1rem;
}

.recommendation-logo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;

  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;

  background: rgba(15, 23, 42, 0.5);
  color: #dbeafe;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.recommendation-quote-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.recommendation-quote-head p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 500;
}

.recommendation-quote-card blockquote {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 400;
}

.recommendation-quote-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  transition:
    transform 180ms ease,
    color 180ms ease;
}

.recommendation-quote-card:hover,
.recommendation-quote-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.34);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.095), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.29));
  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.18),
    0 0 0 1px rgba(96, 165, 250, 0.055);
}

.recommendation-quote-card:hover .recommendation-logo,
.recommendation-quote-card:focus-visible .recommendation-logo {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(96, 165, 250, 0.09);
}

.recommendation-quote-card:hover .recommendation-quote-link,
.recommendation-quote-card:focus-visible .recommendation-quote-link {
  transform: translateX(4px);
  color: #bfdbfe;
}

@media (max-width: 760px) {
  .recommendation-highlights {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 1.35rem;
  }
}

/* Quotation cards: less transparent + wider */
section[aria-labelledby="recommendations-title"] .container {
  max-width: 1260px;
}

/* Stronger quote-card variant */
.recommendation-quote-card--strong {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.54));

  border-color: rgba(96, 165, 250, 0.28);
}

.hero-title {
  text-align: left;
}

.hero-title span {
  display: block;
}

.hero-title-sub {
  display: block;
  margin-top: 0.45rem;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.5em;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.025em;
  opacity: 0.78;
}