body.pv-home {
  position: relative; z-index: 0;
  --pv-night: #0e0d14;
  --pv-text: #f4efe8;
  --pv-dim: rgba(244, 239, 232, .66);
  --pv-rule: rgba(244, 239, 232, .16);
  --pv-gutter: clamp(20px, 5vw, 72px);
  margin: 0;
  color: var(--pv-text);
  background: transparent;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.pv-home :is(header, main, footer) { margin: 0; }
.pv-home :is(h1, h2, h3, p, ol, img) { margin: 0; padding: 0; }
.pv-home :is(header, main, footer) *, .pv-home :is(header, main, footer) *::before { box-sizing: border-box; }
.pv-home :is(header, main, footer) a { color: inherit; }
.pv-home :is(header, main, footer) :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.pv-home :is(header, main, footer) [hidden] { display: none !important; }
.pv-skip {
  position: absolute; top: 0; left: 1rem; z-index: 100;
  transform: translateY(-150%);
  background: #fff; color: #111; padding: .75rem 1rem;
}
.pv-skip:focus { transform: none; }

/* Top bar: quiet text on the photo. */
.pv-top {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: clamp(18px, 3vw, 32px) var(--pv-gutter);
  font-size: .95rem; letter-spacing: .01em;
}
.pv-home .pv-top a { text-decoration: none; }
.pv-home .pv-mark { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; min-height: 44px; }
.pv-home .pv-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(244, 239, 232, .5); background: #2a282e; }
.pv-top nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); }
.pv-home .pv-top nav a { color: var(--pv-dim); }
.pv-home .pv-top nav a:hover { color: var(--pv-text); }

/* One photograph sits behind the whole page; everything scrolls over it. */
.pv-backdrop { position: fixed; inset: 0; z-index: -1; height: 100vh; height: 100lvh; overflow: hidden; background: var(--pv-night); }
.pv-backdrop-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.pv-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 13, 20, .45), rgba(14, 13, 20, 0) 22%),
    radial-gradient(ellipse 70% 55% at 0% 78%, rgba(14, 13, 20, .5), rgba(14, 13, 20, 0) 70%),
    linear-gradient(to top, rgba(14, 13, 20, .85) 0, rgba(14, 13, 20, .5) 28%, rgba(14, 13, 20, 0) 62%);
}

/* Hero: the photograph does the work; the type stays small and calm. */
.pv-hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pv-gutter) clamp(28px, 5vw, 56px);
}
.pv-hero-copy { max-width: 40rem; }
.pv-home .pv-hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
}
.pv-home .pv-h1-role {
  display: block; margin-top: .9rem;
  font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 500; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pv-dim);
}
.pv-home .pv-hero-copy p {
  margin-top: clamp(.9rem, 1.6vw, 1.4rem);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.35;
  color: var(--pv-text);
  max-width: 30ch;
}
.pv-home .pv-down {
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px;
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--pv-dim); text-decoration: none; font-size: .95rem;
}
.pv-home .pv-down::after { content: "↓"; }
.pv-home .pv-down:hover { color: var(--pv-text); }
.pv-home .pv-credit {
  position: absolute; right: var(--pv-gutter); bottom: clamp(28px, 5vw, 56px);
  font-size: .78rem; color: var(--pv-dim); letter-spacing: .02em;
}

/* Project hub: a plain list, one row per project. */
/* Below the hero, a soft veil darkens the same photo so text stays readable. */
.pv-projects, .pv-footer { background: rgba(14, 13, 20, .72); }
.pv-projects {
  background: linear-gradient(to bottom, rgba(14, 13, 20, 0), rgba(14, 13, 20, .72) clamp(80px, 12vw, 160px));
  padding: clamp(56px, 9vw, 120px) max(var(--pv-gutter), calc((100% - 836px) / 2)) clamp(72px, 11vw, 150px);
}
.pv-home .pv-label {
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pv-dim);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pv-rule);
}
.pv-list { list-style: none; }
.pv-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); align-items: start;
  padding-block: clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid var(--pv-rule);
}
.pv-home .pv-logo { width: 44px; height: 44px; object-fit: contain; margin-top: .15rem; }
.pv-home img.pv-logo[src*="first-customers"] { border-radius: 4px; }
.pv-logo-initials {
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--pv-rule); color: var(--pv-dim);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
}
.pv-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pv-home .pv-item h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.2;
}
.pv-home .pv-item h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.pv-home .pv-item h3 a:hover { background-size: 100% 1px; }
.pv-home .pv-item h3 a::after { content: " ↗"; font-size: .7em; color: var(--pv-dim); }
.pv-role { flex: 0 0 auto; font-size: .85rem; color: var(--pv-dim); }
.pv-home .pv-item-body > p { margin-top: .35rem; color: var(--pv-dim); max-width: 46ch; }

.pv-player { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; margin-top: 1rem; }
.pv-home .pv-play {
  display: inline-flex; align-items: center; gap: .65em; min-height: 44px;
  text-decoration: none; font-size: .95rem;
}
.pv-play-icon {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 36px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--pv-text);
}
.pv-play-icon::before {
  content: ""; width: 32%; height: 36%; margin-left: 8%;
  background: var(--pv-text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.pv-play[data-playing="true"] .pv-play-icon::before {
  margin-left: 0;
  clip-path: polygon(0 0, 32% 0, 32% 100%, 0 100%, 0 0, 68% 0, 100% 0, 100% 100%, 68% 100%, 68% 0);
}
.pv-home .pv-play:hover span:last-child { text-decoration: underline; text-underline-offset: .2em; }
.pv-home .pv-notes { font-size: .95rem; color: var(--pv-dim); text-underline-offset: .2em; }
.pv-player input[type="range"] { flex: 1 1 100%; min-height: 44px; margin: 0; accent-color: var(--pv-text); }
.pv-player audio:not([hidden]) { flex: 1 1 100%; }
.pv-home .pv-player-message { flex: 1 1 100%; font-size: .9rem; color: var(--pv-dim); }
.pv-player-message:empty { display: none; }

/* Footer: simple text over the same photograph. */
.pv-closing { padding: clamp(24px, 6vw, 72px) max(var(--pv-gutter), calc((100% - 836px) / 2)) clamp(72px, 12vw, 160px); }
.pv-home .pv-closing h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.1; letter-spacing: -.025em;
}
.pv-home .pv-closing a {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .6rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem); text-underline-offset: .22em;
}
.pv-footer-wrap {
  display: flex; flex-wrap: wrap; gap: .7rem 2rem; justify-content: space-between;
  border-top: 1px solid var(--pv-rule); color: var(--pv-dim);
  margin-inline: var(--pv-gutter);
  padding-block: 1rem 2.6rem;
  font-size: .88rem;
}
.pv-footer nav { display: flex; flex-wrap: wrap; gap: .3em clamp(.85em, 2vw, 2em); }
.pv-home .pv-footer-wrap a { text-underline-offset: .18em; }

@media (max-width: 670px) {
  .pv-hero { min-height: 92svh; }
  .pv-backdrop-photo { object-position: 38% 60%; }
  .pv-home .pv-credit { position: static; margin-top: 1.5rem; }
  .pv-item-head { flex-direction: column; gap: .15rem; }
  .pv-footer-wrap a { display: inline-flex; align-items: center; min-height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-home .pv-item h3 a { transition: none; }
}

@media (forced-colors: active) {
  .pv-play-icon { border-color: ButtonText; }
  .pv-play-icon::before { background: ButtonText; }
}
