:root {
  color-scheme: dark;
  --bg: #000;
  --bg-soft: #050706;
  --surface: #080b0a;
  --surface-strong: #0f1714;
  --ink: #f4faf6;
  --muted: #8d9993;
  --line: rgba(179, 207, 193, 0.2);
  --accent: #2fbf8f;
  --accent-soft: #a8c7b9;
  --accent-deep: #123d34;
  --warm: #d6a45f;
  --rose: #c0788a;
  --blue: #7da9c7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max: 1120px;
  --mono: "Biome Light", "Courier New", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --motion-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  filter: blur(18px);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 48px);
  background: rgba(10, 44, 35, 0.56);
  border-bottom: 1px solid rgba(168, 199, 185, 0.18);
  backdrop-filter: blur(22px) saturate(120%);
}

.brand,
.nav-links,
.hero-actions,
.contact-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  z-index: 22;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: clamp(120px, 12vw, 168px);
  height: clamp(120px, 12vw, 168px);
  place-items: center;
  margin: -34px 0 -62px;
  overflow: hidden;
  background: #f4f4f2;
  border: 1px solid rgba(244, 250, 246, 0.7);
  border-radius: 2px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  font-weight: 750;
  letter-spacing: 0;
}

.nav-links a,
.site-footer a,
.contact-row a,
.tile {
  text-decoration: none;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--accent);
}

.nav-preview-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.nav-preview-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56) 44%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.92));
}

.nav-preview-image {
  position: absolute;
  inset: 0;
  background-image: var(--preview-image, url("assets/banner-01.jpg"));
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 980ms ease-in-out;
  will-change: opacity;
}

.nav-preview-image.is-active {
  opacity: 0.34;
}

.site-header {
  position: fixed;
  top: clamp(18px, 4vw, 42px);
  left: clamp(18px, 4vw, 42px);
  width: min(310px, calc(100vw - 36px));
  min-height: auto;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  margin-bottom: clamp(26px, 6vh, 64px);
}

.brand-mark {
  width: clamp(84px, 9vw, 124px);
  height: clamp(84px, 9vw, 124px);
  margin: 0;
  background: rgba(244, 244, 242, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.46);
}

.branch-shell {
  position: relative;
  padding: 14px 0 14px 22px;
}

.branch-shell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 1px;
  background: rgba(244, 250, 246, 0.78);
}

.branch-label {
  margin: 0 0 16px;
  color: rgba(244, 250, 246, 0.58);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.branch-nav {
  display: grid;
  align-items: stretch;
  gap: 4px;
  justify-content: stretch;
  justify-self: auto;
  width: 100%;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.72rem);
}

.branch-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px 10px 0;
  color: rgba(244, 250, 246, 0.62);
  border-bottom: 0;
  text-decoration: none;
  transition:
    color 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    background 420ms ease;
}

.branch-nav a::before {
  content: "";
  position: absolute;
  left: -18px;
  width: 14px;
  height: 1px;
  background: rgba(244, 250, 246, 0.72);
  transition: width 420ms ease, background 420ms ease;
}

.branch-nav a span {
  color: rgba(244, 250, 246, 0.38);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.branch-nav a:hover,
.branch-nav a:focus-visible,
.branch-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(244, 250, 246, 0.045);
  transform: translateX(12px);
}

.branch-nav a:hover::before,
.branch-nav a:focus-visible::before,
.branch-nav a[aria-current="page"]::before {
  width: 28px;
  background: var(--accent);
}

main,
.site-footer {
  padding-left: clamp(0px, 21vw, 300px);
}

/* Archive-scene navigation inspired by the reference: plaque + floating directory. */
.nav-preview-bg::after {
  background:
    radial-gradient(circle at 50% 72%, rgba(0, 0, 0, 0.88), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.86));
}

.nav-preview-image.is-active {
  opacity: 0.5;
}

.site-header {
  inset: 0 auto auto 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.brand {
  position: fixed;
  top: clamp(18px, 3vw, 42px);
  left: clamp(18px, 3vw, 42px);
  width: min(430px, calc(100vw - 36px));
  min-height: 132px;
  display: grid;
  grid-template-columns: 74px 1fr;
  grid-template-rows: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  margin: 0;
  padding: 16px;
  color: #fff;
  background: #000;
  border: 1px solid rgba(244, 250, 246, 0.2);
  pointer-events: auto;
}

.brand-mark {
  grid-row: 1 / 3;
  width: 74px;
  height: 74px;
  border-color: transparent;
  box-shadow: none;
}

.brand > span:last-child,
.brand-title,
.brand-meta {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.brand-title {
  align-self: end;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 850;
  line-height: 0.9;
}

.brand-meta {
  align-self: start;
  color: rgba(244, 250, 246, 0.62);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.branch-shell {
  position: fixed;
  top: 50%;
  left: min(46vw, 760px);
  width: min(430px, 34vw);
  padding: 0 0 0 28px;
  transform: translateY(-50%);
  pointer-events: auto;
}

.branch-shell::before {
  left: 0;
  background: rgba(244, 250, 246, 0.34);
}

.branch-label {
  margin-bottom: 18px;
  color: rgba(244, 250, 246, 0.7);
}

.branch-nav {
  gap: 0;
  font-size: clamp(1.3rem, 2.2vw, 2.3rem);
  line-height: 1;
}

.branch-nav a {
  grid-template-columns: 52px 1fr;
  padding: 8px 10px 8px 0;
  color: rgba(244, 250, 246, 0.44);
  background: transparent;
}

.branch-nav a span {
  font-size: 0.68rem;
}

.branch-nav a:hover,
.branch-nav a:focus-visible,
.branch-nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  transform: translateX(18px);
}

.branch-nav a::before {
  left: -26px;
}

.branch-nav a:hover::before,
.branch-nav a:focus-visible::before,
.branch-nav a[aria-current="page"]::before {
  width: 44px;
}

main,
.site-footer {
  padding-left: 0;
}

.page-hero,
.latest-section,
.split-section,
.section:not(.latest-section) {
  position: relative;
  z-index: 2;
}

.page-hero {
  min-height: 62vh;
  display: grid;
  align-content: end;
  padding-top: clamp(220px, 22vh, 280px);
}

body:not(.home-branch-page) .site-header {
  display: none;
}

body:not(.home-branch-page) .nav-preview-bg {
  display: block;
}

body:not(.home-branch-page) .nav-preview-bg::after {
  background:
    radial-gradient(circle at 50% 76%, rgba(0, 0, 0, 0.9), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.91), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.87)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.93));
}

