@charset "UTF-8";
/*!
Theme Name: Paul Phung 2025
Text Domain: pp
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Paul Phung. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 0.0.66
License: All rights reserved
*/
@font-face {
  font-family: SourceSerif;
  src: url(./assets/SourceSerif4-Variable.woff2) format("woff2-variations");
  font-display: block;
  font-weight: 200 900;
  font-style: normal;
}
@font-face {
  font-family: SourceSerif;
  src: url(./assets/SourceSerif4-Italic-Variable.woff2) format("woff2-variations");
  font-display: block;
  font-weight: 200 900;
  font-style: italic;
}
:root {
  --ratio: 1.3;
  --black: #0b0b0c;
  --white: white;
  --gray: rgb(100, 100, 100);
  --ms-0: 1rem;
  --serif: "SourceSerif", Georgia, serif;
  --baseline: calc(var(--ms-0) * 1.35);
  --padding-x: calc(var(--ms-0) * 1);
  --padding-y: calc(var(--ms-0) * 0.8);
  --header-height: calc(var(--ms-0) * 5);
  --bullet-width: 10px;
  --fast: 150ms;
  --slow: 450ms;
}
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  :root {
    --ms-0: 0.85rem;
  }
}

.mobile-slider {
  scrollbar-width: none;
}
.mobile-slider::-webkit-scrollbar {
  display: none;
}

.slider__index, .colophon__toggle, .bio__toggle, .projects-list button, .projects-list__item.active .projects__title {
  mix-blend-mode: var(--blend-mode);
}

.bio__toggle:after, .projects-list__year:after, .projects-list__year.active .projects-list__year-toggle:after, body {
  font-family: var(--serif);
  font-size: var(--ms-0);
  font-variation-settings: "wght" 350;
  line-height: var(--baseline);
  text-rendering: optimizeLegibility;
  letter-spacing: 0.0075em;
  font-feature-settings: "liga" 1, "onum" 1;
  -webkit-hyphens: auto;
          hyphens: auto;
}
.bio__toggle:after a, .projects-list__year:after a, .projects-list__year.active .projects-list__year-toggle:after a, body a {
  text-decoration: none;
}

.bio__toggle, .projects-list__year.active .projects-list__year-toggle, .projects-list__item.active .projects__title, .colophon__toggle.active .label, .toggle-mode strong {
  font-variation-settings: "wght" 650;
  letter-spacing: 0;
}

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

