/* Stage 00: Intro Gate Poster — Abyssal Ocean (Dark) & Nordic Glacier (Light) */

#content-profile .intro-section {
  --bracket-color: rgba(255, 255, 255, 0.28);
  --intro-copy-size: clamp(1.06rem, min(1.74cqw, 2.58cqh), 1.72rem);
  --intro-accent-grad: linear-gradient(95deg, #ff7838 0%, #f7cb66 100%);
  --intro-slash-grad: linear-gradient(180deg, #f6ca62 0%, #ff6b35 100%);

  width: var(--intro-w, 100cqw);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#content-profile .intro-section.is-intro-paused *,
#content-profile .transition-marquee.is-intro-paused .marquee-track {
  animation-play-state: paused !important;
}

#content-profile .intro-section .poster-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  container-type: size;
  background-color: #090d1a;
  overflow: hidden;
  display: flex;
  transition: background-color 0.55s ease;
}

#content-profile .intro-section .poster-wrapper::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  left: calc(var(--rail-width, 0px) + 14px);
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(var(--bracket-color), var(--bracket-color)) top left / 14px 1.5px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) top left / 1.5px 14px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) top right / 14px 1.5px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(var(--bracket-color), var(--bracket-color)) bottom right / 1.5px 14px no-repeat;
}

#content-profile .intro-section .poster-wrapper:hover .intro-hero-media img {
  transform: scale(1.025);
}

#content-profile .intro-section .intro-silk-curtain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: block;
}

#content-profile .intro-section .intro-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, black 0%, black 30%, transparent 43%);
  pointer-events: none;
  z-index: 6;
}

#content-profile .intro-section .intro-dot-matrix {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 84px;
  height: 84px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.20) 1.5px, transparent 1.5px);
  background-size: 9px 9px;
  z-index: 6;
  pointer-events: none;
}

#content-profile .intro-section .intro-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 62% at 88% 36%, rgba(44, 42, 86, 0.85) 0%, transparent 72%),
    linear-gradient(180deg, #1a1c34 0%, #242144 45%, #16182c 100%);
  transform: translate3d(calc(var(--scroll-offset-x, 0px) * -0.05), 0, 0);
}

#content-profile .intro-section .intro-hero-media img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  transform-origin: 62% 35%;
  filter: contrast(1.14) brightness(0.95) saturate(1.16);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#content-profile .intro-section .intro-hero-media .intro-color-grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.14) 0%, rgba(255, 107, 53, 0.08) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

#content-profile .intro-section .intro-content {
  position: relative;
  width: calc(42% + var(--rail-width, 0px) * 0.45);
  height: 100%;
  padding: clamp(24px, 4.0cqh, 52px) 14px clamp(26px, 4.4cqh, 54px) calc(var(--rail-width, 0px) + clamp(26px, 3.8cqw, 84px));
  display: flex;
  flex-direction: column;
  z-index: 8;
  transform: translate3d(calc(var(--scroll-offset-x, 0px) * 0.22), 0, 0);
}

#content-profile .intro-section .intro-header {
  display: flex;
  flex-wrap: wrap;
  max-width: 35cqw;
  gap: 5px 18px;
  font-family: var(--tp-font-tech);
  font-size: clamp(0.66rem, 0.88cqw, 0.94rem);
  font-weight: 600;
  color: rgba(244, 241, 255, 0.72);
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

#content-profile .intro-section .intro-header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

#content-profile .intro-section .intro-header span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ch0-accent);
  box-shadow: 0 0 8px var(--ch0-accent);
}

#content-profile .intro-section .intro-deck {
  margin: auto 0;
  display: flex;
  flex-direction: column;
}

#content-profile .intro-section .intro-greeting {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--tp-font-display);
  font-size: var(--intro-copy-size);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.012em;
  line-height: 1.3;
  margin-bottom: clamp(6px, 0.9cqh, 11px);
  animation: tpFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#content-profile .intro-section .intro-greeting .hi {
  font-weight: 600;
  padding-right: 0.08em;
  background: var(--intro-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#content-profile .intro-section .intro-greeting .sub {
  color: rgba(240, 244, 255, 0.80);
  font-weight: 400;
}