body:not(.home-branch-page) .nav-preview-image {
  background-image: var(--page-bg-image, url("assets/banner-01.jpg"));
  filter: blur(13px) saturate(0.78) contrast(1.08);
  transform: scale(1.06) translateZ(0);
}

body:not(.home-branch-page) .nav-preview-image:not(:first-child) {
  display: none;
}

body:not(.home-branch-page) .nav-preview-image.is-active {
  opacity: 0.58;
}

body:not(.home-branch-page) {
  background: #000;
}

body:not(.home-branch-page) .ambient-bg {
  display: none;
}

body:not(.home-branch-page) main {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: clamp(24px, 4vw, 54px);
}

body:not(.home-branch-page) .shell {
  width: min(900px, calc(100vw - 48px));
  margin-left: clamp(18px, 9vw, 150px);
  margin-right: auto;
}

body:not(.home-branch-page) .page-hero {
  min-height: auto;
  display: block;
  padding: clamp(42px, 8vh, 86px) 0 clamp(34px, 8vh, 84px);
}

body:not(.home-branch-page) .page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 10vw, 9.2rem);
  line-height: 0.86;
}

body:not(.home-branch-page) .page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(244, 250, 246, 0.72);
}

body:not(.home-branch-page) .eyebrow {
  color: rgba(244, 250, 246, 0.62);
}

body:not(.home-branch-page) .section {
  padding: 0 0 clamp(80px, 14vh, 150px);
}

body:not(.home-branch-page) .post-detail {
  border-bottom: 0;
}

body:not(.home-branch-page) .article-body {
  max-width: 760px;
  font-family: var(--mono);
}

body:not(.home-branch-page) .article-body p,
body:not(.home-branch-page) .article-body li {
  color: rgba(244, 250, 246, 0.86);
  font-family: var(--mono);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.82;
}

body:not(.home-branch-page) .article-body h2,
body:not(.home-branch-page) .article-body h3 {
  margin-top: 2.1em;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

body.post-page .nav-preview-image {
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
  transform: translateZ(0);
}

body.post-page .nav-preview-image.is-active {
  opacity: 0.46;
}

body.post-page .page-hero {
  padding-top: clamp(34px, 7vh, 72px);
  padding-bottom: clamp(26px, 6vh, 58px);
}

body.post-page .page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5.8vw, 4.8rem);
  line-height: 0.95;
}

body.post-page .page-hero p:not(.eyebrow) {
  margin-top: 14px;
  color: rgba(244, 250, 246, 0.58);
  font-family: var(--mono);
}

body.post-page .article-body {
  max-width: 720px;
}

.corner-home {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 20;
  display: inline-grid;
  place-items: center;
  min-width: 84px;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 760;
  text-decoration: none;
  background: rgba(1, 7, 5, 0.76);
  border: 1px solid rgba(244, 250, 246, 0.3);
  backdrop-filter: blur(14px);
  transition:
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms ease,
    background 420ms ease;
}

.corner-home:hover,
.corner-home:focus-visible {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: rgba(12, 36, 28, 0.84);
}

.home-branch-page {
  min-height: 100vh;
  overflow: hidden;
}

.crosshair-cursor {
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 50vh);
  z-index: 1000;
  width: 38px;
  height: 38px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
  mix-blend-mode: difference;
}

.crosshair-cursor.is-visible {
  opacity: 0.88;
}

.crosshair-cursor::before,
.crosshair-cursor::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#fff, #fff) center top / 1px 12px no-repeat,
    linear-gradient(#fff, #fff) center bottom / 1px 12px no-repeat,
    linear-gradient(#fff, #fff) left center / 12px 1px no-repeat,
    linear-gradient(#fff, #fff) right center / 12px 1px no-repeat;
}

.crosshair-cursor::after {
  opacity: 0.28;
  filter: blur(2px);
}

@media (hover: hover) and (pointer: fine) {
  .home-branch-page,
  .home-branch-page * {
    cursor: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .crosshair-cursor {
    display: none;
  }
}

.home-branch-page .site-header,
.home-branch-page .site-footer {
  display: none;
}

.home-branch-page .ambient-bg {
  display: none;
}

.home-branch-page main {
  min-height: 100vh;
  padding-left: 0;
}

.home-branch-page .nav-preview-bg::after {
  background:
    radial-gradient(circle at 50% 76%, rgba(0, 0, 0, 0.9), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.92));
}

.home-branch-page .nav-preview-image.is-active {
  opacity: 0.64;
}

.section-branch-page {
  min-height: 100vh;
  overflow: hidden;
}

.section-branch-page main {
  min-height: 100vh;
  padding: 0;
}

.section-branch-page .site-footer {
  display: none;
}

.section-branch-page .nav-preview-bg::after {
  background:
    radial-gradient(circle at 50% 76%, rgba(0, 0, 0, 0.9), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.92));
}

.section-branch-page .nav-preview-image {
  filter: none;
  transform: translateZ(0);
}

.section-branch-page .nav-preview-image.is-active {
  opacity: 0.64;
}

.home-explorer {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 54px);
}

