:root {
  color-scheme: light;
  --bg: #edf2f8;
  --bg-secondary: #f8fbff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --text: #0f172a;
  --muted: #60708a;
  --muted-strong: #42526c;
  --accent-start: hsl(22 70% 50%);
  --accent-end: hsl(355 70% 50%);
  --accent-solid: hsl(355 70% 50%);
  --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --accent: var(--accent-solid);
  --accent-soft: hsl(22 70% 50% / 0.12);
  --accent-soft-strong: hsl(355 70% 50% / 0.14);
  --accent-border: hsl(355 70% 50% / 0.22);
  --accent-glow: 0 0 22px hsl(355 70% 50% / 0.24);
  --shadow-xl: 0 26px 70px rgba(115, 137, 168, 0.18);
  --shadow-lg: 0 16px 38px rgba(134, 152, 180, 0.16);
  --shadow-md: 0 10px 24px rgba(121, 141, 173, 0.12);
  --radius-2xl: 2.25rem;
  --radius-xl: 1.75rem;
  --radius-lg: 1.25rem;
  --radius-md: 1rem;
  --page-width: min(88rem, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 35%),
    radial-gradient(circle at top right, hsl(22 70% 50% / 0.08), transparent 30%),
    radial-gradient(circle at bottom left, hsl(355 70% 50% / 0.07), transparent 28%),
    linear-gradient(180deg, #f2f6fb 0%, #edf3f9 46%, #f6f9fd 100%);
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: hsl(22 70% 50% / 0.22);
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--surface-solid);
  color: var(--text);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 1rem;
}

.hero-shell,
.page-main,
.site-footer {
  width: var(--page-width);
  margin: 0 auto;
}

.hero-shell {
  padding: 1rem 0 1.5rem;
}

.hero-card,
.section-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-card {
  border-radius: 2.5rem;
  padding: 1.3rem clamp(1rem, 2vw, 1.75rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82));
  box-shadow: var(--shadow-lg);
}

.hero-card::before,
.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at top right, hsl(22 70% 50% / 0.08), transparent 32%);
  pointer-events: none;
}

.site-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.site-brand-dot {
  color: var(--accent);
}

.site-nav-links,
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav-links a,
.footer-nav a {
  color: var(--muted-strong);
  transition: color 180ms ease;
}

.site-nav-links a:hover,
.footer-nav a:hover,
.site-nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.nav-cta,
.button-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 16px 30px hsl(355 70% 50% / 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding-top: clamp(2rem, 4vw, 3rem);
}

.section-eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.hero-copy {
  max-width: 34rem;
  padding: clamp(1rem, 2vw, 2rem) 0;
}

.hero-lead {
  margin: 1rem 0 1.15rem;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  color: var(--muted-strong);
}

.hero-value,
.section-heading p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-proof-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
}

.hero-proof-list li {
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid hsl(355 70% 50% / 0.12);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted-strong);
  box-shadow: var(--shadow-md);
}

.hero-visual {
  position: relative;
  min-height: 42rem;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-halo {
  position: absolute;
  inset: 11% 17% 3%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 72%);
}

.hero-lens {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-md);
}

.hero-lens--one {
  width: 3rem;
  height: 3rem;
  top: 4rem;
  left: 3rem;
}

.hero-lens--two {
  width: 1.8rem;
  height: 1.8rem;
  bottom: 8rem;
  left: 5rem;
}

.hero-portrait-shell {
  position: relative;
  width: min(32rem, 100%);
  aspect-ratio: 494 / 688;
  z-index: 2;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(84, 101, 130, 0.2));
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: min(14rem, 42vw);
  padding: 1rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  transition: box-shadow 220ms ease;
}

.floating-card-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.floating-card strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.floating-card--left-top {
  top: 8%;
  left: 3%;
}

.floating-card--right-top {
  top: 14%;
  right: 2%;
}

.floating-card--left-bottom {
  left: 1%;
  bottom: 9%;
}

.floating-card--right-bottom {
  right: 4%;
  bottom: 6%;
}

.page-main {
  padding-bottom: 5rem;
}

.section-shell {
  border-radius: var(--radius-2xl);
  margin-top: 1.8rem;
  padding: clamp(1.35rem, 2vw, 1.8rem) clamp(1rem, 2.8vw, 2.2rem) clamp(1.8rem, 3vw, 2.5rem);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.timeline-shell {
  position: relative;
}

.timeline-rail {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(132, 148, 176, 0.18), rgba(132, 148, 176, 0.32));
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.timeline-item {
  position: relative;
  width: calc(50% - 2.8rem);
}

.timeline-item:nth-child(odd) {
  margin-right: auto;
  padding-right: 2.5rem;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  padding-left: 2.5rem;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 0.28rem solid hsl(355 70% 50% / 0.52);
  box-shadow: 0 0 0 0.45rem hsl(22 70% 50% / 0.1);
}

.timeline-item:nth-child(odd)::after {
  right: -0.55rem;
  transform: translateX(50%);
}

.timeline-item:nth-child(even)::after {
  left: -0.55rem;
  transform: translateX(-50%);
}

.timeline-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.7));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.timeline-item[data-active="true"] .timeline-card {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: 0 16px 36px rgba(112, 134, 169, 0.16);
}

