/* MyPortfolioHub v17 — premium public project case study */
:root {
  --v17-page: #060813;
  --v17-surface: #0d111c;
  --v17-surface-2: #121827;
  --v17-surface-3: #171f31;
  --v17-line: rgba(148, 163, 184, .14);
  --v17-line-strong: rgba(148, 163, 184, .24);
  --v17-copy: #f8fafc;
  --v17-muted: #98a2b7;
  --v17-soft: #cbd5e1;
  --v17-primary: #7c6cff;
  --v17-primary-2: #2dd4bf;
  --v17-cyan: #38bdf8;
  --v17-green: #34d399;
  --v17-yellow: #facc15;
  --v17-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

body {
  background:
    radial-gradient(circle at 14% 6%, rgba(124, 108, 255, .11), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(45, 212, 191, .07), transparent 26rem),
    var(--v17-page);
  color: var(--v17-copy);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.v17-project-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid var(--v17-line);
  background: rgba(6, 8, 19, .8);
  backdrop-filter: blur(22px) saturate(140%);
}

.v17-project-nav__inner {
  width: min(1380px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.v17-back-link,
.v17-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  color: var(--v17-soft);
  font-size: .84rem;
  transition: color .2s ease, transform .2s ease;
}

.v17-back-link:hover,
.v17-nav-brand:hover { color: #fff; }
.v17-back-link:hover { transform: translateX(-2px); }

.v17-nav-brand img,
.v17-nav-brand > span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  object-fit: cover;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124,108,255,.4);
  background: linear-gradient(135deg, #7c6cff, #22d3ee);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.v17-nav-brand strong {
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-display);
  font-size: .86rem;
}

.v17-project-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 104px 1rem 5rem;
}

.v17-project-shell {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.v17-breadcrumb {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem .2rem;
  color: #7e899f;
  font-size: .76rem;
  overflow: hidden;
}

.v17-breadcrumb a { color: #a5b4fc; }
.v17-breadcrumb span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v17-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: clamp(2rem, 4vw, 4.2rem);
  align-items: center;
  padding: clamp(1.5rem, 3.6vw, 3.3rem);
  overflow: hidden;
  border: 1px solid var(--v17-line-strong);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(18,24,39,.97), rgba(10,14,25,.98)),
    var(--v17-surface);
  box-shadow: var(--v17-shadow);
}

.v17-hero::before,
.v17-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.v17-hero::before {
  width: 460px;
  height: 460px;
  left: -230px;
  top: -260px;
  background: radial-gradient(circle, rgba(124,108,255,.25), transparent 66%);
}

.v17-hero::after {
  width: 520px;
  height: 520px;
  right: -250px;
  bottom: -350px;
  background: radial-gradient(circle, rgba(45,212,191,.13), transparent 68%);
}

.v17-hero__copy { min-width: 0; }

.v17-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.3rem;
}

.v17-badges span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .43rem .68rem;
  border: 1px solid rgba(129,140,248,.28);
  border-radius: 999px;
  background: rgba(99,102,241,.09);
  color: #c7d2fe;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .035em;
}

.v17-badges .is-success {
  border-color: rgba(52,211,153,.28);
  background: rgba(16,185,129,.09);
  color: #6ee7b7;
}

.v17-badges .is-featured {
  border-color: rgba(250,204,21,.25);
  background: rgba(234,179,8,.08);
  color: #fde68a;
}

