:root {
  --ink: #161616;
  --paper: #f6f3ec;
  --mute: #5c5c5c;
  --line: #161616;
  --green: #1f9d4a;
  --yellow: #ffe14a;
  --wash-hero: #f6f3ec;
  --wash-motto: #ffffff;
  --wash-about: #e5f0e6;
  --wash-path: #e7eef8;
  --wash-life: #fffdf2;
  --wash-people: #e7eef8;
  --wash-skills: #e8f3f2;
  --wash-talk: #ffe14a;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
html:not([data-lang="pt"]) [data-l="pt"] { display: none; }
html[data-lang="pt"] [data-l="en"] { display: none; }

.top {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  mix-blend-mode: multiply;
}
.mark { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.mark b { color: var(--green); font-weight: 500; }
.langs { display: inline-flex; border: 1.5px solid var(--ink); }
.langs button {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 7px 12px;
  cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 7px 12px;
  cursor: pointer;
}
.menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--yellow); }
body.menu-open .top { mix-blend-mode: normal; background: var(--paper); }
.site-menu {
  position: fixed;
  z-index: 40;
  top: 58px;
  right: 22px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(72vh, 640px);
  overflow: auto;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.site-menu[hidden] { display: none; }
.site-menu a, .site-menu summary {
  font-family: var(--body);
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.site-menu a:hover, .site-menu summary:hover { background: var(--yellow); }
.site-menu details a { padding-left: 22px; font-size: 0.92rem; color: var(--mute); }
.site-menu summary { font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::after { content: "+"; font-family: var(--mono); }
.site-menu details[open] summary::after { content: "–"; }

.dots {
  position: fixed;
  z-index: 30;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.dots button[aria-current="true"] { background: var(--yellow); }

.rope {
  position: fixed;
  z-index: 25;
  left: 18px;
  top: 64px;
  bottom: 24px;
  width: 8px;
  pointer-events: none;
}
.rope svg { width: 100%; height: 100%; }
.rope path {
  fill: none;
  stroke: url(#ropegrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.scene, .track { scroll-snap-align: start; scroll-snap-stop: always; }
.scene {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 92px 72px 48px 150px;
}
.wash-hero { background: var(--wash-hero); }
.wash-motto { background: var(--wash-motto); }
.wash-about { background: var(--wash-about); }
.wash-path { background: var(--wash-path); }
.wash-life { background: var(--wash-life); }
.wash-people { background: var(--wash-people); }
.wash-skills { background: var(--wash-skills); }
.wash-talk { background: var(--wash-talk); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
h1, h2, .lead-line, .quote p {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
h1 {
  font-size: clamp(4.2rem, 12vw, 8.5rem);
  text-transform: uppercase;
}
h1 i { font-style: normal; color: var(--green); }
h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }

.hero-grid, .life-grid, .people-grid, .skills-grid, .path-grid {
  display: grid;
  gap: 36px 48px;
  width: 100%;
  align-items: end;
}
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(220px, 42vw); }
.hero-photo { width: min(42vw, 520px); justify-self: end; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}
.people-grid img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
}
.wash-about.has-photo { grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.85fr); gap: 36px; }
.wash-about.has-photo figure { margin: 0; }
.wash-about.has-photo img { width: 100%; max-height: min(72vh, 680px); object-fit: contain; }
.smile-scene { align-content: center; justify-items: start; }
.smile-line {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  max-width: 16em;
}
.smile { white-space: nowrap; }
.beat-line {
  max-width: 16em;
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.tagline .g { color: var(--green); }
.tagline .y { background: var(--yellow); }
.sub { margin-top: 16px; max-width: 36em; color: var(--mute); }
.scroll-hint {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scene.wash-motto { padding-left: 24px; padding-right: 28px; }
.quote { max-width: none; width: 100%; }
.quote p { font-size: clamp(2.8rem, 8.6vw, 8.4rem); width: 100%; line-height: 0.86; }
.quote em { font-style: normal; background: var(--yellow); }
.quote footer { margin-top: 18px; }

.track { height: calc(var(--steps) * 100vh); position: relative; }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
}
.beats, .roles { display: grid; margin-top: 22px; }
.beat, .role {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.beat.is-on, .role.is-on { opacity: 1; transform: none; }
.beat p, .lead-line { max-width: 22em; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.2; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.stepcount { margin-top: 22px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; }

.lake {
  min-height: 100vh;
  padding: 0;
  scroll-snap-align: start;
  position: relative;
}
.lake img { width: 100%; height: 100vh; object-fit: cover; object-position: center 30%; }
.lake figcaption {
  position: absolute;
  left: 150px;
  bottom: 28px;
  background: var(--paper);
  padding: 6px 10px;
}

.path-wrap { display: grid; grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr); column-gap: 84px; background: var(--wash-path); }
.path-rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 0.4fr) minmax(0, 0.6fr);
  align-content: stretch;
  gap: 12px;
  padding: 76px 20px 28px 72px;
}
.path-copy {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.path-rail h2 { font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 0.95; }
.path-slides .scene { min-height: 100vh; padding: 92px 48px 48px 12px; grid-template-columns: minmax(0, 1fr); align-content: center; }
.role-slide h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; }
.role-slide .when { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.role-slide p { margin-top: 12px; max-width: 40em; }
.path-intro { max-width: 36em; color: var(--mute); margin-top: 10px; font-size: 0.95rem; line-height: 1.35; }
.globe-slot { min-height: 0; min-width: 0; }
.globe { width: 148px; height: 148px; margin: 0; overflow: hidden; }
.lane {
  display: none;
  position: fixed;
  top: 50%;
  left: 46%;
  transform: translate(-50%, -50%);
  z-index: 12;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: min(64vh, 540px);
  margin: 0;
  padding: 0;
  background: transparent;
}
body.show-lane .lane { display: flex; }
.lane-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.lane-track {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 18px;
  height: auto;
}
.lane-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--ink);
}
.lane-fill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 0;
  transform: translateX(-50%);
  background: var(--green);
}
.lane-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--wash-path);
  padding: 0;
  cursor: pointer;
}
.lane-dot.is-on { background: var(--yellow); }
.lane-volunteer { position: relative; display: flex; align-items: center; justify-content: center; }
.volunteer-label {
  position: absolute;
  left: calc(100% + 10px);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}
