:root {
  --bg: #0d0f0e;
  --panel: #141715;
  --panel-hover: #181c19;
  --text: #efeee8;
  --muted: #90968f;
  --faint: #626861;
  --line: rgba(239, 238, 232, 0.14);
  --line-strong: rgba(239, 238, 232, 0.3);
  --accent: #d7ff5f;
  --warm: #ff8060;
  --bone: #e8e5db;
  --ink: #151715;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --page: min(1180px, calc(100% - 64px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

.scroll-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(215, 255, 95, 0.4);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.page[hidden] {
  display: none;
}

.anchor-target {
  position: absolute;
  top: 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 14, 0.9);
  backdrop-filter: blur(18px);
}

.wordmark {
  justify-self: start;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: -0.055em;
}

.wordmark span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 25px;
}

.site-nav a,
.pi-nav,
.header-contact {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.01em;
}

.site-nav a,
.pi-nav {
  padding: 8px 0;
  cursor: pointer;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-current,
.pi-nav:hover,
.pi-nav.is-active,
.header-contact:hover {
  color: var(--text);
}

.pi-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.pi-nav.is-live .nav-status-dot {
  background: var(--accent);
  box-shadow: 0 0 9px rgba(215, 255, 95, 0.7);
}

.pi-nav.is-error .nav-status-dot {
  background: var(--warm);
}

.header-contact {
  justify-self: end;
}

.header-health {
  justify-self: end;
}

.header-contact span {
  margin-left: 5px;
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: clamp(60px, 10vw, 150px);
  width: var(--page);
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(105px, 15vh, 165px) 0 85px;
}

.eyebrow,
.mini-label,
.project-number,
.project-status,
.project-tag,
.now-note,
.chief-meta,
.health-toolbar,
.metric-label,
.metric-note,
.traffic-list,
.health-footnote,
.site-footer {
  font-family: var(--mono);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.015em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(215, 255, 95, 0.55);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4rem, 8.1vw, 7.8rem);
  font-weight: 720;
  line-height: 0.88;
  letter-spacing: -0.082em;
}

.hero-line {
  display: block;
  transform: translate3d(var(--scroll-shift, 0), 0, 0);
  will-change: transform;
}

.hero h1 .hero-line-one {
  color: var(--text);
  font-weight: 720;
}

.hero h1 .hero-line-two {
  color: #a7ada6;
  font-weight: 420;
}

.hero-intro {
  max-width: 620px;
  margin: 37px 0 0;
  color: #bdc1bb;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
}

.hero-rail {
  position: relative;
  align-self: end;
  min-width: 0;
}

.hero-visual,
.cocktail-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #080a09;
}

.hero-visual {
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
}

.hero-visual::after,
.cocktail-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.18);
  content: "";
  pointer-events: none;
}

.hero-visual img,
.cocktail-visual img {
  display: block;
  width: 100%;
  height: calc(100% + 54px);
  margin-top: -27px;
  object-fit: cover;
  transform: translate3d(0, var(--image-shift, 0), 0) scale(1.035);
  will-change: transform;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 210px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-link:hover {
  background: var(--text);
  transform: translateY(-2px);
}

.quiet-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.quiet-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.now-note {
  position: relative;
  z-index: 2;
  width: calc(100% - 24px);
  margin: -48px 0 0 24px;
  padding: 19px 0 3px 19px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.6;
}

.now-note > p:nth-child(2) {
  margin: 23px 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
}

.now-note > span {
  color: var(--faint);
}

.mini-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.64rem;
  letter-spacing: 0.025em;
}

.projects-section,
.about-section,
.contact-section {
  width: var(--page);
  margin: 0 auto;
}

.projects-section {
  padding: 150px 0;
  border-top: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 45px;
  margin-bottom: 70px;
}

.section-header h2,
.off-clock h2,
.contact-main h2 {
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  font-weight: 680;
  line-height: 0.91;
  letter-spacing: -0.067em;
}

.project-list {
  border-top: 1px solid var(--line-strong);
}

.project {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 145px;
  gap: 28px;
  align-items: center;
  min-height: 170px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.project:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--panel-hover);
}

.project-number {
  align-self: start;
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 0.62rem;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 610;
  letter-spacing: -0.045em;
}

.project-copy > p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

[data-drift] .project-copy {
  transform: translate3d(var(--drift-x, 0), 0, 0);
  transition: transform 100ms linear;
  will-change: transform;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.58rem;
  white-space: nowrap;
}

.project-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-building {
  color: var(--accent);
}

.status-exploring {
  color: #aab6ff;
}

.status-researching {
  color: #efaa96;
}

.project-action,
.project-tag {
  justify-self: end;
  margin: 0;
  font-size: 0.62rem;
}

.project-action {
  padding: 8px 0 5px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
}

.project-action:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.project-tag {
  color: var(--faint);
}

.off-clock {
  --panel-inset: 0%;
  --cocktail-shift: 0px;
  --chief-shift: 0px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(60px, 10vw, 150px);
  width: var(--page);
  margin: 0 auto 150px;
  padding: clamp(55px, 8vw, 95px);
  color: var(--ink);
  background: var(--bone);
  clip-path: inset(0 var(--panel-inset));
  transition: clip-path 100ms linear;
  will-change: clip-path;
}

.mini-label-dark {
  color: #596051;
}

.off-clock h2 {
  margin-top: 28px;
  color: var(--ink);
  transform: translate3d(var(--cocktail-shift), 0, 0);
  transition: transform 100ms linear;
  will-change: transform;
}

.cocktail-copy > p:last-child {
  max-width: 600px;
  margin: 30px 0 0;
  color: #555b55;
  font-size: 1.04rem;
  line-height: 1.6;
}

.cocktail-rail {
  min-width: 0;
}

.cocktail-visual {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(21, 23, 21, 0.24);
}

.chief-note {
  align-self: end;
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid rgba(21, 23, 21, 0.28);
}

.chief-question {
  margin: 26px 0 45px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 580;
  line-height: 1.1;
  letter-spacing: -0.045em;
  transform: translate3d(var(--chief-shift), 0, 0);
  transition: transform 100ms linear;
  will-change: transform;
}

.chief-meta {
  margin: 0;
  color: #666c65;
  font-size: 0.6rem;
}

.about-section {
  padding: 150px 0;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 160px);
  padding-top: 55px;
  border-top: 1px solid var(--line-strong);
}

.about-lead {
  margin: 0;
  color: #b2b7b1;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.about-copy {
  max-width: 640px;
  color: #b5bab4;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.about-copy p {
  margin: 0 0 24px;
}

.about-copy p:last-child {
  color: var(--text);
}

.career-line {
  --career-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 85px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.career-line::after {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 0;
  width: var(--career-progress);
  height: 2px;
  background: var(--accent);
  content: "";
  pointer-events: none;
  transition: width 100ms linear;
}

.career-line li {
  position: relative;
  display: flex;
  min-height: 155px;
  padding: 22px;
  border-right: 1px solid var(--line);
  flex-direction: column;
}

.career-line li:last-child {
  border-right: 0;
}

.career-line span,
.career-line small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.career-line strong {
  margin-top: auto;
  font-size: 1.04rem;
  font-weight: 590;
  letter-spacing: -0.035em;
}

.career-line small {
  margin-top: 5px;
}

.career-line .career-current::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.career-current strong {
  color: var(--accent);
}

.career-line li:nth-child(2) {
  transition-delay: 70ms;
}

.career-line li:nth-child(3) {
  transition-delay: 140ms;
}

.career-line li:nth-child(4) {
  transition-delay: 210ms;
}

.personal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  margin-top: 90px;
  color: var(--ink);
  background: var(--bone);
}

.personal-card {
  min-height: 330px;
  padding: clamp(38px, 5vw, 65px);
}

.personal-card + .personal-card {
  border-left: 1px solid rgba(21, 23, 21, 0.2);
}

.personal-card-chief {
  background: #dcd9cf;
}

.personal-card h3 {
  max-width: 560px;
  margin: 60px 0 22px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: 630;
  line-height: 0.97;
  letter-spacing: -0.06em;
}

.personal-card-chief h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.03;
}

.personal-card > p:last-child {
  max-width: 580px;
  margin: 0;
  color: #565c55;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 45px;
  padding: 115px 0 125px;
  border-top: 1px solid var(--line);
}

.contact-main h2 {
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.contact-main a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 37px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.contact-main a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Pi health */
.page-health {
  width: var(--page);
  margin: 0 auto;
  padding: 35px 0 90px;
}

.health-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 45px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.62rem;
}

.health-toolbar p {
  margin: 0;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.back-button:hover {
  color: var(--accent);
}

.health-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 0 48px;
}

.health-heading .eyebrow {
  margin-bottom: 25px;
}

.health-heading h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 690;
  line-height: 0.87;
  letter-spacing: -0.08em;
}

.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  white-space: nowrap;
}

.connection-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
}

.connection-state.is-live {
  color: var(--accent);
  border-color: rgba(215, 255, 95, 0.32);
}

.connection-state.is-live .connection-dot {
  background: var(--accent);
  box-shadow: 0 0 9px rgba(215, 255, 95, 0.7);
}

.connection-state.is-error {
  color: var(--warm);
  border-color: rgba(255, 128, 96, 0.35);
}

.connection-state.is-error .connection-dot {
  background: var(--warm);
}

.health-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.health-summary > div {
  padding: 17px 19px 19px;
  border-right: 1px solid var(--line);
}

.health-summary > div:last-child {
  border-right: 0;
}

.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.updated-at,
.summary-value {
  margin: 8px 0 0;
  font-size: 1rem;
}

.updated-at {
  color: var(--accent);
}

.mono {
  font-family: var(--mono);
  font-size: 0.87rem;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 205px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 180ms ease, background 180ms ease;
}

.metric-card::before {
  position: absolute;
  top: 0;
  right: 19px;
  left: 19px;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0.65;
}

.metric-card-warm::before {
  background: var(--warm);
}

.metric-card:hover {
  border-color: var(--line-strong);
  background: var(--panel-hover);
}

.metric-card-wide {
  grid-column: span 6;
  min-height: 255px;
}

.metric-card-small {
  grid-column: span 3;
}

.metric-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.metric-value {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 610;
  line-height: 0.9;
  letter-spacing: -0.072em;
  white-space: nowrap;
}