.v17-kicker,
.v17-section-heading > p,
.v17-related__head p,
.v17-story-card > p,
.v17-side-card__head p {
  margin: 0;
  color: #8b9cff;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.v17-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* Long product names must remain readable and must never split in the middle
   of a normal word. These classes are assigned from the actual title length. */
.v17-hero h1.is-long {
  max-width: 760px;
  font-size: clamp(2.2rem, 3.25vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.v17-hero h1.is-extra-long {
  max-width: 800px;
  font-size: clamp(1.95rem, 2.8vw, 2.9rem);
  line-height: 1.09;
  letter-spacing: -.025em;
}

.v17-hero__summary {
  max-width: 660px;
  margin: 1.25rem 0 0;
  color: var(--v17-muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.72;
}

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

.v17-quick-facts div {
  min-width: 0;
  padding: .78rem .85rem;
  border: 1px solid var(--v17-line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.v17-quick-facts span,
.v17-quick-facts strong { display: block; }
.v17-quick-facts span {
  color: #778198;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v17-quick-facts strong {
  margin-top: .2rem;
  overflow: hidden;
  color: #e5e7eb;
  font-size: .76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v17-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .68rem;
  margin-top: 1.45rem;
}

.v17-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  padding: .72rem 1rem;
  border: 1px solid var(--v17-line-strong);
  border-radius: 13px;
  background: var(--v17-surface-3);
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.v17-btn:hover { transform: translateY(-2px); }
.v17-btn--primary {
  border-color: rgba(139,92,246,.48);
  background: linear-gradient(135deg, #6d5dfc, #8b5cf6);
  box-shadow: 0 12px 28px rgba(109,93,252,.22);
}
.v17-btn--ghost { background: rgba(255,255,255,.035); }
.v17-btn--ghost:hover { border-color: rgba(129,140,248,.48); }
.v17-btn--windows {
  border-color: rgba(56,189,248,.36);
  background: linear-gradient(135deg, rgba(2,132,199,.92), rgba(37,99,235,.94));
}
.v17-btn--linux {
  border-color: rgba(250,204,21,.4);
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #111827;
}
.v17-btn > span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.v17-btn small { font-size: .56rem; opacity: .72; }
.v17-btn strong { font-size: .76rem; }

.v17-author-line {
  display: flex;
  align-items: center;
  gap: .68rem;
  margin-top: 1.4rem;
}
.v17-author-line img,
.v17-author-avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c6cff, #22d3ee);
  color: #fff;
  font-weight: 800;
}
.v17-author-line small,
.v17-author-line a { display: block; }
.v17-author-line small { color: #737e94; font-size: .62rem; }
.v17-author-line a { color: #e2e8f0; font-size: .78rem; font-weight: 750; }

.v17-hero__visual { min-width: 0; }
.v17-browser-frame {
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 22px;
  background: #050814;
  box-shadow: 0 30px 70px rgba(0,0,0,.38), 0 0 0 8px rgba(255,255,255,.018);
  transform: perspective(1300px) rotateY(-1.4deg) rotateX(.5deg);
  transform-origin: center;
  transition: transform .35s ease, border-color .35s ease;
}
.v17-browser-frame:hover {
  transform: perspective(1300px) rotateY(0) rotateX(0) translateY(-3px);
  border-color: rgba(129,140,248,.44);
}
.v17-browser-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: .38rem;
  padding: 0 .8rem;
  border-bottom: 1px solid rgba(148,163,184,.14);
  background: #0d1320;
}
.v17-browser-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #fb7185; }
.v17-browser-bar > span:nth-child(2) { background: #facc15; }
.v17-browser-bar > span:nth-child(3) { background: #4ade80; }
.v17-browser-bar > div {
  min-width: 0;
  max-width: 72%;
  margin-left: .45rem;
  padding: .35rem .68rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
  color: #667085;
  font-size: .58rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.v17-browser-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(124,108,255,.14), transparent 38%),
    #050814;
}
.v17-browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.v17-image-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: .4rem;
  color: #64748b;
}
.v17-image-placeholder span { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.v17-image-placeholder strong { color: #cbd5e1; font-family: var(--font-display); }
.v17-browser-frame.is-empty .v17-image-placeholder,
.v17-browser-frame.image-failed .v17-image-placeholder { display: grid; }
.v17-visual-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  margin-top: .72rem;
  color: #717b90;
  font-size: .65rem;
}

.v17-features {
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--v17-line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(13,17,28,.94), rgba(9,13,23,.97));
}

.v17-section-heading { margin-bottom: 1.25rem; }
.v17-section-heading h2,
.v17-related__head h2,
.v17-story-card h2,
.v17-side-card__head h2 {
  margin: .28rem 0 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.v17-section-heading h2 span { color: #a5b4fc; }
.v17-section-heading > div {
  width: 52px;
  height: 2px;
  margin-top: .8rem;
  background: linear-gradient(90deg, #7c6cff, #22d3ee);
}
.v17-section-heading--center { max-width: 760px; margin-inline: auto; text-align: center; }
.v17-section-heading--center > div { margin-inline: auto; }

.v17-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}
.v17-feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .82rem;
  min-height: 122px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--v17-line);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.v17-feature-card::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  right: -52px;
  bottom: -58px;
  border-radius: 50%;
  background: rgba(124,108,255,.09);
}
.v17-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129,140,248,.38);
  background: rgba(124,108,255,.055);
}
.v17-feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(45,212,191,.24);
  border-radius: 13px;
  background: rgba(45,212,191,.08);
  color: #5eead4;
}
.v17-feature-card > div > span {
  color: #616c82;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.v17-feature-card h3 {
  margin: .25rem 0 0;
  color: #e7eaf0;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.48;
}

.v17-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}
.v17-story { display: grid; gap: 1rem; min-width: 0; }
.v17-content-card,
.v17-side-card,
.v17-testimonial {
  border: 1px solid var(--v17-line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(13,17,28,.97), rgba(8,12,22,.98));
  box-shadow: 0 14px 42px rgba(0,0,0,.13);
}
.v17-content-card { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); }
.v17-rich-copy {
  color: #a7b0c2;
  font-size: .96rem;
  line-height: 1.82;
  overflow-wrap: anywhere;
}
.v17-rich-copy > :first-child { margin-top: 0; }
.v17-rich-copy > :last-child { margin-bottom: 0; }
.v17-rich-copy p { margin: 0 0 1rem; }
.v17-rich-copy h1,
.v17-rich-copy h2,
.v17-rich-copy h3 { margin: 1.35rem 0 .65rem; color: #eef2ff; font-family: var(--font-display); line-height: 1.2; }
.v17-rich-copy ul,
.v17-rich-copy ol { margin: .75rem 0 1rem; padding-left: 1.3rem; }
.v17-rich-copy li { margin: .35rem 0; }
.v17-rich-copy a { color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; }
.v17-rich-copy img,
.v17-rich-copy video,
.v17-rich-copy iframe { max-width: 100%; height: auto; border-radius: 14px; }
.v17-rich-copy table { display: block; max-width: 100%; overflow-x: auto; }
.v17-rich-copy pre { max-width: 100%; overflow-x: auto; padding: 1rem; border-radius: 12px; background: #050814; }

.v17-story-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.v17-story-card { padding: 1.4rem; }
.v17-story-card h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.v17-story-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 13px;
}
.v17-story-icon.is-warm { color: #fda4af; background: rgba(244,63,94,.09); border: 1px solid rgba(251,113,133,.23); }
.v17-story-icon.is-cool { color: #67e8f9; background: rgba(6,182,212,.09); border: 1px solid rgba(34,211,238,.23); }

.v17-comparison { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.v17-comparison figure { margin: 0; }
.v17-comparison figure > div {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--v17-line);
  border-radius: 16px;
  background: #050814;
}
.v17-comparison img { width: 100%; height: 100%; object-fit: contain; }
.v17-comparison figure > div > span {
  position: absolute;
  z-index: 2;
  top: .7rem;
  left: .7rem;
  padding: .35rem .55rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(5,8,20,.76);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.v17-comparison figcaption { padding: .65rem .25rem 0; color: #7f8aa0; font-size: .72rem; }

.v17-outcome { border-color: rgba(52,211,153,.2); background: linear-gradient(150deg, rgba(12,27,27,.94), rgba(8,15,22,.98)); }
.v17-testimonial { position: relative; margin: 0; padding: clamp(1.4rem, 3vw, 2.3rem); overflow: hidden; border-color: rgba(124,108,255,.25); }
.v17-testimonial > iconify-icon { color: #8b9cff; }
.v17-testimonial blockquote { max-width: 820px; margin: .85rem 0 1.2rem; color: #e7eaf0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.48; }
.v17-testimonial figcaption { display: flex; flex-direction: column; gap: .12rem; }
.v17-testimonial figcaption strong { color: #fff; font-size: .82rem; }
.v17-testimonial figcaption span { color: #7f8aa0; font-size: .72rem; }

.v17-prototype { overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--v17-line); border-radius: 16px; background: #050814; }
.v17-prototype iframe { width: 100%; height: 100%; border: 0; }
.v17-inline-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; color: #a5b4fc; font-size: .76rem; font-weight: 750; }

.v17-sidebar { min-width: 0; }
.v17-sidebar-sticky { position: sticky; top: 88px; display: grid; gap: 1rem; }
.v17-side-card { padding: 1.15rem; }
.v17-side-card__head { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; margin-bottom: .3rem; border-bottom: 1px solid var(--v17-line); }
.v17-side-card__head > span { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border: 1px solid rgba(129,140,248,.25); border-radius: 12px; background: rgba(99,102,241,.09); color: #a5b4fc; }
.v17-side-card__head h2 { font-size: 1rem; letter-spacing: -.02em; }

.v17-detail-list { margin: 0; }
.v17-detail-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--v17-line); }
.v17-detail-list > div:last-child { border-bottom: 0; padding-bottom: .15rem; }
.v17-detail-list dt { color: #7e899f; font-size: .72rem; }
.v17-detail-list dd { margin: 0; color: #e2e8f0; font-size: .72rem; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.v17-detail-list dd.is-success { color: #6ee7b7; }

.v17-stack { display: flex; flex-wrap: wrap; gap: .42rem; margin: .8rem 0 1rem; }
.v17-stack span { padding: .38rem .58rem; border: 1px solid rgba(129,140,248,.22); border-radius: 999px; background: rgba(99,102,241,.075); color: #c7d2fe; font-size: .65rem; }
.v17-resource-list { display: grid; gap: .5rem; }
.v17-resource-list a { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .72rem .78rem; border: 1px solid var(--v17-line); border-radius: 11px; background: rgba(255,255,255,.02); color: #b7c0d0; font-size: .7rem; transition: border-color .2s ease, background .2s ease; }
.v17-resource-list a:hover { border-color: rgba(129,140,248,.38); background: rgba(99,102,241,.07); }
.v17-resource-list a > span { min-width: 0; display: flex; align-items: center; gap: .5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.v17-owner { display: flex; align-items: center; gap: .7rem; }
.v17-owner img,
.v17-owner > span { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 14px; object-fit: cover; background: linear-gradient(135deg,#7c6cff,#22d3ee); color: #fff; font-weight: 800; }
.v17-owner small,
.v17-owner strong { display: block; }
.v17-owner small { color: #7e899f; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.v17-owner strong { margin-top: .12rem; color: #f1f5f9; font-size: .8rem; }
.v17-owner-card > p { margin: .85rem 0; color: #7f8aa0; font-size: .72rem; line-height: 1.55; }
.v17-owner-actions { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.v17-owner-actions a,
.v17-owner-actions button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .65rem .75rem; border: 1px solid var(--v17-line-strong); border-radius: 11px; background: rgba(255,255,255,.025); color: #dbe3f0; font: inherit; font-size: .68rem; font-weight: 750; cursor: pointer; }
.v17-owner-actions a { border-color: rgba(129,140,248,.35); background: rgba(99,102,241,.09); }
.v17-owner-actions button.is-copied { border-color: rgba(52,211,153,.38); color: #6ee7b7; }

.v17-related { margin-top: 1rem; padding: clamp(1.4rem, 3vw, 2.3rem); border: 1px solid var(--v17-line); border-radius: 28px; background: rgba(9,13,23,.82); }
.v17-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.v17-related__head h2 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.v17-related__head > a { display: inline-flex; align-items: center; gap: .4rem; color: #a5b4fc; font-size: .74rem; font-weight: 750; }
.v17-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; }
.v17-related-card { min-width: 0; overflow: hidden; border: 1px solid var(--v17-line); border-radius: 18px; background: var(--v17-surface); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.v17-related-card:hover { transform: translateY(-4px); border-color: rgba(129,140,248,.4); box-shadow: 0 18px 42px rgba(0,0,0,.22); }
.v17-related-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #050814; }
.v17-related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.v17-related-card:hover .v17-related-media img { transform: scale(1.025); }
.v17-related-media > div { position: absolute; inset: 0; display: none; place-items: center; color: #5f6b82; }
.v17-related-media.is-empty > div,
.v17-related-media.image-failed > div { display: grid; }
.v17-related-body { padding: 1rem; }
.v17-related-body > span { color: #8b9cff; font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.v17-related-body h3 { margin: .35rem 0 .5rem; color: #f8fafc; font-family: var(--font-display); font-size: 1rem; line-height: 1.25; }
.v17-related-body p { min-height: 3.2em; color: #7f8aa0; font-size: .72rem; line-height: 1.55; }
.v17-related-body em { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; color: #c7d2fe; font-size: .68rem; font-style: normal; font-weight: 750; }

.v17-project-footer { position: relative; z-index: 1; width: min(1380px, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 2rem; display: flex; justify-content: space-between; gap: 1rem; color: #606b80; font-size: .7rem; }
.v17-project-footer a { color: #a5b4fc; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

html[data-theme="light"] {
  --v17-page: #f5f7fb;
  --v17-surface: #ffffff;
  --v17-surface-2: #f8fafc;
  --v17-surface-3: #eef2ff;
  --v17-line: rgba(15,23,42,.10);
  --v17-line-strong: rgba(15,23,42,.16);
  --v17-copy: #0f172a;
  --v17-muted: #64748b;
  --v17-soft: #334155;
}
html[data-theme="light"] body { background: #f5f7fb; color: #0f172a; }
html[data-theme="light"] .v17-project-nav { background: rgba(255,255,255,.86); }
html[data-theme="light"] .v17-hero,
html[data-theme="light"] .v17-features,
html[data-theme="light"] .v17-content-card,
html[data-theme="light"] .v17-side-card,
html[data-theme="light"] .v17-testimonial,
html[data-theme="light"] .v17-related { background: #fff; }
html[data-theme="light"] .v17-hero h1,
html[data-theme="light"] .v17-section-heading h2,
html[data-theme="light"] .v17-related__head h2,
html[data-theme="light"] .v17-story-card h2,
html[data-theme="light"] .v17-side-card__head h2,
html[data-theme="light"] .v17-related-body h3 { color: #0f172a; }
html[data-theme="light"] .v17-hero__summary,
html[data-theme="light"] .v17-rich-copy,
html[data-theme="light"] .v17-related-body p { color: #64748b; }
html[data-theme="light"] .v17-feature-card,
html[data-theme="light"] .v17-resource-list a { background: #f8fafc; }
html[data-theme="light"] .v17-feature-card h3,
html[data-theme="light"] .v17-quick-facts strong,
html[data-theme="light"] .v17-author-line a { color: #1e293b; }

@media (max-width: 1120px) {
  .v17-hero { grid-template-columns: 1fr; }
  .v17-hero__copy { max-width: 860px; }
  .v17-browser-frame { max-width: 980px; transform: none; }
  .v17-content-layout { grid-template-columns: minmax(0,1fr) 310px; }
}

@media (max-width: 900px) {
  .v17-content-layout { grid-template-columns: 1fr; }
  .v17-sidebar-sticky { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v17-owner-card { grid-column: 1/-1; }
  .v17-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v17-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .v17-project-nav__inner { min-height: 62px; }
  .v17-project-page { padding-top: 84px; }
  .v17-nav-brand strong { display: none; }
  .v17-hero { padding: 1.15rem; border-radius: 22px; }
  .v17-hero h1 { font-size: clamp(2.15rem, 9.5vw, 3.15rem); }
  .v17-hero h1.is-long { font-size: clamp(1.9rem, 8.6vw, 2.75rem); }
  .v17-hero h1.is-extra-long { font-size: clamp(1.72rem, 7.8vw, 2.4rem); }
  .v17-quick-facts { grid-template-columns: 1fr; }
  .v17-hero__actions .v17-btn { flex: 1 1 calc(50% - .5rem); }
  .v17-browser-frame { border-radius: 16px; }
  .v17-browser-bar { min-height: 36px; }
  .v17-features,
  .v17-related { padding: 1rem; border-radius: 20px; }
  .v17-feature-grid,
  .v17-story-pair,
  .v17-comparison,
  .v17-related-grid,
  .v17-sidebar-sticky { grid-template-columns: 1fr; }
  .v17-owner-card { grid-column: auto; }
  .v17-content-card,
  .v17-side-card,
  .v17-testimonial { border-radius: 18px; }
  .v17-related__head { align-items: flex-start; flex-direction: column; }
  .v17-project-footer { flex-direction: column; }
}

@media (max-width: 460px) {
  .v17-project-page { padding-inline: .55rem; }
  .v17-project-nav__inner { width: calc(100% - 1rem); }
  .v17-back-link span { display: none; }
  .v17-breadcrumb { font-size: .67rem; }
  .v17-hero__actions .v17-btn { flex-basis: 100%; }
  .v17-author-line { align-items: flex-start; }
  .v17-feature-card { min-height: 105px; }
  .v17-content-card { padding: 1rem; }
  .v17-owner-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* v23 mobile distribution actions */
.v17-btn--android{background:linear-gradient(135deg,#166534,#22c55e);border-color:rgba(74,222,128,.42);color:#fff}
.v17-btn--ios{background:linear-gradient(135deg,#334155,#64748b);border-color:rgba(203,213,225,.32);color:#fff}
.v17-btn--android:hover,.v17-btn--ios:hover{transform:translateY(-2px);filter:brightness(1.07)}
