/* ==========================================================================
   Portfolio Guilherme Lisboa
   Implemented from the Claude Design source "Portfolio Guilherme Lisboa.dc.html".
   ========================================================================== */

:root {
  --accent: oklch(0.58 0.13 152);
  --ink: #101a15;
  --muted: #5d6b64;
  --paper: #f7f8f6;
  --hairline: rgba(16, 26, 21, 0.12);
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

[hidden] { display: none !important; }

.page {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg,
    var(--paper) 0%,
    color-mix(in oklab, var(--accent) 4%, var(--paper)) 34%,
    color-mix(in oklab, var(--accent) 9%, var(--paper)) 62%,
    color-mix(in oklab, var(--accent) 5%, var(--paper)) 86%,
    var(--paper) 100%);
}

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

/* --------------------------------------------------------------- keyframes */

@keyframes orbit-cw     { from { transform: rotate(var(--sa)); } to { transform: rotate(calc(var(--sa) + 360deg)); } }
@keyframes orbit-ccw    { from { transform: rotate(var(--sa)); } to { transform: rotate(calc(var(--sa) - 360deg)); } }
@keyframes counter-cw   { from { transform: rotate(var(--co)); } to { transform: rotate(calc(var(--co) - 360deg)); } }
@keyframes counter-ccw  { from { transform: rotate(var(--co)); } to { transform: rotate(calc(var(--co) + 360deg)); } }

@keyframes corePulse {
  0%, 100% { opacity: 0.78; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(247, 248, 246, 0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(16, 26, 21, 0.07);
}

.nav__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__name-strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}

.nav__name:hover .nav__name-strong { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* ----------------------------------------------------------- glass buttons */

.glass-wrap {
  display: inline-block;
  border-radius: 999px;
  box-shadow: 0 8px 22px -12px rgba(16, 26, 21, 0.5);
}
.glass-wrap--accent { box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--accent) 70%, transparent); }
.glass-wrap--lg     { box-shadow: 0 16px 34px -18px rgba(16, 26, 21, 0.7); }
.glass-wrap--accent.glass-wrap--lg { box-shadow: 0 18px 36px -18px color-mix(in oklab, var(--accent) 75%, transparent); }

.glass-btn {
  display: block;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 2px rgba(16, 26, 21, 0.06);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 220ms;
}

.glass-btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 6px 18px -8px rgba(16, 26, 21, 0.35);
}

.glass-btn--accent {
  padding: 10px 22px;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 88%, white), var(--accent));
  border: 1px solid color-mix(in oklab, var(--accent) 80%, black);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.glass-btn--accent:hover {
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 20px -8px rgba(16, 26, 21, 0.4);
}

.glass-btn--lg {
  padding: 15px 30px;
  font-size: 15px;
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55));
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -2px 4px rgba(16, 26, 21, 0.07);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 240ms;
}

.glass-btn--lg:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 12px 26px -12px rgba(16, 26, 21, 0.45);
}

.glass-btn--accent.glass-btn--lg {
  padding: 17px 34px;
  font-size: 16px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 86%, white), var(--accent));
  border-color: color-mix(in oklab, var(--accent) 78%, black);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.glass-btn--accent.glass-btn--lg:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 30px -14px rgba(16, 26, 21, 0.5);
}

.lang-toggle {
  margin-left: 4px;
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(16, 26, 21, 0.14);
  transition: color 200ms, border-color 200ms;
}

.lang-toggle:hover { color: var(--ink); border-color: rgba(16, 26, 21, 0.4); }