.lane-volunteer:has(.is-on) .volunteer-label { opacity: 1; }
.role h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.role .when { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.role p { margin-top: 14px; max-width: 36em; }

.life-grid { grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.2fr); align-items: center; }
.life-photo img { height: min(68vh, 640px); object-position: center 18%; }
#life {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  align-items: stretch;
  grid-template-rows: minmax(0, 1fr);
  padding-top: 84px;
  padding-bottom: 20px;
}
.life-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.48fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.life-layout > div { display: flex; flex-direction: column; min-height: 0; height: 100%; }
#life h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.life-line { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; }
.life-cards {
  display: flex;
  margin-top: 12px;
  flex: 1;
  min-height: 0;
}
.life-frame {
  margin: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.life-frame img {
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
}
.fun-stack { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; margin: 0; height: 100%; width: 100%; min-height: 0; }
.fun {
  flex: 1 1 0;
  min-height: 0;
  background: transparent;
  border: 1.5px solid var(--ink);
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background 0.25s ease;
}
.fun h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.02rem, 1.5vw, 1.25rem); letter-spacing: -0.02em; line-height: 1.05; margin: 2px 0; }
.fun p { color: var(--mute); font-size: 0.84rem; line-height: 1.25; }
.fun:hover { background: white; }
.fun.is-forward { background: var(--yellow); }
.fun-grid:has(.is-forward) .fun:not(.is-forward) { opacity: 0.38; }
@keyframes bob { 50% { transform: translateX(8px); } }

.people-grid { grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.7fr); align-items: center; }
.people-grid img { max-height: 68vh; object-position: center; }
.people-grid h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 4px; }
.cols { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.sticker {
  display: inline-block;
  margin-top: 18px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  padding: 6px 10px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transform: rotate(-2deg);
}

.skills-grid { grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.chips li {
  border: 1.5px solid var(--ink);
  padding: 6px 10px;
  font-size: 0.95rem;
  background: transparent;
  animation: pop 0.5s ease both;
}
.chips li:nth-child(odd):hover { background: var(--yellow); }
.chips li:nth-child(even):hover { background: #c8efd4; }
.edu { margin-top: 8px; }
.lang-list { list-style: none; margin: 14px 0 0; padding: 0; }
.lang-list li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ink); padding: 8px 0; }
.lang-list span:last-child { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.talk h2 { font-size: clamp(3rem, 8vw, 6rem); }
.talk .lead { margin-top: 12px; max-width: 28em; font-size: 1.2rem; }
.mail-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ink);
  color: var(--yellow);
  padding: 14px 18px;
  border: 2px solid var(--ink);
}
.btn.alt { background: transparent; color: var(--ink); }
.note { margin-top: 12px; font-family: var(--mono); font-size: 0.78rem; }
.foot { display: flex; gap: 18px; margin-top: 28px; }

@media (max-width: 860px) {
  .scene { padding: 88px 22px 36px; }
  .rope { display: none; }
  .hero-grid, .life-grid, .people-grid, .skills-grid, .path-grid, .path-wrap, .path-slides .scene, .wash-about.has-photo, .life-layout { grid-template-columns: 1fr; }
  .wash-about.has-photo figure { order: -1; }
  .hero-photo { order: -1; width: 100%; }
  .hero-photo img { max-height: none; aspect-ratio: 1 / 1; }
  .path-wrap { grid-template-columns: 1fr; }
  .path-rail { position: static; height: auto; padding: 88px 22px 12px; display: flex; grid-template-rows: none; }
  .path-copy { overflow: visible; }
  .globe-slot { width: min(100%, 280px); height: 280px; }
  .path-slides .scene { min-height: auto; padding: 36px 22px 48px; align-content: start; }
  .lane { left: 18px; top: 58%; height: 42vh; }
  #life { height: auto; max-height: none; overflow: visible; }
  .life-layout, .life-layout > div { height: auto; }
  .life-frame { height: auto; justify-content: center; }
  .life-frame img { height: auto; width: min(100%, 320px); }
  .fun-stack { height: auto; }
  .lake figcaption { left: 16px; }
  .dots { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .track { height: auto; }
  .sticky { position: static; height: auto; min-height: 0; }
  .beat, .role { opacity: 1; transform: none; position: static; grid-area: auto; }
  .beats, .roles { display: flex; flex-direction: column; gap: 22px; }
  .chips li { animation: none; }
  .rope { display: none; }
}