.home-plaque {
  position: fixed;
  top: clamp(18px, 3vw, 42px);
  left: clamp(18px, 3vw, 42px);
  z-index: 2;
  display: grid;
  width: min(300px, calc(100vw - 36px));
  min-height: 116px;
  align-content: space-between;
  padding: 14px;
  color: #fff;
  background: #000;
  border: 1px solid rgba(244, 250, 246, 0.18);
  pointer-events: none;
}

.home-plaque p,
.home-plaque span,
.explorer-kicker,
.explorer-child em,
.explorer-toggle span,
.explorer-child span {
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-plaque p,
.home-plaque span {
  margin: 0;
  color: rgba(244, 250, 246, 0.64);
  font-size: 0.76rem;
}

.home-plaque h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.82;
}

.explorer-tree {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(720px, calc(100vw - 36px));
  margin: 0;
  color: #fff;
  transform: translate3d(-50%, -50%, 0);
  isolation: isolate;
  cursor: pointer;
}

.explorer-kicker {
  position: absolute;
  left: 0;
  bottom: calc(100% + 68px);
  z-index: 8;
  margin: 0;
  color: rgba(244, 250, 246, 0.58);
  font-size: 0.74rem;
  pointer-events: none;
}

.explorer-tree ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translate3d(0, var(--root-offset, 0px), 0);
  will-change: transform;
}

.explorer-branch {
  position: relative;
  margin: 0;
  will-change: transform;
  transition:
    margin 500ms var(--motion-smooth),
    opacity 500ms ease,
    filter 500ms ease;
}

.explorer-branch.is-open {
  margin: 0;
}

.explorer-tree.is-child-mode .explorer-toggle {
  pointer-events: none;
}

.explorer-toggle,
.explorer-child {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  align-items: baseline;
  width: 100%;
  min-height: 48px;
  padding: 8px 0;
  color: rgba(244, 250, 246, 0.52);
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  will-change: transform, opacity;
  transition:
    color 500ms ease,
    opacity 500ms ease,
    filter 500ms ease,
    transform 500ms var(--motion-smooth);
}

.explorer-branch.is-active .explorer-toggle {
  color: #fff;
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.explorer-branch[data-distance="1"] .explorer-toggle {
  opacity: 0.46;
  filter: blur(0.9px);
  transform: translate3d(-6px, 0, 0);
}

.explorer-branch[data-distance="2"] .explorer-toggle {
  opacity: 0.25;
  filter: blur(2px);
  transform: translate3d(-14px, 0, 0);
}

.explorer-branch[data-distance="3"] .explorer-toggle {
  opacity: 0.11;
  filter: blur(3.2px);
  transform: translate3d(-22px, 0, 0);
}

.explorer-branch.is-muted .explorer-toggle:hover,
.explorer-branch.is-muted .explorer-toggle:focus-visible {
  opacity: 0.48;
  filter: blur(1px);
}

.explorer-toggle::before,
.explorer-child::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: rgba(244, 250, 246, 0.42);
  transition: width 420ms ease, background 420ms ease;
}

.explorer-toggle span,
.explorer-child span,
.explorer-child em {
  color: rgba(244, 250, 246, 0.36);
  font-size: 0.7rem;
  font-style: normal;
}

.explorer-toggle strong,
.explorer-child strong {
  font-size: clamp(1.35rem, 2.6vw, 2.7rem);
  font-weight: 760;
  line-height: 0.95;
}

.explorer-toggle:hover,
.explorer-toggle:focus-visible,
.explorer-toggle[aria-expanded="true"],
.explorer-child:hover,
.explorer-child:focus-visible {
  color: #fff;
  transform: translate3d(14px, 0, 0);
}

.explorer-toggle:hover::before,
.explorer-toggle:focus-visible::before,
.explorer-toggle[aria-expanded="true"]::before,
.explorer-child:hover::before,
.explorer-child:focus-visible::before {
  width: 42px;
  background: var(--accent);
}

.explorer-children {
  position: absolute;
  top: calc(100% + 10px);
  left: 58px;
  z-index: 6;
  width: min(560px, calc(100vw - 110px));
  max-height: none;
  margin-left: 0;
  margin-top: 0;
  padding-left: 28px;
  overflow: visible;
  border-left: 1px solid rgba(244, 250, 246, 0.28);
  opacity: 0;
  transform: translate3d(-22px, calc(var(--child-offset, 0px) + 12px), 0);
  transform-origin: top left;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 520ms ease,
    visibility 0ms linear 520ms;
}

.explorer-branch.is-open .explorer-children {
  opacity: 1;
  transform: translate3d(0, var(--child-offset, 0px), 0);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 520ms ease 70ms,
    visibility 0ms linear 0ms;
}

.explorer-child {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 10px 0;
  opacity: 0;
  transform: none;
  transition:
    color 500ms ease,
    opacity 420ms ease,
    transform 500ms var(--motion-smooth);
}

