@font-face {
  font-family: "Inter Display";
  src: url("./fonts/Inter-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("./fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Light (default) — Acsaven green family */
html[data-theme="light"],
:root {
  color-scheme: light;
  --paper: #eef2ef;
  --paper-2: #e4ebe6;
  --ink: #0e1612;
  --muted: #5a6b62;
  --line: rgba(14, 22, 18, 0.12);
  --green: #148a56;
  --green-soft: #d8f3e6;
  --green-deep: #0b3d28;
  --card: #f7faf8;
  --surface: #ffffff;
  --surface-2: #f3f7f4;
  --shadow: 0 14px 32px -22px rgba(14, 22, 18, 0.4);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --top: 3.85rem;
  --content-app: 72rem;
  --content-pad: 1rem;
  --persona: 20%;
  --stage-pad: clamp(1rem, 2.5vw, 2rem);
}
@media (min-width: 640px) {
  :root, html[data-theme="light"] { --content-pad: 1.5rem; }
}
@media (min-width: 1024px) {
  :root, html[data-theme="light"] { --content-pad: 2rem; }
}
@media (min-width: 1400px) {
  :root, html[data-theme="light"] { --content-app: 80rem; }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c1210;
  --paper-2: #121a16;
  --ink: #e8f0eb;
  --muted: #9aada3;
  --line: rgba(232, 240, 235, 0.12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --green-deep: #6ee7b7;
  --card: #101816;
  --surface: #15201b;
  --surface-2: #1a2620;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 1rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { max-width: 100%; height: auto; }
img { display: block; }

.skip {
  position: absolute; left: -9999px; z-index: 100;
  background: var(--green); color: #0c1210; padding: .65rem 1rem; font-weight: 700;
}
.skip:focus { left: 0; top: 0; }
a { color: var(--green-deep); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--top);
  margin: 0; padding: 0;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.top__inner {
  width: 100%;
  max-width: var(--content-app);
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem var(--content-pad);
  min-height: var(--top);
  height: var(--top);
  box-sizing: border-box;
}
.top__name {
  font-family: "Inter Display", sans-serif;
  font-weight: 800; font-size: 0.95rem; letter-spacing: -0.06em;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.top__name:hover { color: var(--green-deep); }
.top__end {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.top__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}
.top__nav {
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
@media (min-width: 860px) {
  .top__nav { display: flex; }
}
.top__nav a {
  display: inline-flex; align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.55rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.82;
  white-space: nowrap;
  transition: color 0.18s var(--ease), opacity 0.18s var(--ease), border-color 0.18s var(--ease);
}
.top__nav a:hover {
  opacity: 1;
  color: var(--green-deep);
}
.top__nav a.is-active {
  opacity: 1;
  border-bottom-color: var(--ink);
  font-weight: 650;
}
.top__cta {
  display: none;
  align-items: center; justify-content: center;
  min-height: 40px; padding: 0 1rem; border-radius: 0.45rem;
  background: var(--green); color: #fff; font-weight: 750; font-size: 0.88rem;
  text-decoration: none;
}
html[data-theme="dark"] .top__cta { color: #0c1210; }
.top__cta:hover { filter: brightness(1.05); color: inherit; }
@media (min-width: 520px) { .top__cta { display: inline-flex; } }

/* Hamburger — Acsaven / Try family level */
.site-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; min-width: 2.75rem; min-height: 2.75rem;
  border-radius: 0.65rem; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; flex-shrink: 0;
}
.site-nav-toggle:hover { border-color: var(--green); color: var(--green-deep); }
.site-nav-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 860px) { .site-nav-toggle { display: none; } }
@media (max-width: 420px) { .top__theme { display: none; } }

.site-nav-dialog {
  margin: 0; margin-right: auto; padding: 0;
  width: min(22rem, 100vw); max-width: 100vw;
  height: 100%; max-height: 100%;
  border: none; border-right: 1px solid var(--line);
  background: transparent; color: var(--ink);
}
.site-nav-dialog::backdrop {
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  backdrop-filter: blur(2px);
}
.site-nav-dialog-panel {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); color: var(--ink);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.28);
}
.site-nav-dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--line);
}
.site-nav-dialog-title {
  margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -0.02em;
}
.site-nav-dialog-close {
  min-height: 2.75rem; min-width: 2.75rem; padding: 0.45rem 0.75rem;
  border-radius: 0.5rem; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted);
  font-size: 0.75rem; font-weight: 700; cursor: pointer;
}
.site-nav-dialog-close:hover { color: var(--ink); border-color: var(--green); }
.site-nav-dialog-nav {
  overflow: auto; padding: 0.75rem 0.85rem 1.5rem; overscroll-behavior: contain;
}
.site-nav-section-label {
  margin: 0.85rem 0.35rem 0.4rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.site-nav-dialog-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem;
}
.site-nav-dialog-link {
  display: flex; flex-direction: column; gap: 0.15rem;
  min-height: 2.75rem; padding: 0.65rem 0.75rem; border-radius: 0.75rem;
  text-decoration: none; color: inherit; border: 1px solid transparent;
}
.site-nav-dialog-link:hover {
  background: var(--green-soft);
  border-color: color-mix(in srgb, var(--green) 25%, transparent);
}
.site-nav-dialog-link.is-active {
  background: var(--green-soft);
  border-color: color-mix(in srgb, var(--green) 35%, transparent);
}
.site-nav-dialog-link-title {
  font-weight: 750; font-size: 0.95rem; color: var(--ink);
}
.site-nav-dialog-link-desc {
  font-size: 0.78rem; color: var(--muted); line-height: 1.35;
}
.nav-meta {
  font-size: 0.72rem; font-weight: 700; color: var(--green); letter-spacing: 0.02em;
}
.site-nav-dialog-list--compact .site-nav-dialog-link { padding: 0.55rem 0.75rem; }
.site-nav-dialog-theme {
  margin: 1rem 0.35rem 0; padding-top: 0.85rem; border-top: 1px solid var(--line);
}
.site-nav-dialog-theme .theme-switch { width: 100%; margin-top: 0.35rem; }

