:root {
  --pink: #ff76bf;
  --cream: #ffffff;
  --ink: #050505;
  --paper: #ffffff;
  --muted: rgba(5, 5, 5, 0.58);
  --line: rgba(5, 5, 5, 0.22);
  --green: #c7f263;
}

@font-face {
  font-family: "Open Sauce One";
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sauce One";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sauce One";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sauce One";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-900-normal.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Open Sauce One", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  background: var(--pink);
}

.hero-name {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 4vw, 54px);
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.mini-link,
.pdf-pill {
  width: max-content;
  min-width: 132px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #eeeeee;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase;
}

.pdf-pill {
  cursor: pointer;
}

.pdf-pill:hover,
.mini-link:hover {
  background: var(--ink);
  color: var(--pink);
}

h1 {
  margin: 0;
  padding: 24px 0 22px;
  font-size: clamp(62px, 10.2vw, 164px);
  line-height: 0.88;
  font-family: "Open Sauce One", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.085em;
  text-transform: lowercase;
}

h1 span {
  display: block;
}

.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 620px;
  padding-right: 170px;
}

.hero-intro {
  max-width: 620px;
  margin: 0 0 14px;
  font-size: clamp(16px, 1.55vw, 24px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-tags {
  max-width: 720px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.hero-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 11px;
  background: #ff9fd2;
  font-size: 12px;
  font-weight: 300;
  text-transform: lowercase;
}

.hero-letter {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-meta span,
.highlight-list span,
.skill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: lowercase;
  background: rgba(255, 255, 255, 0.18);
}

.hero-visual {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  overflow: hidden;
}

.video-card {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.portrait-video,
.print-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  display: block;
}

.video-card.original .portrait-video {
  filter: grayscale(1) contrast(1.1);
}

.video-card.pink {
  background: #ff76bf;
}

.video-card.pink .portrait-video {
  filter: grayscale(1) contrast(1.15) sepia(1) hue-rotate(265deg) saturate(2.4) brightness(1.05);
  opacity: 0.88;
  mix-blend-mode: multiply;
}

.video-card.blue {
  background: #9cc7ff;
}

.video-card.blue .portrait-video {
  filter: grayscale(1) contrast(1.22) sepia(1) hue-rotate(170deg) saturate(2.1) brightness(1.02);
  opacity: 0.9;
  mix-blend-mode: multiply;
}

.video-card.orange {
  background: #ff8a3d;
}

.video-card.orange .portrait-video {
  filter: grayscale(1) contrast(1.16) sepia(1) hue-rotate(330deg) saturate(2.7) brightness(1.06);
  opacity: 0.88;
  mix-blend-mode: multiply;
}

.print-portrait {
  display: none;
}

.pattern {
  min-height: 220px;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.flower {
  background:
    radial-gradient(ellipse at 10% 50%, var(--cream) 0 18%, transparent 19%),
    radial-gradient(ellipse at 38% 10%, var(--cream) 0 18%, transparent 19%),
    radial-gradient(ellipse at 66% 50%, var(--cream) 0 18%, transparent 19%),
    radial-gradient(ellipse at 38% 90%, var(--cream) 0 18%, transparent 19%),
    var(--ink);
}

.burst {
  background:
    repeating-conic-gradient(from 4deg at 50% 50%, var(--pink) 0 8deg, var(--ink) 8deg 14deg);
}

.soft {
  background:
    radial-gradient(ellipse at 0% 22%, var(--pink) 0 19%, transparent 20%),
    radial-gradient(ellipse at 100% 50%, var(--pink) 0 18%, transparent 19%),
    radial-gradient(ellipse at 30% 100%, var(--pink) 0 22%, transparent 23%),
    var(--cream);
}

.intro {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: clamp(56px, 8vw, 108px) clamp(22px, 6vw, 96px);
}

.panel-black {
  background: var(--ink);
  color: var(--paper);
}

.tiny {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: lowercase;
}

.intro .handwritten {
  width: max-content;
  max-width: 100%;
  margin-bottom: 34px;
  color: var(--paper);
  font-family: "Brush Script MT", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(54px, 9vw, 132px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: none;
  transform: rotate(-2deg);
  position: relative;
}

.intro .handwritten::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -3%;
  bottom: -10px;
  height: 12px;
  border-bottom: 3px solid currentColor;
  border-radius: 60%;
  transform: rotate(1deg);
  opacity: 0.9;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: stretch;
  min-height: 0;
}

.intro-copy {
  display: grid;
  align-content: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.intro-copy p {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 24px);
  line-height: 1.28;
  letter-spacing: 0;
}

.scribble-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(440px, 62vh, 760px);
  margin: 0;
  justify-self: stretch;
  transform: rotate(1.2deg);
}

.scribble-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  filter: saturate(0.92) contrast(1.03);
}

.scribble-photo::before,
.scribble-photo::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.scribble-photo::before {
  inset: -14px -13px -12px -15px;
  border: 3px solid var(--paper);
  border-radius: 47% 53% 48% 52% / 2% 4% 3% 5%;
  transform: rotate(-2.4deg);
}

.scribble-photo::after {
  inset: -21px -24px -19px -22px;
  border-left: 4px solid var(--paper);
  border-right: 3px solid var(--paper);
  border-radius: 50% 46% 55% 48% / 4% 3% 5% 2%;
  transform: rotate(2.1deg);
  opacity: 0.88;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(22px, 5vw, 78px);
}

.section-cream {
  background: var(--cream);
}

.section-pink {
  background: var(--pink);
}

.section-ink {
  background: var(--ink);
  color: var(--cream);
}

.section-heading {
  display: flex;
  justify-content: flex-start;
  margin-bottom: clamp(34px, 6vw, 78px);
}

.section-heading span {
  display: block;
  color: currentColor;
  font-size: clamp(58px, 10vw, 150px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: lowercase;
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.focus-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}

.focus-card figure {
  min-height: 190px;
  margin: 0 0 18px;
  background: var(--ink);
  filter: grayscale(1);
}

.focus-card:nth-child(1) figure {
  background:
    linear-gradient(135deg, transparent 45%, var(--cream) 45% 55%, transparent 55%),
    repeating-linear-gradient(90deg, var(--ink) 0 16px, #444 16px 32px);
}

.focus-card:nth-child(2) figure {
  background:
    repeating-conic-gradient(from 0deg, #fff 0 5deg, #111 5deg 10deg);
}

.focus-card:nth-child(3) figure {
  background:
    radial-gradient(circle at 22% 34%, var(--cream) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 68%, var(--cream) 0 13%, transparent 14%),
    var(--ink);
}

.focus-card h3,
.work-card h3,
.job h3 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.focus-card p,
.job-description {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

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

.work-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background:
    linear-gradient(to bottom, transparent 0 62%, var(--ink) 62%),
    var(--cream);
  color: var(--cream);
  border: 1px solid var(--ink);
}

.work-card small {
  color: var(--pink);
  font-weight: 800;
  text-transform: lowercase;
}

.work-card p {
  margin: 10px 0 0;
  color: var(--cream);
  font-size: 13px;
  line-height: 1.3;
}

.timeline-section {
  padding-top: 70px;
}

.timeline {
  display: grid;
}

.job {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  padding: 30px 0;
  border-top: 1px solid var(--ink);
}

.job-period,
.job-company {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: lowercase;
}

.job-company {
  margin: 10px 0 0;
}

.job-description {
  max-width: 860px;
  font-size: 17px;
}

.highlight-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
}

.stack,
.skills {
  display: grid;
  gap: 10px;
}

.education {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 16px 0;
}

.education strong {
  font-size: 14px;
  text-transform: lowercase;
}

.education span {
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.skills {
  display: flex;
  flex-wrap: wrap;
}

.skill {
  color: var(--cream);
  border-color: var(--cream);
  background: transparent;
}

.contact {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--pink);
}

.contact > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 76px);
}

.contact h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7.4vw, 120px);
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-weight: 500;
  text-transform: lowercase;
}

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.contact-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.contact-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.contact-art .burst {
  grid-row: span 2;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 920px) {
  .cards-three,
  .work-grid,
  .job,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  }

  .hero-name {
    min-height: 100vh;
    padding: 22px;
  }

  .hero-meta {
    padding-right: 0;
  }

  .hero-intro {
    margin-bottom: 18px;
  }

  .contact-art {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 22px;
  }

  .intro-copy {
    align-content: start;
  }

  .intro-copy p {
    font-size: clamp(12px, 3vw, 15px);
  }

  .scribble-photo {
    min-height: clamp(420px, 70vh, 620px);
  }

  .scribble-photo::before {
    inset: -10px -10px -9px -11px;
  }

  .scribble-photo::after {
    inset: -15px -16px -14px -15px;
  }
}