.link-underline {
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid rgba(16, 26, 21, 0.2);
  padding-bottom: 3px;
  transition: color 200ms, border-color 200ms;
}
.link-underline--lg { font-size: 16px; }
.link-underline:hover { color: var(--ink); border-color: var(--accent); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(247, 248, 246, 0.97) 0%,
      rgba(247, 248, 246, 0.9) 32%,
      rgba(247, 248, 246, 0.35) 56%,
      rgba(247, 248, 246, 0) 76%),
    linear-gradient(180deg,
      rgba(247, 248, 246, 0) 52%,
      color-mix(in oklab, var(--accent) 1%, rgba(247, 248, 246, 0.55)) 78%,
      color-mix(in oklab, var(--accent) 2%, var(--paper)) 93%,
      color-mix(in oklab, var(--accent) 3%, var(--paper)) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(104px, 13vh, 148px) var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.hero__eyebrow {
  animation: riseIn 700ms 60ms both;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  animation: riseIn 750ms 140ms both;
  margin: 0;
  max-width: 15ch;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

/* Os dois paragrafos do lead ficam agrupados para que o gap de 30px do
   .hero__inner separe o bloco inteiro, e nao uma frase da outra. */
.hero__lead-group { display: flex; flex-direction: column; gap: 14px; }

.hero__lead {
  animation: riseIn 750ms 220ms both;
  margin: 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__meta {
  animation: riseIn 750ms 300ms both;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------- section heading */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-head__meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* --------------------------------------------------------------- trabalhos */

.works { color: var(--ink); }
.works > .shell { padding-top: clamp(80px, 10vw, 130px); }

.works__grid {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 78px);
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.works__list {
  display: flex;
  flex-direction: column;
  padding-block: 12vh;
}

.works__slot {
  display: flex;
  align-items: center;
  min-height: 34vh;
  padding: 8px 0;
}

.work-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  padding: 6px 0 6px 22px;
  opacity: 0.24;
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out),
    border-color 300ms;
}

.work-item[aria-pressed="true"] {
  opacity: 1;
  transform: translateX(14px);
  border-left-color: var(--accent);
}

.work-item__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex: none;
}

.work-item__title {
  font-size: clamp(1.6rem, 3vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.works__panel-outer { align-self: stretch; padding-top: 12vh; }

.works__panel {
  position: sticky;
  top: 18vh;
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  align-items: flex-start;
}

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

.panel__tags { display: flex; align-items: center; gap: 12px; }

.tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(16, 26, 21, 0.28);
}

.tag--status {
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  border: 0;
}

.panel__body { display: flex; flex-direction: column; gap: 18px; }

.panel__title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.panel__subtitle {
  display: block;
  margin-top: -12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.panel__objective {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.panel__display {
  font-size: clamp(3.2rem, 7.4vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 600;
  white-space: nowrap;
  padding-top: 6px;
}

.panel__statement {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-transform: uppercase;
  padding-top: 6px;
  color: var(--ink);
}

.panel__metric { font-size: 14px; letter-spacing: 0.02em; color: var(--muted); }

.panel__support {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.support-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
  transform: translateY(-3px);
}

.panel__craft {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: none;
  padding-top: 4px;
  align-self: stretch;
}

.progress__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.progress__track {
  position: relative;
  width: 1px;
  flex: 1;
  min-height: 120px;
  background: var(--hairline);
}

.progress__bar {
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 0%;
  background: var(--accent);
  transition: height 320ms var(--ease-out);
}

/* --------------------------------------------------------- outras entregas */

.deliveries { position: relative; }

/* Recreates the soft green aurora that the design used as a raster backdrop. */
.deliveries__glow {
  position: absolute;
  inset: -8% 0;
  background:
    radial-gradient(58% 42% at 50% 30%, color-mix(in oklab, var(--accent) 26%, transparent) 0%, transparent 70%),
    radial-gradient(42% 34% at 22% 62%, color-mix(in oklab, var(--accent) 16%, transparent) 0%, transparent 72%),
    radial-gradient(46% 38% at 80% 68%, color-mix(in oklab, var(--accent) 18%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, #ffffff 0%, color-mix(in oklab, var(--accent) 5%, #ffffff) 50%, #ffffff 100%);
  opacity: 0.85;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  pointer-events: none;
}

.htrack-outer { position: relative; z-index: 1; height: 460vh; }

.hsticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 78px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hhead {
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hhead h2 {
  margin: 0;
  min-width: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hhead__nav { display: flex; align-items: center; gap: 12px; }

.hhead__counter {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hnav-btn {
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(16, 26, 21, 0.16);
  backdrop-filter: blur(10px);
  transition: background 200ms, transform 200ms;
}

.hnav-btn:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-1px); }

.hviewport {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.hviewport::-webkit-scrollbar { display: none; }

.htrack {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
  padding: 6px var(--gutter) 14px;
  width: max-content;
  will-change: transform;
  cursor: grab;
}
.htrack:active { cursor: grabbing; }

.dcard {
  flex: none;
  width: clamp(320px, 42vw, 520px);
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: opacity 260ms var(--ease-out);
}

.dcard__media { position: relative; width: 100%; flex: 1 1 auto; min-height: 60px; }

.dcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  filter: drop-shadow(0 24px 38px rgba(16, 26, 21, 0.16));
}

.dcard__body {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 6px;
}

.dcard__meta { display: flex; align-items: center; gap: 12px; }

.dcard__index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.dcard__title {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.dcard__desc {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.dcard__stat {
  display: flex;
  /* `baseline` alone only aligns the label's FIRST line, so a label that wraps
     to two lines hangs ~16px below the number. `last baseline` sits the whole
     label block on the number's baseline; older engines keep the fallback. */
  align-items: baseline;
  align-items: last baseline;
  gap: 12px;
  padding-top: 2px;
}

.dcard__stat-value {
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.dcard__stat-label {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--muted);
  max-width: 22ch;
}

.dcard__support {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}

.dcard__support .support-item { flex: none; font-size: 14px; line-height: 1.45; }

.hprogress { position: relative; height: 1px; background: rgba(16, 26, 21, 0.14); }

.hprogress__bar {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0%;
  background: var(--accent);
  transition: width 120ms linear;
}

/* -------------------------------------------------------------- experiência */

.experience { padding-top: clamp(88px, 12vw, 148px); }
.experience .section-head { padding-bottom: 26px; }

.tl-wrap {
  position: relative;
  mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%);
  padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 5vw, 66px);
  overflow-x: auto;
  scrollbar-width: none;
}
.tl-wrap::-webkit-scrollbar { display: none; }

.tl-inner { position: relative; min-width: 1020px; }

.tl-rail {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: rgba(16, 26, 21, 0.1);
  transform: translateY(-1px);
}

.tl-line {
  position: absolute;
  top: 50%; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 45%, #cfd8d2), var(--accent));
  transform: translateY(-1px);
  transition: width 5200ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tl-nodes {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.4vw, 22px);
  min-height: 340px;
}

.tl-node {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
}

.tl-label {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  max-width: 190px;
  opacity: 0;
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.tl-label--above { grid-row: 1; align-self: end;   margin-bottom: 68px; transform: translateY(-10px); }
.tl-label--below { grid-row: 3; align-self: start; margin-top: 68px;    transform: translateY(10px); }

.tl-label.is-in { opacity: 1; transform: none; }

.tl-year { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--accent); }

.tl-role {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink);
  text-wrap: pretty;
}

.tl-stem {
  grid-column: 1;
  width: 1px;
  height: 54px;
  background: rgba(16, 26, 21, 0.18);
  transform: scaleY(0);
  transition: transform 520ms var(--ease-out);
}

.tl-stem--above { grid-row: 1; align-self: end;   transform-origin: bottom center; }
.tl-stem--below { grid-row: 3; align-self: start; transform-origin: top center; }

.tl-stem.is-in { transform: scaleY(1); }

.tl-dot {
  grid-column: 1;
  grid-row: 2;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid color-mix(in oklab, var(--accent) var(--tl-mix, 50%), #b9c4bd);
  box-shadow: 0 12px 26px -14px rgba(16, 26, 21, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in oklab, var(--accent) 70%, var(--ink));
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}

.tl-dot.is-in { opacity: 1; transform: scale(1); }

/* Accent saturation ramps up along the timeline, matching the design. */
.tl-node:nth-child(1) .tl-dot { --tl-mix: 25%; }
.tl-node:nth-child(2) .tl-dot { --tl-mix: 36%; }
.tl-node:nth-child(3) .tl-dot { --tl-mix: 47%; }
.tl-node:nth-child(4) .tl-dot { --tl-mix: 58%; }
.tl-node:nth-child(5) .tl-dot { --tl-mix: 69%; }
.tl-node:nth-child(6) .tl-dot { --tl-mix: 80%; }
.tl-node:nth-child(7) .tl-dot { --tl-mix: 91%; }

/* --------------------------------------------------------------- sobre mim */

.about { margin-top: clamp(88px, 12vw, 152px); padding-bottom: clamp(80px, 9vw, 120px); }

.about__card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(16, 26, 21, 0.08);
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.35) 58%,
    color-mix(in oklab, var(--accent) 10%, transparent) 100%);
  backdrop-filter: blur(6px);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

.about__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.about__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__title {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.about__text { display: flex; flex-direction: column; gap: 15px; }

.about__text p {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.62;
  letter-spacing: -0.005em;
  color: var(--muted);
  text-wrap: pretty;
}

.about__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.about__orbit-slot { display: flex; justify-content: center; }

.orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

.orbit__core {
  position: absolute;
  top: 50%; left: 50%;
  width: 34%; height: 34%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at 40% 35%,
    #ffffff 0%,
    color-mix(in oklab, var(--accent) 22%, #ffffff) 55%,
    color-mix(in oklab, var(--accent) 55%, #ffffff) 100%);
  box-shadow:
    0 24px 60px -22px color-mix(in oklab, var(--accent) 65%, transparent),
    inset 0 2px 6px rgba(255, 255, 255, 0.9);
  animation: corePulse 6s ease-in-out infinite;
}

.orbit__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 999px;
  border: 1px solid rgba(16, 26, 21, 0.1);
}

.orbit__arm {
  position: absolute;
  top: 0; left: 50%;
  height: 50%;
  margin-left: -26px;
  transform-origin: bottom center;
  animation: var(--dir) var(--dur) linear infinite;
  display: flex;
  justify-content: center;
}

.orbit__chip {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 26, 21, 0.1);
  box-shadow: 0 8px 20px -10px rgba(16, 26, 21, 0.3);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: var(--cdir) var(--dur) linear infinite;
}

.orbit__chip img { width: 26px; height: 26px; display: block; }

/* ------------------------------------------------------------------ footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(16, 26, 21, 0.09);
  padding-top: 26px;
  padding-bottom: 48px;
  font-size: 13px;
  color: var(--muted);
}

.footer a { color: var(--muted); }

/* ------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit, .orbit * { animation: none !important; }
  .hero__eyebrow, .hero__title, .hero__lead, .hero__meta { animation: none !important; }
}

/* ------------------------------------------------------------------ mobile */

@media (max-width: 860px) {
  .hero__inner { padding-top: 132px; justify-content: flex-start; }

  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(247, 248, 246, 0.94) 0%,
      rgba(247, 248, 246, 0.72) 46%,
      rgba(247, 248, 246, 0.15) 100%);
  }

  .hero__video { object-position: 70% center; }

  .hero__meta { flex-direction: column; align-items: flex-start; gap: 14px; }

  .nav__name { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head__meta { text-align: left; }

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

  .works__list { order: 2; padding-top: 24px; padding-bottom: 0; }
  .works__slot { min-height: 22vh; }

  .works__panel-outer { order: 1; padding-top: 24px; }
  .works__panel { position: static; }

  .progress { display: none; }

  .htrack-outer { height: auto; padding: clamp(70px, 12vw, 100px) 0; }

  .hsticky { position: static; height: auto; padding-top: 0; }

  .hviewport { scroll-snap-type: x mandatory; }

  .htrack { transform: none !important; height: auto; padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }

  .dcard {
    height: auto;
    transform: none !important;
    opacity: 1 !important;
    scroll-snap-align: center;
  }

  .dcard__media { height: auto; flex: none; aspect-ratio: 1300 / 862; }

  .tl-wrap { overflow-x: auto; }

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