/* TryTokka-style mobile bottom dock */
.dock {
  display: none;
}
@media (max-width: 859px) {
  .dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; bottom: 0; inset-inline: 0; z-index: 45;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(12px);
    padding-bottom: env(safe-area-inset-bottom);
  }
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
  }
}
.dock__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-height: 3.25rem; padding: 0.45rem 0.2rem 0.4rem;
  border: 0; border-top: 2px solid transparent;
  background: transparent; color: var(--muted);
  text-decoration: none; font: inherit; cursor: pointer;
}
.dock__item svg { width: 1.2rem; height: 1.2rem; }
.dock__item span {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.01em;
  max-width: 4.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dock__item:hover { color: var(--ink); }
.dock__item.is-active {
  color: var(--green-deep);
  border-top-color: var(--green);
  background: color-mix(in srgb, var(--green-soft) 70%, transparent);
  font-weight: 800;
}

/* Theme switch — same interaction model as Acsaven / TryTokka */
.theme-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.theme-switch--pending { pointer-events: none; opacity: 0.7; }
.theme-switch--ready { pointer-events: auto; opacity: 1; }
.theme-switch--compact .theme-switch-btn {
  min-height: 2.75rem; min-width: 2.75rem; padding: 0.4rem 0.55rem;
}
.theme-switch-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 2.75rem; min-width: 2.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
}
.theme-switch-btn:hover { color: var(--ink); }
.theme-switch-btn[aria-pressed="true"] {
  color: var(--green-deep);
  background: var(--green-soft);
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
}
.theme-switch-icon { width: 1.125rem; height: 1.125rem; display: block; pointer-events: none; }
.theme-switch--labeled { width: 100%; }
.theme-switch--labeled .theme-switch-btn { min-height: 2.5rem; }

/* Shell — 20% persona / 80% main on wide screens */
.shell {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
  min-height: calc(100vh - var(--top));
  background: transparent;
}
@media (min-width: 960px) {
  .shell {
    grid-template-columns: 20% minmax(0, 80%);
    border-inline: 0;
  }
}

/* Persona — compact, content-rich, not photo-dominated */
.persona {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.persona__inner {
  padding: 1.15rem 1.15rem 1.5rem;
}
@media (min-width: 960px) {
  .persona {
    position: sticky; top: var(--top);
    height: calc(100vh - var(--top));
    overflow-x: hidden;
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    scrollbar-gutter: auto;
    scrollbar-width: thin;
  }
  .persona__inner {
    padding: 1.35rem 0.85rem 1.75rem 1.1rem;
  }
  .persona::-webkit-scrollbar {
    width: 8px;
  }
  .persona::-webkit-scrollbar-track {
    background: transparent;
  }
  .persona::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--ink) 22%, transparent);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
  }
}

