@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

@font-face {
  font-family: "Geist";
  src: url("./font/geist/Geist-Variable.woff2") format("woff2-variations"),
    url("./font/geist/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./font/geist/Geist-Italic[wght].woff2") format("woff2-variations"),
    url("./font/geist/Geist-Italic[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./font/geist-mono/GeistMono-Variable.ttf") format("truetype"),
    url("./font/geist-mono/GeistMono-Variable.woff2") format("woff2-variations"),
    url("./font/geist-mono/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./font/geist-mono/GeistMono-Italic[wght].ttf") format("truetype"),
    url("./font/geist-mono/GeistMono-Italic[wght].woff2") format("woff2-variations"),
    url("./font/geist-mono/GeistMono-Italic[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}




:root {
  --bg: #f3ead2;
  --bg-rgb: 243, 234, 210;
  --txt: #17100d;
  --txt-rgb: 23, 16, 13;
  --txt8: rgba(23, 16, 13, 0.7);
  --muted: rgba(23, 16, 13, 0.36);
  --surface: rgba(255, 250, 239, 0.66);
  --line: rgba(57, 42, 29, 0.12);
  --clay: #c96442;
  --clay-soft: #e9b9a2;
  --sage: #7f8f6c;
  --cream: #fff8e8;
  font-family: "Geist", sans-serif !important;
}



*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  scrollbar-width: none !important;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: inherit !important;
}

a {
  all: unset;
  cursor: pointer;
}

*::-webkit-scrollbar {
  display: none !important;
}

*:focus {
  outline: none !important;
}

html {
  line-height: 1;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--txt);
  scrollbar-width: none !important;
  -ms-overflow-style: none;
  transition:
    background-color .55s ease,
    color .55s ease;
}

html.is-section,
html.is-section body {
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}



.filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}



.sticker-wrap {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  z-index: 3;
  cursor: pointer;
  pointer-events: auto;
  --avoid-y: 0px;
  margin-top: var(--avoid-y);
  transition: margin-top 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: margin-top;
  
  opacity: 0;
  visibility: hidden;
}


.s1,
.s3 {
  flex-direction: row;
}


.s2,
.s4 {
  flex-direction: row-reverse;
}


.s1 {
  top: 9%;
  left: 9%;
}


.s2 {
  top: 30%;
  right: 9%;
}


.s3 {
  top: 60%;
  left: 9%;
}


.s4 {
  top: 79%;
  right: 9%;
}





.sticker {
  position: relative;
  width: 156px;
  height: 156px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
  text-decoration: none;
  cursor: pointer;
  pointer-events: none;
  filter: drop-shadow(0 0 .5rem rgba(23, 16, 13, .3));
  will-change: transform;
}