.metric-value small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: -0.02em;
}

.metric-value-small {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.chart {
  height: 84px;
  margin: 16px -2px 4px;
}

.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: rgba(239, 238, 232, 0.1);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.chart-area {
  fill: rgba(215, 255, 95, 0.08);
  stroke: none;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area-warm {
  fill: rgba(255, 128, 96, 0.08);
}

.chart-line-warm {
  stroke: var(--warm);
}

.metric-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.6rem;
  line-height: 1.45;
}

.traffic-list {
  display: grid;
  gap: 9px;
  margin: auto 0 5px;
  font-size: 0.61rem;
}

.traffic-list div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.traffic-list dt {
  color: var(--muted);
}

.traffic-list dd {
  margin: 0;
}

.meter {
  height: 5px;
  margin: auto 0 11px;
  overflow: hidden;
  border-radius: 99px;
  background: #080a09;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 450ms ease;
}

.meter-warm span {
  background: var(--warm);
}

.health-footnote {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.59rem;
}

.health-footnote p {
  margin: 0;
}

.health-footnote span {
  color: var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: var(--page);
  margin: 0 auto;
  padding: 23px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.6rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  justify-self: center;
}

.site-footer a {
  justify-self: end;
}

.site-footer a:hover {
  color: var(--accent);
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 901px) {
  .about-section,
  .projects-section {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: clamp(55px, 7vw, 95px);
    align-items: start;
  }

  .about-section .section-header,
  .projects-section .section-header {
    position: sticky;
    top: 112px;
    display: block;
    margin: 0;
  }

  .about-section .section-header h2,
  .projects-section .section-header h2 {
    margin-top: 28px;
    font-size: clamp(2.75rem, 4.1vw, 4.15rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 0;
  }

  .career-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-line li:nth-child(2) {
    border-right: 0;
  }

  .career-line li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 44px, 1180px);
  }

  .site-header {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 65px;
    min-height: auto;
    padding: 120px 0 85px;
  }

  .now-note {
    width: min(100%, 440px);
    margin-left: auto;
  }

  .hero-rail {
    width: min(100%, 500px);
    margin-left: auto;
  }

  .off-clock {
    grid-template-columns: 1fr;
    clip-path: none;
  }

  .personal-grid {
    grid-template-columns: 1fr;
  }

  .personal-card + .personal-card {
    border-top: 1px solid rgba(21, 23, 21, 0.2);
    border-left: 0;
  }

  .chief-note {
    max-width: 570px;
    margin-left: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .career-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-line li:nth-child(2) {
    border-right: 0;
  }

  .career-line li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }


  .metric-card-small {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 30px, 1180px);
  }

  html {
    scroll-padding-top: 112px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 16px 15px 12px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
    padding-top: 3px;
  }

  .site-nav a,
  .pi-nav {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .hero {
    padding-top: 82px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 15vw, 5.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-header,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .projects-section {
    padding: 105px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-header h2,
  .off-clock h2,
  .contact-main h2 {
    font-size: clamp(2.9rem, 13vw, 4.8rem);
  }

  .project {
    grid-template-columns: 38px 1fr;
    gap: 15px;
    padding: 29px 0;
  }

  .project-copy {
    grid-column: 2;
  }

  .project-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .project-action,
  .project-tag {
    grid-column: 2;
    justify-self: start;
  }

  .off-clock {
    gap: 70px;
    margin-bottom: 105px;
    padding: 48px 25px;
  }

  .about-section {
    padding: 105px 0;
  }

  .career-line {
    grid-template-columns: 1fr;
    margin-top: 65px;
  }

  .career-line li,
  .career-line li:nth-child(2) {
    min-height: 125px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .career-line li:last-child {
    border-bottom: 0;
  }

  .contact-section {
    padding: 85px 0 95px;
  }

  .health-toolbar > p {
    display: none;
  }

  .health-heading {
    display: block;
    padding: 55px 0 37px;
  }

  .health-heading h1 {
    font-size: clamp(3.8rem, 17vw, 5.8rem);
  }

  .connection-state {
    margin-top: 28px;
  }

  .health-summary {
    grid-template-columns: 1fr 1fr;
  }

  .health-summary > :first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card-wide,
  .metric-card-small {
    grid-column: span 12;
  }

  .metric-card-wide {
    min-height: 235px;
  }

  .health-footnote {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 390px) {
  .header-contact {
    font-size: 0;
  }

  .header-contact span {
    margin: 0;
    font-size: 0.9rem;
  }

  .site-nav {
    gap: 15px;
  }
}

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

  .scroll-progress {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-line,
  [data-drift] .project-copy,
  .off-clock h2,
  .chief-question {
    transform: none;
  }

  .off-clock {
    clip-path: none;
  }
}

/* Cinematic home */

.site-header {
  min-height: 52px;
  height: 52px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
}

.wordmark {
  color: #f5f5f7;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.site-nav {
  gap: clamp(17px, 3vw, 32px);
}

.site-nav a,
.pi-nav {
  color: #a1a1a6;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: -0.005em;
}

.site-nav a:hover,
.site-nav a.is-current,
.pi-nav:hover,
.pi-nav.is-active {
  color: #f5f5f7;
}

.page-site {
  color: #f5f5f7;
  background: #000;
}

.section-kicker {
  margin: 0;
  color: #86868b;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.film-hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  overflow: clip;
  background: #000;
}

.has-js .film-hero {
  height: 185svh;
}

.film-hero-stage {
  position: relative;
  height: calc(100svh - 52px);
  min-height: 648px;
  overflow: hidden;
  isolation: isolate;
}

.has-js .film-hero-stage {
  position: sticky;
  top: 52px;
}

.film-hero-stage::before {
  position: absolute;
  z-index: -1;
  inset: 22% 16% 0;
  background: radial-gradient(circle at 50% 62%, rgba(165, 255, 107, 0.12), transparent 46%);
  content: "";
  filter: blur(24px);
  opacity: 0.8;
}

.film-hero-lockup {
  position: absolute;
  z-index: 3;
  top: clamp(62px, 9vh, 108px);
  right: 24px;
  left: 24px;
  text-align: center;
  opacity: var(--hero-copy-opacity, 1);
  transform: translate3d(0, var(--hero-copy-y, 0), 0);
  will-change: opacity, transform;
}

.film-overline {
  margin: 0 0 17px;
  color: #f5f5f7;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 630;
  letter-spacing: -0.025em;
}

.film-hero h1 {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(4rem, 7.8vw, 7.8rem);
  font-weight: 680;
  line-height: 0.91;
  letter-spacing: -0.073em;
}

.film-hero h1 span {
  color: #8d8d93;
}

.film-subtitle {
  margin: 25px 0 0;
  color: #a1a1a6;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 520;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.film-hero-art {
  position: absolute;
  z-index: 1;
  bottom: -20%;
  left: 50%;
  width: min(40vw, 510px);
  height: min(77vh, 820px);
  margin: 0;
  opacity: var(--hero-art-opacity, 0.92);
  transform: translate3d(-50%, var(--hero-art-y, 82px), 0) scale(var(--hero-art-scale, 0.82));
  transform-origin: center 72%;
  will-change: opacity, transform;
  -webkit-mask-image: radial-gradient(ellipse 64% 55% at 50% 48%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 64% 55% at 50% 48%, #000 52%, transparent 100%);
}

.film-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.08) saturate(0.9);
}

.film-hero-after {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 8vw;
  max-width: 680px;
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(3.3rem, 7vw, 7rem);
  font-weight: 680;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-align: right;
  opacity: var(--hero-after-opacity, 0);
  transform: translate3d(0, var(--hero-after-y, 45px), 0);
  will-change: opacity, transform;
}

.film-hero-after span {
  color: #8d8d93;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #77777d;
  font-size: 0.65rem;
  transform: translateX(-50%);
  opacity: var(--scroll-cue-opacity, 1);
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(215, 255, 95, 0.65);
}

.about-film {
  color: #1d1d1f;
  background: #f5f5f7;
}

.statement-wrap {
  display: flex;
  width: min(1180px, calc(100% - 64px));
  min-height: 128svh;
  margin: 0 auto;
  padding: 17svh 0 15svh;
  flex-direction: column;
  justify-content: center;
}

.statement-copy {
  max-width: 1140px;
  margin: 36px 0 0;
  color: #b7b7bc;
  font-size: clamp(3.1rem, 6.7vw, 6.8rem);
  font-weight: 670;
  line-height: 0.98;
  letter-spacing: -0.066em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .has-js .statement-copy {
    color: transparent;
    background: linear-gradient(90deg, #1d1d1f 0%, #1d1d1f var(--statement-fill, 0%), #b7b7bc calc(var(--statement-fill, 0%) + 14%), #b7b7bc 100%);
    background-clip: text;
    -webkit-background-clip: text;
  }
}

.statement-detail {
  max-width: 720px;
  margin: 64px 0 0 auto;
  color: #6e6e73;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 520;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.career-film {
  position: relative;
  min-height: 100svh;
  border-top: 1px solid #d2d2d7;
}

.has-js .career-film {
  height: 360svh;
}

.career-stage {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(65px, 10vw, 150px);
  width: min(1180px, calc(100% - 64px));
  min-height: calc(100svh - 52px);
  margin: 0 auto;
  padding: 10svh 0;
}

.has-js .career-stage {
  position: sticky;
  top: 52px;
  height: calc(100svh - 52px);
}

.career-instrument {
  align-self: center;
}

.career-years {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #86868b;
  font-size: 0.72rem;
  font-weight: 620;
}

.career-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #d2d2d7;
}

.career-track span {
  display: block;
  width: var(--career-fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: #1d1d1f;
  transition: width 180ms linear;
}

.career-pips {
  display: flex;
  justify-content: space-between;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.career-pips li {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7c7cc;
  transition: background 240ms ease, transform 240ms ease;
}

.career-pips li.is-active {
  background: #1d1d1f;
  transform: scale(1.45);
}

.career-scenes {
  display: grid;
  gap: 70px;
}

.career-scene {
  max-width: 760px;
}

.career-scene > p {
  margin: 0 0 30px;
  color: #86868b;
  font-size: 0.78rem;
  font-weight: 650;
}

.career-scene h3 {
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 6.8rem);
  font-weight: 680;
  line-height: 0.94;
  letter-spacing: -0.067em;
}

.career-scene > div {
  max-width: 630px;
  margin-top: 35px;
  color: #6e6e73;
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  font-weight: 510;
  line-height: 1.45;
  letter-spacing: -0.032em;
}

.has-js .career-scenes {
  position: relative;
  min-height: min(62vh, 560px);
}

.has-js .career-scene {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 34px, 0);
  transition: opacity 380ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.has-js .career-scene.is-active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.work-section {
  overflow: clip;
  color: #f5f5f7;
  background: #000;
}

.work-intro {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18svh 0 11svh;
}

.work-intro h2 {
  max-width: 1040px;
  margin: 35px 0 0;
  font-size: clamp(4rem, 8.2vw, 8.3rem);
  font-weight: 680;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.work-intro > p:last-child {
  max-width: 610px;
  margin: 48px 0 0;
  color: #a1a1a6;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 520;
  line-height: 1.42;
  letter-spacing: -0.032em;
}

.work-scroll {
  min-height: 860px;
}

.has-js .work-scroll {
  height: 320svh;
}

.work-sticky {
  position: relative;
  display: flex;
  height: 860px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.work-sticky::-webkit-scrollbar {
  display: none;
}

.has-js .work-sticky {
  position: sticky;
  top: 52px;
  height: calc(100svh - 52px);
  overflow: hidden;
}

.work-track {
  display: flex;
  width: max-content;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  gap: clamp(20px, 2.6vw, 36px);
  transform: translate3d(var(--work-x, 0), 0, 0);
  will-change: transform;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  flex: 0 0 min(80vw, 980px);
  gap: clamp(30px, 5vw, 75px);
  height: min(72svh, 720px);
  min-height: 570px;
  padding: clamp(42px, 5vw, 72px);
  overflow: hidden;
  border-radius: 38px;
  isolation: isolate;
}

.work-card-copy {
  position: relative;
  z-index: 3;
  align-self: center;
}

.work-card-copy > p {
  margin: 0 0 28px;
  color: #a1a1a6;
  font-size: 0.74rem;
  font-weight: 650;
}

.work-card-copy > p span {
  margin-right: 9px;
  color: var(--accent);
}

.work-card h3 {
  margin: 0;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  font-weight: 670;
  line-height: 0.96;
  letter-spacing: -0.063em;
}

.work-card-copy > div {
  max-width: 510px;
  margin-top: 30px;
  color: #a1a1a6;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.work-card button {
  margin-top: 32px;
  padding: 11px 17px;
  border: 0;
  border-radius: 99px;
  color: #fff;
  background: #0071e3;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 620;
  transition: background 160ms ease, transform 160ms ease;
}

.work-card button:hover {
  background: #0077ed;
  transform: scale(1.025);
}

.work-card-pi {
  border: 1px solid #2c2c2e;
  background: radial-gradient(circle at 76% 58%, rgba(174, 255, 120, 0.12), transparent 38%), linear-gradient(145deg, #171719, #080808 70%);
}

.pi-constellation {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}

.pi-constellation::before {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: rgba(215, 255, 95, 0.1);
  content: "";
  filter: blur(55px);
}

.pi-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pi-orbit-one {
  width: 270px;
  height: 270px;
}

.pi-orbit-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  animation: orbit-spin 36s linear infinite;
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pi-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(215, 255, 95, 0.4);
  border-radius: 31px;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 12, 0.92);
  box-shadow: 0 0 70px rgba(215, 255, 95, 0.16), inset 0 0 30px rgba(215, 255, 95, 0.06);
  flex-direction: column;
  transform: translate(-50%, -50%);
}

.pi-core i {
  width: 7px;
  height: 7px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 13px rgba(215, 255, 95, 0.8);
}

.pi-core strong {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.pi-core small {
  margin-top: 4px;
  color: #77777d;
  font-size: 0.6rem;
}

.pi-node {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  color: #c7c7cc;
  background: rgba(23, 23, 25, 0.88);
  font-size: 0.65rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.pi-node-site { top: 14%; left: 12%; }
.pi-node-tunnel { top: 20%; right: 1%; }
.pi-node-data { right: 7%; bottom: 17%; }
.pi-node-watch { bottom: 9%; left: 5%; }

.work-card-agent {
  border: 1px solid rgba(193, 176, 255, 0.18);
  background: radial-gradient(circle at 84% 20%, rgba(160, 121, 255, 0.23), transparent 36%), linear-gradient(145deg, #201b33, #0d0b15 74%);
}

.work-card-agent .work-card-copy > p span {
  color: #c7b5ff;
}

.agent-stack {
  display: grid;
  align-self: center;
  gap: 8px;
}

.agent-stack > div {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.agent-stack span,
.agent-stack small {
  color: #8d879c;
  font-size: 0.63rem;
}

.agent-stack strong {
  font-size: 1rem;
  font-weight: 590;
}

.agent-stack > i {
  width: 1px;
  height: 18px;
  margin: -8px 0 -8px 36px;
  background: rgba(199, 181, 255, 0.42);
}

.work-card-market {
  color: #1d1d1f;
  background: #f5f5f7;
}

.work-card-market .work-card-copy > p,
.work-card-market .work-card-copy > div {
  color: #6e6e73;
}

.work-card-market .work-card-copy > p span {
  color: #16883d;
}

.market-visual {
  align-self: center;
}

.market-visual svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.market-grid {
  fill: none;
  stroke: #d2d2d7;
  stroke-dasharray: 3 8;
}

.market-fill { fill: url(#market-fill); }
.market-line { fill: none; stroke: #16883d; stroke-width: 5; stroke-linecap: round; }

.market-friction {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: #86868b;
  font-size: 0.63rem;
  font-weight: 630;
}

.market-friction span:last-child {
  color: #1d1d1f;
}

.work-progress {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: min(220px, 40vw);
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #2c2c2e;
  transform: translateX(-50%);
}

.work-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #f5f5f7;
  transform: scaleX(var(--work-progress, 0));
  transform-origin: left;
}

.cocktail-film {
  position: relative;
  height: 100svh;
  min-height: 700px;
  color: #fff;
  background: #000;
}

.has-js .cocktail-film {
  height: 210svh;
}

.cocktail-stage {
  position: relative;
  height: calc(100svh - 52px);
  min-height: 648px;
  overflow: hidden;
  isolation: isolate;
}

.has-js .cocktail-stage {
  position: sticky;
  top: 52px;
}

.cocktail-photo,
.cocktail-vignette {
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: inset(var(--cocktail-inset-y, 9%) var(--cocktail-inset-x, 8%) round var(--cocktail-radius, 36px));
  will-change: clip-path;
}

.cocktail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(var(--cocktail-scale, 1.08));
  will-change: transform;
}

.cocktail-vignette {
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.15) 54%, rgba(0, 0, 0, 0.46) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 48%);
}

.cocktail-lockup {
  position: absolute;
  z-index: 3;
  bottom: 10vh;
  left: max(48px, calc((100vw - 1180px) / 2));
  max-width: 760px;
  opacity: var(--cocktail-copy-opacity, 1);
  transform: translate3d(0, var(--cocktail-copy-y, 0), 0);
  will-change: opacity, transform;
}

.cocktail-lockup .section-kicker {
  color: rgba(255, 255, 255, 0.66);
}

.cocktail-lockup h2 {
  margin: 25px 0 0;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 680;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.cocktail-tagline {
  margin: 25px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 590;
  letter-spacing: -0.035em;
}

.cocktail-recipe {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
  font-weight: 560;
}

.chief-cameo {
  position: absolute;
  z-index: 3;
  top: 9vh;
  right: max(48px, calc((100vw - 1180px) / 2));
  display: flex;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  flex-direction: column;
  backdrop-filter: blur(16px);
  opacity: var(--chief-opacity, 1);
  transform: translate3d(0, var(--chief-y, 0), 0);
  will-change: opacity, transform;
}

.chief-cameo p,
.chief-cameo span {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.61rem;
}

.chief-cameo strong {
  margin-top: 9px;
  font-size: 0.92rem;
  font-weight: 610;
}

.chief-cameo span {
  margin-top: 2px;
}

.contact-film {
  display: flex;
  min-height: 95svh;
  padding: 15svh max(32px, calc((100vw - 1180px) / 2));
  color: #1d1d1f;
  background: #f5f5f7;
  flex-direction: column;
  justify-content: center;
}

.contact-film h2 {
  margin: 34px 0 0;
  font-size: clamp(4.2rem, 10vw, 10rem);
  font-weight: 680;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.contact-film > p:nth-of-type(2) {
  max-width: 590px;
  margin: 45px 0 0;
  color: #6e6e73;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 520;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  margin-top: 36px;
  color: #0066cc;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 580;
  letter-spacing: -0.03em;
}

.contact-link:hover {
  text-decoration: underline;
}

body:not(.health-view) .site-footer {
  width: 100%;
  padding: 28px max(32px, calc((100vw - 1180px) / 2));
  border-color: #d2d2d7;
  color: #6e6e73;
  background: #f5f5f7;
}

@media (max-width: 900px) {
  .film-hero-art {
    bottom: -13%;
    width: min(70vw, 500px);
    height: 72vh;
  }

  .film-hero-after {
    right: 7vw;
    left: 7vw;
  }

  .statement-wrap,
  .career-stage,
  .work-intro {
    width: min(100% - 44px, 1180px);
  }

  .career-stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 42px;
  }

  .career-instrument {
    width: min(100%, 360px);
  }

  .has-js .career-scenes {
    min-height: min(52vh, 470px);
  }

  .work-card {
    grid-template-columns: minmax(250px, 0.95fr) minmax(290px, 1.05fr);
    flex-basis: min(88vw, 860px);
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    height: 52px;
    padding: 0 15px;
  }

  .wordmark {
    font-size: 0;
  }

  .wordmark::before {
    font-size: 0.74rem;
    content: "de.";
  }

  .site-nav {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    gap: 14px;
    padding: 0;
  }

  .site-nav a,
  .pi-nav {
    padding: 8px 0;
    font-size: 0.62rem;
  }

  .header-health {
    font-size: 0;
  }

  .header-health::after {
    font-size: 0.62rem;
    content: "pi";
  }

  .nav-status-dot {
    width: 5px;
    height: 5px;
  }

  .film-hero,
  .has-js .film-hero {
    min-height: 650px;
  }

  .film-hero-stage {
    min-height: min(598px, calc(100svh - 52px));
  }

  .film-hero-lockup {
    top: 9vh;
    right: 16px;
    left: 16px;
  }

  .film-overline {
    margin-bottom: 14px;
    font-size: 0.96rem;
  }

  .film-hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
    line-height: 0.92;
  }

  .film-subtitle {
    margin-top: 19px;
    font-size: 0.92rem;
  }

  .film-hero-art {
    bottom: -7%;
    width: min(98vw, 470px);
    height: 66vh;
  }

  .film-hero-after {
    top: 47%;
    right: 22px;
    left: 22px;
    font-size: clamp(3rem, 14vw, 5.1rem);
  }

  .scroll-cue {
    bottom: 18px;
  }

  .statement-wrap,
  .career-stage,
  .work-intro {
    width: calc(100% - 30px);
  }

  .statement-wrap {
    min-height: 120svh;
    padding: 14svh 0;
  }

  .statement-copy {
    margin-top: 27px;
    font-size: clamp(2.75rem, 12.1vw, 4.7rem);
    line-height: 0.99;
  }

  .statement-detail {
    margin-top: 45px;
    font-size: 1.15rem;
  }

  .career-stage {
    padding: 8svh 0;
  }

  .career-scene > p {
    margin-bottom: 22px;
  }

  .career-scene h3 {
    font-size: clamp(2.85rem, 12.6vw, 4.5rem);
  }

  .career-scene > div {
    margin-top: 25px;
    font-size: 1.05rem;
  }

  .has-js .career-scenes {
    min-height: 430px;
  }

  .work-intro {
    padding: 14svh 0 7svh;
  }

  .work-intro h2 {
    margin-top: 27px;
    font-size: clamp(3.5rem, 15vw, 5.8rem);
  }

  .work-intro > p:last-child {
    margin-top: 34px;
    font-size: 1.1rem;
  }

  .work-scroll {
    min-height: 650px;
  }

  .has-js .work-scroll {
    height: 300svh;
  }

  .work-sticky {
    height: 650px;
  }

  .work-track {
    gap: 14px;
    padding: 0 15px;
  }

  .work-card {
    display: block;
    flex-basis: calc(100vw - 30px);
    height: calc(100svh - 92px);
    min-height: min(560px, calc(100svh - 72px));
    max-height: 740px;
    padding: 30px 27px;
    border-radius: 28px;
  }

  .work-card-copy > p {
    margin-bottom: 20px;
  }

  .work-card h3 {
    max-width: 520px;
    font-size: clamp(2.35rem, 10.8vw, 3.8rem);
  }

  .work-card-copy > div {
    max-width: 450px;
    margin-top: 21px;
    font-size: 0.98rem;
  }

  .work-card button {
    margin-top: 22px;
  }

  .pi-constellation,
  .agent-stack,
  .market-visual {
    position: absolute;
    right: 22px;
    bottom: 25px;
    left: 22px;
    min-height: 0;
  }

  .pi-constellation {
    height: 42%;
  }

  .pi-orbit-one { width: 180px; height: 180px; }
  .pi-orbit-two { width: 285px; height: 285px; }
  .pi-core { width: 112px; height: 112px; border-radius: 25px; }
  .pi-node { padding: 6px 9px; font-size: 0.56rem; }

  .agent-stack {
    gap: 5px;
  }

  .agent-stack > div {
    padding: 12px 14px;
  }

  .agent-stack > i {
    height: 10px;
  }

  .market-visual {
    bottom: 35px;
  }

  .cocktail-film,
  .has-js .cocktail-film {
    min-height: 650px;
  }

  .cocktail-stage {
    min-height: min(598px, calc(100svh - 52px));
  }

  .cocktail-photo,
  .cocktail-vignette {
    clip-path: inset(var(--cocktail-inset-y, 7%) var(--cocktail-inset-x, 15px) round var(--cocktail-radius, 28px));
  }

  .cocktail-photo img {
    object-position: 57% center;
  }

  .cocktail-vignette {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.08) 72%);
  }

  .cocktail-lockup {
    right: 24px;
    bottom: 8vh;
    left: 24px;
  }

  .cocktail-lockup h2 {
    margin-top: 20px;
    font-size: clamp(3.6rem, 16vw, 5.8rem);
  }

  .cocktail-tagline {
    margin-top: 18px;
    font-size: 1.2rem;
  }

  .cocktail-recipe {
    max-width: 260px;
    line-height: 1.5;
  }

  .chief-cameo {
    top: 8vh;
    right: 24px;
    padding: 13px 14px;
  }

  .contact-film {
    min-height: 88svh;
    padding: 13svh 15px;
  }

  .contact-film h2 {
    margin-top: 27px;
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

  .contact-film > p:nth-of-type(2) {
    margin-top: 35px;
    font-size: 1.08rem;
  }

  .contact-link {
    margin-top: 28px;
    font-size: 1.08rem;
  }

  body:not(.health-view) .site-footer {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-hero,
  .has-js .film-hero,
  .career-film,
  .has-js .career-film,
  .work-scroll,
  .has-js .work-scroll,
  .cocktail-film,
  .has-js .cocktail-film {
    height: auto;
  }

  .film-hero-stage,
  .has-js .film-hero-stage,
  .career-stage,
  .has-js .career-stage,
  .work-sticky,
  .has-js .work-sticky,
  .cocktail-stage,
  .has-js .cocktail-stage {
    position: relative;
    top: auto;
  }

  .film-hero-lockup,
  .film-hero-art,
  .film-hero-after,
  .cocktail-lockup,
  .chief-cameo {
    opacity: 1;
    transform: none;
  }

  .film-hero-art {
    transform: translateX(-50%);
  }

  .film-hero-after {
    display: none;
  }

  .has-js .career-scenes {
    display: grid;
    min-height: 0;
    gap: 70px;
  }

  .has-js .career-scene {
    position: relative;
    top: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .work-sticky,
  .has-js .work-sticky {
    height: auto;
    padding: 70px 0;
    overflow-x: auto;
  }

  .work-track {
    transform: none;
  }

  .pi-orbit-two {
    animation: none;
  }

  .cocktail-photo,
  .cocktail-vignette {
    clip-path: none;
  }
}

/* Personal-focus visual pass */

.film-hero-stage::before {
  display: none;
}

.film-hero-lockup {
  top: clamp(70px, 11vh, 120px);
  right: auto;
  left: max(32px, calc((100vw - 1180px) / 2));
  max-width: min(900px, calc(100% - 64px));
  text-align: left;
}

.film-overline {
  color: rgba(255, 255, 255, 0.78);
}

.film-hero h1 {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}

.film-hero h1 span {
  color: rgba(255, 255, 255, 0.6);
}

.film-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.film-hero-art {
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: var(--hero-art-opacity, 1);
  transform: translate3d(0, var(--hero-art-y, 0), 0) scale(var(--hero-art-scale, 1.03));
  transform-origin: center center;
  -webkit-mask-image: none;
  mask-image: none;
}

.film-hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.18) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 58%);
  content: "";
  pointer-events: none;
}

.film-hero-art img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(1.06);
}

.film-hero-art > picture,
.cocktail-photo > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.film-hero-after {
  top: auto;
  bottom: 11vh;
  max-width: 800px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

.chief-film {
  position: relative;
  height: 100svh;
  min-height: 700px;
  color: #fff;
  background: #070707;
}

.has-js .chief-film {
  height: 205svh;
}

.chief-stage {
  position: relative;
  height: calc(100svh - 52px);
  min-height: 648px;
  overflow: hidden;
  isolation: isolate;
}

.has-js .chief-stage {
  position: sticky;
  top: 52px;
}

.chief-photo,
.chief-vignette {
  position: absolute;
  inset: 0;
  margin: 0;
  -webkit-clip-path: inset(var(--chief-inset-y, 9%) var(--chief-inset-x, 8%) round var(--chief-radius, 36px));
  clip-path: inset(var(--chief-inset-y, 9%) var(--chief-inset-x, 8%) round var(--chief-radius, 36px));
  will-change: clip-path;
}

.chief-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(var(--chief-scale, 1.07));
  will-change: transform;
}

.chief-vignette {
  z-index: 1;
  background: linear-gradient(90deg, transparent 20%, rgba(0, 0, 0, 0.12) 46%, rgba(0, 0, 0, 0.78) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 50%);
}

.chief-lockup {
  position: absolute;
  z-index: 3;
  right: max(48px, calc((100vw - 1180px) / 2));
  bottom: 12vh;
  width: min(520px, 42vw);
  opacity: var(--chief-copy-opacity, 1);
  transform: translate3d(0, var(--chief-copy-y, 0), 0);
  will-change: opacity, transform;
}

.chief-lockup .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.chief-lockup h3 {
  margin: 24px 0 0;
  font-size: clamp(4rem, 7.5vw, 7.5rem);
  font-weight: 680;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.chief-lockup > p:last-child {
  max-width: 480px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 510;
  line-height: 1.5;
  letter-spacing: -0.028em;
}

.chief-caption {
  position: absolute;
  z-index: 3;
  top: 10vh;
  right: max(48px, calc((100vw - 1180px) / 2));
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  font-weight: 620;
  opacity: var(--chief-caption-opacity, 1);
}

.work-brief {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 140px);
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18svh 0;
  border-top: 1px solid #d2d2d7;
}

.work-brief h3 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 670;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.work-brief div > p {
  max-width: 730px;
  margin: 42px 0 0;
  color: #6e6e73;
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  font-weight: 510;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.work-brief ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 65px 0 0;
  padding: 0;
  border-top: 1px solid #c7c7cc;
  border-bottom: 1px solid #d2d2d7;
  list-style: none;
}

.work-brief li {
  min-height: 100px;
  padding: 20px 18px;
  border-right: 1px solid #d2d2d7;
  color: #3a3a3c;
  font-size: 0.78rem;
  font-weight: 620;
}

.work-brief li:last-child {
  border-right: 0;
}

.work-brief li span {
  display: block;
  margin-bottom: 27px;
  color: #86868b;
  font-size: 0.64rem;
}

.work-card {
  display: block;
  grid-template-columns: none;
}

.work-card-copy {
  max-width: 610px;
}

.work-card-mark {
  position: absolute;
  z-index: 0;
  right: -0.035em;
  bottom: -0.16em;
  margin: 0;
  font-size: clamp(10rem, 22vw, 19rem);
  font-weight: 760;
  line-height: 0.72;
  letter-spacing: -0.105em;
  user-select: none;
}

.work-card-pi {
  background: linear-gradient(145deg, #191a19, #080808 76%);
}

.work-card-pi .work-card-mark {
  color: rgba(215, 255, 95, 0.11);
}

.work-card-agent {
  background: linear-gradient(145deg, #211b35, #0d0b15 76%);
}

.work-card-agent .work-card-mark {
  color: rgba(199, 181, 255, 0.12);
}

.work-card-market .work-card-mark {
  color: rgba(22, 136, 61, 0.1);
}

.cocktail-photo img {
  object-position: center center;
}

@media (max-width: 900px) {
  .chief-lockup {
    width: min(480px, 48vw);
  }

  .work-brief {
    width: min(100% - 44px, 1180px);
  }

  .work-brief ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-brief li:nth-child(2) {
    border-right: 0;
  }

  .work-brief li:nth-child(-n + 2) {
    border-bottom: 1px solid #d2d2d7;
  }
}

@media (max-width: 680px) {
  .film-hero-lockup {
    top: 10vh;
    right: 18px;
    left: 18px;
    max-width: none;
  }

  .film-hero-art img {
    object-position: 58% center;
  }

  .film-hero-art::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.1) 62%), linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 75%);
  }

  .film-hero-after {
    bottom: 12vh;
    text-align: left;
  }

  .chief-film,
  .has-js .chief-film {
    min-height: 650px;
  }

  .chief-stage {
    min-height: min(598px, calc(100svh - 52px));
  }

  .chief-photo,
  .chief-vignette {
    clip-path: inset(var(--chief-inset-y, 7%) var(--chief-inset-x, 15px) round var(--chief-radius, 28px));
  }

  .chief-photo img {
    object-position: 38% center;
  }

  .chief-vignette {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.02) 70%);
  }

  .chief-lockup {
    right: 24px;
    bottom: 8vh;
    left: 24px;
    width: auto;
  }

  .chief-lockup h3 {
    margin-top: 18px;
    font-size: clamp(3.7rem, 16vw, 5.8rem);
  }

  .chief-lockup > p:last-child {
    margin-top: 20px;
    font-size: 1rem;
  }

  .chief-caption {
    top: 8vh;
    right: 24px;
    left: 24px;
    font-size: 0.58rem;
  }

  .work-brief {
    grid-template-columns: 1fr;
    width: calc(100% - 30px);
    gap: 30px;
    padding: 14svh 0;
  }

  .work-brief h3 {
    font-size: clamp(2.8rem, 12vw, 4.6rem);
  }

  .work-brief div > p {
    margin-top: 30px;
    font-size: 1.04rem;
  }

  .work-brief ol {
    margin-top: 45px;
  }

  .work-brief li {
    min-height: 92px;
    padding: 16px 13px;
    font-size: 0.69rem;
  }

  .work-brief li span {
    margin-bottom: 23px;
  }

  .work-card-mark {
    right: -0.02em;
    bottom: -0.1em;
    font-size: clamp(8rem, 43vw, 13rem);
  }

  .cocktail-photo img {
    object-position: 60% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chief-film,
  .has-js .chief-film {
    height: auto;
  }

  .chief-stage,
  .has-js .chief-stage {
    position: relative;
    top: auto;
  }

  .chief-photo,
  .chief-vignette {
    clip-path: none;
  }

  .chief-photo img,
  .chief-lockup {
    opacity: 1;
    transform: none;
  }
}

/* Deeper personal story + real Chief */

.life-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 18svh;
}

.life-notes article {
  padding: 32px clamp(22px, 3.5vw, 45px) 10px 0;
  border-top: 1px solid #c7c7cc;
}

.life-notes article + article {
  padding-left: clamp(22px, 3.5vw, 45px);
  border-left: 1px solid #d2d2d7;
}

.life-notes h3 {
  max-width: 330px;
  margin: 58px 0 0;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 660;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.life-notes article > p:last-child {
  max-width: 340px;
  margin: 27px 0 0;
  color: #6e6e73;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.023em;
}

.chief-photo-motion {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(var(--chief-scale, 1.07));
  transform-origin: center center;
  will-change: transform;
}

.chief-photo img.chief-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
  transform: none;
}

.chief-frame-calm {
  z-index: 1;
  object-position: center 31%;
}

.work-card-tags {
  position: relative;
  z-index: 3;
  display: flex;
  margin: 24px 0 0;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.work-card-tags li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 99px;
  color: #a1a1a6;
  font-size: 0.59rem;
  font-weight: 620;
}

.work-card-market .work-card-tags li {
  border-color: #d2d2d7;
  color: #6e6e73;
}

.cocktail-tagline {
  max-width: 690px;
}

@media (max-width: 900px) {
  .life-notes {
    width: min(100% - 44px, 1180px);
  }
}

@media (max-width: 680px) {
  .life-notes {
    grid-template-columns: 1fr;
    width: calc(100% - 30px);
    padding-bottom: 14svh;
  }

  .life-notes article,
  .life-notes article + article {
    min-height: 310px;
    padding: 28px 0 42px;
    border-left: 0;
  }

  .life-notes h3 {
    margin-top: 44px;
    font-size: clamp(2.7rem, 12vw, 4.3rem);
  }

  .life-notes article > p:last-child {
    max-width: 420px;
  }

  .chief-photo img.chief-frame {
    width: 100%;
    height: 135%;
  }

  .chief-photo,
  .chief-vignette,
  .cocktail-photo,
  .cocktail-vignette {
    -webkit-clip-path: none;
    clip-path: none;
  }

  .chief-frame-calm {
    top: -25%;
    object-position: center center;
  }

  .chief-caption {
    max-width: 240px;
  }

  .work-card-tags {
    margin-top: 18px;
  }

  .cocktail-lockup h2 {
    font-size: clamp(3.25rem, 14.6vw, 5.4rem);
  }
}

/* Recent YouTube Music history */

.life-notes {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.listening-card {
  min-width: 0;
}

.listening-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.listening-state {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 6px;
  color: #86868b;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.listening-state span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7b7bc;
}

.listening-state.is-live span {
  background: #16883d;
  box-shadow: 0 0 0 4px rgba(22, 136, 61, 0.1);
}

.listening-state.is-error span {
  background: #ff6b4a;
  box-shadow: none;
}

.listening-card h3 {
  max-width: 440px;
}

.recent-listens {
  margin: 35px 0 0;
  padding: 0;
  border-bottom: 1px solid #d2d2d7;
  list-style: none;
}

.recent-listens > li {
  border-top: 1px solid #d2d2d7;
}

.recent-listen-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 10px 0;
}

a.recent-listen-link {
  transition: color 160ms ease;
}

a.recent-listen-link:hover {
  color: #000;
}

.recent-listen-art {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 9px;
  background: linear-gradient(145deg, #d2d2d7, #ececf0);
}

.recent-listen-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

a.recent-listen-link:hover .recent-listen-art img {
  transform: scale(1.045);
}

.recent-listen-art-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #86868b;
  font-size: 1.2rem;
}

.recent-listen-copy,
.recent-listen-copy strong,
.recent-listen-details,
.recent-listen-details > span {
  min-width: 0;
}

.recent-listen-copy {
  display: block;
  overflow: hidden;
}

.recent-listen-copy strong {
  display: block;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 660;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-listen-details {
  display: flex;
  margin-top: 4px;
  overflow: hidden;
  align-items: center;
  color: #6e6e73;
  font-size: 0.68rem;
  font-weight: 520;
  white-space: nowrap;
}

.recent-listen-details > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-listen-album {
  display: flex;
  align-items: center;
}

.recent-listen-album::before {
  margin: 0 6px;
  color: #b7b7bc;
  content: "·";
}

.recent-listen-played {
  align-self: start;
  padding-top: 5px;
  color: #86868b;
  font-size: 0.59rem;
  font-weight: 620;
  white-space: nowrap;
}

.recent-listen-loading {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  color: #86868b;
  font-size: 0.72rem;
}

.recent-listen-loading > span {
  width: 9px;
  height: 9px;
  border: 1px solid #86868b;
  border-top-color: transparent;
  border-radius: 50%;
  animation: listening-spin 700ms linear infinite;
}

@keyframes listening-spin {
  to { transform: rotate(360deg); }
}

.life-notes .listening-card > .listening-message {
  max-width: 440px;
  margin: 35px 0 0;
  padding: 20px 0;
  border-top: 1px solid #d2d2d7;
  border-bottom: 1px solid #d2d2d7;
  color: #6e6e73;
  font-size: 0.84rem;
  line-height: 1.45;
}

.life-notes .listening-card > .listening-source {
  max-width: none;
  margin: 14px 0 0;
  color: #86868b;
  font-size: 0.59rem;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .life-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-notes .listening-card {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .life-notes .listening-card + article {
    padding-left: 0;
    border-left: 0;
  }

  .life-notes article:last-child {
    padding-left: clamp(22px, 3.5vw, 45px);
    border-left: 1px solid #d2d2d7;
  }
}

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

  .life-notes .listening-card,
  .life-notes .listening-card + article,
  .life-notes article:last-child {
    grid-column: auto;
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .listening-card h3 {
    max-width: 380px;
  }

  .recent-listens {
    margin-top: 30px;
  }
}

@media (max-width: 390px) {
  .recent-listen-link {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .recent-listen-art {
    width: 50px;
    height: 50px;
  }

  .recent-listen-album {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recent-listen-loading > span {
    animation: none;
  }

  .recent-listen-art img {
    transition: none;
  }
}

/* Branded career chapters and social profiles */

.career-brand-film {
  --career-bg: #050505;
  --career-ink: #fff;
  --career-muted: rgba(255, 255, 255, 0.66);
  --career-line: rgba(255, 255, 255, 0.25);
  --career-accent: #f50a23;
  position: relative;
  overflow: clip;
  border-top: 0;
  color: var(--career-ink);
  background-color: var(--career-bg);
  isolation: isolate;
  transition: color 650ms ease, background-color 650ms ease;
}

.career-brand-film[data-career-brand="tmobile"] {
  --career-bg: #e20074;
  --career-ink: #fff;
  --career-muted: #fff;
  --career-line: rgba(255, 255, 255, 0.42);
  --career-accent: #fff;
}

.career-brand-film::before,
.career-brand-film::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.career-brand-film::before {
  top: 50%;
  right: -18vw;
  width: min(72vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 10, 35, 0.3), rgba(245, 166, 32, 0.08) 43%, transparent 69%);
  filter: blur(12px);
  opacity: 0.88;
  transform: translateY(-50%);
  transition: opacity 650ms ease, background 650ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.career-brand-film[data-career-brand="tmobile"]::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.17), rgba(87, 0, 45, 0.13) 46%, transparent 70%);
  opacity: 1;
  transform: translate(-8vw, -50%) scale(1.12);
}

.career-brand-film::after {
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 45%, #000 100%);
}

.has-js .career-brand-film {
  height: 240svh;
}

.career-brand-film .career-stage {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  color: var(--career-ink);
}

.has-js .career-brand-film .career-stage {
  position: sticky;
  top: 68px;
  height: calc(100svh - 68px);
  min-height: calc(100svh - 68px);
}

.career-brand-film .career-instrument {
  position: relative;
  z-index: 2;
}

.career-brand-film .career-instrument .section-kicker,
.career-brand-film .career-scene > p,
.career-brand-film .career-scroll-cue {
  color: var(--career-muted);
  transition: color 650ms ease;
}

.career-brand-film .career-instrument h2 {
  max-width: 260px;
  margin: 24px 0 0;
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.career-timeline {
  margin-top: 56px;
}

.career-brand-film .career-years {
  color: var(--career-muted);
  transition: color 650ms ease;
}

.career-brand-film .career-track {
  background: var(--career-line);
  transition: background 650ms ease;
}

.career-brand-film .career-track span {
  background: var(--career-accent);
  transition: width 180ms linear, background 650ms ease;
}

.career-brand-film .career-pips li {
  background: var(--career-line);
}

.career-brand-film .career-pips li.is-active {
  background: var(--career-accent);
}

.career-scroll-cue {
  display: flex;
  margin: 38px 0 0;
  align-items: center;
  gap: 9px;
  font-size: 0.62rem;
  font-weight: 650;
}

.career-scroll-cue span {
  font-size: 0.9rem;
}

.career-brand-film .career-scenes {
  z-index: 1;
}

.career-brand-film .career-scene {
  max-width: 790px;
}

.career-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.career-logo-verizon {
  height: clamp(76px, 10vw, 116px);
  margin: 0 0 clamp(30px, 5vh, 48px) -0.8%;
}

.career-logo-tmobile {
  height: clamp(50px, 6.5vw, 76px);
  margin: 0 0 clamp(46px, 6.7vh, 68px);
}

.career-brand-film .career-scene > p {
  margin-bottom: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.career-brand-film .career-scene h3 {
  max-width: 720px;
  font-size: clamp(3.25rem, 6.4vw, 6.7rem);
}

.career-brand-film .career-scene > div {
  max-width: 660px;
  color: var(--career-muted);
  transition: color 650ms ease;
}

.has-js .career-brand-film .career-scene {
  transform: translate3d(6vw, -46%, 0);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.has-js .career-brand-film .career-scene.is-active {
  transform: translate3d(0, -50%, 0);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 12px;
  width: min(100%, 612px);
  margin-top: 42px;
}

.contact-social {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.38);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.contact-social svg {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-social .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.contact-social > span:nth-of-type(1) {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-social small {
  display: block;
  margin-bottom: 4px;
  color: #6e6e73;
  font-size: 0.62rem;
  font-weight: 580;
  letter-spacing: 0;
  transition: color 220ms ease;
}

.contact-social > span:last-child {
  font-size: 0.9rem;
}

.contact-social:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.contact-social:hover small {
  color: rgba(255, 255, 255, 0.76);
}

.contact-social-instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 56%, #fcb045);
}

.contact-social-linkedin:hover {
  background: #0a66c2;
}

@media (max-width: 900px) {
  .career-brand-film .career-stage {
    grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 72px);
  }

  .career-brand-film .career-instrument h2 {
    max-width: 210px;
  }
}

@media (max-width: 680px) {
  .has-js .career-brand-film {
    height: 230svh;
  }

  .career-brand-film::after {
    background-size: 48px 48px;
  }

  .career-brand-film .career-stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 5svh 0;
  }

  .has-js .career-brand-film .career-stage {
    top: 52px;
    height: calc(100svh - 52px);
    min-height: calc(100svh - 52px);
  }

  .career-brand-film .career-instrument {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    align-items: end;
    gap: 16px;
  }

  .career-brand-film .career-instrument .section-kicker {
    grid-column: 1 / -1;
  }

  .career-brand-film .career-instrument h2 {
    max-width: 215px;
    margin-top: 0;
    font-size: 1.55rem;
  }

  .career-timeline {
    margin-top: 0;
  }

  .career-scroll-cue {
    display: none;
  }

  .career-brand-film .career-scenes,
  .has-js .career-brand-film .career-scenes {
    min-height: min(58vh, 470px);
  }

  .career-logo-verizon {
    height: clamp(64px, 20vw, 86px);
    margin-bottom: 28px;
  }

  .career-logo-tmobile {
    height: clamp(42px, 10vw, 56px);
    margin-bottom: 38px;
  }

  .career-brand-film .career-scene h3 {
    font-size: clamp(2.7rem, 12.1vw, 4.25rem);
  }

  .career-brand-film .career-scene > div {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .contact-socials {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    margin-top: 34px;
  }

  .contact-social {
    min-height: 82px;
    padding: 15px 17px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-brand-film,
  .has-js .career-brand-film,
  .career-brand-film::before,
  .career-brand-film .career-track span,
  .career-brand-film .career-scene,
  .contact-social {
    transition: none;
  }

  .career-brand-film,
  .has-js .career-brand-film {
    height: auto;
  }

  .career-brand-film .career-stage,
  .has-js .career-brand-film .career-stage {
    position: relative;
    top: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .career-brand-film .career-instrument {
    display: block;
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 13svh 0 9svh;
  }

  .career-brand-film .career-scenes,
  .has-js .career-brand-film .career-scenes {
    display: block;
  }

  .career-brand-film .career-scene,
  .has-js .career-brand-film .career-scene {
    display: flex;
    max-width: none;
    min-height: 78svh;
    padding: 11svh max(32px, calc((100vw - 1180px) / 2));
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transform: none;
  }

  .career-brand-film .career-scene-tmobile {
    background: #e20074;
  }

  .career-scroll-cue,
  .career-timeline {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 680px) {
  .career-brand-film .career-instrument {
    width: calc(100% - 30px);
  }

  .career-brand-film .career-scene,
  .has-js .career-brand-film .career-scene {
    min-height: 680px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* Just Because: live Pi snapshot + first-party visitor atlas */

.nav-short {
  display: none;
}

.because-section {
  position: relative;
  overflow: hidden;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 7% 8%, rgba(215, 255, 95, 0.09), transparent 30%),
    radial-gradient(circle at 92% 76%, rgba(82, 237, 190, 0.08), transparent 31%),
    #050706;
}

.because-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 74%);
  mask-image: linear-gradient(180deg, #000, transparent 74%);
}

.because-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 16svh 0 11svh;
}

.because-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.24fr) minmax(0, 0.76fr);
  gap: 20px 45px;
  margin-bottom: clamp(70px, 10vh, 110px);
}

.because-intro .section-kicker {
  padding-top: 0.7em;
  color: #8e9690;
}

.because-intro h2 {
  margin: 0;
  font-size: clamp(4.1rem, 8.5vw, 9rem);
  font-weight: 680;
  line-height: 0.87;
  letter-spacing: -0.083em;
}

.because-intro > p:last-child {
  grid-column: 2;
  max-width: 620px;
  margin: 26px 0 0;
  color: #9ca49e;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

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

.because-card {
  position: relative;
  display: flex;
  min-height: 790px;
  padding: clamp(27px, 3.6vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  flex-direction: column;
  isolation: isolate;
}

.because-card::before {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  content: "";
  filter: blur(24px);
  opacity: 0.42;
  pointer-events: none;
}

.because-card-pi {
  color: #131511;
  border-color: rgba(215, 255, 95, 0.34);
  background: #d7ff5f;
}

.because-card-pi::before {
  right: -210px;
  bottom: -210px;
  background: #fff;
}

.because-card-atlas {
  background: linear-gradient(145deg, #151b18, #080b09 72%);
}

.because-card-atlas::before {
  top: -190px;
  right: -170px;
  background: #4aefba;
}

.because-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.because-card-topline p {
  margin: 0;
}

.because-card-pi .because-card-topline {
  color: rgba(19, 21, 17, 0.61);
}

.because-card-atlas .because-card-topline {
  color: #7f8b84;
}

.because-live-state,
.because-atlas-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.because-live-state span,
.because-atlas-state span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.because-live-state.is-live span,
.because-atlas-state.is-live span {
  background: #127834;
  box-shadow: 0 0 0 4px rgba(18, 120, 52, 0.13);
}

.because-card-atlas .because-atlas-state.is-live {
  color: #6df0bf;
}

.because-card-atlas .because-atlas-state.is-live span {
  background: #6df0bf;
  box-shadow: 0 0 0 4px rgba(109, 240, 191, 0.1), 0 0 14px rgba(109, 240, 191, 0.58);
}

.because-card-copy {
  position: relative;
  z-index: 2;
  margin-top: clamp(65px, 9vh, 95px);
}

.because-card-copy h3 {
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 6.3rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.083em;
}

.because-card-copy > p {
  max-width: 430px;
  margin: 28px 0 0;
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.because-card-pi .because-card-copy > p {
  color: rgba(19, 21, 17, 0.68);
}

.because-card-atlas .because-card-copy > p {
  color: #8e9992;
}

.because-pi-metrics,
.because-atlas-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: auto 0 0;
}

.because-pi-metrics > div,
.because-atlas-metrics > div {
  min-width: 0;
  padding: 17px 12px 12px 0;
  border-top: 1px solid;
}

.because-pi-metrics > div + div,
.because-atlas-metrics > div + div {
  padding-left: 13px;
  border-left: 1px solid;
}

.because-pi-metrics > div {
  border-color: rgba(19, 21, 17, 0.22);
}

.because-atlas-metrics > div {
  border-color: rgba(255, 255, 255, 0.13);
}

.because-pi-metrics dt,
.because-atlas-metrics dt {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 500;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.because-pi-metrics dt {
  color: rgba(19, 21, 17, 0.56);
}

.because-atlas-metrics dt {
  color: #77827b;
}

.because-pi-metrics dd,
.because-atlas-metrics dd {
  margin: 10px 0 0;
  overflow: hidden;
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.because-pi-metrics small {
  margin-left: 2px;
  font-family: var(--mono);
  font-size: 0.51rem;
  letter-spacing: 0;
}

.because-pi-signal {
  position: absolute;
  z-index: 0;
  right: 32px;
  bottom: 155px;
  left: 32px;
  display: flex;
  height: 105px;
  align-items: end;
  gap: 7px;
  opacity: 0.16;
  pointer-events: none;
}

.because-pi-signal span {
  width: 100%;
  height: var(--signal, 40%);
  background: #11140f;
  transform-origin: bottom;
  animation: pi-signal 2.2s ease-in-out infinite alternate;
}

.because-pi-signal span:nth-child(1) { --signal: 22%; animation-delay: -1.7s; }
.because-pi-signal span:nth-child(2) { --signal: 47%; animation-delay: -0.3s; }
.because-pi-signal span:nth-child(3) { --signal: 31%; animation-delay: -1.1s; }
.because-pi-signal span:nth-child(4) { --signal: 75%; animation-delay: -0.7s; }
.because-pi-signal span:nth-child(5) { --signal: 55%; animation-delay: -1.9s; }
.because-pi-signal span:nth-child(6) { --signal: 88%; animation-delay: -1.4s; }
.because-pi-signal span:nth-child(7) { --signal: 62%; animation-delay: -0.5s; }
.because-pi-signal span:nth-child(8) { --signal: 42%; animation-delay: -1.2s; }
.because-pi-signal span:nth-child(9) { --signal: 71%; animation-delay: -0.1s; }
.because-pi-signal span:nth-child(10) { --signal: 35%; animation-delay: -1.6s; }
.because-pi-signal span:nth-child(11) { --signal: 82%; animation-delay: -0.9s; }
.because-pi-signal span:nth-child(12) { --signal: 52%; animation-delay: -2.1s; }

@keyframes pi-signal {
  0% { transform: scaleY(0.5); }
  100% { transform: scaleY(1); }
}

.because-card-action {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  margin-top: 27px;
  padding: 16px 0 2px;
  border: 0;
  border-top: 1px solid;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 670;
  text-align: left;
  transition: opacity 180ms ease;
}

.because-card-pi .because-card-action {
  border-color: rgba(19, 21, 17, 0.25);
}

.because-card-atlas .because-card-action {
  border-color: rgba(255, 255, 255, 0.17);
}

.because-card-action:hover {
  opacity: 0.62;
}

.because-privacy {
  display: flex;
  max-width: 700px;
  margin: 32px 0 0;
  align-items: flex-start;
  gap: 10px;
  color: #717a74;
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.6;
}

.because-privacy span {
  color: #6df0bf;
}

/* Shared map canvas */

.atlas-canvas {
  position: relative;
  overflow: hidden;
  background: #080c0a;
  touch-action: none;
  user-select: none;
}

.atlas-canvas-preview {
  z-index: 2;
  height: 220px;
  margin: 38px -18px 25px;
  border: 1px solid rgba(109, 240, 191, 0.12);
  border-radius: 22px;
  box-shadow: inset 0 0 70px rgba(109, 240, 191, 0.04);
  pointer-events: none;
}

.atlas-map-empty {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 16px;
  margin: 0;
  color: #647068;
  font-family: var(--mono);
  font-size: 0.56rem;
}

.atlas-map-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.atlas-ocean {
  fill: #080c0a;
}

.atlas-grid-line {
  fill: none;
  stroke: rgba(136, 167, 150, 0.09);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.atlas-land {
  fill: #17201b;
  stroke: rgba(117, 150, 132, 0.19);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.atlas-canvas-preview .atlas-land {
  fill: #17231d;
}

.atlas-marker {
  cursor: pointer;
  outline: none;
}

.atlas-marker-halo {
  fill: rgba(109, 240, 191, 0.13);
  stroke: rgba(109, 240, 191, 0.29);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.atlas-marker-pulse {
  fill: none;
  stroke: rgba(109, 240, 191, 0.55);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: atlas-pulse 2.8s ease-out infinite;
}

.atlas-marker-core {
  fill: #8bffcf;
  stroke: #07100b;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(109, 240, 191, 0.75));
}

.atlas-marker:hover .atlas-marker-halo,
.atlas-marker:focus .atlas-marker-halo,
.atlas-marker.is-active .atlas-marker-halo {
  fill: rgba(215, 255, 95, 0.24);
  stroke: rgba(215, 255, 95, 0.74);
}

.atlas-marker:hover .atlas-marker-core,
.atlas-marker:focus .atlas-marker-core,
.atlas-marker.is-active .atlas-marker-core {
  fill: #d7ff5f;
}

@keyframes atlas-pulse {
  0% { opacity: 0.9; transform: scale(0.7); }
  72%, 100% { opacity: 0; transform: scale(1.8); }
}

.atlas-tooltip {
  position: absolute;
  z-index: 8;
  min-width: 145px;
  padding: 11px 12px;
  border: 1px solid rgba(109, 240, 191, 0.29);
  border-radius: 10px;
  color: #effcf6;
  background: rgba(9, 15, 11, 0.93);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
  font-size: 0.69rem;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  backdrop-filter: blur(12px);
}

.atlas-tooltip strong,
.atlas-tooltip span {
  display: block;
}

.atlas-tooltip strong {
  font-weight: 660;
}

.atlas-tooltip span {
  margin-top: 3px;
  color: #849087;
  font-family: var(--mono);
  font-size: 0.55rem;
}

/* Full visitor atlas */

body.visitor-view {
  color: #eef6f1;
  background: #070a08;
}

.page-visitors {
  --atlas-accent: #6df0bf;
  --atlas-line: rgba(225, 242, 232, 0.13);
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 35px 0 100px;
  color: #eef6f1;
}

.atlas-toolbar {
  display: flex;
  padding: 10px 0 45px;
  border-bottom: 1px solid var(--atlas-line);
  align-items: center;
  justify-content: space-between;
  color: #68736c;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.atlas-toolbar p {
  margin: 0;
}

.visitor-view .back-button:hover {
  color: var(--atlas-accent);
}

.atlas-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  padding: clamp(70px, 9vw, 120px) 0 65px;
  align-items: end;
  gap: 45px;
}

.atlas-heading .eyebrow {
  margin-bottom: 28px;
}

.atlas-eyebrow-dot {
  background: var(--atlas-accent);
  box-shadow: 0 0 9px rgba(109, 240, 191, 0.6);
}

.atlas-heading h1 {
  margin: 0;
  font-size: clamp(4.5rem, 9.6vw, 9.5rem);
  font-weight: 690;
  line-height: 0.78;
  letter-spacing: -0.09em;
}

.atlas-heading h1 span {
  color: #667169;
}

.atlas-heading-meta {
  padding-bottom: 8px;
}

.atlas-freshness {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: #8d9a91;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.atlas-freshness span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #68736c;
}

.atlas-freshness.is-live {
  color: var(--atlas-accent);
}

.atlas-freshness.is-live span {
  background: currentColor;
  box-shadow: 0 0 10px rgba(109, 240, 191, 0.7);
}

.atlas-freshness.is-error {
  color: #ff8060;
}

.atlas-heading-meta > p:last-child {
  max-width: 310px;
  margin: 22px 0 0;
  color: #68736c;
  font-size: 0.76rem;
  line-height: 1.55;
}

.atlas-range {
  display: flex;
  min-height: 66px;
  padding: 10px 0;
  border-top: 1px solid var(--atlas-line);
  border-bottom: 1px solid var(--atlas-line);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.atlas-range > p {
  margin: 0;
  color: #68736c;
  font-family: var(--mono);
  font-size: 0.59rem;
  text-transform: uppercase;
}

.atlas-range > div {
  display: flex;
  gap: 5px;
}

.atlas-range button,
.atlas-map-controls button {
  border: 1px solid var(--atlas-line);
  color: #7f8a83;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.58rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.atlas-range button {
  padding: 9px 12px;
  border-radius: 99px;
}

.atlas-range button:hover,
.atlas-range button.is-active {
  color: #07100b;
  border-color: var(--atlas-accent);
  background: var(--atlas-accent);
}

.atlas-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid var(--atlas-line);
  background: #0d110f;
}

.atlas-overview article {
  min-height: 180px;
  padding: 23px 25px;
}

.atlas-overview article + article {
  border-left: 1px solid var(--atlas-line);
}

.atlas-overview p,
.atlas-overview span,
.atlas-highlights p,
.atlas-highlights > article > span {
  font-family: var(--mono);
}

.atlas-overview p {
  margin: 0;
  color: #77827b;
  font-size: 0.59rem;
  text-transform: uppercase;
}

.atlas-overview strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.atlas-overview article > span {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 7px;
  color: #5f6962;
  font-size: 0.54rem;
}

.atlas-live-card strong {
  color: var(--atlas-accent);
}

.atlas-live-card i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--atlas-accent);
  box-shadow: 0 0 9px rgba(109, 240, 191, 0.65);
}

.atlas-map-panel,
.atlas-rhythm,
.atlas-list-panel,
.atlas-privacy {
  border: 1px solid var(--atlas-line);
  background: #0d110f;
}

.atlas-map-panel {
  margin-top: 12px;
}

.atlas-map-panel > header,
.atlas-rhythm > header {
  display: flex;
  min-height: 132px;
  padding: 25px 27px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.atlas-panel-kicker {
  margin: 0;
  color: #68736c;
  font-family: var(--mono);
  font-size: 0.57rem;
  text-transform: uppercase;
}

.atlas-map-panel h2,
.atlas-rhythm h2,
.atlas-list-panel h2,
.atlas-privacy h2 {
  margin: 16px 0 0;
  font-size: clamp(1.8rem, 3.4vw, 3.3rem);
  font-weight: 640;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.atlas-map-controls {
  display: flex;
  gap: 5px;
}

.atlas-map-controls button {
  min-width: 38px;
  min-height: 36px;
  padding: 7px 11px;
}

.atlas-map-controls button:hover {
  color: #07100b;
  border-color: var(--atlas-accent);
  background: var(--atlas-accent);
}

.atlas-canvas-full {
  height: clamp(430px, 55vw, 660px);
  border-top: 1px solid var(--atlas-line);
  border-bottom: 1px solid var(--atlas-line);
  cursor: grab;
}

.atlas-canvas-full.is-dragging {
  cursor: grabbing;
}

.atlas-map-panel > footer {
  display: flex;
  min-height: 54px;
  padding: 13px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #5f6962;
  font-family: var(--mono);
  font-size: 0.54rem;
}

.atlas-map-panel > footer p {
  margin: 0;
}

.atlas-legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--atlas-accent);
  box-shadow: 0 0 8px rgba(109, 240, 191, 0.65);
}

.atlas-rhythm {
  margin-top: 12px;
}

.atlas-rhythm > header > p {
  margin: 0;
  color: #5f6962;
  font-family: var(--mono);
  font-size: 0.56rem;
}

.atlas-chart {
  position: relative;
  height: 290px;
  padding: 10px 25px 30px;
}

.atlas-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.atlas-chart-grid path {
  fill: none;
  stroke: rgba(225, 242, 232, 0.08);
  stroke-width: 1;
  stroke-dasharray: 3 8;
  vector-effect: non-scaling-stroke;
}

.atlas-chart-area {
  fill: rgba(109, 240, 191, 0.055);
  stroke: none;
}

.atlas-chart-visits,
.atlas-chart-pageviews {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.atlas-chart-visits {
  stroke: var(--atlas-accent);
}

.atlas-chart-pageviews {
  stroke: #7c68ff;
  stroke-dasharray: 4 5;
  opacity: 0.88;
}

.atlas-chart-labels {
  position: absolute;
  right: 25px;
  bottom: 10px;
  left: 25px;
  display: flex;
  justify-content: space-between;
  color: #536059;
  font-family: var(--mono);
  font-size: 0.5rem;
}

.atlas-chart-legend {
  display: flex;
  min-height: 48px;
  padding: 13px 25px;
  border-top: 1px solid var(--atlas-line);
  align-items: center;
  gap: 22px;
  color: #69756d;
  font-family: var(--mono);
  font-size: 0.53rem;
}

.atlas-chart-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.atlas-chart-legend i {
  width: 18px;
  height: 2px;
  background: var(--atlas-accent);
}

.atlas-chart-legend span:last-child i {
  background: #7c68ff;
}

.atlas-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid var(--atlas-line);
  background: #0d110f;
}

.atlas-highlights article {
  min-height: 225px;
  padding: 24px 25px;
}

.atlas-highlights article + article {
  border-left: 1px solid var(--atlas-line);
}

.atlas-highlights p {
  margin: 0;
  color: #68736c;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.atlas-highlights strong {
  display: block;
  margin-top: 45px;
  overflow: hidden;
  color: #e9f4ed;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-highlights strong small {
  margin-left: 3px;
  color: #738078;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0;
}

.atlas-highlights > article > span {
  display: block;
  margin-top: 17px;
  color: #5f6962;
  font-size: 0.53rem;
  line-height: 1.5;
}

.atlas-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.atlas-list-panel {
  min-height: 480px;
  padding: 28px;
}

.atlas-list-panel > header {
  min-height: 115px;
}

.atlas-ranked-list,
.atlas-arrivals {
  margin: 25px 0 0;
  padding: 0;
  border-top: 1px solid var(--atlas-line);
  list-style: none;
}

.atlas-list-subhead {
  margin: 35px 0 -5px;
  color: #78847c;
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.atlas-interaction-list {
  margin-top: 20px;
}

.atlas-ranked-list li,
.atlas-arrivals li {
  display: grid;
  min-height: 67px;
  border-bottom: 1px solid var(--atlas-line);
  align-items: center;
}

.atlas-ranked-list li {
  grid-template-columns: 33px minmax(0, 1fr) auto;
  gap: 10px;
}

.atlas-rank {
  color: #536059;
  font-family: var(--mono);
  font-size: 0.54rem;
}

.atlas-list-copy {
  min-width: 0;
}

.atlas-list-copy strong,
.atlas-list-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-list-copy strong {
  font-size: 0.8rem;
  font-weight: 640;
}

.atlas-list-copy span {
  margin-top: 3px;
  color: #5f6962;
  font-family: var(--mono);
  font-size: 0.5rem;
}

.atlas-list-value {
  color: var(--atlas-accent);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.atlas-arrivals li {
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 12px;
}

.atlas-arrival-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--atlas-accent);
  box-shadow: 0 0 8px rgba(109, 240, 191, 0.6);
}

.atlas-arrival-time {
  color: #5f6962;
  font-family: var(--mono);
  font-size: 0.51rem;
  white-space: nowrap;
}

.atlas-list-empty {
  display: flex !important;
  color: #5f6962;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.atlas-arrivals-panel {
  grid-column: 1 / -1;
  min-height: 400px;
}

.atlas-privacy {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  margin-top: 12px;
  padding: clamp(32px, 5vw, 65px);
  gap: 45px 70px;
  background:
    radial-gradient(circle at 87% 20%, rgba(109, 240, 191, 0.08), transparent 34%),
    #0d110f;
}

.atlas-privacy > p {
  max-width: 690px;
  margin: 0;
  color: #839087;
  font-size: 0.92rem;
  line-height: 1.65;
}

.atlas-privacy ul {
  grid-column: 2;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.atlas-privacy li {
  padding: 7px 10px;
  border: 1px solid rgba(109, 240, 191, 0.24);
  border-radius: 99px;
  color: var(--atlas-accent);
  font-family: var(--mono);
  font-size: 0.54rem;
}

.visitor-view .site-footer {
  width: min(1320px, calc(100% - 64px));
  padding-right: 0;
  padding-left: 0;
  border-color: var(--atlas-line);
  color: #5f6962;
  background: #070a08;
}

@media (max-width: 1000px) {
  .because-card {
    min-height: 740px;
  }

  .because-pi-metrics,
  .because-atlas-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .because-pi-metrics > div:nth-child(3),
  .because-atlas-metrics > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

  .atlas-overview article:nth-child(3),
  .atlas-highlights article:nth-child(3) {
    border-top: 1px solid var(--atlas-line);
    border-left: 0;
  }

  .atlas-overview article:nth-child(4),
  .atlas-highlights article:nth-child(4) {
    border-top: 1px solid var(--atlas-line);
  }
}

@media (max-width: 760px) {
  .because-shell,
  .page-visitors {
    width: calc(100% - 30px);
  }

  .because-shell {
    padding: 13svh 0 10svh;
  }

  .because-intro {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .because-intro .section-kicker {
    padding-top: 0;
  }

  .because-intro h2 {
    margin-top: 24px;
    font-size: clamp(3.55rem, 16vw, 6.2rem);
  }

  .because-intro > p:last-child {
    grid-column: auto;
    margin-top: 20px;
    font-size: 1rem;
  }

  .because-grid {
    grid-template-columns: 1fr;
  }

  .because-card {
    min-height: 690px;
    padding: 27px 24px;
    border-radius: 27px;
  }

  .because-card-copy {
    margin-top: 62px;
  }

  .because-card-copy h3 {
    font-size: clamp(3.8rem, 18vw, 5.7rem);
  }

  .atlas-canvas-preview {
    height: 190px;
    margin-right: -8px;
    margin-left: -8px;
  }

  .because-pi-signal {
    bottom: 158px;
  }

  .atlas-toolbar > p {
    display: none;
  }

  .atlas-heading {
    grid-template-columns: 1fr;
    padding: 65px 0 45px;
    gap: 38px;
  }

  .atlas-heading h1 {
    font-size: clamp(4rem, 21vw, 6.6rem);
  }

  .atlas-heading-meta > p:last-child {
    max-width: 380px;
  }

  .atlas-range {
    display: block;
    padding: 15px 0;
  }

  .atlas-range > p {
    margin-bottom: 11px;
  }

  .atlas-range > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .atlas-range button {
    padding: 8px 5px;
    font-size: 0.51rem;
  }

  .atlas-overview article {
    min-height: 150px;
    padding: 20px 18px;
  }

  .atlas-overview strong {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .atlas-map-panel > header,
  .atlas-rhythm > header {
    min-height: 0;
    padding: 24px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .atlas-map-controls {
    align-self: flex-end;
  }

  .atlas-canvas-full {
    height: 280px;
  }

  .atlas-map-panel > footer {
    padding: 14px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .atlas-rhythm > header > p {
    line-height: 1.5;
  }

  .atlas-chart {
    height: 235px;
    padding-right: 17px;
    padding-left: 17px;
  }

  .atlas-chart-labels {
    right: 17px;
    left: 17px;
  }

  .atlas-highlights article {
    min-height: 190px;
    padding: 20px 18px;
  }

  .atlas-highlights strong {
    margin-top: 35px;
  }

  .atlas-detail-grid {
    grid-template-columns: 1fr;
  }

  .atlas-list-panel,
  .atlas-arrivals-panel {
    grid-column: auto;
    min-height: 0;
    padding: 23px 20px 30px;
  }

  .atlas-privacy {
    grid-template-columns: 1fr;
    padding: 32px 25px;
    gap: 30px;
  }

  .atlas-privacy ul {
    grid-column: auto;
  }

  .visitor-view .site-footer {
    width: calc(100% - 30px);
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .site-nav {
    gap: 11px;
  }

  .site-nav a,
  .pi-nav {
    font-size: 0.58rem;
  }

  .header-health {
    font-size: 0;
  }

  .header-health::after {
    font-size: 0.58rem;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
  }
}

@media (max-width: 410px) {
  .site-nav {
    gap: 8px;
  }

  .site-nav a,
  .pi-nav {
    font-size: 0.54rem;
  }

  .header-health {
    font-size: 0;
  }

  .header-health::after {
    font-size: 0.54rem;
  }

  .because-card-topline > p:first-child {
    max-width: 110px;
  }

  .atlas-overview article,
  .atlas-highlights article {
    padding-right: 13px;
    padding-left: 13px;
  }

  .atlas-overview article > span {
    font-size: 0.49rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .because-pi-signal span,
  .atlas-marker-pulse {
    animation: none;
  }
}