.persona__top {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 0.85rem 1rem;
  align-items: center;
  max-width: 34rem;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 960px) {
  .persona__top {
    max-width: none;
    margin-inline: 0;
    gap: 0.75rem;
  }
}

.persona__photo {
  margin: 0 auto;
  width: 100%;
  max-width: 7.5rem;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--green) 35%, var(--line));
  box-shadow: 0 0 0 4px var(--green-soft);
  background: var(--surface-2);
  flex-shrink: 0;
}
@media (min-width: 960px) {
  .persona__photo { max-width: 100%; }
}
.persona__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.persona__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
@media (max-width: 959px) {
  .persona__inner {
    text-align: center;
  }
  .persona__intro {
    align-items: flex-start;
    text-align: left;
  }
  .persona__bio,
  .persona__focus,
  .persona__now,
  .persona__meta,
  .persona__actions,
  .persona__social {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }
  .persona__chips,
  .persona__actions,
  .persona__social,
  .persona__now ul {
    justify-content: center;
  }
  .persona__meta {
    text-align: left;
  }
  .persona__status {
    margin-inline: 0;
  }
}
.persona__name {
  margin: 0;
  font-family: "Inter Display", sans-serif;
  font-weight: 800; font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.04em; line-height: 1.1;
}
.persona__handle { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.84rem; }
.persona__status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--green) 28%, transparent);
}
.persona__status::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent);
}

.persona__bio {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36ch;
}

.persona__focus { margin: 1rem 0 0; }
.persona__focus-label,
.persona__now-label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.persona__chips {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  list-style: none; margin: 0; padding: 0;
}
.persona__chips li {
  padding: 0.28rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.persona__now {
  margin: 1rem 0 0;
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.persona__now ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.35rem;
}
.persona__now a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; text-decoration: none; color: var(--ink);
  font-size: 0.86rem; font-weight: 650;
}
.persona__now a span { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.persona__now a:hover { color: var(--green-deep); }

.persona__meta {
  list-style: none; margin: 1rem 0 0; padding: 0; font-size: 0.84rem;
}
.persona__meta li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.45rem;
  padding: 0.4rem 0; border-top: 1px solid var(--line); color: var(--muted);
}
.persona__meta strong { color: var(--ink); font-weight: 750; }
.persona__meta a { color: var(--green-deep); text-decoration: none; word-break: break-all; }
.persona__meta a:hover { text-decoration: underline; }