.explorer-branch.is-open .explorer-child {
  opacity: 0.2;
  filter: blur(2.4px);
  transform: none;
}

.explorer-branch.is-open .explorer-child[data-distance="1"] {
  opacity: 0.48;
  filter: blur(0.9px);
}

.explorer-branch.is-open .explorer-child[data-distance="2"] {
  opacity: 0.25;
  filter: blur(2px);
}

.explorer-branch.is-open .explorer-child[data-distance="3"] {
  opacity: 0.1;
  filter: blur(3.2px);
}

.explorer-branch.is-open .explorer-child.is-active {
  color: #fff;
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.explorer-branch.is-open .explorer-child.is-muted:hover,
.explorer-branch.is-open .explorer-child.is-muted:focus-visible {
  opacity: 0.46;
  filter: blur(1px);
}

.explorer-branch.is-open .explorer-child:nth-child(2) {
  transition-delay: 24ms;
}

.explorer-branch.is-open .explorer-child:nth-child(3) {
  transition-delay: 48ms;
}

.explorer-branch.is-open .explorer-child:nth-child(4) {
  transition-delay: 72ms;
}

.explorer-branch.is-open .explorer-child:nth-child(5) {
  transition-delay: 96ms;
}

.explorer-branch.is-open .explorer-child:nth-child(6) {
  transition-delay: 120ms;
}

.explorer-branch.is-open .explorer-child:nth-child(7) {
  transition-delay: 144ms;
}

.explorer-branch.is-open .explorer-child:nth-child(8) {
  transition-delay: 168ms;
}

.explorer-branch.is-open .explorer-child:nth-child(9) {
  transition-delay: 192ms;
}

.explorer-branch.is-open .explorer-child:hover,
.explorer-branch.is-open .explorer-child:focus-visible {
  transform: none;
}

.explorer-child strong {
  font-size: clamp(0.92rem, 1.5vw, 1.16rem);
  font-weight: 700;
}

.explorer-index-link {
  margin-top: 6px;
  color: rgba(204, 228, 213, 0.72);
}

.section-explorer-page {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 54px);
}

.section-plaque h1 {
  font-size: clamp(1.72rem, 3.2vw, 3rem);
  line-height: 0.9;
}

.section-plaque span {
  max-width: 26ch;
}

.section-explorer {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(760px, calc(100vw - 36px));
  color: #fff;
  transform: translate3d(-50%, -50%, 0);
  isolation: isolate;
  cursor: pointer;
}

.section-option-list {
  display: grid;
  gap: 1px;
  transform: none;
  will-change: transform;
}

.section-option {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  width: 100%;
  min-height: 54px;
  padding: 12px 0;
  color: rgba(244, 250, 246, 0.52);
  text-align: left;
  text-decoration: none;
  pointer-events: auto;
  touch-action: manipulation;
  will-change: transform, opacity;
  transition:
    color 500ms ease,
    opacity 500ms ease,
    filter 500ms ease,
    transform 500ms var(--motion-smooth);
}

.section-option::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: rgba(244, 250, 246, 0.42);
  transition: width 420ms ease, background 420ms ease;
}

.section-option span,
.section-option em {
  color: rgba(244, 250, 246, 0.36);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-option strong {
  font-size: clamp(1.05rem, 2.2vw, 1.72rem);
  font-weight: 720;
  line-height: 0.98;
}

.section-option.is-active {
  z-index: 10;
  color: #fff;
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.section-option[data-distance="1"] {
  opacity: 0.48;
  filter: blur(0.9px);
  transform: none;
}

.section-option[data-distance="2"] {
  opacity: 0.25;
  filter: blur(2px);
  transform: none;
}

.section-option[data-distance="3"] {
  opacity: 0.1;
  filter: blur(3.2px);
  transform: none;
}

.section-option.is-active::before,
.section-option:hover::before,
.section-option:focus-visible::before {
  width: 42px;
  background: var(--accent);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: clamp(86px, 14vw, 172px) 0 clamp(50px, 8vw, 90px);
}

.hero-slideshow {
  position: relative;
  min-height: clamp(560px, 78vh, 860px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.7)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74));
}

.hero-slideshow .hero-copy {
  position: relative;
  z-index: 3;
}

.hero-copy h1,
.page-hero h1,
.section h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(4.4rem, 16vw, 12.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
}

.section h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.about-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.eyebrow,
.tile-label,
.writing-row span {
  display: inline-flex;
  margin: 0 0 13px;
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 750;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #05100d;
  background: var(--accent);
  border-color: transparent;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  display: none;
}

.section {
  padding: clamp(52px, 8vw, 92px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1800ms ease-in-out, transform 6200ms ease-in-out;
}

.slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.slide.is-exiting {
  z-index: 2;
  opacity: 0;
  transform: scale(1.02);
}

.latest-section {
  border-top: 1px solid var(--line);
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(140px, auto));
  gap: 0;
  background: #000;
  border: 1px solid var(--line);
}

.latest-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.6vw, 30px);
  color: var(--ink);
  background: #000;
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    background 420ms ease,
    color 420ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms ease;
}

.latest-card:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-26px) scale(1.036);
  z-index: 5;
}

.latest-card span,
.latest-card time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.latest-card:hover span,
.latest-card:hover time {
  color: #042017;
}

.latest-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1;
}

.latest-large {
  grid-column: span 3;
  grid-row: span 3;
  min-height: 520px;
}

.latest-tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 340px;
}