.timeline-trigger {
  width: 100%;
  border: 0;
  padding: 1rem 1.15rem;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.profile-picture {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  border-radius: 1rem;
  background: var(--accent-soft);
}

.timeline-trigger-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.timeline-trigger-title {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.timeline-trigger-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-trigger-indicator {
  margin-left: auto;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  position: relative;
}

.timeline-trigger-indicator::before,
.timeline-trigger-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 2px;
  background: var(--accent-solid);
  border-radius: 999px;
  transition: transform 220ms ease;
}

.timeline-trigger-indicator::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.timeline-trigger-indicator::after {
  transform: translate(-15%, -50%) rotate(-45deg);
}

.timeline-item[data-active="true"] .timeline-trigger-indicator::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.timeline-item[data-active="true"] .timeline-trigger-indicator::after {
  transform: translate(-15%, -50%) rotate(45deg);
}

.timeline-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms ease, opacity 220ms ease;
}

.timeline-item[data-active="true"] .timeline-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.timeline-details-inner {
  overflow: hidden;
  padding: 0 1.15rem 1.15rem;
}

.cv-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.cv-meta-row p {
  margin: 0;
  color: var(--muted);
}

.cv-entry-picture {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
  opacity: 0.7;
}

.timeline-highlights {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted-strong);
}

.timeline-highlights li + li {
  margin-top: 0.38rem;
}

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

.testimonial-card {
  margin: 0;
}

.testimonial-bubble {
  position: relative;
  margin: 0;
  padding: 1.45rem 1.5rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.testimonial-bubble::after {
  content: "";
  position: absolute;
  left: 2rem;
  bottom: -0.72rem;
  width: 1.4rem;
  height: 1.4rem;
  background: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  transform: rotate(45deg);
}

.testimonial-bubble p {
  margin: 0;
  color: var(--muted-strong);
}

.testimonial-author {
  display: grid;
  gap: 0.15rem;
  padding: 1.2rem 0 0 0.85rem;
}

.testimonial-author span {
  color: var(--muted);
}

.tech-marquee {
  position: relative;
  padding: 1rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.marquee-track {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack-list[aria-hidden="true"] {
  display: none;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.stack-pill img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.8rem;
  background: var(--accent-soft);
  padding: 0.28rem;
}

.sports-stage {
  position: relative;
  min-height: 24rem;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(219, 233, 249, 0.7));
  box-shadow: var(--shadow-lg);
}

.sports-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 1.4rem;
  align-items: stretch;
}

.sports-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sport-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 220ms ease;
}

.sport-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 31, 0) 40%, rgba(12, 19, 31, 0.25) 100%);
}

.sport-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport-image.is-active {
  opacity: 1;
}

.sport-tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.sport-tab {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.5rem;
  display: grid;
  gap: 0.65rem;
  text-align: left;
  color: var(--text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sport-tab img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 0.95rem;
}

.sport-tab-copy {
  display: grid;
  gap: 0.2rem;
  padding: 0 0.2rem 0.1rem;
}

.sport-tab-label {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sport-tab.is-active {
  border-color: var(--accent-border);
  box-shadow: 0 16px 32px hsl(355 70% 50% / 0.14);
  transform: translateY(-1px);
}

.sport-copy-stack {
  position: relative;
  min-height: 18rem;
}

.sport-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateY(6px);
}

.sport-copy.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sport-copy-card {
  width: 100%;
  min-height: 100%;
  padding: 1.7rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.sport-index {
  margin: 0 0 0.8rem;
  color: var(--accent-solid);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.sport-copy-card p:last-child {
  margin-top: 0.95rem;
  color: var(--muted);
}

.site-footer {
  padding: 0 0 2.4rem;
}

.footer-nav {
  padding: 0.8rem 0 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-card,
  .floating-card,
  .hero-lens {
    background: rgba(255, 255, 255, 0.96);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .sports-showcase {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .hero-copy {
    max-width: none;
  }

  .timeline-rail {
    left: 1rem;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: auto;
    margin: 0;
    padding: 0 0 0 2.6rem;
  }

  .timeline-item::after,
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 0.03rem;
    right: auto;
    transform: none;
  }

  .sports-stage {
    min-height: 22rem;
  }
}

@media (max-width: 820px) {
  html {
    font-size: 15px;
  }

  .hero-shell,
  .page-main,
  .site-footer {
    width: min(calc(100vw - 1rem), 100%);
  }

  .hero-card,
  .section-shell {
    border-radius: 1.75rem;
  }

  .site-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.9rem;
  }

  .site-nav-links {
    gap: 1rem;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 1rem;
  }

  .hero-portrait-shell {
    width: min(22rem, 100%);
  }

  .floating-card {
    position: relative;
    width: auto;
    inset: auto;
    margin-top: 0.85rem;
  }

  .hero-visual {
    display: grid;
    justify-items: center;
  }

  .hero-halo {
    inset: 12% 6% 18%;
  }

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

  .tech-marquee {
    padding: 0.9rem;
  }

  .sport-tab-list {
    grid-template-columns: 1fr;
  }

  .marquee-track,
  .stack-list {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sport-copy-stack {
    min-height: 15rem;
  }

  .sport-copy {
    position: relative;
    inset: auto;
    transform: none;
  }

  .sport-copy:not(.is-active) {
    display: none;
  }
}

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

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

  .stack-list[aria-hidden="true"] {
    display: none;
  }
}