.persona__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1rem;
}
.persona__actions .btn {
  white-space: nowrap;
  padding: 0 0.7rem;
  font-size: 0.8rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 0.95rem; border-radius: 999px;
  font-weight: 750; font-size: 0.86rem; text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--fill { background: var(--ink); color: var(--paper); }
.btn--fill:hover { transform: translateY(-1px); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.persona__social {
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.85rem; margin-top: 1rem;
}
.persona__social a {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); min-height: 40px; display: inline-flex; align-items: center;
}
.persona__social a:hover { color: var(--green-deep); }

/* Main — on wide screens, content is 70% of the 80% column (15% gutters each side) */
.main {
  min-width: 0;
  width: 100%;
  margin-inline: 0;
  max-width: none;
  padding: clamp(1.25rem, 3vw, 2rem) var(--stage-pad) 3rem;
  background: transparent;
}
@media (min-width: 960px) {
  .main {
    padding-inline: 15%; /* → 70% content width inside the 80% pane */
  }
}

.feature {
  display: grid; gap: 1.5rem; margin-top: 1.75rem; padding: 0;
  border: 0; border-radius: 0; background: transparent;
}
@media (min-width: 860px) {
  .feature { grid-template-columns: 0.95fr 1.15fr; align-items: start; gap: 1.75rem; }
  .feature--flip { grid-template-columns: 1.15fr 0.95fr; }
  .feature--flip .feature__copy { order: 2; }
  .feature--flip .feature__media { order: 1; }
}

.eyebrow, .tag, .chapter-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.chapter-label { margin: 2rem 0 0; }
.tag {
  display: inline-block; padding: 0.28rem 0.55rem; background: var(--green); color: #fff;
  border-radius: 0.3rem; letter-spacing: 0.1em;
}
html[data-theme="dark"] .tag { color: #0c1210; }
.tag--muted { background: color-mix(in srgb, var(--muted) 75%, var(--ink)); color: #fff; }

.hero__title {
  margin: 0;
  font-family: "Inter Display", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  line-height: 1.12; letter-spacing: -0.035em; max-width: 24ch;
}
.hero__title em { font-style: normal; color: var(--muted); font-weight: 700; }
.hero__lede { margin: 1.15rem 0 0; max-width: 48ch; color: var(--muted); font-size: 1.02rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }

.block { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.block__head h2 {
  margin: 0;
  font-family: "Inter Display", sans-serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.03em;
}
.block__sub { margin: 0.6rem 0 0; max-width: 46ch; color: var(--muted); }

.feature__kicker {
  margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
}
.feature__copy h3 {
  margin: 0.45rem 0 0;
  font-family: "Inter Display", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem); letter-spacing: -0.03em;
}
.feature__copy h3 a { color: inherit; text-decoration: none; }
.feature__copy h3 a:hover { color: var(--green-deep); }
.feature__copy > p { margin: 0.75rem 0 0; color: var(--muted); }
.feature__copy > p a {
  color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 0.15em;
}
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  list-style: none; margin: 1rem 0 0; padding: 0;
}
.stats li {
  padding: 0.65rem 0.7rem; border-radius: 0.75rem;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
}
.stats b {
  display: block; font-family: "Inter Display", sans-serif;
  font-size: 1.35rem; color: var(--ink); letter-spacing: -0.03em;
}
.feature__links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.15rem; }
.feature__media { display: grid; gap: 0.65rem; }
.shot {
  position: relative; display: block; overflow: hidden;
  border-radius: 0.9rem; border: 1px solid var(--line); background: #0f1713;
}
.shot img, .shot picture, .shot picture img { width: 100%; height: auto; display: block; }
.shot--main img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.shot-row:has(> :only-child) { grid-template-columns: 1fr; }
.shot-row .shot img { aspect-ratio: 16 / 11; object-fit: cover; }
.play {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: rgba(0,0,0,0.72); color: #fff;
  font-size: 0.78rem; font-weight: 800;
}
.play--lg {
  left: 50%; bottom: 50%; transform: translate(-50%, 50%);
  padding: 0.7rem 1.15rem; font-size: 0.9rem;
  background: rgba(14, 22, 18, 0.82);
  border: 1px solid rgba(255,255,255,0.18);
}

.soft-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 0.75rem;
}
@media (min-width: 700px) { .soft-grid { grid-template-columns: 1fr 1fr; } }
.soft-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 1rem; overflow: hidden;
  background: var(--card); color: inherit; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.soft-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: var(--shadow);
}
.soft-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #122018; }
.soft-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.soft-card:hover .soft-card__img img { transform: scale(1.04); }
.soft-card__body { padding: 1rem 1.05rem 1.15rem; }
.soft-card__body h3 {
  margin: 0; font-family: "Inter Display", sans-serif;
  font-size: 1.15rem; letter-spacing: -0.02em;
}
.soft-card__body p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.soft-card__meta {
  display: block; margin-top: 0.65rem;
  font-size: 0.75rem; font-weight: 750; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green);
}