@media (max-width: 560px) {
  .hero {
    grid-template-columns: minmax(0, 1.16fr) minmax(136px, 0.84fr);
  }

  .hero-name {
    padding: 18px;
  }

  h1 {
    font-size: clamp(38px, 13.2vw, 56px);
    line-height: 0.92;
    letter-spacing: -0.07em;
  }

  .mini-link,
  .pdf-pill {
    min-width: 104px;
    min-height: 36px;
    font-size: 12px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags span {
    min-height: 25px;
    padding: 0 8px;
    font-size: 10px;
  }

  .hero-letter {
    font-size: 11px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .hero-meta {
    gap: 6px;
  }

  .hero-meta span {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 10px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 11mm;
  }

  body {
    background: #fff;
    color: #000;
  }

  .mini-link,
  .pdf-pill,
  .pattern,
  .portrait-video,
  .video-card:not(.original),
  .video-card span,
  .section-heading,
  .contact-art {
    display: none !important;
  }

  .print-portrait {
    display: block !important;
  }

  .hero,
  .intro,
  .section,
  .contact {
    min-height: 0;
    display: block;
    background: #fff !important;
    color: #000 !important;
    padding: 0 0 14px;
    page-break-inside: avoid;
  }

  .hero-name {
    min-height: 0;
    display: block;
    padding: 0;
  }

  h1 {
    font-size: 54px;
    line-height: 0.9;
    padding: 0 0 10px;
  }

  .hero-meta span,
  .highlight-list span,
  .skill,
  .contact-links a {
    color: #000;
    border-color: #000;
  }

  .hero-visual {
    display: block;
    min-height: 0;
    background: #fff;
  }

  .video-card.original {
    width: 132px;
    height: 165px;
    float: right;
    margin: 0 0 8px 14px;
  }

  .intro-grid,
  .split-section {
    display: block;
  }

  .intro-copy p,
  .intro-copy p + p,
  .contact h2 {
    font-size: 14px;
    line-height: 1.25;
  }

  .scribble-photo {
    width: 120px;
    float: right;
    margin: 0 0 8px 14px;
  }

  .scribble-photo::before,
  .scribble-photo::after {
    border-color: #000;
  }

  .cards-three,
  .work-grid {
    display: none;
  }

  .job {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #000;
  }

  .job h3 {
    font-size: 20px;
  }

  .job-description {
    font-size: 11px;
  }
}