html {
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd {
  font-weight: inherit;
  font-size: inherit;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:target {
  scroll-margin-block: 5ex;
}

button,
textarea,
select,
input,
a {
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  text-transform: inherit;
  word-spacing: inherit;
  letter-spacing: inherit;
}

/*!
Theme Name: Paul Phung 2025
Text Domain: pp
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Paul Phung. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 0.0.66
License: All rights reserved
*/
html,
body {
  overflow: hidden;
  max-height: 100svh;
}

body {
  font-size: var(--ms-0);
  background: var(--background-color);
  color: var(--text-color);
}

.screen-reader-text {
  font-size: 0 !important;
  position: absolute;
  left: -9999px;
}

::-moz-selection {
  background-color: var(--text-color);
  color: var(--background-color);
}

::selection {
  background-color: var(--text-color);
  color: var(--background-color);
}

a,
button {
  color: inherit;
}

:focus-visible {
  outline: 0;
}

/*!
Theme Name: Paul Phung 2025
Text Domain: pp
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Paul Phung. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 0.0.66
License: All rights reserved
*/
button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site__content {
  padding: var(--padding-y) var(--padding-x);
}
@media (min-width: 800px) {
  .site__content {
    text-align: justify;
    line-height: 1.35;
  }
}

.site__header {
  display: contents;
}

.site__gradient-container {
  position: fixed;
  z-index: 500;
  left: -1000%;
  bottom: 0;
  display: flex;
}
.site__gradient {
  width: 100%;
  height: 6px;
}

.site__gradient-hand {
  position: absolute;
  height: 100%;
  top: 0;
  left: 30%;
  border-right: 1px solid var(--text-color);
}

.site__title {
  display: inline;
}
@media (min-width: 800px) {
  .site__title {
    display: contents;
  }
}

.bio__toggle,
.colophon__toggle,
.colophon__content {
  position: relative;
  z-index: 5000;
}

@media (min-width: 800px) {
  .bio__toggle:after {
    content: "—";
  }
}

.site__preview:after {
  content: " —";
}

.site__bio {
  display: none;
}
.site__bio * {
  display: inline;
}
.site__bio.active {
  display: inline;
  color: var(--text-color);
  mix-blend-mode: var(--blend-mode);
}
.site__bio.active:before {
  content: "—";
}
@media (min-width: 800px) {
  .site__bio.active:before {
    content: "";
  }
}
@media (min-width: 800px) {
  .site__bio.active:after {
    content: "—";
  }
}

.projects-list {
  display: none;
}
@media (min-width: 800px) {
  .projects-list {
    display: contents;
  }
}
.projects-list li {
  list-style: none;
  display: contents;
}
.projects-list button {
  display: inline-block;
  position: relative;
  z-index: 5000;
}

.projects-list__year,
.projects-list__item {
  display: contents;
}

.projects-list__year:after {
  content: "—";
}
.projects-list__year:last-of-type:after {
  content: "";
}
.projects-list__year.active .projects-list__year-toggle:after {
  content: " —";
}
.projects-list__year.active .projects-list-projects {
  display: contents;
}
.projects-list__year.active:after {
  content: "";
}

.projects-list-projects {
  display: none;
}

.projects-list__item {
  vertical-align: baseline;
}
.projects-list__item.open .projects-list__bullets {
  width: calc(var(--bullet-width) * var(--count));
  opacity: 1;
}
.projects-list__item.preview.open:after {
  content: "";
}

.projects-list__bullets {
  display: contents;
  opacity: 0;
}
.projects-list__bullets li {
  display: contents;
}

.projects-list__bullet {
  font-size: 0;
  position: relative;
  display: inline-block;
  background: transparent;
  border: 0;
  width: var(--bullet-width);
  color: inherit;
  height: 1rem;
  width: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -0.1rem;
  cursor: pointer;
}
.projects-list__bullet:after {
  content: "";
  opacity: 0.8;
  width: 3px;
  height: 3px;
  border-radius: 100px;
  font-size: var(--ms-0);
  background: currentColor;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.projects-list__bullet.active:after {
  content: "×";
  font-size: 1.2rem;
  width: 1ch;
  height: 1ch;
  opacity: 1;
  background: transparent;
  transform: translateX(-50%) translateY(-50%);
  line-height: 0.5;
}

.projects__spacer {
  border: 1px solid red;
  height: 1rem;
  display: block;
  flex-grow: 999;
}

.colophon__toggle {
  display: none;
}
@media (min-width: 800px) {
  .colophon__toggle {
    display: inline;
  }
}
.colophon__content {
  display: none;
}
.colophon__content.active {
  display: inline;
  color: var(--text-color);
  opacity: 0.75;
  mix-blend-mode: var(--blend-mode);
}
.colophon__content.active:before {
  content: "—";
}
.colophon__content p {
  display: inline;
}

.site__footer {
  gap: 4em;
  right: 0;
  bottom: 0;
  padding-top: 1em;
  z-index: 9000;
  display: flex;
  position: absolute;
  padding: var(--padding-y) var(--padding-x);
  background-color: var(--background-color);
}
@media (min-width: 800px) {
  .site__footer {
    left: 0;
  }
}
.site__footer a,
.site__footer button {
  mix-blend-mode: var(--blend-mode);
}

.toggle-mode {
  display: none;
}
@media (min-width: 800px) {
  .toggle-mode {
    display: block;
  }
}

.site__menu {
  display: flex;
  list-style: none;
  gap: 1em;
}
.site__menu a {
  text-decoration: none;
}

/*!
Theme Name: Paul Phung 2025
Text Domain: pp
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Paul Phung. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 0.0.66
License: All rights reserved
*/
.home__slider {
  display: none;
  position: relative;
}
@media (min-width: 800px) {
  .home__slider {
    display: block;
  }
}

.mobile-slider {
  position: absolute;
  top: 1em;
  left: 0;
  right: 0;
  bottom: 2em;
  overflow: scroll;
  z-index: 2000;
}
.is-touch .mobile-slider {
  scroll-snap-type: x mandatory;
}
@media (min-width: 800px) {
  .mobile-slider {
    display: none;
  }
}
.mobile-slider ol {
  height: 100%;
  display: flex;
  width: auto;
  align-items: center;
  gap: var(--padding-x);
}
.mobile-slider li {
  flex-basis: 100vw;
  flex-grow: 1;
  flex-shrink: 0;
  height: 100%;
  scroll-snap-align: start;
  padding: var(--padding-x);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-slider li img {
  max-width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  opacity: 0;
  transition: var(--slow);
}
.mobile-slider li img.ready {
  opacity: 1;
}

.mobile__pagination {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 3em;
  display: flex;
  z-index: 2000;
}
.is-touch .mobile__pagination {
  pointer-events: none;
  visibility: hidden;
}
@media (min-width: 800px) {
  .mobile__pagination {
    display: none;
  }
}
.mobile__pagination button {
  flex-basis: 0;
  flex-grow: 1;
  font-size: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.slider__index {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--padding-x);
}
@media (min-width: 800px) {
  .slider__index {
    display: none;
  }
}

/*!
Theme Name: Paul Phung 2025
Text Domain: pp
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Paul Phung. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 0.0.66
License: All rights reserved
*/
.slider {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  pointer-events: none;
}
.view-mode-image .slider {
  z-index: 6000;
}

.slider__slide {
  --offset: 1vw;
  opacity: 0;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.5em;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  transition: 300ms;
}
.slider__slide.active {
  opacity: 1;
}
.slider__slide picture {
  transition: 400ms;
  transform: translateX(0);
}
.slider__slide.prev picture {
  opacity: 0;
  transform: translateX(calc(var(--offset) * -1));
}
.slider__slide.next picture {
  opacity: 0;
  transform: translateX(var(--offset));
}

.slider__caption {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 1em 0;
  z-index: 3000;
  opacity: 0;
  transition: opacity var(--fast);
  display: none;
}
@media (min-width: 800px) {
  .slider__caption {
    display: block;
  }
}
.slider__caption.active {
  opacity: 1;
}

.slider__image {
  max-width: 100%;
  max-height: calc(100vh - var(--header-height) * 3 - var(--padding-x) * 2);
  width: auto;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.slider__mask {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: all;
  z-index: 4000;
}
.slider__mask button {
  pointer-events: none;
}
.view-mode-image .slider__mask {
  z-index: 8000;
}
.view-mode-image .slider__mask button {
  pointer-events: all;
}

.slider__pagination {
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  height: 100%;
}

.slider__next,
.slider__prev {
  width: 100%;
  display: block;
  font-size: 0;
  cursor: default !important;
}

.slider__textmode-toggle {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 5000;
  font-size: 0;
}
.view-mode-text .slider__textmode-toggle {
  display: none;
}

.site__debug {
  color: rgb(255, 255, 255);
  font-family: "MD IO", "Courier New", Courier, monospace;
}

.site__debug {
  position: fixed;
  bottom: 0;
  right: 0;
  display: none;
  line-height: 1.15;
  font-size: 0.9rem;
  width: 20rem;
  overflow: hidden;
  z-index: 20000;
  text-transform: none;
  background: rgba(0, 0, 0, 0.95);
  padding: 1em;
}
.site__debug pre {
  font-family: inherit;
}
.site__debug pre:first-child {
  margin-top: 0;
}
.debug .site__debug {
  display: block;
}
.site__debug p + p {
  margin-top: 0;
}
.site__debug button {
  font-family: inherit;
  border-radius: 0;
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 0.1em 0.35em;
  cursor: pointer;
}
.site__debug button:hover, .site__debug button:focus-visible {
  background: white;
  color: black;
}

.debug .debug {
  display: block;
}

.debug__actions {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}
