@font-face {
  font-family: "News Gothic Local";
  src: url("Assets/Font/News%20Gothic%20MT.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Lucida Grande Local";
  src: url("Assets/Font/lucidagrande.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Lucida Grande Local";
  src: url("Assets/Font/lucidagrande_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --paper: #f6f5f0;
  --red: #f04436;
  --soft-shadow: 0 10px 24px rgba(17, 17, 17, 0.2);
  --page-pad: clamp(1.15rem, 3.5vw, 3.4rem);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "News Gothic Local", "Arial Narrow", "Helvetica Neue", sans-serif;
  background:
    linear-gradient(rgba(248, 247, 242, 0.18), rgba(248, 247, 242, 0.18)),
    url("Assets/Background%20/Texture_Of_White_Crumpled_Paper_original_1665232.jpg") center / cover fixed;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.paper-page {
  width: min(1180px, calc(100% - clamp(0.8rem, 3vw, 2rem)));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.2rem, 3.4vw, 3.2rem);
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: flex-start;
}

.brand {
  color: var(--red);
  font-family: "Lucida Grande Local", "News Gothic Local", sans-serif;
  font-size: clamp(2.1rem, 5.25vw, 4.43rem);
  font-weight: 700;
  line-height: 0.85;
  text-decoration: none;
  text-transform: uppercase;
}

.hello-card a:hover,
.hello-card a:focus-visible {
  color: var(--red);
}

.intro {
  display: grid;
  grid-template-columns: minmax(118px, 0.4fr) minmax(210px, 270px) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 3.2vw, 3.05rem);
  width: min(930px, 100%);
  min-height: 350px;
  margin-left: clamp(0.4rem, 2.2vw, 2rem);
  padding: clamp(4.2rem, 8vw, 5.7rem) 0 clamp(2.2rem, 4.5vw, 3.2rem);
}

.stool-note {
  position: relative;
  align-self: start;
  padding-top: clamp(0.6rem, 2.3vw, 1.85rem);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.stool-note p {
  margin: 0 0 0.7rem;
}

.note-arrow {
  display: block;
  position: absolute;
  top: clamp(2.15rem, 4.5vw, 3.35rem);
  left: clamp(1.9rem, 3.7vw, 3.05rem);
  width: clamp(3.7rem, 7vw, 5rem);
  height: clamp(1.8rem, 3.4vw, 2.45rem);
  transform: rotate(34deg);
  transform-origin: left center;
}

.note-arrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  content: "";
  border-top: 4px solid var(--ink);
}

.note-arrow::after {
  position: absolute;
  right: -0.15rem;
  top: calc(50% - 0.45rem);
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  border-right: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-45deg);
}

.portrait {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 999px;
  background: #111;
  box-shadow: var(--soft-shadow);
}

.portrait::after {
  position: absolute;
  inset: -9px;
  content: "";
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: inherit;
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: inherit;
  filter: grayscale(1) contrast(1.08);
}

.hello-card {
  max-width: 323px;
  justify-self: start;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.23;
  text-align: center;
}

.hello-card p {
  margin: 0;
}

.hello-card p + p {
  margin-top: 1.2rem;
}

.hello-card a {
  text-decoration: none;
}

.portfolio-section {
  padding: clamp(2.1rem, 6vw, 4.7rem) clamp(0.1rem, 2vw, 3rem) 0;
}

.portfolio-section h1 {
  margin: 0;
  font-family: "Lucida Grande Local", "News Gothic Local", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1;
  text-transform: uppercase;
}

.section-note {
  margin: 0.5rem 0 clamp(1.4rem, 3vw, 2.1rem);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.section-role {
  margin: 0.5rem 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.media-tile {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 1rem;
  background: #111;
  box-shadow: 0 12px 22px rgba(20, 20, 20, 0.18);
  text-decoration: none;
}

.media-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-tile:hover img,
.media-tile:focus-visible img {
  transform: scale(1.045);
}

.video-link,
.passfire-link {
  cursor: pointer;
}

.poster-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 697px) auto;
  align-items: center;
  gap: clamp(0.5rem, 2.2vw, 1.6rem);
  justify-content: center;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 260ms ease;
}

.carousel-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: clamp(0.85rem, 2.7vw, 2.3rem) clamp(1rem, 4.25vw, 3.5rem);
  flex: 0 0 100%;
}

.carousel-arrow {
  width: clamp(2.2rem, 5vw, 3.8rem);
  height: clamp(3rem, 7vw, 5.2rem);
  padding: 0;
  border: 0;
  color: var(--ink);
  font: 700 clamp(3rem, 7vw, 5.2rem) / 1 "News Gothic Local", sans-serif;
  background: transparent;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  color: var(--red);
}

.poster-tile {
  aspect-ratio: 2 / 3;
}

.poster-devil img {
  object-position: center top;
}

.documentary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(1.8rem, 6vw, 5.5rem);
  align-items: start;
  padding-top: 1rem;
}