#content-profile .intro-section .intro-name {
  position: relative;
  z-index: 1;
  font-family: var(--tp-font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3.4rem, min(8.15cqw, 15.6cqh), 10.2rem);
  line-height: 0.90;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: clamp(14px, 2.4cqh, 28px);
  animation: tpFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

#content-profile .intro-section .intro-name .intro-diamond-svg {
  display: block;
  height: 1.90em;
  width: auto;
  max-width: 100%;
  overflow: visible;
  user-select: none;
}

#content-profile .intro-section .intro-name .diamond-word {
  font-family: var(--tp-font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 108px;
  letter-spacing: -2.6px;
  text-transform: uppercase;
}

#content-profile .intro-section .intro-name .diamond-body-light,
#content-profile .intro-section .intro-name .sapphire-stardust {
  display: none;
}

#content-profile .intro-section .intro-name .diamond-cut-face {
  stroke: #ffffff;
  stroke-width: 0.85;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

#content-profile .intro-section .intro-name .sapphire-cut-face {
  stroke: rgba(5, 16, 38, 0.62);
  stroke-width: 0.85;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

#content-profile .intro-section .intro-name .stardust-dot {
  transform-origin: 0 0;
  animation: tpSapphireStardustTwinkle 2.4s ease-in-out infinite;
}

#content-profile .intro-section .intro-name .stardust-dot.d2 { animation-delay: 0.55s; animation-duration: 2.9s; }
#content-profile .intro-section .intro-name .stardust-dot.d3 { animation-delay: 1.15s; animation-duration: 2.2s; }
#content-profile .intro-section .intro-name .stardust-dot.d4 { animation-delay: 1.75s; animation-duration: 3.1s; }

#content-profile .intro-section .intro-name .diamond-glint {
  transform-origin: 0 0;
  animation: tpDiamondGlintTwinkle 2.8s ease-in-out infinite;
}

#content-profile .intro-section .intro-name .diamond-glint.g2 { animation-delay: 0.95s; animation-duration: 3.3s; }
#content-profile .intro-section .intro-name .diamond-glint.g3 { animation-delay: 1.75s; animation-duration: 2.6s; }

#content-profile .intro-section .intro-desc {
  position: relative;
  z-index: 2;
  font-family: var(--tp-font-display);
  font-size: var(--intro-copy-size);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.012em;
  color: rgba(242, 245, 255, 0.90);
  line-height: 1.44;
  max-width: min(98%, 42ch);
  text-wrap: balance;
  padding-left: clamp(14px, 1.4cqw, 20px);
  animation: tpFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

#content-profile .intro-section .intro-desc::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 0.16em;
  bottom: 0.14em;
  width: 2.5px;
  border-radius: 3px;
  transform: skewX(-10deg);
  background: var(--intro-slash-grad);
}

#content-profile .intro-section .intro-desc .role {
  font-weight: 600;
  padding-right: 0.08em;
  background: var(--intro-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#content-profile .intro-section .intro-footer {
  position: relative;
  z-index: 5;
  margin: clamp(22px, 3.2cqh, 36px) 0 0;
  display: flex;
  align-items: center;
}

#content-profile .intro-section .intro-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(11px, 1.45cqh, 15px) clamp(22px, 2.2cqw, 30px);
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.52);
  font-family: var(--tp-font-tech);
  font-size: clamp(0.74rem, 0.90cqw, 0.96rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#content-profile .intro-section .intro-scroll-cue:hover {
  background: rgba(255, 107, 53, 0.28);
  border-color: var(--ch0-accent);
  transform: translateX(3px);
  box-shadow: 0 0 24px var(--ch0-glow);
}

#content-profile .intro-section .intro-scroll-cue:focus-visible {
  outline: 2px solid var(--ch1-accent);
  outline-offset: 3px;
}

#content-profile .intro-section .intro-scroll-cue .cue-arrow {
  width: 22px;
  height: 14px;
  color: var(--ch0-accent);
  flex-shrink: 0;
  animation: tpCueSlide 1.8s ease-in-out infinite;
}

