:root {
  --bg: #ec6bac;
  --bg-2: #d74593;
  --bg-3: #8d1a58;
  --bg-4: #590734;
  --ink: #fff8fb;
  --ink-soft: rgba(255, 248, 251, 0.78);
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --shadow: 0 40px 100px rgba(63, 4, 34, 0.22);
  --shell: min(1280px, calc(100vw - 32px));
}

@font-face {
  font-family: "Anton";
  src: url("./assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 223, 238, 0.42), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(117, 8, 64, 0.3), transparent 22%),
    linear-gradient(180deg, #f07ab7 0%, #dc519c 26%, #b72677 62%, #7f124d 100%);
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.is-loading {
  overflow: hidden;
}

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

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f07ab7 0%, #ce3d8c 44%, #741044 100%);
}

.preloader-inner {
  width: min(360px, calc(100vw - 40px));
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.preloader-logo {
  width: clamp(84px, 22vw, 126px);
  height: clamp(84px, 22vw, 126px);
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(52, 3, 27, 0.24);
}

.preloader-copy p,
.preloader-copy span {
  display: block;
}

.preloader-copy p {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.preloader-copy span {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preloader-bar {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.preloader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: #fff8fb;
}

.ambient,
.color-wash,
.grain,
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: -3;
  filter: blur(24px);
}

.color-wash {
  z-index: -4;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 40%);
  opacity: 0.72;
  mix-blend-mode: soft-light;
}

.ambient-a {
  inset: -8% auto auto -12%;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: rgba(255, 239, 247, 0.28);
}

.ambient-b {
  inset: auto -18% 18% auto;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: rgba(84, 6, 44, 0.22);
}

.ambient-c {
  inset: 40% auto auto 24%;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.grid-overlay {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
}

.grain {
  z-index: -1;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px);
  background-size: 140px 140px, 180px 180px, 220px 220px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(112, 10, 62, 0.58), rgba(112, 10, 62, 0));
  backdrop-filter: blur(16px);
}

.scene-rail {
  --rail-progress: 0;
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 58;
  display: grid;
  gap: 14px;
  width: 164px;
  transform: translateY(-50%);
}

.scene-rail-track {
  position: relative;
  height: min(62vh, 560px);
}

.scene-rail-line,
.scene-rail-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  border-radius: 999px;
}

.scene-rail-line {
  background: rgba(255, 255, 255, 0.18);
}

.scene-rail-progress {
  bottom: auto;
  height: calc(var(--rail-progress) * 100%);
  background: linear-gradient(180deg, rgba(255, 248, 251, 0.96), rgba(255, 248, 251, 0.28));
  box-shadow: 0 0 22px rgba(255, 248, 251, 0.22);
}

.scene-rail-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.scene-point {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.scene-point-core {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.scene-point-core::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 248, 251, 0.24);
  transform: scale(0.72);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.scene-point-text {
  display: grid;
  gap: 1px;
}

.scene-point-step,
.scene-rail-step {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scene-point-label,
.scene-rail-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.scene-point-text {
  opacity: 0.56;
  transition: opacity 220ms ease, transform 220ms ease;
}

.scene-point.is-active .scene-point-core,
.scene-point:hover .scene-point-core,
.scene-point:focus-visible .scene-point-core {
  border-color: rgba(255, 248, 251, 0.76);
}

.scene-point.is-active .scene-point-core::after,
.scene-point:hover .scene-point-core::after,
.scene-point:focus-visible .scene-point-core::after {
  background: #fff8fb;
  transform: scale(1);
  box-shadow: 0 0 24px rgba(255, 248, 251, 0.34);
}

.scene-point.is-active .scene-point-text,
.scene-point:hover .scene-point-text,
.scene-point:focus-visible .scene-point-text {
  opacity: 1;
  transform: translateX(2px);
}

.scene-rail-caption {
  display: grid;
  gap: 2px;
  justify-items: start;
  padding-left: 34px;
}

.scene-rail-step {
  color: rgba(255, 248, 251, 0.68);
}

body.is-loading .scene-rail {
  opacity: 0;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 220ms ease;
}

.brand-logo,
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transition: transform 220ms ease;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-copy-top,
.brand-copy-bottom,
.eyebrow,
.timeline-date {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-copy-top {
  font-size: 0.63rem;
  font-weight: 800;
}

.brand-copy-bottom {
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.panel-block {
  position: relative;
  overflow: clip;
  min-height: 100svh;
}

.hero-block {
  min-height: 100svh;
  padding: 88px 0 32px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-word {
  position: absolute;
  font-family: "Anton", sans-serif;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.hero-word-a {
  top: 14%;
  left: -6%;
  font-size: clamp(4rem, 22vw, 18rem);
}

.hero-word-b {
  right: -10%;
  bottom: 14%;
  font-size: clamp(4.2rem, 24vw, 19rem);
}

.hero-beam {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.hero-copy,
.hero-stage,
.timeline-shell,
.focus-shell,
.cta-shell,
.overview-layout {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-title,
.section-title,
.skill-slide h3,
.timeline-content h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 8px;
  font-size: clamp(4.2rem, 26vw, 10rem);
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line span {
  display: block;
}

.hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(1.15rem, 4.5vw, 2rem);
  font-weight: 800;
}

.hero-body,
.overview-lead,
.overview-text,
.skill-slide p,
.timeline-content p:last-child,
.focus-copy,
.cta-copy,
.site-footer p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-body {
  max-width: 36rem;
  margin: 16px 0 0;
  font-size: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.metric {
  display: grid;
  gap: 3px;
  padding: 14px 10px 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 220ms ease, border-color 220ms ease;
}

.metric strong {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.6rem, 7vw, 3rem);
  font-weight: 400;
  line-height: 0.9;
}

.metric span {
  font-size: 0.82rem;
  color: rgba(255, 248, 251, 0.72);
}

.hero-stage {
  display: grid;
  gap: 18px;
}

.hero-poster-wrap {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  transform-origin: center center;
  transition: transform 320ms ease;
}

.hero-poster-wrap::before,
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-poster-wrap::before {
  inset: -24px -14px auto auto;
  width: 110px;
  height: 110px;
}

.hero-poster-wrap::after {
  inset: auto auto -28px -24px;
  width: 150px;
  height: 150px;
}

.hero-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-logo-badge {
  position: absolute;
  right: -10px;
  bottom: -24px;
  width: 92px;
  height: 92px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 248, 251, 0.92);
  box-shadow: 0 24px 46px rgba(54, 1, 27, 0.18);
}

.hero-actions,
.cta-actions {
  display: grid;
  gap: 12px;
}

.action-link,
.dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.action-link-primary,
.dock-link-primary {
  color: #73063f;
  background: #fff8fb;
}

.action-link-secondary,
.dock-link-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.action-link-large {
  min-height: 62px;
  padding: 0 24px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  font-size: 1.2rem;
}

.overview-block,
.timeline-block,
.focus-block,
.cta-block {
  padding: 84px 0;
}

.section-head {
  max-width: 60rem;
}

.section-title {
  margin-top: 10px;
  font-size: clamp(2.7rem, 15vw, 6.6rem);
}

.overview-shell {
  display: grid;
  gap: 28px;
}

.overview-intro {
  max-width: 64rem;
}

.overview-kicker {
  margin: 12px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 248, 251, 0.84);
}

.overview-statement {
  margin: 14px 0 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 16vw, 7rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.overview-layout {
  display: grid;
  gap: 16px;
}

.overview-lead {
  font-size: clamp(1.1rem, 4.2vw, 1.5rem);
  font-weight: 700;
}

.overview-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.overview-row {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    padding-left 220ms ease,
    padding-right 220ms ease;
}

.overview-row-index,
.overview-row-label {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
}

.overview-row-index {
  font-size: 1.4rem;
  line-height: 0.9;
  color: rgba(255, 248, 251, 0.58);
}

.overview-row-label {
  font-size: clamp(1.6rem, 8vw, 3.4rem);
  line-height: 0.92;
}

.overview-row-copy {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.skills-block {
  display: grid;
  align-items: stretch;
  padding: 0;
}

.skill-shell {
  display: grid;
  align-items: center;
  min-height: 100svh;
}

.skill-slide {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: 128px 0 112px;
  overflow: hidden;
}

.skill-slide::before {
  content: none;
}

.skill-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.skill-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.skill-copy {
  max-width: 42rem;
  transition: transform 320ms ease;
}

.skill-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.skill-backdrop-word,
.skill-backdrop-step {
  position: absolute;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.03em;
  user-select: none;
  transition: transform 600ms ease, opacity 320ms ease, letter-spacing 320ms ease;
}

.skill-backdrop-word {
  left: -2vw;
  top: 10%;
  font-size: clamp(4.8rem, 20vw, 15rem);
  color: rgba(255, 248, 251, 0.08);
  white-space: nowrap;
}

.skill-backdrop-step {
  right: 0;
  bottom: 6%;
  font-size: clamp(5.2rem, 18vw, 12rem);
  color: rgba(255, 248, 251, 0.05);
}

.skill-kicker {
  margin: 12px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 248, 251, 0.84);
}

.skill-slide h3 {
  margin-top: 10px;
  font-size: clamp(3rem, 16vw, 8rem);
}

.skill-body {
  max-width: 32rem;
  margin-top: 16px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.skill-note-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skill-notes {
  display: grid;
  gap: 0;
  max-width: 38rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.skill-note {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.skill-note:first-child {
  padding-top: 14px;
  border-top: 0;
}

.skill-note-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 248, 251, 0.64);
  transition: color 220ms ease, letter-spacing 220ms ease;
}

.skill-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  transition: color 220ms ease;
}

.skill-slide-1 {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 248, 251, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.skill-slide-2 {
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 248, 251, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.skill-slide-3 {
  background:
    radial-gradient(circle at 26% 72%, rgba(255, 248, 251, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.timeline-block {
  position: relative;
  display: grid;
  align-items: center;
}

.timeline-giant {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 24vw, 18rem);
  line-height: 0.86;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  pointer-events: none;
}

.timeline-shell {
  display: grid;
  gap: 34px;
  align-content: center;
  min-height: 100svh;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  transition: transform 220ms ease;
}

.timeline-row-featured {
  max-width: 980px;
}

.timeline-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 248, 251, 0.92);
  color: #8d1a58;
  font-family: "Anton", sans-serif;
  font-size: 1.1rem;
}

.timeline-content h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 10vw, 4rem);
}

.timeline-date {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
}

.timeline-shell-secondary .section-head {
  margin-left: auto;
  max-width: 52rem;
}

.focus-block {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.focus-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(62, 3, 31, 0.12), rgba(62, 3, 31, 0.42)),
    url("./poster-evento.jpeg") center center / cover no-repeat;
  opacity: 0.22;
  transform-origin: center center;
}

.focus-title {
  max-width: 18ch;
}

.focus-copy {
  max-width: 34rem;
  margin: 20px 0 0;
  font-size: clamp(1rem, 3.8vw, 1.2rem);
}

.focus-shell {
  transition: transform 320ms ease;
}

.cta-block {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.cta-radial {
  position: absolute;
  inset: 12% 10% auto auto;
  width: 64vw;
  height: 64vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%);
  filter: blur(14px);
}

.cta-shell {
  max-width: 900px;
}

.cta-copy {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
}

.cta-actions {
  margin-top: 28px;
}

.site-footer {
  padding: 24px 0 120px;
}

.footer-shell {
  display: grid;
  gap: 16px;
  align-items: center;
}

.mobile-dock {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(94, 5, 51, 0.82);
  box-shadow: 0 18px 44px rgba(57, 3, 30, 0.34);
  backdrop-filter: blur(18px);
}

.dock-link {
  min-height: 52px;
  font-size: 0.94rem;
}

@media (max-width: 767px) {
  main {
    padding-bottom: calc(116px + env(safe-area-inset-bottom));
  }

  .scene-rail {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: calc(86px + env(safe-area-inset-bottom));
    width: auto;
    transform: none;
  }

  .scene-rail-track {
    height: auto;
  }

  .scene-rail-line,
  .scene-rail-progress {
    top: 10px;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    height: 2px;
  }

  .scene-rail-progress {
    width: calc(var(--rail-progress) * 100%);
  }

  .scene-rail-points {
    flex-direction: row;
    align-items: center;
    height: auto;
  }

  .scene-point {
    flex: 1 1 0;
    justify-content: center;
  }

  .scene-point-text {
    display: none;
  }

  .scene-rail-caption {
    padding-left: 0;
    justify-items: center;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .skills-block,
  .timeline-block,
  .focus-block,
  .cta-block {
    min-height: auto;
  }

  .skill-shell,
  .timeline-shell,
  .focus-shell,
  .cta-shell {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 10px;
  }

  .brand {
    gap: 9px;
    max-width: calc(100% - 114px);
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy-top {
    font-size: 0.56rem;
  }

  .brand-copy-bottom {
    font-size: 0.82rem;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero-block {
    padding-top: 96px;
  }

  .hero-title {
    font-size: clamp(3.05rem, 17vw, 4.95rem);
  }

  .section-title {
    font-size: clamp(2.5rem, 14vw, 4.3rem);
  }

  .hero-body {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .metric {
    padding: 10px 6px 10px 0;
  }

  .metric strong {
    font-size: 1.95rem;
  }

  .metric span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .hero-poster-wrap {
    width: min(100%, 340px);
    margin-left: 0;
  }

  .hero-stage {
    gap: 14px;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .action-link {
    min-height: 54px;
    font-size: 0.94rem;
  }

  .skills-block,
  .timeline-block,
  .focus-block,
  .cta-block,
  .site-footer {
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  .overview-band {
    gap: 14px;
    margin-top: 30px;
  }

  .timeline-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .skill-slide {
    padding: 118px 0 calc(176px + env(safe-area-inset-bottom));
  }

  .skill-slide::after {
    bottom: calc(156px + env(safe-area-inset-bottom));
  }

  .skill-slide h3 {
    font-size: clamp(2.7rem, 13.8vw, 4.35rem);
  }

  .skill-body {
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .skill-note {
    gap: 4px;
    padding: 13px 0;
  }

  .skill-note p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .skill-backdrop-word {
    left: -4vw;
    top: 12%;
    font-size: clamp(3.9rem, 19vw, 8rem);
  }

  .skill-backdrop-step {
    right: 0;
    bottom: 10%;
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .timeline-index {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .mobile-dock {
    inset: auto 10px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .dock-link {
    min-height: 48px;
    font-size: 0.9rem;
  }
}

.action-link:hover,
.action-link:focus-visible,
.dock-link:hover,
.dock-link:focus-visible,
.nav-link:hover,
.nav-link:focus-visible,
.main-nav a:hover,
.main-nav a:focus-visible {
  transform: translateY(-2px);
}

.action-link:focus-visible,
.dock-link:focus-visible,
.nav-link:focus-visible,
.main-nav a:focus-visible {
  outline: 2px solid #fff8fb;
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .main-nav {
    display: inline-flex;
  }

  .scene-rail-track {
    height: min(64vh, 600px);
  }

  .hero-block {
    padding: 110px 0 40px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.9fr);
    align-items: center;
    min-height: calc(100svh - 110px);
  }

  .hero-title {
    font-size: clamp(4.8rem, 8.4vw, 7.8rem);
  }

  .hero-copy {
    max-width: 40rem;
  }

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

  .overview-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
  }

  .overview-row {
    grid-template-columns: 68px minmax(240px, 0.9fr) minmax(0, 1fr);
    align-items: end;
    gap: 18px;
  }

  .overview-row-copy {
    text-align: right;
  }

  .skill-slide {
    padding: 138px 0 120px;
  }

  .skill-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.78fr);
    align-items: end;
    gap: 30px;
  }

  .skill-notes {
    justify-self: end;
    width: min(100%, 24rem);
  }

  .timeline-row-featured {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px;
  }

  .timeline-row-right {
    grid-template-columns: minmax(0, 1fr) 56px;
    margin-left: auto;
  }

  .timeline-row-right .timeline-content {
    grid-column: 1;
    text-align: right;
  }

  .timeline-row-right .timeline-index {
    grid-column: 2;
    justify-self: end;
  }

  .cta-shell {
    text-align: center;
  }

  .cta-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (pointer: fine) {
  .brand:hover {
    transform: translateY(-2px);
  }

  .hero-poster-wrap:hover {
    transform: translateY(-6px) rotate(1.4deg);
  }

  .metric:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.34);
  }

  .overview-row:hover {
    transform: translateX(8px);
    padding-left: 10px;
    border-color: rgba(255, 255, 255, 0.28);
  }

  .skill-slide:hover .skill-copy {
    transform: translateY(-4px);
  }

  .skill-slide:hover .skill-backdrop-word {
    transform: translateX(18px);
    letter-spacing: 0.045em;
    opacity: 0.95;
  }

  .skill-slide:hover .skill-backdrop-step {
    transform: translate(-10px, -8px) scale(1.03);
  }

  .skill-note:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .skill-note:hover .skill-note-label {
    color: rgba(255, 248, 251, 0.92);
    letter-spacing: 0.2em;
  }

  .skill-note:hover p {
    color: rgba(255, 248, 251, 0.96);
  }

  .timeline-row:hover {
    transform: translateY(-4px);
  }

  .focus-shell:hover {
    transform: translateY(-4px);
  }

  .footer-logo:hover {
    transform: rotate(-8deg) scale(1.04);
  }
}

@media (min-width: 1100px) {
  .brand-logo,
  .footer-logo {
    width: 58px;
    height: 58px;
  }

  .nav {
    padding: 18px 0;
  }

  .hero-poster-wrap {
    width: 480px;
  }

  .hero-logo-badge {
    width: 110px;
    height: 110px;
  }

  .mobile-dock {
    inset: auto 20px 20px auto;
    width: min(340px, calc(100vw - 40px));
  }

  .scene-rail {
    right: 22px;
    width: 176px;
  }
}

@media (min-width: 1024px) {
  .hero-block {
    min-height: 100svh;
    padding-top: 104px;
  }

  .hero-layout {
    align-items: center;
    min-height: calc(100svh - 104px);
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-title {
    font-size: clamp(5.2rem, 7.2vw, 7.1rem);
  }

  .hero-poster-wrap {
    width: min(100%, 520px);
  }

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

@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;
  }
}