@keyframes line-wobble {
  0% {
    filter: url(#wobble-1);
  }

  34% {
    filter: url(#wobble-2);
  }

  67% {
    filter: url(#wobble-3);
  }
}

@keyframes pill-wobble {
  0% {
    filter: url(#pill-wobble-1);
  }

  34% {
    filter: url(#pill-wobble-2);
  }

  67% {
    filter: url(#pill-wobble-3);
  }
}

@keyframes logo-wobble {
  0% {
    filter: url(#logo-wobble-1);
  }

  34% {
    filter: url(#logo-wobble-2);
  }

  67% {
    filter: url(#logo-wobble-3);
  }
}

@keyframes face-sway {
  0% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}



.sticker svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  transform-origin: center;
  animation: line-wobble 0.75s steps(1, end) infinite;
  will-change: filter;
}



.sticker-label {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--txt);
  white-space: nowrap;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}


.s1 .sticker-label,
.s3 .sticker-label {
  translate: 16px 0;
}


.s2 .sticker-label,
.s4 .sticker-label {
  translate: -16px 0;
}


body.explored .s1 .sticker-label {
  transition-delay: 0.00s;
}

body.explored .s2 .sticker-label {
  transition-delay: 0.07s;
}

body.explored .s3 .sticker-label {
  transition-delay: 0.14s;
}

body.explored .s4 .sticker-label {
  transition-delay: 0.21s;
}

body.explored .sticker-label {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
  animation: line-wobble 0.75s steps(1, end) infinite;
}

body:not(.explored) .sticker-wrap:hover .sticker-label,
body:not(.explored) .sticker-wrap.is-hover .sticker-label {
  opacity: .5;
  pointer-events: auto;
}



#hero {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.explored #hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
  pointer-events: none;
  user-select: none;
  width: 100%;
  padding: 0 2rem;
}

#name-wrap {
  display: grid;
  place-items: center;
  width: 100%;
}

.hero-name {
  grid-column: 1;
  grid-row: 1;
  line-height: 1.05;
  color: var(--txt);
}

#fullname,
.about-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -.15rem;
  line-height: 1.1;
  opacity: 0;
  visibility: hidden;
}

#info-btn {
  pointer-events: auto;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--bg);
  background: var(--txt);
  padding: .7rem 1.5rem;
  border-radius: 10rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: background .2s ease, transform .2s ease;
}

#info-btn:hover {
  background: rgba(23, 16, 13, 0.82);
  transform: translateY(-1px);
}



.lang-pill {
  display: inline-block;
  width: 2em;
  height: 1em;
  border-radius: 1rem;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  flex-shrink: 0;
  background: rgba(23, 16, 13, 0.06);
  border: 1px solid rgba(23, 16, 13, 0.1);
}

.lang-pill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: .4rem;
  color: var(--txt);
  opacity: .92;
  pointer-events: none;
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-pill-img svg {
  display: block;
  width: 100%;
  height: 100%;
}

body.section {
  padding: 1rem;
  position: relative;
  min-height: 100%;
  height: 100%;
  background: var(--bg);
}

.section-header,
.section-header-compact {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  max-width: 28rem;
  margin: 0 auto;
  color: var(--txt);
  background: transparent;
  box-shadow: 0 0 1rem .5rem var(--bg) inset;
  border: 1px solid rgba(var(--txt-rgb), 0.1);
  padding: .75rem 1.35rem .75rem .85rem;
  border-radius: 10rem;
  backdrop-filter: blur(.1rem);
  -webkit-backdrop-filter: blur(.1rem);
  transition:
    color .55s ease,
    background-color .55s ease,
    border-color .55s ease,
    box-shadow .55s ease;
  z-index: 20;
}

.transition-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  width: min(calc(100% - 2rem), 28rem);
  margin: 0;
  translate: -50% 0;
  transform: none;
}