/* Light Theme — Nordic Glacier Frost + Sapphire Crystal */
html[data-theme="light"] #content-profile .intro-section {
  --bracket-color: rgba(14, 42, 74, 0.26);
  --intro-accent-grad: linear-gradient(95deg, #7c1854 0%, #be185d 100%);
  --intro-slash-grad: linear-gradient(180deg, #c81d62 0%, #731650 100%);
}

html[data-theme="light"] #content-profile .intro-section .intro-name .diamond-body-dark,
html[data-theme="light"] #content-profile .intro-section .intro-name .diamond-glint-mid {
  display: none;
}

html[data-theme="light"] #content-profile .intro-section .intro-name .diamond-body-light,
html[data-theme="light"] #content-profile .intro-section .intro-name .sapphire-stardust {
  display: inline;
}

html[data-theme="light"] #content-profile .intro-section .poster-wrapper {
  background-color: #dbe2ec;
}

html[data-theme="light"] #content-profile .intro-section .intro-grid-overlay {
  background-image:
    linear-gradient(rgba(14, 36, 62, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 36, 62, 0.052) 1px, transparent 1px);
}

html[data-theme="light"] #content-profile .intro-section .intro-dot-matrix {
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
}

html[data-theme="light"] #content-profile .intro-section .intro-header,
html[data-theme="light"] #content-profile .intro-section .intro-greeting .sub {
  color: rgba(12, 32, 58, 0.80);
}

html[data-theme="light"] #content-profile .intro-section .intro-header span::before {
  background: #a81858;
  box-shadow: 0 0 8px rgba(168, 24, 88, 0.34);
}

html[data-theme="light"] #content-profile .intro-section .intro-desc {
  color: rgba(10, 26, 48, 0.90);
}

html[data-theme="light"] #content-profile .intro-section .intro-scroll-cue {
  background: linear-gradient(135deg, rgba(14, 42, 86, 0.92), rgba(24, 68, 128, 0.92));
  border-color: rgba(56, 152, 236, 0.56);
  color: #eef7ff;
  box-shadow: 0 10px 24px rgba(10, 32, 68, 0.24);
}

html[data-theme="light"] #content-profile .intro-section .intro-scroll-cue:hover {
  background: linear-gradient(135deg, #103770, #1b58a8);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(10, 32, 68, 0.30), 0 0 18px rgba(56, 189, 248, 0.32);
}

html[data-theme="light"] #content-profile .intro-section .intro-scroll-cue .cue-arrow {
  color: #7dd3fc;
}

html[data-theme="light"] #content-profile .intro-section .intro-hero-media img {
  filter: contrast(1.08) brightness(0.99) saturate(1.12);
}

/* Shared Circular Compact Scroll Cue (Stack, Compact Split, Phone Landscape) */
#content-profile .intro-section[data-intro-layout="stack"] .intro-scroll-cue,
#content-profile[data-vp-mode="phone-land"] .intro-section .intro-scroll-cue {
  padding: 0;
  gap: 0;
  border-radius: 50%;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-scroll-cue .cue-label,
#content-profile[data-vp-mode="phone-land"] .intro-section .intro-scroll-cue .cue-label {
  display: none;
}

/* Stacked Portrait Layout */
#content-profile .intro-section[data-intro-layout="stack"] {
  --intro-copy-size: clamp(1.04rem, min(2.68cqw, 2.48cqh), 1.68rem);
}