.latest-small {
  grid-column: span 1;
  grid-row: span 2;
  min-height: 340px;
}

.latest-wide {
  grid-column: span 3;
  grid-row: span 1;
  min-height: 180px;
}

.latest-large h3 {
  max-width: 640px;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
}

.latest-tall h3,
.latest-wide h3 {
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
}

.latest-small h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.latest-grid .latest-card:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 4;
}

.latest-grid .latest-card:nth-child(2) {
  grid-column: 4 / 6;
  grid-row: 1 / 3;
}

.latest-grid .latest-card:nth-child(3) {
  grid-column: 6 / 7;
  grid-row: 1 / 3;
}

.latest-grid .latest-card:nth-child(4) {
  grid-column: 4 / 7;
  grid-row: 3 / 4;
}

.latest-grid .latest-card:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 4 / 6;
}

.latest-grid .latest-card:nth-child(6) {
  grid-column: 3 / 5;
  grid-row: 4 / 5;
}

.latest-grid .latest-card:nth-child(7) {
  grid-column: 5 / 7;
  grid-row: 4 / 5;
}

.latest-grid .latest-card:nth-child(8) {
  grid-column: 3 / 7;
  grid-row: 5 / 6;
}

.tile-grid {
  display: grid;
  gap: 16px;
}

.tile {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 440ms ease,
    background 440ms ease,
    box-shadow 700ms ease,
    filter 700ms ease;
  will-change: transform;
}

.tile:hover {
  z-index: 5;
  transform: translateY(-38px) scale(1.058);
  background: var(--surface-strong);
  border-color: var(--accent);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(47, 191, 143, 0.36);
  filter: brightness(1.08);
}

.tile:hover h2,
.tile:hover h3 {
  transform: translateY(-4px);
}

.tile:hover p {
  color: var(--ink);
}

.tile h2,
.tile h3,
.writing-row h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  transition: transform 240ms ease;
}

.tile p,
.writing-row p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: var(--muted);
  transition: color 220ms ease;
}

.tile-label {
  position: relative;
  z-index: 1;
}

.tile-blog {
  background: linear-gradient(160deg, rgba(47, 191, 143, 0.18), rgba(255, 255, 255, 0.045));
}

.tile-music {
  background: linear-gradient(160deg, rgba(125, 169, 199, 0.18), rgba(255, 255, 255, 0.045));
}

.tile-writing {
  background: linear-gradient(160deg, rgba(214, 164, 95, 0.17), rgba(255, 255, 255, 0.045));
}

.tile-projects {
  background: linear-gradient(160deg, rgba(192, 120, 138, 0.17), rgba(255, 255, 255, 0.045));
}

.split-section {
  display: block;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-row a {
  padding: 11px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-row a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.page-hero {
  padding: clamp(76px, 12vw, 138px) 0 clamp(12px, 4vw, 34px);
}

.post-detail {
  border-bottom: 1px solid var(--line);
}

.article-body {
  max-width: 820px;
}

.article-body p {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.article-body h2,
.article-body h3 {
  margin: 1.8em 0 0.6em;
  line-height: 1;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card.wide {
  grid-column: span 2;
}

.theme-blog {
  --accent: #2fbf8f;
  --accent-soft: #a0ccb7;
}

.theme-blog .post-card {
  min-height: 280px;
}

.post-date {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.theme-blog .post-card:hover {
  border-color: rgba(47, 191, 143, 0.55);
}

body:not(.home-branch-page) .tile-grid,
body:not(.home-branch-page) .music-board,
body:not(.home-branch-page) .project-wall,
body:not(.home-branch-page) .writing-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(860px, 100%);
  background: transparent;
  border: 0;
}

body:not(.home-branch-page) .tile,
body:not(.home-branch-page) .writing-row {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0 18px 34px;
  overflow: visible;
  color: rgba(244, 250, 246, 0.62);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(244, 250, 246, 0.16);
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition:
    color 620ms ease,
    opacity 620ms ease,
    filter 620ms ease,
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 620ms ease;
}

body:not(.home-branch-page) .tile::before,
body:not(.home-branch-page) .writing-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(244, 250, 246, 0.38);
  transition: width 520ms ease, background 520ms ease;
}

body:not(.home-branch-page) .tile:hover,
body:not(.home-branch-page) .tile:focus-visible,
body:not(.home-branch-page) .writing-row:hover,
body:not(.home-branch-page) .writing-row:focus-visible {
  z-index: 5;
  color: #fff;
  background: transparent;
  border-color: rgba(244, 250, 246, 0.32);
  box-shadow: none;
  filter: blur(0);
  transform: translate3d(20px, 0, 0);
}

body:not(.home-branch-page) .tile:hover::before,
body:not(.home-branch-page) .tile:focus-visible::before,
body:not(.home-branch-page) .writing-row:hover::before,
body:not(.home-branch-page) .writing-row:focus-visible::before {
  width: 42px;
  background: var(--accent);
}

body:not(.home-branch-page) .tile h2,
body:not(.home-branch-page) .tile h3,
body:not(.home-branch-page) .writing-row h2 {
  grid-column: 1 / 2;
  font-size: clamp(1.5rem, 4.8vw, 4.2rem);
  line-height: 0.94;
}

body:not(.home-branch-page) .tile:hover h2,
body:not(.home-branch-page) .tile:hover h3,
body:not(.home-branch-page) .writing-row:hover h2 {
  transform: none;
}

body:not(.home-branch-page) .tile p,
body:not(.home-branch-page) .writing-row p {
  grid-column: 1 / -1;
  max-width: 660px;
  margin: 0;
  color: rgba(244, 250, 246, 0.58);
}

body:not(.home-branch-page) .tile-label,
body:not(.home-branch-page) .post-date,
body:not(.home-branch-page) .writing-row span {
  grid-column: 2 / 3;
  grid-row: 1;
  margin: 0;
  color: rgba(244, 250, 246, 0.38);
}

body:not(.home-branch-page) .post-card.wide,
body:not(.home-branch-page) .latest-large,
body:not(.home-branch-page) .latest-tall,
body:not(.home-branch-page) .latest-small,
body:not(.home-branch-page) .latest-wide {
  grid-column: auto;
  grid-row: auto;
}

body:not(.home-branch-page) .album-card,
body:not(.home-branch-page) .album-card:hover,
body:not(.home-branch-page) .track-card,
body:not(.home-branch-page) .track-card:hover {
  min-height: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-transform: none;
}

body:not(.home-branch-page) .album-card {
  box-shadow: none;
}

.theme-music {
  --accent: #2fbf8f;
  --accent-soft: #d7e2dc;
}

.music-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.track-card {
  min-height: 320px;
  justify-content: flex-start;
  background: #050505;
  border: 0;
  border-radius: 0;
  color: #f4faf6;
  font-family:
    "Aptos Black", "Arial Black", Impact, Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.album-card {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82)),
    var(--album-art),
    #050505;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(244, 250, 246, 0.16);
}

.album-card:hover {
  background:
    linear-gradient(180deg, rgba(244, 250, 246, 0.06), rgba(0, 0, 0, 0.74)),
    var(--album-art),
    #050505;
  background-position: center;
  background-size: cover;
  color: #f4faf6;
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.35), 0 28px 72px rgba(0, 0, 0, 0.52);
}

.wave {
  display: none;
}

.track-card .tile-label {
  color: var(--accent);
}

.track-card h2 {
  margin-top: auto;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.92;
}

.track-card p {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-transform: none;
}

.track-card:hover {
  background: #f4faf6;
  color: #000;
  border-color: transparent;
  transform: translateY(-38px) scale(1.058);
}

.theme-writing {
  --accent: #d6a45f;
  --accent-soft: #e0c393;
}

.writing-list {
  display: grid;
  gap: 14px;
}

.writing-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 0.72fr) minmax(260px, 0.68fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition:
    padding-left 420ms ease,
    border-color 420ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    background 420ms ease;
}