body.page-replacing .section-header,
body.page-replacing .section-header-compact {
  box-shadow: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.header-shadow-suppressed .section-header,
body.header-shadow-suppressed .section-header-compact,
body.header-shadow-suppressed .note-content-logo,
body.header-shadow-suppressed .section-header-compact .menu-back {
  box-shadow: none !important;
  transition-property: color, background-color, border-color !important;
}



.logo,
.note-content-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.logo img,
.note-content-logo img {
  width: auto;
  height: 1rlh;
  cursor: pointer;
  overflow: visible;
  animation: logo-wobble 0.62s steps(1, end) infinite;
}

.menus {
  display: flex;
  gap: 1.2rem;
  font-weight: 400;
}

.menu,
.menu-back {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  letter-spacing: -.05rem;
  font-size: 1rem;
  line-height: 1;
  transition: color .55s ease;
}

.menu.active,
.menu-back.active {
  font-weight: 600;
}

.about-main {
  width: min(1120px, calc(100% - 2rem));
  min-height: calc(100% - 6rem);
  margin: 0 auto;
  position: relative;
  padding: 0 0 2rem;
}

.about-copy {
  position: absolute;
  top: 38%;
  left: 50%;
  translate: -50% -50%;
  width: min(42rem, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  padding: 0 1rem;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}

.about-copy a {
  pointer-events: auto;
}

.face {
  width: 5rem;
  height: auto;
  animation:
    line-wobble 0.75s steps(1, end) infinite,
    face-sway 3s steps(1, end) infinite;
  transform-origin: center;
}

.about-title {
  font-size: 1.5rem;
  letter-spacing: -.1rem;
}

.about-description {
  max-width: 25rem;
  margin: 0 auto;
  line-height: 1.3;
  letter-spacing: -0.04rem;
  font-style: italic;
}

.about-description.contact {
  font-style: normal;
  font-weight: 500;
}

.about-gravity {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 1;
}

.about-gravity canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  pointer-events: auto;
  z-index: 3;
}

.about-matter-pill {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 999px;
  padding: .85rem 1.4rem;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  color: var(--txt);
  background: transparent;
  border: 2px solid var(--txt);
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.05rem;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: transform;
  z-index: 2;
  animation: pill-wobble 1s steps(1, end) infinite;
}

.about-pill-icon {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  flex: 0 0 auto;
  pointer-events: none;
}

.about-pill-text {
  display: block;
  pointer-events: none;
}

body.note-content {
  overflow-y: scroll !important;
}

.section-header-compact {
  box-shadow: none;
  width: fit-content;
  backdrop-filter: none;
  background: none;
  border: none;
  padding: 0;
}

.note-content-logo {
  background: transparent;
  box-shadow: 0 0 1rem .5rem var(--bg) inset;
  border: 1px solid rgba(var(--txt-rgb), 0.1);
  padding: .75rem 1rem;
  border-radius: 10rem;
  backdrop-filter: blur(.1rem);
  -webkit-backdrop-filter: blur(.1rem);
}

.section-header-compact .menu-back {
  background: transparent;
  box-shadow: 0 0 1rem .5rem var(--bg) inset;
  border: 1px solid rgba(var(--txt-rgb), 0.1);
  padding: .75rem 1.2rem .75rem 1rem;
  border-radius: 10rem;
  white-space: pre;
  backdrop-filter: blur(.1rem);
  -webkit-backdrop-filter: blur(.1rem);
}

.notes-main {
  padding: 1rem 0;
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.note {
  padding: .75rem;
  cursor: pointer;
}

.note.note-content {
  padding: 0;
  cursor: default;
}

.note-header {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.05rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  margin: 4rem 0 2.75rem;
}

.note-header.note-content {
  margin-bottom: 0;
  font-size: 1.75rem;
  font-weight: 700;
  gap: 1rem;
}

.note-icon {
  height: 4.5rem;
  animation: line-wobble 0.75s steps(1, end) infinite;
}

.note-header-text.note-content {
  line-height: 1.2;
  padding: 0 1rem;
  letter-spacing: -.075rem;
}

.notes-preview {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.075rem;
  height: 3.25lh;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to bottom, #fff 20%, transparent);
}

.notes-preview.note-content {
  height: auto;
  mask-image: none;
  font-size: 1.05rem;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  letter-spacing: -.035rem;
}

.notes-preview.note-content .note-info {
  font-size: 1rem;
  text-align: center;
}

.notes-content {
  color: var(--muted);
}

.notes-preview.note-content .notes-content {
  color: var(--txt);
  font-family: "Source Serif 4", serif !important;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  line-height: 1.5;
  margin: 0;
  white-space: normal;
}

.notes-preview.note-content .notes-content:not([data-markdown-rendered="true"]) {
  opacity: 0;
  visibility: hidden;
}

.notes-preview.note-content .notes-content :where(p, h2, h3, h4, ul, ol, blockquote, pre) {
  margin: 0;
}

.notes-preview.note-content .notes-content>*:not(pre):not(.code-block-wrapper) {
  padding: 0 1rem;
}

.notes-preview.note-content .notes-content :where(ul, ol) {
  padding-left: 2.25rem;
}

.notes-preview.note-content .notes-content :where(strong, b) {
  font-weight: 600;
}

.notes-preview.note-content .notes-content a {
  text-decoration: underline;
  text-underline-offset: .14em;
}

.notes-preview.note-content .notes-content :where(h2, h3, h4) {
  font-family: "Geist", sans-serif !important;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.25;
  letter-spacing: -.03em;
}

.notes-preview.note-content .notes-content h2 {
  font-size: 1.35rem;
  margin-top: 1.4rem;
}

.notes-preview.note-content .notes-content h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

.notes-preview.note-content .notes-content blockquote {
  border-left: 3px solid var(--clay);
  padding-left: 1rem;
  color: var(--txt8);
  font-style: italic;
}


.notes-preview.note-content .notes-content .code-block-wrapper {
  position: relative;
  width: 100%;
  margin: 0.5rem 0;
}


.notes-preview.note-content .notes-content .code-block-lang {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  font-family: "Geist", sans-serif !important;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--txt8);
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.55;
  z-index: 5;
  pointer-events: none;
}


.notes-preview.note-content .notes-content pre.code-block {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  overflow: scroll;
  width: 100%;
  margin: 0;
  font-family: "Geist Mono", monospace !important;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "wght" 400;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--txt);
}