.publish { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .publish { grid-template-columns: 1fr 1fr; } }
.publish__card {
  position: relative; overflow: hidden; min-height: 11rem;
  display: flex; align-items: flex-end;
  padding: 1.15rem; border-radius: 1.1rem; border: 1px solid var(--line);
  text-decoration: none; color: #e8f0eb; background: #122018;
}
.publish__card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.publish__card > div { position: relative; z-index: 1; }
.publish__label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #9bb5a8;
}
.publish__card h3 {
  margin: 0.35rem 0 0; font-family: "Inter Display", sans-serif;
  font-size: 1.2rem; letter-spacing: -0.02em; color: #fff;
}
.publish__card p { margin: 0.4rem 0 0; color: #9bb5a8; font-size: 0.92rem; }

.banner { margin: 1.5rem 0 0; }
.banner img {
  width: 100%; border-radius: 1rem; border: 1px solid var(--line); display: block;
}
.banner figcaption { margin-top: 0.55rem; font-size: 0.85rem; color: var(--muted); }
.banner a { color: var(--green-deep); }

.demos { margin-top: 1.5rem; }
.demos__row { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; }
.demos__row a {
  font-weight: 700; text-decoration: none; color: var(--muted); min-height: 40px;
  display: inline-flex; align-items: center;
}
.demos__row a:hover { color: var(--green-deep); }

/* Path — descending (newest → origin), staggered cascade */
.path .block__sub { margin-bottom: 0.25rem; }
.rail {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; gap: 0.85rem;
  grid-template-columns: 1fr;
}
.rail__step {
  position: relative;
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.85rem; align-items: start;
  padding: 1.1rem 1.05rem 1.2rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--line);
  overflow: visible;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.rail__step:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
  box-shadow: var(--shadow);
}
.rail__num {
  font-family: "Inter Display", sans-serif; font-weight: 800;
  font-size: 2.35rem; line-height: 1; letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--ink) 14%, transparent);
  user-select: none; padding-top: 0.1rem;
}
.rail__when {
  margin: 0; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.rail__body h3 {
  margin: 0.3rem 0 0;
  font-family: "Inter Display", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.25rem); letter-spacing: -0.03em;
}
.rail__body h3 a { color: inherit; text-decoration: none; }
.rail__body h3 a:hover { color: var(--green-deep); }
.rail__role {
  margin: 0.28rem 0 0; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--green);
}
.rail__text { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.88rem; }
.rail__text a {
  color: var(--green-deep); font-weight: 700;
  text-decoration: underline; text-underline-offset: 0.15em;
}
.rail__step--now {
  background: linear-gradient(145deg, var(--green-soft) 0%, var(--surface) 58%);
  border-color: color-mix(in srgb, var(--green) 50%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--green) 18%, transparent);
}
.rail__step--now .rail__num {
  color: color-mix(in srgb, var(--green) 55%, transparent);
  font-size: 2.6rem;
}
.rail__step--now .rail__when { color: var(--green-deep); }
.rail__step--now .rail__body h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }

/* Fade older steps slightly so “now” leads */
.rail__step:not(.rail__step--now) {
  background: color-mix(in srgb, var(--surface) 92%, var(--paper));
}
.rail__step:nth-child(n+5) .rail__num {
  opacity: 0.72;
}

@media (min-width: 720px) {
  .rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
    align-items: stretch;
  }
  .rail__step {
    grid-template-columns: 1fr;
    padding: 1.1rem 0.95rem 1.2rem;
    min-height: 12rem;
  }
  .rail__num { font-size: 2.15rem; margin-bottom: 0.15rem; }
  .rail__body h3 { font-size: 1.12rem; }
  .rail__text { font-size: 0.86rem; }

  .rail__step--now { min-height: 12.75rem; }

  /* Look-back chevrons only within a row */
  .rail__step:not(:last-child)::after {
    content: "←";
    position: absolute;
    right: -0.55rem;
    top: 1.2rem;
    z-index: 2;
    width: 1.1rem; height: 1.1rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    pointer-events: none;
  }
  .rail__step:nth-child(4n)::after { display: none; }
  .rail__step--now::after {
    border-color: color-mix(in srgb, var(--green) 40%, var(--line));
    color: var(--green-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rail__step:nth-child(n) { transform: none !important; }
}

.creative {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem;
}
@media (max-width: 520px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
.mosaic img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  border-radius: 0.75rem; border: 1px solid var(--line);
  filter: saturate(0.92);
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.mosaic img:hover { transform: scale(1.02); filter: saturate(1.05); }
.creative__note { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 52ch; }
.creative__aside {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: center;
  margin-top: 1.15rem;
}
.creative__aside-shot {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  background: var(--surface-2);
}
.creative__aside-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.creative__aside-copy { min-width: 0; }
.creative__credit {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}
.creative__credit a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.skills {
  margin-top: 1.75rem; padding-top: 1.35rem; border-top: 1px dashed var(--line);
}
.skills__title {
  margin: 0 0 0.75rem;
  font-family: "Inter Display", sans-serif;
  font-size: 1.15rem; letter-spacing: -0.02em;
}
.skill-chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  list-style: none; margin: 0; padding: 0;
}
.skill-chips li {
  padding: 0.4rem 0.75rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.84rem; font-weight: 650; color: var(--muted);
}

.contact .mail {
  display: inline-block; margin-top: 0.35rem;
  font-family: "Inter Display", sans-serif; font-weight: 800;
  font-size: clamp(1.25rem, 3.5vw, 2rem); letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; word-break: break-all;
}
.contact .mail:hover { color: var(--green-deep); }
.contact__note { margin: 0.75rem 0 0; color: var(--muted); }

.foot {
  margin-top: 3rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem;
}
.foot p { margin: 0; }

/* Reveal without GSAP */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .soft-card:hover, .mosaic img:hover, .rail__step:hover { transform: none; }
}