.writing-row:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(214, 164, 95, 0.5);
  transform: translateX(4px);
}

.writing-row p {
  margin: 0;
}

.writing-row time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.theme-projects {
  --accent: #c0788a;
  --accent-soft: #e3abb8;
}

.theme-photos {
  --accent: #8fb9a8;
  --accent-soft: #c7d8cf;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(132px, 13vw));
  background: #000;
}

.photo-tile {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #000;
  text-decoration: none;
  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms ease;
  will-change: transform;
}

.photo-tile img,
.photo-tile video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
  transition:
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms ease;
}

.photo-tile:hover {
  z-index: 5;
  transform: translateY(-30px) scale(1.045);
}

.photo-tile:hover img,
.photo-tile:hover video {
  transform: scale(1.07);
  filter: saturate(1) contrast(1.06) brightness(1);
}

.photo-mosaic .photo-tile:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 5;
}

.photo-mosaic .photo-tile:nth-child(2) {
  grid-column: 4 / 6;
  grid-row: 1 / 3;
}

.photo-mosaic .photo-tile:nth-child(3) {
  grid-column: 6 / 7;
  grid-row: 1 / 3;
}

.photo-mosaic .photo-tile:nth-child(4) {
  grid-column: 4 / 7;
  grid-row: 3 / 4;
}

.photo-mosaic .photo-tile:nth-child(5) {
  grid-column: 4 / 6;
  grid-row: 4 / 5;
}

.photo-mosaic .photo-tile:nth-child(6) {
  grid-column: 6 / 7;
  grid-row: 4 / 5;
}

.photo-video::after {
  content: "Open Video";
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 8px;
  color: #f4faf6;
  background: rgba(0, 0, 0, 0.56);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.project-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.build-card {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.82)),
    var(--project-image, linear-gradient(145deg, rgba(192, 120, 138, 0.18), rgba(255, 255, 255, 0.04))),
    rgba(255, 255, 255, 0.045);
  background-position: center;
  background-size: cover;
}