.notes-preview.note-content .notes-content pre.code-block,
.notes-preview.note-content .notes-content pre.code-block * {
  font-family: "Geist Mono", monospace !important;
  font-style: normal;
}

.notes-preview.note-content .notes-content pre.code-block code {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  white-space: pre;
}

.notes-preview.note-content .notes-content pre.code-block :where(strong, b, .hl-keyword) {
  font-weight: 600;
  font-variation-settings: "wght" 600;
}


.notes-preview.note-content .notes-content code:not(pre.code-block code) {
  background: rgba(23, 16, 13, 0.06);
  border: 1px solid rgba(23, 16, 13, 0.1);
  padding: 0 .25rem;
  border-radius: 0.25em;
  font-family: "Geist Mono", monospace !important;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "wght" 400;
  font-size: 0.9em;
}


.hl-comment {
  color: var(--muted);
  font-style: italic;
}

.hl-string {
  color: #557856;
}

.hl-keyword {
  color: var(--clay);
  font-weight: 600;
}

.hl-builtin {
  color: #3b749d;
}

.hl-number {
  color: #b57a3d;
}


.note-info {
  font-weight: 500;
  margin-top: .25rem;
  letter-spacing: -.05rem;
  color: var(--txt8);
}

.notes-preview.note-content .note-info {
  margin: 0;
}

body.gallery-section {
  --bg: #17100d;
  --bg-rgb: 23, 16, 13;
  --txt: #f3ead2;
  --txt-rgb: 243, 234, 210;
  --txt8: rgba(243, 234, 210, 0.72);
  --muted: rgba(243, 234, 210, 0.42);
  --surface: rgba(243, 234, 210, 0.08);
  --line: rgba(243, 234, 210, 0.14);
  --gallery-placeholder: #2a211d;
  overflow-y: auto !important;
  padding: 1rem 0;
}

html.is-gallery,
html.is-projects {
  background: #17100d;
}


body.to-gallery,
body.to-projects {
  --bg: #17100d;
  --bg-rgb: 23, 16, 13;
  --txt: #f3ead2;
  --txt-rgb: 243, 234, 210;
  --txt8: rgba(243, 234, 210, 0.72);
  background-color: #17100d;
  color: #f3ead2;
}

body.to-gallery .section-header,
body.to-gallery .transition-header,
body.to-projects .section-header,
body.to-projects .transition-header {
  color: #f3ead2;
  background-color: rgba(23, 16, 13, 0.5);
  border-color: rgba(243, 234, 210, 0.16);
}

body.gallery-section .section-header {
  width: calc(100% - 2rem);
  border-color: rgba(243, 234, 210, 0.16);
  background: rgba(var(--bg-rgb), 0.5);
  box-shadow: none;
}

body.gallery-lightbox-open {
  overflow: hidden !important;
}

body.projects-section {
  --bg: #17100d;
  --bg-rgb: 23, 16, 13;
  --txt: #f3ead2;
  --txt-rgb: 243, 234, 210;
  --txt8: rgba(243, 234, 210, 0.72);
  --muted: rgba(243, 234, 210, 0.42);
  --surface: rgba(243, 234, 210, 0.08);
  --line: rgba(243, 234, 210, 0.14);
  padding: 0;
}

