@font-face {
  font-family: Montserrat;
  src: url("/fonts/montserrat-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: Manrope, sans-serif;
  color: #f7f7f7;
  background: #30302f;
  letter-spacing: 0;
  font-synthesis: none;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #88b499;
  outline-offset: 4px;
}
svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke-width: 1.6;
}
.viewer {
  width: 100%;
  min-width: 0;
  height: 100dvh;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  overflow: hidden;
}
.viewer.has-toolbar {
  grid-template-rows: 58px minmax(0, 1fr) 60px;
}
.site-nav {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  background: #a24041;
  border-bottom: 1px solid #8b3536;
  font-size: 12px;
}
.site-brand {
  color: #f7f7f7;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  color: #f0dedf;
  overflow: hidden;
}
.site-nav nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.admin-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #f0dedf;
  border-radius: 4px;
}
.admin-link svg {
  width: 16px;
  height: 16px;
}
.site-nav nav a::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}
.site-nav nav a:hover,
.admin-link:hover {
  background: #ffffff12;
  color: #f7f7f7;
}
.site-nav nav a[aria-current="page"] {
  color: #f7f7f7;
}
.site-nav nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.processing-banner {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(520px, calc(100% - 32px));
  padding: 10px 14px;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  background: #212120e8;
  color: #f7f7f7;
  box-shadow: 0 10px 30px #0004;
  font-size: 12px;
  line-height: 1.35;
  transform: translateX(-50%);
}
.processing-banner svg {
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}
.stage {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #30302f;
  touch-action: pan-y pinch-zoom;
}
.portfolio-scroll {
  display: block;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: none;
  overflow-anchor: auto;
  scrollbar-width: thin;
  scrollbar-color: #777 #30302f;
}
.portfolio-scroll > .document-page,
.portfolio-scroll > .portfolio-empty {
  min-height: 100%;
  overflow: visible;
  cursor: auto;
}
.portfolio-scroll > .portfolio-empty {
  padding: 48px 24px;
}
.portfolio-scroll > .landing-page {
  min-height: 100%;
  display: flex;
  overflow: visible;
  cursor: auto;
}
.landing-slideshow {
  height: 100%;
  min-height: 100%;
  position: relative;
  background: #30312f;
}
.landing-slideshow a {
  display: block;
  height: 100%;
}
.stage[data-cursor] > .landing-page,
.stage[data-cursor] .landing-composition,
.stage[data-cursor] .landing-slideshow a {
  cursor: inherit;
}
.landing-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s linear;
}
.landing-slideshow img.is-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .landing-slideshow img {
    transition: none;
  }
}
.portfolio-spread {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #30302f;
  overflow: hidden;
}
.portfolio-page img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 2400 / 1697;
  object-fit: contain;
}
.portfolio-empty {
  color: #f7f7f7;
  text-align: center;
}
.portfolio-empty h1 {
  margin-bottom: 0;
}
.landing-page {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #454644 url("/uploads/landing/landing-background.png") center /
    cover no-repeat;
  color: #f7f7f7;
  font-family: Montserrat, Manrope, sans-serif;
  container-type: inline-size;
}
.landing-composition {
  display: grid;
  grid-template-columns: 330fr 654fr;
  align-items: center;
  column-gap: 12%;
  width: min(100%, 1800px);
  min-height: 100%;
  margin: 0 auto;
  padding: 80px 10.7%;
  color: inherit;
}
.landing-accent {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.landing-accent::after {
  content: "";
  display: block;
  height: 16px;
  border-radius: 999px;
  background: #c64d50;
}
.landing-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 241 / 580;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.landing-copy {
  min-width: 0;
  padding-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
.landing-copy h1 {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}
.landing-copy p {
  margin: 0 0 40px;
  text-align: justify;
}
.landing-copy p:last-child {
  margin-bottom: 0;
}
.landing-copy strong {
  font-weight: 600;
}
.landing-copy .landing-invitation {
  text-align: left;
}
.landing-contact {
  margin-top: 44px;
  font-weight: 600;
}
.landing-contact h2 {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
}
.landing-contact a {
  display: block;
  width: fit-content;
  margin-top: 6px;
  cursor: pointer;
}
.landing-project-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.3%;
  aspect-ratio: 654 / 428;
}
.landing-project-strip picture {
  min-width: 0;
  min-height: 0;
}
.landing-project-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 899px) {
  .landing-composition {
    grid-template-columns: 1fr;
    width: min(100%, 700px);
    gap: 70px;
    align-content: center;
    padding: 64px 16%;
  }
  .landing-portrait {
    display: none;
  }
  .landing-copy {
    padding-bottom: 0;
    font-size: 16px;
  }
  .landing-copy p {
    text-align: left;
  }
  .landing-copy h1 {
    font-size: 20px;
  }
  .landing-introduction {
    font-size: inherit;
  }
  .landing-project-strip {
    aspect-ratio: 406 / 214;
  }
}
@media (max-width: 600px) {
  .landing-composition {
    gap: 48px;
    padding: 48px 16%;
  }
  .landing-copy {
    font-size: 14px;
    line-height: 1.5;
  }
  .landing-copy h1 {
    font-size: 18px;
    margin-bottom: 26px;
  }
  .landing-introduction {
    font-size: inherit;
    line-height: inherit;
  }
  .landing-copy p {
    margin-bottom: 30px;
  }
  .landing-accent {
    gap: 8px;
  }
  .landing-accent::after {
    height: 9px;
  }
  .landing-project-strip img {
    border-radius: 5px;
  }
  .landing-contact {
    margin-top: 32px;
  }
  .landing-contact h2 {
    font-size: 18px;
  }
}
.stage[data-cursor="next"] {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44' fill='none'%3E%3Ccircle cx='22' cy='22' r='20' fill='%23212120' fill-opacity='.78' stroke='%23f7f7f7' stroke-opacity='.55'/%3E%3Cpath d='M13 18l9 9 9-9' stroke='%23f7f7f7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      22 22,
    s-resize;
}
.stage[data-cursor="prev"] {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44' fill='none'%3E%3Ccircle cx='22' cy='22' r='20' fill='%23212120' fill-opacity='.78' stroke='%23f7f7f7' stroke-opacity='.55'/%3E%3Cpath d='M13 26l9-9 9 9' stroke='%23f7f7f7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      22 22,
    n-resize;
}
.portfolio-page {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.portfolio-stack {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}
.portfolio-stack .portfolio-page {
  width: 50%;
  height: auto;
  min-height: 0;
  flex: 1 1 0;
  object-fit: contain;
}
.portfolio-stack.single-page .portfolio-page {
  width: 100%;
  height: auto;
}
.toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: #212120;
  border-top: 1px solid #41413f;
  font-size: 12px;
}
.toolbar-left,
.toolbar-right,
.page-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.toolbar-right {
  justify-content: flex-end;
}
.toolbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}
.toolbar-contact svg {
  width: 14px;
  height: 14px;
}
.toolbar-contact:hover {
  color: #e99b9d;
}
@media (max-width: 600px) {
  .toolbar {
    grid-template-columns: 0 auto minmax(0, 1fr);
  }
}
.toolbar-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d6d6d3;
}
.icon-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  flex: none;
}
.icon-button:hover {
  background: #ffffff12;
}
button:disabled {
  opacity: 0.25;
  cursor: default;
}
dialog {
  color: #f7f7f7;
  background: #272726;
  border: 1px solid #51514e;
  border-radius: 6px;
  padding: 24px;
  max-height: 85dvh;
  box-shadow: 0 16px 80px #0005;
}
dialog::backdrop {
  background: #0009;
}
dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
dialog h2 {
  font-size: 20px;
  margin: 0;
}
.menu-dialog {
  width: 360px;
  max-width: calc(100% - 32px);
}
.menu-dialog nav {
  display: grid;
}
.menu-dialog nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  padding: 20px 0;
  border-top: 1px solid #484846;
}
.menu-dialog nav a:hover {
  color: #a4c9b3;
}
.editor-link {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  color: #bbb;
  font-size: 12px;
}
.editor-link svg {
  width: 15px;
}
.pages-dialog {
  width: 1000px;
  max-width: calc(100% - 32px);
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.page-grid button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  text-align: left;
  border-radius: 2px;
}
.page-grid button[aria-current] {
  border-color: #88b499;
}
.page-thumb {
  width: 100%;
  aspect-ratio: 1.414;
  display: flex;
  flex-direction: column;
  background: #30302f;
}
.page-grid img {
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1 1 0;
  object-fit: contain;
}
.page-grid span {
  display: block;
  padding: 8px;
  font-size: 12px;
}
.document-view {
  background: #30302f;
  color: #f7f7f7;
}
.document-view .site-nav,
.document-view .toolbar {
  color: #f7f7f7;
}
.document-page {
  overflow: auto;
  padding: 48px max(32px, calc((100% - 1000px) / 2));
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #d8a1a1;
}
h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 32px;
}
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cv-preview {
  background: #3a3a38;
  display: flex;
  justify-content: center;
  height: min(52dvh, 500px);
  padding: 16px;
}
.cv-preview img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 3px 12px #0001;
}
.cv-item > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #565650;
  font-size: 18px;
}
.cv-item:hover > span {
  color: #d8a1a1;
}
.contact-page {
  padding-top: 60px;
  display: grid;
  grid-template-columns: minmax(150px, 241px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.contact-copy {
  min-width: 0;
}
.contact-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
@media (max-width: 700px) {
  .contact-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .contact-portrait {
    width: min(180px, 60%);
    justify-self: center;
  }
}
.contact-page h1 {
  font-size: 64px;
}
@media (max-width: 820px) {
  .contact-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-portrait {
    display: none;
  }
}
.contact-intro {
  font-size: 18px;
  max-width: 580px;
  line-height: 1.6;
}
.muted {
  color: #c5c5bd;
  font-size: 14px;
  line-height: 1.6;
}
.contact-links {
  margin-top: 32px;
  max-width: 700px;
}
.contact-links a {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 20px;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #565650;
  align-items: center;
}
.contact-links a > span {
  font-size: 12px;
  color: #c5c5bd;
}
.contact-links strong {
  font-weight: 400;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.fallback-page,
.load-error {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 32px;
  background: #30302f;
  color: #f7f7f7;
  text-align: center;
}
.fallback-page h1,
.load-error h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(32px, 7vw, 72px);
}
.fallback-page p:not(.eyebrow),
.load-error p:not(.eyebrow) {
  max-width: 420px;
  margin: 0;
  color: #c5c5bd;
  font-size: 15px;
  line-height: 1.6;
}
.load-error a {
  color: #f0a0a0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  .site-nav nav {
    justify-content: center;
  }
  .site-nav nav a {
    padding: 8px 10px;
  }
  .viewer {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .viewer.has-toolbar {
    grid-template-rows: auto minmax(0, 1fr) 60px;
  }
  .toolbar {
    padding: 0 8px;
    gap: 4px;
  }
  .toolbar-name {
    display: none;
  }
  .toolbar-left,
  .toolbar-right,
  .page-controls {
    gap: 2px;
  }
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-page {
    padding: 32px 24px;
  }
  h1 {
    font-size: 30px;
  }
  .cv-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .cv-preview {
    height: 45dvh;
  }
  .contact-page h1 {
    font-size: 48px;
  }
  .contact-links a {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 8px;
  }
  .contact-links a > span {
    grid-column: 1/-1;
  }
  .contact-links strong {
    font-size: 16px;
  }
}
@media (max-width: 820px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 0;
    padding: 8px 10px;
  }
  .site-brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }
  .site-nav nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .site-nav nav a {
    min-width: 0;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 2px;
    font-size: clamp(8px, 2.25vw, 11px);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }
  .admin-link {
    grid-column: 2;
    grid-row: 1;
    width: 30px;
    height: 30px;
  }
  .processing-banner {
    top: 116px;
  }
  .viewer {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .viewer.has-toolbar {
    grid-template-rows: auto minmax(0, 1fr) 54px;
  }
  .stage {
    padding: 0;
  }
  .portfolio-page {
    max-width: 100%;
  }
  .portfolio-stack {
    padding: 0;
    flex-direction: column;
  }
  .portfolio-stack .portfolio-page {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: none;
    object-fit: contain;
  }
  .toolbar {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
  }
  .document-page {
    width: 100%;
    padding: 28px 18px;
  }
}
@media (max-height: 500px) and (min-width: 601px) {
  .viewer.has-toolbar {
    grid-template-rows: 48px minmax(0, 1fr) 48px;
  }
  .site-nav {
    min-height: 48px;
  }
  .document-page {
    padding-top: 24px;
  }
  .cv-preview {
    height: 50dvh;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
