@layer base, layout, components, sections, utilities;

/* ═══════════════════════════════════════════════════════
   BASE LAYER — Reset, Custom Properties, Typography
   ═══════════════════════════════════════════════════════ */

@layer base {

  @property --glow-opacity {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
  }

  @property --section-accent {
    syntax: "<color>";
    inherits: true;
    initial-value: #00e5c7;
  }

  :root {
    --c-bg:          #0a0a0f;
    --c-bg-elevated: #111118;
    --c-bg-card:     #16161e;
    --c-bg-subtle:   #1c1c26;
    --c-sand:        #c4a882;
    --c-teal:        #00e5c7;
    --c-amber:       #f59e0b;
    --c-text:        #f0ece4;
    --c-text-muted:  #8a8a9a;
    --c-text-dim:    #55556a;
    --c-border:      #2a2a3a;
    --c-white:       #ffffff;

    --f-heading: "Space Grotesk", system-ui, sans-serif;
    --f-body:    "Inter", system-ui, sans-serif;
    --f-mono:    "JetBrains Mono", ui-monospace, monospace;

    --fs-xs:   clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm:   clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
    --fs-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
    --fs-md:   clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    --fs-lg:   clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
    --fs-xl:   clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    --fs-2xl:  clamp(2.8rem, 2rem + 4vw, 5.5rem);
    --fs-hero: clamp(3.5rem, 2rem + 8vw, 12rem);

    --space-xs:  clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-sm:  clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
    --space-md:  clamp(1.5rem, 1rem + 2vw, 3rem);
    --space-lg:  clamp(3rem, 2rem + 4vw, 6rem);
    --space-xl:  clamp(5rem, 3rem + 7vw, 10rem);
    --space-2xl: clamp(8rem, 5rem + 10vw, 16rem);

    --container-max: 1200px;
    --container-pad: clamp(1.25rem, 1rem + 2vw, 3rem);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --dur-fast: 0.2s;
    --dur-base: 0.4s;
    --dur-slow: 0.8s;

    --section-accent: var(--c-teal);
  }

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

  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: auto;
    color-scheme: dark;
  }

  body {
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
  }

  ::selection {
    background: var(--c-teal);
    color: var(--c-bg);
  }

  img, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
  }

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

  button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
  }

  ul, ol {
    list-style: none;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    font-weight: 600;
    line-height: 1.1;
    text-wrap: balance;
  }

  p {
    max-width: 65ch;
    text-wrap: pretty;
  }

  input, textarea, select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* ═══════════════════════════════════════════════════════
   LAYOUT LAYER — Container, Sections, Grid
   ═══════════════════════════════════════════════════════ */

@layer layout {

  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  .section {
    position: relative;
    padding-block: var(--space-2xl);
    overflow: hidden;
  }

  .section__label {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--section-accent);
    margin-bottom: var(--space-sm);
  }

  .section__title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
  }

  .section__title--sm {
    font-size: var(--fs-xl);
  }

  .section__text {
    font-size: var(--fs-md);
    color: var(--c-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }

  .grid {
    display: grid;
    gap: var(--space-md);
  }

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

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

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

  @media (min-width: 768px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
  }
}

/* ═══════════════════════════════════════════════════════
   COMPONENTS LAYER — Nav, Buttons, Cards, UI Elements
   ═══════════════════════════════════════════════════════ */