body.projects-section .section-header,
.project-card {
  position: fixed;
  left: 50%;
  width: min(calc(100% - 2rem), 28rem);
  margin: 0;
  translate: -50% 0;
  color: var(--txt);
  background: rgba(var(--bg-rgb), 0.5);
  box-shadow: none;
  border: 1px solid rgba(var(--txt-rgb), 0.16);
  padding: .75rem 1.35rem .75rem .85rem;
  border-radius: 10rem;
  backdrop-filter: blur(.1rem);
  -webkit-backdrop-filter: blur(.1rem);
}

body.projects-section .section-header {
  top: 1rem;
  transition:
    color .55s ease,
    background-color .55s ease,
    border-color .55s ease,
    opacity .28s ease,
    translate .35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.projects-section.project-fullscreen>.section-header {
  translate: -50% -.5rem;
  opacity: 0 !important;
  pointer-events: none;
}

.project-compact-header.section-header-compact {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 21;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0;
  translate: -50% .5rem;
  color: var(--txt);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .35s ease,
    translate .35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .35s ease;
}

body.projects-section.project-fullscreen .project-compact-header {
  translate: -50% 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-compact-header .note-content-logo,
.project-compact-header .menu-back {
  color: var(--txt);
  box-shadow: none;
  background-color: rgba(var(--bg-rgb), 0.5);
  border-color: rgba(var(--txt-rgb), 0.16);
}

body.projects-section.project-fullscreen .projects-header {
  opacity: 0 !important;
  visibility: hidden;
}

.projects-main {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.projects-main.is-programmatic-scroll {
  scroll-snap-type: none;
}

.project-stage {
  --project-header-space: calc(1rem + 2.65rem);
  --project-header-margin-top: 5rem;
  --project-header-margin-bottom: 6rem;
  --project-header-height: 6.2rem;
  --project-inset-top: calc(var(--project-header-space) + var(--project-header-margin-top) + var(--project-header-height) + var(--project-header-margin-bottom));
  --project-inset-side: 1rem;
  --project-inset-bottom: 1rem;
  --project-radius: 1.5rem;
  --project-header-opacity: 1;
  --project-header-offset: 0px;
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.projects-header {
  position: absolute;
  top: var(--project-header-space);
  left: 50%;
  z-index: 0;
  translate: -50% var(--project-header-offset);
  opacity: var(--project-header-opacity);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.05rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  margin: var(--project-header-margin-top) 0 var(--project-header-margin-bottom);
  transition: opacity .1s linear;
  will-change: translate, transform, opacity;
}

.projects-icon {
  height: 4.5rem;
  filter: brightness(0) invert(1);
  animation: line-wobble 0.75s steps(1, end) infinite;
}

.project-media {
  position: absolute;
  z-index: 1;
  top: var(--project-inset-top);
  right: var(--project-inset-side);
  bottom: var(--project-inset-bottom);
  left: var(--project-inset-side);
  overflow: hidden;
  border-radius: var(--project-radius);
  will-change: top, right, bottom, left, border-radius;
}

.project-scroll-step {
  width: 100%;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card {
  bottom: 1rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  translate: -50% .5rem;
  opacity: 0;
  line-height: 1.3;
  letter-spacing: -.03rem;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .35s ease,
    translate .35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .35s ease;
  backdrop-filter: blur(.2rem);
  -webkit-backdrop-filter: blur(.2rem);
}

body.projects-section.project-fullscreen .project-card {
  translate: -50% 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-name {
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.project-url {
  font-weight: 400;
  color: var(--txt8);
}

.project-languages {
  color: var(--txt8);
}

.gallery-main {
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
}

.gallery-header {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.05rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  margin: 5rem 0 6rem;
}

.gallery-icon {
  height: 4.5rem;
  animation: line-wobble 0.75s steps(1, end) infinite;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
}

.gallery-card {
  --gallery-accent-rgb: 42, 33, 29;
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  transform: translateY(0) scale(1);
  transition:
    transform .45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .45s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-.28rem) scale(1.01);
}

.gallery-card:active {
  transform: translateY(-.08rem) scale(.995);
}

.gallery-photo-box {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition:
    border-color .32s ease,
    background-color .32s ease;
}

.gallery-photo-placeholder,
.gallery-thumb-placeholder,
.gallery-lightbox-placeholder {
  position: absolute;
  inset: 0;
}

.gallery-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity .75s ease,
    transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card.is-loaded .gallery-photo.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.gallery-card.is-loaded:not(.is-placeholder) .gallery-photo-placeholder {
  opacity: 0;
  background: transparent;
}

.gallery-card.is-loaded:not(.is-placeholder) .gallery-photo-box {
  background: transparent;
}

.gallery-card.is-placeholder .gallery-photo {
  display: none;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox {
  --gallery-lightbox-bg: rgb(31, 24, 21);
  --gallery-panel-bg: rgba(31, 24, 21, 0.5);
  --gallery-panel-border: rgba(255, 255, 255, 0.16);
  --gallery-accent-rgb: 42, 33, 29;
  --gallery-thumb-height: clamp(3.45rem, 8vh, 5rem);
  --gallery-title-height: 2.35rem;
  --gallery-title-gap: .65rem;
  --gallery-footer-bottom: 1rem;
  --gallery-control-gap: clamp(.75rem, 2vh, 1.5rem);
  --gallery-header-space: clamp(5.5rem, 10vh, 7rem);
  --gallery-footer-space: calc(var(--gallery-footer-bottom) + var(--gallery-thumb-height) + var(--gallery-control-gap));
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
  overflow: hidden;
  background-color: var(--gallery-lightbox-bg);
  color: #f7f1e6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .32s ease,
    visibility .32s ease,
    background-color .58s ease;
}

.gallery-lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.18);
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-header.section-header-compact {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0 auto;
  translate: none;
  transform: translateY(.5rem);
  color: #f7f1e6;
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(0.22, 1, 0.36, 1),
    color .58s ease;
}

.gallery-lightbox.is-chrome-visible .gallery-lightbox-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gallery-lightbox .note-content-logo,
.gallery-lightbox .menu-back {
  color: var(--txt);
  box-shadow: none;
  background-color: var(--gallery-panel-bg);
  border-color: var(--gallery-panel-border);
  transition:
    background-color .58s ease,
    border-color .58s ease,
    color .58s ease,
    backdrop-filter .58s ease,
    -webkit-backdrop-filter .58s ease;
}

.gallery-lightbox-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--gallery-header-space) clamp(1rem, 3vw, 2.5rem) var(--gallery-footer-space);
}

.gallery-lightbox-frame {
  position: relative;
  width: min(100%, 72rem);
  height: 100%;
  max-height: calc(100vh - var(--gallery-header-space) - var(--gallery-footer-space));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gallery-title-gap);
}

.gallery-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100% - var(--gallery-title-height) - var(--gallery-title-gap));
  object-fit: contain;
  opacity: 0;
  box-shadow: 0 1.6rem 4rem rgba(var(--gallery-accent-rgb), 0.38);
  transform: translateZ(0);
  will-change: opacity;
  backface-visibility: hidden;
  transition: opacity .5s ease;
}

.gallery-lightbox-image.is-loaded {
  opacity: 1;
  box-shadow: 0 1.6rem 4rem rgba(var(--gallery-accent-rgb), 0.38);
  transform: translateZ(0);
}


.gallery-lightbox.is-zooming .gallery-lightbox-image {
  opacity: 0;
}

.gallery-zoom-clone {
  position: fixed;
  margin: 0;
  z-index: 90;
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

.gallery-lightbox-placeholder {
  position: relative;
  width: min(64vmin, 44rem);
  max-height: calc(100% - var(--gallery-title-height) - var(--gallery-title-gap));
  box-shadow: 0 1.6rem 4rem rgba(var(--gallery-accent-rgb), 0.38);
}

.gallery-lightbox.has-photo .gallery-lightbox-placeholder,
.gallery-lightbox:not(.has-photo) .gallery-lightbox-image {
  display: none;
}

.gallery-lightbox-footer {
  position: fixed;
  left: 50%;
  bottom: var(--gallery-footer-bottom);
  z-index: 3;
  width: min(66rem, calc(100% - 2rem));
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f7f1e6;
}

.gallery-lightbox-title {
  min-height: var(--gallery-title-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  text-align: center;
}

.gallery-lightbox-title-text {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.035rem;
  color: var(--txt);
}

.gallery-lightbox-date {
  color: var(--txt8);
  font-size: .75rem;
  line-height: 1.2;
  font-weight: 550;
  font-family: "Geist Mono", monospace !important;
}

.gallery-slider {
  --gallery-arrow-size: 2rem;
  width: min(28rem, calc(100vw - 2rem));
  max-width: 28rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 0;
  border-radius: .45rem;
  background: transparent;
}

.gallery-slider-arrow {
  flex: 0 0 auto;
  width: var(--gallery-arrow-size);
  height: var(--gallery-arrow-size);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--txt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition:
    background-color .24s ease,
    opacity .24s ease;
}

.gallery-slider-arrow:hover,
.gallery-slider-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.gallery-filmstrip {
  width: auto;
  min-width: 0;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
  gap: .35rem;
  overflow-x: auto;
  overflow-y: hidden;
  overflow-anchor: none;
  scroll-behavior: auto;
  scrollbar-width: none;
  contain: layout paint;
}

.gallery-thumb {
  --thumb-ratio: 1;
  position: relative;
  flex: 0 0 auto;
  width: clamp(.9rem, 2.4vw, 1.35rem);
  height: var(--gallery-thumb-height);
  overflow: hidden;
  border-radius: .35rem;
  border: none;
  background: var(--thumb-color, var(--gallery-placeholder, #2a211d));
  padding: 0;
  cursor: pointer;
  opacity: .62;
  transform: translateY(0) scale(1);
  contain: layout paint;
  will-change: width, opacity;
  backface-visibility: hidden;
  transition:
    width .42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .28s ease,
    transform .28s ease,
    border-color .28s ease;
}

.gallery-thumb img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: opacity .5s ease;
}

.gallery-thumb img.is-loaded {
  opacity: 1;
}

.gallery-thumb.is-loaded:not(.is-placeholder) .gallery-thumb-placeholder {
  opacity: 0;
  background: transparent;
}

.gallery-thumb.is-active {
  width: clamp(2.4rem, calc(var(--thumb-ratio) * var(--gallery-thumb-height)), 18rem);
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(var(--gallery-accent-rgb), 0.95);
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  opacity: 1;
}

@media (max-width: 1000px) {
  .sticker {
    width: 120px;
    height: 120px;
  }

  .sticker-wrap {
    gap: 1.5rem;
  }

  .about-title {
    max-width: 100%;
  }

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

@media (max-width: 650px) {
  .sticker {
    width: 100px;
    height: 100px;
  }

  #fullname {
    font-size: 2.75rem;
  }

  .sticker-label {
    font-size: 2rem;
  }

  .sticker-wrap {
    gap: 1rem;
  }

  .sticker svg {
    animation-duration: 0.75s;
  }

  .about-main {
    width: 100%;
    min-height: calc(100% - 5rem);
    padding: 0 0 1rem;
  }

  .about-copy {
    top: 34%;
  }

  .about-gravity {
    width: 100%;
    height: 100%;
  }

  .about-matter-pill {
    padding: .75rem 1.1rem;
    gap: .5rem;
  }

  .gallery-main {
    padding-bottom: 2.5rem;
  }

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

  .gallery-lightbox-stage {
    padding: var(--gallery-header-space) 1rem var(--gallery-footer-space);
  }

  .gallery-lightbox-frame {
    max-height: calc(100vh - var(--gallery-header-space) - var(--gallery-footer-space));
  }

  .gallery-slider-arrow {
    --gallery-arrow-size: 1.85rem;
  }

  .gallery-filmstrip {
    max-width: none;
  }
}

@media (max-width: 530px) {
  .sticker {
    width: 90px;
    height: 90px;
  }
}



@media (prefers-reduced-motion: reduce) {

  .sticker svg,
  body.explored .sticker-label {
    animation: none;
  }

  html,
  body,
  .gallery-card,
  .gallery-photo,
  .gallery-lightbox,
  .gallery-lightbox-header,
  .gallery-lightbox-image,
  .gallery-slider-arrow,
  .gallery-thumb,
  .gallery-thumb img {
    transition: none;
  }
}