.build-card.large {
  grid-row: span 2;
  min-height: 536px;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.tile.reveal.is-visible:hover {
  z-index: 5;
  transform: translateY(-38px) scale(1.058);
}

.latest-card.reveal.is-visible:hover {
  z-index: 5;
  transform: translateY(-26px) scale(1.036);
}

.writing-row.reveal.is-visible:hover {
  z-index: 5;
  transform: translateX(14px);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ambient-bg {
    display: none;
  }
}

@media (max-width: 940px) {
  .home-branch-page {
    overflow: auto;
  }

  .home-branch-page .nav-preview-image {
    background-size: cover;
  }

  .home-explorer {
    min-height: 100svh;
    padding: clamp(16px, 4vw, 34px);
  }

  .home-plaque {
    width: min(260px, calc(100vw - 28px));
    min-height: 96px;
    padding: 12px;
  }

  .home-plaque h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .explorer-tree {
    width: min(560px, calc(100vw - 34px));
    padding-left: 0;
  }

  .explorer-toggle,
  .explorer-child {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .explorer-toggle strong {
    font-size: clamp(1.12rem, 5vw, 2rem);
  }

  .explorer-child strong {
    font-size: clamp(0.82rem, 3vw, 1rem);
  }

  .site-header {
    position: relative;
    width: min(var(--max), calc(100% - 36px));
    height: auto;
    margin: 18px auto 0;
    pointer-events: auto;
  }

  main,
  .site-footer {
    padding-left: 0;
  }

  .brand {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 18px;
  }

  .branch-shell {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .branch-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 1.06rem;
  }

  .branch-nav a {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px 10px 10px 0;
  }

  .post-grid,
  .music-board,
  .project-wall,
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .photo-mosaic .photo-tile:nth-child(n) {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .latest-large,
  .latest-tall,
  .latest-small,
  .latest-wide,
  .latest-grid .latest-card:nth-child(n) {
    grid-column: span 1;
    grid-row: auto;
    min-height: 260px;
  }

  .latest-large h3,
  .latest-tall h3,
  .latest-wide h3,
  .latest-small h3 {
    font-size: clamp(1.35rem, 4vw, 2.5rem);
  }

  .post-card.wide,
  .build-card.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .writing-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .home-explorer {
    padding: 12px;
  }

  .home-plaque {
    top: 10px;
    left: 10px;
    width: min(190px, calc(100vw - 20px));
    min-height: 68px;
    padding: 8px;
  }

  .home-plaque p,
  .home-plaque span {
    font-size: 0.62rem;
  }

  .home-plaque h1 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
    line-height: 0.88;
  }

  .explorer-kicker {
    bottom: calc(100% + 42px);
    margin-bottom: 10px;
    font-size: 0.62rem;
  }

  .explorer-tree {
    width: min(360px, calc(100vw - 28px));
    padding-left: 0;
  }

  .explorer-toggle,
  .explorer-child {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 28px;
    gap: 8px;
    padding: 1px 0;
  }

  .explorer-toggle span,
  .explorer-child span,
  .explorer-child em {
    font-size: 0.58rem;
  }

  .explorer-toggle strong {
    font-size: clamp(1rem, 6.2vw, 1.46rem);
  }

  .explorer-child strong {
    font-size: clamp(0.76rem, 3.7vw, 0.92rem);
  }

  .explorer-child em {
    grid-column: 2;
    margin-top: -2px;
  }

  .explorer-toggle strong,
  .explorer-child strong {
    word-break: break-word;
  }

  .explorer-toggle:hover,
  .explorer-toggle:focus-visible,
  .explorer-toggle[aria-expanded="true"],
  .explorer-child:hover,
  .explorer-child:focus-visible {
    transform: translateX(6px);
  }

  .explorer-branch.is-open .explorer-child:hover,
  .explorer-branch.is-open .explorer-child:focus-visible {
    transform: translateX(6px);
  }

  .explorer-children {
    left: 40px;
    width: min(310px, calc(100vw - 70px));
    padding-left: 14px;
  }

  .explorer-toggle::before,
  .explorer-child::before {
    left: -20px;
    width: 14px;
  }

  .explorer-toggle:hover::before,
  .explorer-toggle:focus-visible::before,
  .explorer-toggle[aria-expanded="true"]::before,
  .explorer-child:hover::before,
  .explorer-child:focus-visible::before {
    width: 24px;
  }

  .site-header {
    padding-top: 0;
  }

  .brand {
    justify-self: center;
    grid-template-columns: 64px 1fr;
    min-height: 104px;
    padding: 12px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .brand-title {
    font-size: 2rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    padding-top: 0;
  }

  .branch-shell {
    padding-left: 18px;
  }

  .branch-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-slideshow {
    min-height: 680px;
  }

  .post-grid,
  .music-board,
  .project-wall {
    grid-template-columns: 1fr;
  }

  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(118px, auto));
  }

  .photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-mosaic .photo-tile:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 2 / 1.2;
  }

  .latest-grid .latest-card:nth-child(1),
  .latest-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 270px;
  }

  .latest-grid .latest-card:nth-child(2),
  .latest-tall {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 240px;
  }

  .latest-grid .latest-card:nth-child(3),
  .latest-grid .latest-card:nth-child(5),
  .latest-grid .latest-card:nth-child(7),
  .latest-small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 118px;
  }

  .latest-grid .latest-card:nth-child(4),
  .latest-grid .latest-card:nth-child(6),
  .latest-grid .latest-card:nth-child(8),
  .latest-wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 118px;
  }

  .tile {
    min-height: 232px;
  }

  .button,
  .contact-row a {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 940px) {
  body:not(.home-branch-page) main {
    padding: clamp(18px, 5vw, 34px);
  }

  .section-branch-page main {
    padding: 0;
  }

  body:not(.home-branch-page) .shell {
    width: min(100%, calc(100vw - 36px));
    margin-inline: auto;
  }

  body:not(.home-branch-page) .page-hero {
    padding-top: clamp(58px, 12vh, 110px);
  }

  body:not(.home-branch-page) .page-hero h1 {
    font-size: clamp(3rem, 14vw, 6.2rem);
  }

  body:not(.home-branch-page) .tile-grid,
  body:not(.home-branch-page) .music-board,
  body:not(.home-branch-page) .project-wall,
  body:not(.home-branch-page) .writing-list {
    grid-template-columns: 1fr;
  }

  body:not(.home-branch-page) .tile,
  body:not(.home-branch-page) .writing-row {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 16px 0 16px 28px;
  }

  body:not(.home-branch-page) .tile-label,
  body:not(.home-branch-page) .post-date,
  body:not(.home-branch-page) .writing-row span {
    grid-column: 1;
    grid-row: auto;
  }

  .section-explorer-page {
    min-height: 100svh;
    padding: clamp(16px, 4vw, 34px);
  }

  .section-explorer {
    width: min(560px, calc(100vw - 34px));
  }

  .section-option {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .section-option strong {
    font-size: clamp(0.96rem, 3.4vw, 1.34rem);
  }
}

@media (max-width: 620px) {
  body:not(.home-branch-page) .nav-preview-image {
    filter: blur(10px) saturate(0.78) contrast(1.08);
    transform: scale(1.08) translateZ(0);
  }

  body:not(.home-branch-page) .page-hero h1 {
    font-size: clamp(2.45rem, 16vw, 4.4rem);
  }

  body:not(.home-branch-page) .article-body p,
  body:not(.home-branch-page) .article-body li {
    font-size: 1.08rem;
    line-height: 1.76;
  }

  body:not(.home-branch-page) .tile h2,
  body:not(.home-branch-page) .tile h3,
  body:not(.home-branch-page) .writing-row h2 {
    font-size: clamp(1.45rem, 9vw, 2.75rem);
  }

  .section-plaque {
    width: min(210px, calc(100vw - 20px));
    min-height: 76px;
  }

  .section-plaque h1 {
    font-size: clamp(1.4rem, 7vw, 2.1rem);
  }

  .section-explorer {
    width: min(360px, calc(100vw - 28px));
  }

  .section-option {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 30px;
    gap: 8px;
    padding: 2px 0;
  }

  .section-option span,
  .section-option em {
    font-size: 0.58rem;
  }

  .section-option em {
    grid-column: 2;
    margin-top: -2px;
  }

  .section-option strong {
    font-size: clamp(0.82rem, 4vw, 1rem);
    word-break: break-word;
  }

  .section-option::before {
    left: -20px;
    width: 14px;
  }

  .section-option.is-active::before,
  .section-option:hover::before,
  .section-option:focus-visible::before {
    width: 24px;
  }
}

body.post-page .nav-preview-image {
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
  transform: translateZ(0);
}

body.post-page .page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5.8vw, 4.8rem);
  line-height: 0.95;
}