@layer components {

  /* --- Navigation --- */

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--container-pad);
    transition: background var(--dur-base) var(--ease-out),
                backdrop-filter var(--dur-base) var(--ease-out);
  }

  .nav--scrolled {
    background: color-mix(in srgb, var(--c-bg) 85%, transparent);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid color-mix(in srgb, var(--c-border) 40%, transparent);
  }

  .nav__logo {
    position: relative;
    z-index: 1001;
    font-family: var(--f-heading);
    font-size: var(--fs-md);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .nav__toggle {
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 32px;
    padding: 4px 0;
  }

  .nav__toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-out),
                opacity var(--dur-fast);
    transform-origin: center;
  }

  .nav--open .nav__toggle-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav--open .nav__toggle-line:nth-child(2) {
    opacity: 0;
  }
  .nav--open .nav__toggle-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background: var(--c-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-slow) var(--ease-out),
                visibility var(--dur-slow);
  }

  .nav--open .nav__menu {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-family: var(--f-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    transition: color var(--dur-fast);
  }

  .nav--open .nav__link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--dur-slow) var(--ease-out),
                transform var(--dur-slow) var(--ease-out),
                color var(--dur-fast);
  }

  .nav--open .nav__link:nth-child(1) { transition-delay: 0.1s; }
  .nav--open .nav__link:nth-child(2) { transition-delay: 0.15s; }
  .nav--open .nav__link:nth-child(3) { transition-delay: 0.2s; }
  .nav--open .nav__link:nth-child(4) { transition-delay: 0.25s; }
  .nav--open .nav__link:nth-child(5) { transition-delay: 0.3s; }
  .nav--open .nav__link:nth-child(6) { transition-delay: 0.35s; }

  .nav__link:hover {
    color: var(--c-teal);
  }

  .nav__link-index {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
  }

  @media (min-width: 1024px) {
    .nav__toggle { display: none; }

    .nav__menu {
      position: static;
      flex-direction: row;
      gap: var(--space-sm);
      background: none;
      opacity: 1;
      visibility: visible;
    }

    .nav__link {
      font-size: var(--fs-sm);
      font-weight: 500;
      opacity: 1;
      transform: none;
    }

    .nav__link-index {
      display: none;
    }
  }

  /* --- Buttons --- */

  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--f-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out);
  }

  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity var(--dur-base) var(--ease-out);
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn--primary {
    background: var(--c-teal);
    color: var(--c-bg);
  }

  .btn--primary::before {
    background: linear-gradient(135deg, var(--c-teal), var(--c-amber));
    opacity: 0;
  }

  .btn--primary:hover::before {
    opacity: 1;
  }

  .btn--outline {
    border: 1px solid var(--c-border);
    color: var(--c-text);
  }

  .btn--outline:hover {
    border-color: var(--c-teal);
    color: var(--c-teal);
  }

  .btn--ghost {
    padding: 0.5rem 0;
    color: var(--c-teal);
    border-radius: 0;
  }

  .btn--ghost::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur-base) var(--ease-out);
  }

  .btn--ghost:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* --- Cards --- */

  .card {
    position: relative;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out),
                border-color var(--dur-base);
  }

  .card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--section-accent) 40%, var(--c-border));
  }

  .card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
  }

  .card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
  }

  .card:hover .card__image img {
    transform: scale(1.05);
  }

  .card__body {
    padding: var(--space-sm);
  }

  .card__status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
  }

  .card__status--active {
    background: color-mix(in srgb, var(--c-teal) 15%, transparent);
    color: var(--c-teal);
  }

  .card__status--completed {
    background: color-mix(in srgb, var(--c-sand) 15%, transparent);
    color: var(--c-sand);
  }

  .card__title {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
  }

  .card__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
  }

  .card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: var(--space-xs);
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--section-accent);
    transition: gap var(--dur-base) var(--ease-out);
  }

  .card__link:hover {
    gap: 0.8rem;
  }

  .card__link::after {
    content: "\2192";
  }

  .card__link--accent {
    color: var(--c-teal);
  }

  .card__link--accent::after {
    content: none;
  }

  .card__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    margin-top: var(--space-xs);
  }

  .card__links .card__link {
    margin-top: 0;
  }

  /* --- Badge --- */

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    background: var(--c-bg-subtle);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-full);
    white-space: nowrap;
  }

  /* --- Stat Counter --- */

  .stat {
    text-align: center;
    padding: var(--space-sm);
  }

  .stat__number {
    display: block;
    font-family: var(--f-mono);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--section-accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.4rem;
  }

  .stat__label {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* --- Platform Link Icons --- */

  .platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
  }

  .platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: var(--fs-sm);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-full);
    transition: border-color var(--dur-fast),
                background var(--dur-fast);
  }

  .platform-link:hover {
    border-color: var(--c-teal);
    background: color-mix(in srgb, var(--c-teal) 8%, transparent);
  }

  .platform-links--centered {
    justify-content: center;
    margin-top: var(--space-md);
  }

  .platform-link svg {
    width: 18px;
    height: 18px;
  }

  /* --- Glow Effect --- */

  .glow {
    position: relative;
  }

  .glow::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--c-teal) 30%, transparent),
      color-mix(in srgb, var(--c-amber) 30%, transparent)
    );
    opacity: var(--glow-opacity);
    z-index: -1;
    filter: blur(12px);
    transition: opacity var(--dur-base);
  }

  .glow:hover {
    --glow-opacity: 1;
  }

  /* --- Preloader --- */

  .preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    background: var(--c-bg);
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
  }

  .preloader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .preloader__text {
    font-family: var(--f-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-text);
    animation: preloaderPulse 1.5s var(--ease-in-out) infinite;
  }

  @keyframes preloaderPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
  }

  /* --- Grain Overlay --- */

  .grain {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    animation: grainFadeIn 1s 0.5s forwards;
  }

  .grain::after {
    content: "";
    position: absolute;
    inset: -200%;
    background: repeating-conic-gradient(
      #f0ece4 0 0.0001%,
      transparent 0 0.0005%
    ) 50% / 200px 200px;
    opacity: 0.018;
    animation: grainShift 0.5s steps(4) infinite;
  }

  /* Mobile GPUs can render the conic grain as faint vertical bands.
     Use a softer static noise texture on touch devices. */
  @media (pointer: coarse) {
    .grain::after {
      inset: -120%;
      background: repeating-radial-gradient(
        circle at 50% 50%,
        rgba(240, 236, 228, 0.12) 0 1px,
        transparent 1px 3px
      ) 50% / 3px 3px;
      opacity: 0.012;
      animation: none;
    }
  }

  @keyframes grainShift {
    to { transform: translate(10px, -10px); }
  }

  @keyframes grainFadeIn {
    to { opacity: 1; }
  }

  /* --- Custom Cursor --- */

  .cursor {
    display: none;
    pointer-events: none;
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    mix-blend-mode: difference;
  }

  @media (pointer: fine) {
    .cursor { display: block; }
    * { cursor: none !important; }
  }

  .cursor__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-white);
    transform: translate(-50%, -50%);
  }

  .cursor__circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--c-white) 50%, transparent);
    transform: translate(-50%, -50%);
    transition: width var(--dur-base) var(--ease-out),
                height var(--dur-base) var(--ease-out),
                border-color var(--dur-base);
  }

  .cursor--hover .cursor__circle {
    width: 64px;
    height: 64px;
    border-color: var(--c-teal);
  }

  .cursor--click .cursor__dot {
    transform: translate(-50%, -50%) scale(0.5);
  }

  /* --- Spotify Embed --- */

  .spotify-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--c-bg-card);
  }

  .spotify-embed iframe {
    display: block;
    width: 100%;
    border: none;
  }
}