#content-profile .intro-section[data-intro-layout="stack"] .poster-wrapper {
  flex-direction: column;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-hero-media {
  transform: none;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-grid-overlay {
  mask-image: linear-gradient(180deg, transparent 62%, black 74%, black 100%);
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-dot-matrix {
  display: none;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-content {
  width: 100%;
  padding: clamp(18px, 2.4cqh, 34px) clamp(34px, 6.6cqw, 74px) clamp(18px, 3.8cqh, 52px);
  transform: none;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-header {
  margin-bottom: auto;
  max-width: 100%;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 16, 32, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(245, 250, 255, 0.94);
  text-shadow: 0 1px 8px rgba(4, 10, 24, 0.65);
  font-size: clamp(0.70rem, 1.38cqw, 0.96rem);
  gap: 5px 14px;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-header span::before {
  background: #ff6b35;
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-deck {
  position: relative;
  margin: auto 0 0;
  width: 100%;
  align-items: flex-start;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-hero-block {
  width: 100%;
  min-width: 0;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-greeting {
  margin-bottom: clamp(4px, 0.55cqh, 8px);
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-name {
  font-size: clamp(2.65rem, min(12.6cqw, 8.4cqh), 7.2rem);
  margin-bottom: clamp(8px, 1.2cqh, 18px);
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-desc {
  line-height: 1.40;
  max-width: min(calc(100% - 96px), 42ch);
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-footer {
  position: absolute;
  right: clamp(10px, 4.2cqw, 52px);
  top: 48%;
  transform: translateY(-50%);
  margin: 0;
  flex-shrink: 0;
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-scroll-cue {
  width: clamp(50px, min(8.6cqw, 7.4cqh), 84px);
  height: clamp(50px, min(8.6cqw, 7.4cqh), 84px);
  border-width: 1.5px;
  box-shadow: 0 12px 30px rgba(8, 18, 36, 0.30), 0 0 20px rgba(255, 107, 53, 0.14);
}

#content-profile .intro-section[data-intro-layout="stack"] .intro-scroll-cue .cue-arrow {
  width: clamp(22px, min(3.4cqw, 3.0cqh), 34px);
  height: clamp(14px, min(2.2cqw, 1.9cqh), 22px);
}

html[data-theme="light"] #content-profile .intro-section[data-intro-layout="stack"] .intro-header {
  color: rgba(245, 250, 255, 0.94);
}

html[data-theme="light"] #content-profile .intro-section[data-intro-layout="stack"] .intro-header span::before {
  background: #e8488a;
  box-shadow: 0 0 8px rgba(232, 72, 138, 0.65);
}

html[data-theme="light"] #content-profile .intro-section[data-intro-layout="stack"] .intro-scroll-cue {
  box-shadow: 0 12px 28px rgba(24, 14, 42, 0.24), 0 0 18px rgba(190, 24, 93, 0.18);
}

/* Tablet & Compact Split (Explicitly excluded from phone-land to prevent cascade leak) */
@container tp-stage (max-width: 1080px) {
  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] {
    --intro-copy-size: clamp(0.95rem, min(2.12cqw, 2.45cqh), 1.42rem);
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-content {
    width: calc(45% + var(--rail-width, 0px) * 0.45);
    padding-left: calc(var(--rail-width, 0px) + clamp(32px, 5.4cqw, 66px));
    padding-right: 12px;
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-name {
    font-size: clamp(2.95rem, min(9.2cqw, 14.2cqh), 6.8rem);
    margin-bottom: clamp(12px, 2.0cqh, 24px);
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-deck {
    width: fit-content;
    max-width: 100%;
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-footer {
    width: 100%;
    max-width: min(78%, 285px);
    margin-top: clamp(14px, 2.2cqh, 26px);
    justify-content: flex-end;
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-scroll-cue {
    width: clamp(46px, 6.2cqw, 56px);
    height: clamp(46px, 6.2cqw, 56px);
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-scroll-cue .cue-label {
    display: none;
  }

  #content-profile:not([data-vp-mode="phone-land"]) .intro-section[data-intro-layout="split"] .intro-scroll-cue .cue-arrow {
    width: clamp(20px, 2.5cqw, 24px);
    height: clamp(13px, 1.6cqw, 15px);
  }
}

/* Phone Portrait (320px -> 639px; inherits circular cue & layout from stack) */
#content-profile[data-vp-mode="phone-portrait"] .intro-section {
  --intro-copy-size: clamp(0.94rem, min(3.85cqw, 2.58cqh), 1.28rem);
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .poster-wrapper::after {
  inset: 10px;
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-content {
  padding: max(16px, calc(var(--sat) + 10px)) clamp(24px, 6.8cqw, 40px) clamp(22px, 4.2cqh, 46px);
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-header {
  max-width: calc(100% - 86px);
  padding: 5px 11px;
  border-radius: 14px;
  font-size: clamp(0.54rem, 2.05cqw, 0.72rem);
  letter-spacing: 0.75px;
  gap: 3px 9px;
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-greeting {
  margin-bottom: 3px;
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-name {
  font-size: clamp(2.6rem, min(14.2cqw, 8.6cqh), 4.8rem);
  margin-bottom: clamp(7px, 1.15cqh, 14px);
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-desc {
  line-height: 1.38;
  max-width: min(calc(100% - 60px), 42ch);
  padding-left: 11px;
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-footer {
  right: 0;
  top: 44%;
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-scroll-cue {
  width: clamp(44px, min(12cqw, 7.2cqh), 54px);
  height: clamp(44px, min(12cqw, 7.2cqh), 54px);
  border-width: 1px;
  box-shadow: none;
}

#content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-scroll-cue .cue-arrow {
  width: clamp(19px, 5cqw, 23px);
  height: clamp(12px, 3.2cqw, 15px);
}

/* Compact Small Phones (320x568) */
@container tp-stage (max-width: 350px) and (max-height: 560px) {
  #content-profile[data-vp-mode="phone-portrait"] .intro-section {
    --intro-copy-size: 0.75rem;
  }

  #content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-content {
    padding-bottom: 16px;
  }

  #content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-greeting {
    margin-bottom: 2px;
  }

  #content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-name {
    font-size: 2.35rem;
    margin-bottom: 4px;
  }

  #content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-desc {
    line-height: 1.32;
    max-width: calc(100% - 42px);
  }

  #content-profile[data-vp-mode="phone-portrait"] .intro-section .intro-footer {
    top: 42%;
  }
}

/* Mobile Landscape */
#content-profile[data-vp-mode="phone-land"] .intro-section {
  --intro-copy-size: 0.84rem;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .poster-wrapper::after {
  inset: 8px;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-dot-matrix {
  display: none;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-content {
  width: 47%;
  padding: 14px 10px calc(var(--hud-h, 34px) + 10px) max(24px, var(--sal));
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-header {
  font-size: 0.60rem;
  letter-spacing: 1.3px;
  gap: 4px 10px;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-deck {
  position: relative;
  align-items: flex-start;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-hero-block {
  width: 100%;
  min-width: 0;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-greeting {
  margin-bottom: 3px;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-name {
  font-size: clamp(2.55rem, min(8.2cqw, 15.2cqh), 3.6rem);
  line-height: 0.89;
  margin-bottom: 8px;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-desc {
  line-height: 1.36;
  max-width: min(100%, 40ch);
  padding-left: 11px;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-footer {
  position: absolute;
  right: 14px;
  bottom: 46px;
  margin: 0;
  flex-shrink: 0;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-scroll-cue {
  width: 42px;
  height: 42px;
}

#content-profile[data-vp-mode="phone-land"] .intro-section .intro-scroll-cue .cue-arrow {
  width: 18px;
  height: 12px;
}

/* Vertical Marquee Ribbon (Between Intro & Stage 01) */
#content-profile .transition-marquee {
  width: clamp(26px, 3.2cqw, 48px);
  height: 100%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(90deg, #090d1a 0%, rgba(12, 18, 38, 0.58) 58%, transparent 100%);
  color: rgba(244, 241, 255, 0.56);
  font-family: var(--tp-font-tech);
  font-size: clamp(0.6rem, 0.8cqw, 0.76rem);
  letter-spacing: 3.5px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

html[data-theme="light"] #content-profile .transition-marquee {
  background: linear-gradient(90deg, rgba(16, 36, 62, 0.17) 0%, rgba(16, 36, 62, 0.06) 56%, transparent 100%);
  color: rgba(14, 34, 60, 0.68);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(14, 42, 74, 0.12);
}

#content-profile .transition-marquee .marquee-track {
  display: flex;
  gap: 1.8rem;
  white-space: nowrap;
  animation: tpMarqueeVertical 42s linear infinite;
}

#content-profile .transition-marquee .marquee-group {
  display: flex;
  gap: 1.8rem;
}

/* Keyframes */
@keyframes tpCueSlide {
  0%, 100% { transform: translateX(0); opacity: 0.78; }
  50% { transform: translateX(5px); opacity: 1; }
}

@keyframes tpFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tpMarqueeVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes tpDiamondGlintTwinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.55) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(18deg); }
}

@keyframes tpSapphireStardustTwinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.52); }
  50% { opacity: 0.96; transform: scale(1.08); }
}