@media (max-width: 620px) {
  body.post-page .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.35rem);
  }
}

body.post-page:not(.home-branch-page) .nav-preview-image {
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
  transform: translateZ(0);
}

body.post-page:not(.home-branch-page) .page-hero h1 {
  max-width: 760px;
  font-size: clamp(1.05rem, 2.9vw, 2.4rem);
  line-height: 0.95;
}

.nav-preview-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle 102vmax at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(244, 250, 246, 0.48),
      rgba(168, 199, 185, 0.26) 34%,
      rgba(168, 199, 185, 0.1) 58%,
      transparent 76%
    );
  filter: blur(68px);
  mix-blend-mode: screen;
  opacity: 1;
  transform: translateZ(0);
  will-change: background;
}

.nav-preview-bg::after {
  z-index: 2;
}

.nav-preview-image {
  z-index: 0;
}

:where(
  .site-header,
  .brand,
  .brand-mark,
  .home-plaque,
  .corner-home,
  .button,
  .contact-row a,
  .tile,
  .latest-card,
  .writing-row,
  .photo-tile,
  .section-option,
  .explorer-toggle,
  .explorer-child,
  .explorer-children,
  .article-body,
  .post-detail
) {
  border: 0 !important;
  box-shadow: none !important;
}

:where(.home-plaque, .corner-home, .button, .contact-row a) {
  background: transparent !important;
  backdrop-filter: none !important;
}

:where(
  .branch-shell,
  .latest-section,
  .split-section,
  .section,
  .latest-grid,
  .photo-mosaic
) {
  border: 0 !important;
}

:where(
  .branch-shell,
  .branch-nav a,
  .explorer-toggle,
  .explorer-child,
  .section-option,
  .tile,
  .writing-row
)::before,
:where(.tile)::after {
  display: none !important;
}

:where(.nav-links a, .branch-nav a) {
  border: 0 !important;
}

:where(.section-option, .explorer-child, .explorer-toggle, .corner-home) {
  touch-action: manipulation;
}

.explorer-branch.is-open .explorer-child,
.section-option {
  min-height: 54px !important;
  padding-block: 10px !important;
  transform: none !important;
  pointer-events: auto !important;
}

.explorer-branch.is-open .explorer-child.is-active,
.section-option.is-active {
  z-index: 20;
}

.home-branch-page .home-plaque {
  pointer-events: auto;
}

body.post-page:not(.home-branch-page) .page-hero h1 {
  max-width: 620px;
  font-size: clamp(1.05rem, 2.9vw, 2.4rem);
  line-height: 1;
}

body.post-page:not(.home-branch-page) .article-body p,
body.post-page:not(.home-branch-page) .article-body li {
  font-size: clamp(0.94rem, 1.45vw, 1.08rem);
  line-height: 1.76;
}

.photo-detail-media {
  width: min(100%, 980px);
  max-height: 72vh;
  display: block;
  object-fit: contain;
}

@media (max-width: 620px) {
  body.post-page:not(.home-branch-page) .page-hero h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  body.post-page:not(.home-branch-page) .article-body p,
  body.post-page:not(.home-branch-page) .article-body li {
    font-size: 0.96rem;
  }
}