/* ═══════════════════════════════════════════════════════
   SECTIONS LAYER — Hero, About, Music, etc.
   ═══════════════════════════════════════════════════════ */

@layer sections {

  /* --- Hero --- */

  .hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--container-pad);
  }

  .hero__title {
    font-size: var(--fs-hero);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
  }

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

  .hero__title-line span {
    display: block;
  }

  .hero__tagline {
    font-family: var(--f-mono);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: color-mix(in srgb, var(--c-text) 88%, var(--c-text-muted));
    text-transform: uppercase;
  }

  .hero__scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero__scroll-text {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-text-dim);
  }

  .hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--c-teal), transparent);
    animation: scrollPulse 2s var(--ease-in-out) infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
  }

  /* --- About --- */

  .about {
    --section-accent: var(--c-sand);
  }

  .about__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
  }

  .about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-height: 70vh;
  }

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

  .about__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 60%,
      color-mix(in srgb, var(--c-bg) 60%, transparent)
    );
  }

  .about__content {
    max-width: 540px;
  }

  .about__text {
    font-size: var(--fs-md);
    color: var(--c-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }

  .about__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  @media (min-width: 1024px) {
    .about__container {
      grid-template-columns: 1fr 1fr;
    }
  }

  /* --- Music --- */

  .music {
    --section-accent: var(--c-amber);
    background: var(--c-bg-elevated);
  }

  .music__header {
    margin-bottom: var(--space-lg);
  }

  @media (max-width: 380px) {
    .music .section__title {
      font-size: clamp(1.9rem, 10vw, 2.5rem);
      line-height: 1.08;
    }
  }

  .music__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
  }

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

  @media (max-width: 560px) {
    .music__stats {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .music__stats .stat {
      padding-block: 1rem;
      border-bottom: 1px solid var(--c-border);
    }

    .music__stats .stat:last-child {
      border-bottom: none;
    }

    .music__stats .stat__number {
      font-size: clamp(2rem, 8vw, 2.8rem);
      letter-spacing: -0.02em;
    }
  }

  .music__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  @media (min-width: 768px) {
    .music__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .music__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-md);
  }

  .music__label-name {
    font-family: var(--f-heading);
    font-size: var(--fs-md);
    color: var(--c-text-dim);
    font-weight: 500;
    transition: color var(--dur-fast);
  }

  .music__label-name:hover {
    color: var(--c-text);
  }

  .music__studio {
    padding: var(--space-md);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: center;
  }

  @media (min-width: 768px) {
    .music__studio {
      grid-template-columns: 1fr 1fr;
    }
  }

  .music__studio-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }

  .studio-gallery {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
  }

  .studio-gallery__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out);
  }

  .studio-gallery__item--active {
    opacity: 1;
  }

  .studio-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .studio-gallery__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
  }

  .studio-gallery__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    font-size: var(--fs-sm);
    transition: border-color var(--dur-fast), color var(--dur-fast);
  }

  .studio-gallery__btn:hover {
    border-color: var(--c-amber);
    color: var(--c-amber);
  }

  .studio-gallery__counter {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
    min-width: 3rem;
    text-align: center;
  }

  /* --- Curation --- */

  .curation {
    --section-accent: var(--c-teal);
  }

  .curation__header {
    margin-bottom: var(--space-lg);
  }

  .curation__stat {
    font-family: var(--f-mono);
    font-size: var(--fs-hero);
    font-weight: 700;
    background: linear-gradient(135deg, var(--c-teal), var(--c-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
  }

  .curation__playlists {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  @media (min-width: 768px) {
    .curation__playlists {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .curation__playlists {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .curation__playlist-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0.55rem 0.65rem;
    text-decoration: none;
    color: inherit;
    transition: transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
  }

  .curation__playlist-card:hover {
    transform: translateY(-4px);
    border-color: var(--c-teal);
    box-shadow: 0 8px 24px rgb(0 0 0 / .3);
  }

  .curation__playlist-cover {
    display: block;
    width: 10%;
    min-width: 30px;
    max-width: 36px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex: 0 0 auto;
  }

  .curation__playlist-info {
    padding: 0;
    min-width: 0;
  }

  .curation__playlist-name {
    font-family: var(--f-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .curation__playlist-followers {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
  }

  .curation__more {
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .curation__more-link {
    font-family: var(--f-mono);
    font-size: var(--fs-sm);
    color: var(--c-text-dim);
    text-decoration: none;
    transition: color var(--dur-fast);
    letter-spacing: 0.02em;
  }

  .curation__more-link:hover {
    color: var(--c-teal);
  }

  .curation__cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  /* --- Projects --- */

  .projects {
    --section-accent: var(--c-sand);
    background: var(--c-bg-elevated);
  }

  .projects__header {
    margin-bottom: var(--space-lg);
  }

  .projects__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  @media (min-width: 768px) {
    .projects__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .projects__grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* --- Universe / Timeline --- */

  .universe {
    --section-accent: var(--c-teal);
    height: auto;
    min-height: 100vh;
  }

  .universe__header {
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .universe__sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: var(--space-lg);
    overflow: hidden;
  }

  .timeline {
    width: 100%;
    overflow: hidden;
  }

  .timeline__track {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    padding: var(--space-md) var(--container-pad);
    will-change: transform;
  }

  .timeline__item {
    flex: 0 0 280px;
    padding: var(--space-sm);
    border-left: 2px solid var(--c-border);
    transition: border-color var(--dur-base);
  }

  .timeline__item:hover {
    border-color: var(--c-teal);
  }

  .timeline__year {
    display: block;
    font-family: var(--f-mono);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--c-text-dim);
    line-height: 1;
    margin-bottom: var(--space-xs);
    transition: color var(--dur-base);
  }

  .timeline__item:hover .timeline__year {
    color: var(--c-teal);
  }

  .timeline__title {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: 0.4rem;
  }

  .timeline__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
  }

  @media (max-width: 767px) {
    .timeline__track {
      flex-direction: column;
      gap: var(--space-md);
    }

    .timeline__item {
      flex: none;
      width: 100%;
    }
  }

  /* --- Connect --- */

  .connect {
    --section-accent: var(--c-teal);
  }

  .connect__header {
    margin-bottom: var(--space-lg);
  }

  .connect__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  @media (min-width: 1024px) {
    .connect__grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .connect__categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .connect__category h3 {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .connect__category p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
  }

  .connect__email {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: var(--fs-md);
    color: var(--c-teal);
    margin-bottom: var(--space-md);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast);
  }

  .connect__email:hover {
    border-bottom-color: var(--c-teal);
  }

  .connect__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .connect__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    color: var(--c-text-muted);
    transition: color var(--dur-fast),
                border-color var(--dur-fast),
                background var(--dur-fast);
  }

  .connect__social-link svg {
    width: 20px;
    height: 20px;
  }

  .connect__social-link:hover {
    color: var(--c-teal);
    border-color: var(--c-teal);
    background: color-mix(in srgb, var(--c-teal) 8%, transparent);
  }

  /* --- Contact Form --- */

  .connect__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .connect__form input,
  .connect__form select,
  .connect__form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    color: var(--c-text);
    transition: border-color var(--dur-fast);
  }

  .connect__form input::placeholder,
  .connect__form textarea::placeholder {
    color: var(--c-text-dim);
  }

  .connect__form input:focus,
  .connect__form select:focus,
  .connect__form textarea:focus {
    outline: none;
    border-color: var(--c-teal);
  }

  .connect__form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a9a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

  .connect__form textarea {
    min-height: 140px;
    resize: vertical;
  }

  .connect__form-success {
    padding: var(--space-sm);
    background: color-mix(in srgb, var(--c-teal) 10%, transparent);
    border: 1px solid var(--c-teal);
    border-radius: var(--radius-md);
    color: var(--c-teal);
    text-align: center;
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════
   UTILITIES LAYER
   ═══════════════════════════════════════════════════════ */

@layer utilities {

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
  }

  .text-gradient {
    background: linear-gradient(135deg, var(--c-teal), var(--c-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .text-muted { color: var(--c-text-muted); }
  .text-dim { color: var(--c-text-dim); }
  .text-accent { color: var(--section-accent); }
  .text-center { text-align: center; }

  /* --- Footer --- */

  .footer {
    border-top: 1px solid var(--c-border);
    padding: var(--space-md) 0;
  }

  .footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .footer__left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .footer__name {
    font-family: var(--f-heading);
    font-weight: 600;
  }

  .footer__copy {
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
  }

  .footer__socials {
    display: flex;
    gap: 0.5rem;
  }

  .footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--c-text-muted);
    transition: color var(--dur-fast);
  }

  .footer__social svg {
    width: 16px;
    height: 16px;
  }

  .footer__social:hover {
    color: var(--c-teal);
  }
}


/* ═══════════════════════════════════════════════════════
   SECTIONS — Gate (password-protected pages)
   ═══════════════════════════════════════════════════════ */

@layer sections {

  .gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: var(--space-xl) 0;
  }

  .gate__container {
    max-width: 440px;
    text-align: center;
  }

  .gate__label {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-teal);
    margin-bottom: var(--space-sm);
  }

  .gate__title {
    font-family: var(--f-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
  }

  .gate__text {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  .gate__error {
    font-size: var(--fs-sm);
    color: #f87171;
    margin-bottom: var(--space-sm);
  }

  .gate__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .gate__input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-family: var(--f-body);
    font-size: var(--fs-base);
    color: var(--c-text);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--dur-fast);
  }

  .gate__input::placeholder {
    color: var(--c-text-dim);
  }

  .gate__input:focus {
    border-color: var(--c-teal);
  }

  .gate__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: var(--f-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--c-bg);
    background: var(--c-teal);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: opacity var(--dur-fast), transform var(--dur-fast);
  }

  .gate__submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }

  .gate__submit-icon {
    width: 18px;
    height: 18px;
  }
}


/* ═══════════════════════════════════════════════════════
   SECTIONS — Timeline (Project Life)
   ═══════════════════════════════════════════════════════ */

@layer sections {

  :root {
    --tl-rose: #f472b6;
    --tl-amber: #f59e0b;
    --tl-red: #ef4444;
    --tl-line: var(--c-border);
    --tl-dot-size: 14px;
    --tl-track-left: 28px;
  }

  /* --- Progress bar --- */

  .tl__progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    background: var(--c-bg-elevated);
    pointer-events: none;
  }

  .tl__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--c-teal), var(--tl-rose));
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
  }

  /* --- Sticky indicator --- */

  .tl__indicator {
    position: sticky;
    top: 80px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    width: fit-content;
    padding: 0.4rem 1rem;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--dur-base);
    pointer-events: none;
  }

  .tl__indicator.is-visible {
    opacity: 1;
  }

  .tl__indicator-year {
    color: var(--c-text);
    font-weight: 700;
  }

  .tl__indicator-sep {
    color: var(--c-text-dim);
  }

  /* --- Hero --- */

  .tl__hero {
    text-align: center;
    padding: var(--space-xl) var(--container-pad) var(--space-lg);
    max-width: 700px;
    margin: 0 auto;
  }

  .tl__hero-label {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-teal);
    margin-bottom: var(--space-xs);
  }

  .tl__hero-title {
    font-family: var(--f-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
  }

  .tl__hero-sub {
    font-family: var(--f-body);
    font-size: var(--fs-md);
    color: var(--c-text-muted);
    margin-bottom: var(--space-md);
  }

  /* --- Legend --- */

  .tl__legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .tl__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--c-border);
  }

  .tl__legend-item::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .tl__legend-item--milestone::before { background: var(--c-teal); }
  .tl__legend-item--relationship::before { background: var(--tl-rose); }
  .tl__legend-item--director::before { background: var(--tl-amber); }
  .tl__legend-item--blood::before { background: var(--tl-red); }

  /* --- Track --- */

  .tl__track {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-pad) var(--space-xl);
    padding-left: calc(var(--container-pad) + var(--tl-track-left) + 24px);
  }

  .tl__line {
    position: absolute;
    left: calc(var(--container-pad) + var(--tl-track-left));
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent,
      var(--tl-line) 3%,
      var(--tl-line) 97%,
      transparent
    );
  }

  /* --- Year markers --- */

  .tl__year {
    position: relative;
    padding: var(--space-lg) 0 var(--space-sm);
    margin-left: calc(-1 * var(--tl-track-left) - 16px);
  }

  .tl__year:first-child {
    padding-top: 0;
  }

  .tl__year-num {
    font-family: var(--f-heading);
    font-size: clamp(2.5rem, 2rem + 3vw, 5rem);
    font-weight: 800;
    color: var(--c-text);
    opacity: 0.08;
    line-height: 1;
    user-select: none;
  }

  /* --- Entry base --- */

  .tl__entry {
    position: relative;
    padding: 0.75rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .tl__entry.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* --- Dot --- */

  .tl__dot {
    position: absolute;
    left: calc(-24px - var(--tl-dot-size) / 2 - 1px);
    top: 1.25rem;
    width: var(--tl-dot-size);
    height: var(--tl-dot-size);
    border-radius: 50%;
    background: var(--c-teal);
    border: 3px solid var(--c-bg);
    box-shadow: 0 0 0 2px var(--c-teal);
    z-index: 2;
    transition: box-shadow var(--dur-fast);
  }

  .tl__entry--relationship .tl__dot {
    background: var(--tl-rose);
    box-shadow: 0 0 0 2px var(--tl-rose);
  }

  .tl__entry--director .tl__dot {
    background: var(--tl-amber);
    box-shadow: 0 0 0 2px var(--tl-amber);
  }

  .tl__entry--blood .tl__dot {
    background: var(--tl-red);
    box-shadow: 0 0 0 2px var(--tl-red);
  }

  /* --- Span bars (duration indicator) --- */

  .tl__dot::after {
    content: none;
  }

  .tl__entry[class*="--span-"] .tl__dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 4px;
    border-radius: 0 0 3px 3px;
    opacity: 0.35;
    background: var(--c-teal);
  }

  .tl__entry--relationship[class*="--span-"] .tl__dot::after {
    background: var(--tl-rose);
  }

  .tl__entry--director[class*="--span-"] .tl__dot::after {
    background: var(--tl-amber);
  }

  .tl__entry--span-xs .tl__dot::after { height: 40px; }
  .tl__entry--span-sm .tl__dot::after { height: 80px; }
  .tl__entry--span-md .tl__dot::after { height: 150px; }
  .tl__entry--span-lg .tl__dot::after { height: 250px; }
  .tl__entry--span-xl .tl__dot::after { height: 400px; }

  /* --- Card --- */

  .tl__card {
    background: var(--c-bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--c-teal);
    transition: border-color var(--dur-fast), box-shadow var(--dur-base);
  }

  .tl__card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  }

  .tl__entry--relationship .tl__card {
    border-left-color: var(--tl-rose);
  }

  .tl__entry--director .tl__card {
    border-left-color: var(--tl-amber);
    border-left-style: dashed;
    background: rgba(245, 158, 11, 0.04);
  }

  .tl__entry--blood .tl__card {
    border-left-color: var(--tl-red);
    background: rgba(239, 68, 68, 0.04);
  }

  /* --- Card head --- */

  .tl__card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
  }

  .tl__tag {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-teal);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid currentColor;
    opacity: 0.8;
  }

  .tl__entry--relationship .tl__tag { color: var(--tl-rose); }
  .tl__entry--director .tl__tag { color: var(--tl-amber); }
  .tl__entry--blood .tl__tag { color: var(--tl-red); }

  .tl__entry-age {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
  }

  /* --- Date / Title / Body --- */

  .tl__date {
    display: block;
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
    margin-bottom: 0.25rem;
  }

  .tl__title {
    font-family: var(--f-heading);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.3;
  }

  .tl__body {
    margin-top: 0.75rem;
  }

  .tl__body p {
    font-family: var(--f-body);
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.8;
  }

  .tl__body p + p {
    margin-top: 0.6rem;
  }

  /* --- End marker --- */

  .tl__end {
    text-align: center;
    padding: var(--space-md) 0;
    margin-left: calc(-24px - var(--tl-track-left));
  }

  .tl__end-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-text-dim);
    margin: 0 auto var(--space-xs);
    animation: tl-pulse 2s ease-in-out infinite;
  }

  .tl__end-text {
    font-family: var(--f-mono);
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
    letter-spacing: 0.1em;
  }

  @keyframes tl-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
  }

  /* --- Responsive --- */

  @media (max-width: 600px) {
    :root {
      --tl-track-left: 18px;
      --tl-dot-size: 12px;
    }

    .tl__track {
      padding-left: calc(var(--container-pad) + var(--tl-track-left) + 18px);
    }

    .tl__dot {
      left: calc(-18px - var(--tl-dot-size) / 2 - 1px);
    }

    .tl__card {
      padding: 1rem 1.1rem;
    }

    .tl__year {
      margin-left: calc(-1 * var(--tl-track-left) - 12px);
    }

    .tl__end {
      margin-left: calc(-18px - var(--tl-track-left));
    }

    .tl__indicator {
      top: 64px;
      font-size: 0.65rem;
    }
  }
}