.doc-piece {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.doc-copy {
  max-width: 340px;
}

.doc-copy h2 {
  margin: 0;
  font-family: "News Gothic Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1;
}

.doc-copy p {
  margin: 0.35rem 0 0;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.1;
}

.doc-copy .role-label {
  margin-top: 0.35rem;
}

.heart-copy {
  justify-self: end;
  max-width: 440px;
  text-align: right;
}

.doc-tile {
  aspect-ratio: 16 / 8.6;
}

.music-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.wide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: clamp(1rem, 2.6vw, 1.8rem);
  padding-top: clamp(1.1rem, 2.4vw, 1.6rem);
}

.wide-tile {
  aspect-ratio: 16 / 8.2;
}

.art-section {
  padding-bottom: clamp(1rem, 3vw, 3rem);
}

.markdown-section {
  width: min(850px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.markdown-entry + .markdown-entry {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.markdown-entry h1,
.markdown-entry h2,
.markdown-entry h3 {
  margin: 0 0 0.7rem;
  font-family: "Lucida Grande Local", "News Gothic Local", sans-serif;
  line-height: 1.05;
  text-transform: uppercase;
}

.markdown-entry h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.markdown-entry h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.markdown-entry h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }

.markdown-entry p,
.markdown-entry li,
.markdown-entry blockquote {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.25;
}

.markdown-entry p {
  margin: 0 0 1rem;
}

.markdown-entry ul {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.markdown-entry blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
}

.markdown-entry img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 620px;
  margin: 1.2rem auto;
  border: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: 1rem;
}

.markdown-entry a {
  text-underline-offset: 0.15em;
}

.art-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  width: min(1090px, 100%);
  margin: 0 auto;
  padding-top: clamp(2.4rem, 5vw, 3.8rem);
}

.art-top-row {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr 1.12fr 0.94fr 1.48fr;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  align-items: end;
}

.art-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: 1rem;
  background: transparent;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.16);
  text-decoration: none;
}

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

.art-face {
  aspect-ratio: 1.36 / 1;
}

.art-building {
  aspect-ratio: 0.7 / 1;
}

.art-butterfly {
  aspect-ratio: 1.34 / 1;
}

.art-room {
  aspect-ratio: 0.78 / 1;
}

.art-shoe {
  aspect-ratio: 1.55 / 1;
}

.drawing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 3.2vw, 2.4rem);
  width: min(880px, 86%);
  margin: 0 auto;
  align-items: end;
}

.drawing-tile {
  width: 100%;
  aspect-ratio: 1.36 / 1;
}

.art-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.4rem);
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.art-track {
  display: flex;
  transition: transform 260ms ease;
}

.art-page {
  display: block;
  flex: 0 0 100%;
}

.art-card {
  width: min(75%, 640px);
  min-width: 0;
  margin: 0;
  margin-inline: auto;
}

.art-card .art-tile {
  width: 100%;
  min-height: 0;
  border-radius: 1rem;
  background: transparent;
}

.art-card .art-tile img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.art-card figcaption {
  margin-top: 0.6rem;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.1;
  text-align: center;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1200px;
}

.lightbox-media {
  flex: 0 1 900px;
  width: 900px;
  max-width: calc(100vw - 8rem);
}

.lightbox-frame {
  width: 100%;
  height: 506px;
  max-height: calc(100vh - 8rem);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

.lightbox-caption {
  margin: 0.7rem 0 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.1;
  text-align: center;
}

.lightbox-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-close {
  position: absolute;
  top: clamp(0.7rem, 2vw, 1.5rem);
  right: clamp(0.9rem, 2.5vw, 2rem);
  z-index: 1;
  color: #fff;
  border: 0;
  font: 400 2.5rem / 1 "News Gothic Local", sans-serif;
  background: transparent;
  cursor: pointer;
}

.lightbox-nav {
  width: clamp(2rem, 4vw, 3.4rem);
  padding: 0;
  color: #fff;
  border: 0;
  font: 700 clamp(2.5rem, 5vw, 4rem) / 1 "News Gothic Local", sans-serif;
  background: transparent;
  cursor: pointer;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--red);
}

.lightbox-nav[hidden] {
  visibility: hidden;
}

@media (max-width: 820px) {
  .paper-page {
    width: calc(100% - 1rem);
  }

  .site-header,
  .intro {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: 0;
    margin-left: 0;
    padding-top: 2.3rem;
  }

  .stool-note {
    display: none;
  }

  .portrait {
    width: min(76vw, 330px);
    justify-self: center;
  }

  .hello-card {
    justify-self: center;
  }

  .portfolio-section {
    padding-inline: 0;
  }

  .poster-carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .carousel-page {
    grid-template-columns: repeat(2, minmax(105px, 1fr));
    gap: 1rem;
  }

  .documentary-grid,
  .wide-grid {
    grid-template-columns: 1fr;
  }

  .heart-copy {
    justify-self: start;
    text-align: left;
  }

  .art-grid {
    width: 100%;
  }

  .lightbox-dialog {
    gap: 0.15rem;
  }

  .art-top-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .art-shoe {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 420px);
  }

  .drawing-row {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: clamp(2rem, 11.25vw, 3rem);
  }

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

  .art-top-row,
  .drawing-row {
    grid-template-columns: 1fr;
  }
}
