:root {
  --wine: #791014;
  --deep-wine: #5b0b0f;
  --ink: #3a2020;
  --paper: #fff8f2;
  --paper-2: #f8ede7;
  --blush: #f2d5d0;
  --rose: #c9827e;
  --line: rgba(121, 16, 20, 0.18);
  --muted: rgba(58, 32, 32, 0.66);
  --pad: clamp(20px, 4vw, 54px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(121,16,20,.025) 0 1px, transparent 1.2px),
    radial-gradient(circle at 76% 38%, rgba(121,16,20,.02) 0 1px, transparent 1.2px),
    var(--paper);
  background-size: 17px 17px, 23px 23px, auto;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  cursor: none;
}

::selection {
  color: var(--paper);
  background: var(--wine);
}

a {
  color: inherit;
  text-decoration: none;
}

#physics-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .58;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(0deg, rgba(91,11,15,.015) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(91,11,15,.01) 0 1px, transparent 1px 5px);
}

.site-shell {
  position: relative;
  z-index: 2;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 14px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,248,242,.9);
  border-bottom: 1px dashed rgba(121,16,20,.22);
  backdrop-filter: blur(3px);
}

.wordmark {
  display: inline-flex;
  gap: 3px;
  padding: 5px 7px;
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: .04em;
  border: 1px solid rgba(121,16,20,.2);
  background: var(--paper);
  box-shadow: 3px 3px 0 rgba(121,16,20,.07);
  transform: rotate(-1deg);
}

.wordmark span {
  color: var(--wine);
}

.nav {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font: 400 8px/1 "DM Mono", monospace;
}

.nav a {
  padding: 5px 7px;
  border: 1px solid transparent;
}

.nav a:hover {
  border-color: rgba(121,16,20,.2);
  background: var(--blush);
  transform: translate(1px, -1px) rotate(-1deg);
}

.section {
  position: relative;
  padding: 88px var(--pad) 64px;
}

.section::after {
  content: "";
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(121,16,20,.18) 0 5px, transparent 5px 9px);
}

.hero {
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,248,242,.82), rgba(255,248,242,.82)),
    repeating-linear-gradient(135deg, rgba(121,16,20,.025) 0 1px, transparent 1px 9px);
}

.hero-kicker,
.eyebrow,
.section-number,
.mini-label,
.project-topline,
.meta,
.education-date,
.footer-meta,
.hero-scribble,
.hero-ticker,
.tiny-goodbye {
  font-family: "DM Mono", monospace;
}

.hero-kicker {
  position: absolute;
  left: var(--pad);
  top: 112px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--blush);
  border: 1px solid rgba(121,16,20,.17);
  box-shadow: 2px 2px 0 rgba(121,16,20,.06);
  transform: rotate(-1deg);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
}

.hero-scribble {
  position: absolute;
  right: 25%;
  top: 125px;
  padding: 4px 6px;
  color: rgba(121,16,20,.7);
  font-size: 7px;
  border-bottom: 1px dotted rgba(121,16,20,.28);
  transform: rotate(2deg);
}

.hero-copy {
  margin-top: 36px;
}

.hero-snapshot {
  position: absolute;
  top: 35%;
  right: 28%;
  z-index: 3;

  width: clamp(190px, 19vw, 290px);
  margin: 0;
  padding: 7px;

  background: var(--paper);
  border: 1px solid rgba(121, 16, 20, 0.14);

  box-shadow:
    5px 6px 0 rgba(121, 16, 20, 0.05);

  transform: rotate(2deg);
}

.hero-snapshot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;
  object-position: center;
}

.hero-snapshot-tape {
  position: absolute;
  top: -12px;
  left: 50%;

  width: 76px;
  height: 21px;

  background: rgba(201, 130, 126, 0.58);
  border: 1px solid rgba(121, 16, 20, 0.08);

  transform: translateX(-50%) rotate(-3deg);
}

.hero-snapshot:hover {
  transform: rotate(0deg) translateY(-2px);
}

@media (max-width: 820px) {
  .hero-snapshot {
    width: 125px;
    top: 27%;
    right: 7%;
  }
}

@media (max-width: 560px) {
  .hero-snapshot {
    display: none;
  }
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 930px;
  font-size: clamp(58px, 9.5vw, 138px);
  line-height: .79;
  letter-spacing: -.065em;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-title span:first-child {
  transform: rotate(-.35deg);
}

.hero-title span:last-child {
  margin-left: 12vw;
  color: var(--wine);
  transform: rotate(.45deg);
}

.serif {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -.04em;
  text-transform: none;
}

.italic {
  font-style: italic;
}

.hero-bottom {
  width: min(510px, 68vw);
  margin: 38px 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.hero-bottom p {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  background: rgba(255,248,242,.68);
  border-left: 2px solid var(--wine);
  box-shadow: 3px 3px 0 rgba(121,16,20,.035);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font: 400 8px/1 "DM Mono", monospace;
  border: 1px dashed rgba(121,16,20,.25);
  background: rgba(255,248,242,.72);
}

.scroll-cue:hover {
  background: var(--blush);
  transform: translate(2px, 1px) rotate(1deg);
}

.arrow {
  color: var(--wine);
  font-size: 17px;
}

.orbital-label {
  position: absolute;
  z-index: 1;
  padding: 4px 6px;
  color: rgba(121,16,20,.55);
  background: rgba(255,248,242,.76);
  border: 1px solid rgba(121,16,20,.1);
  font: 300 8px/1 "DM Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.orbital-label--one {
  right: 13%;
  top: 30%;
  transform: rotate(-2deg);
}

.orbital-label--two {
  left: 7%;
  bottom: 18%;
  transform: rotate(2deg);
}

.orbital-label--three {
  right: 34%;
  bottom: 14%;
  transform: rotate(-1deg);
}

.hero-ticker {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 25px;
  padding: 6px 0;
  display: flex;
  gap: 11px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  color: rgba(121,16,20,.58);
  font-size: 7px;
  border-top: 1px dashed rgba(121,16,20,.18);
  border-bottom: 1px dashed rgba(121,16,20,.18);
}

.hero-ticker b {
  font-weight: 400;
  color: var(--rose);
}

.hero-photo {
  position: absolute;
  right: clamp(28px, 7vw, 98px);
  top: 26%;
  z-index: 4;
  width: clamp(108px, 10vw, 148px);
  margin: 0;
  padding: 7px 7px 28px;
  background: var(--paper);
  border: 1px solid rgba(121,16,20,.16);
  box-shadow: 5px 6px 0 rgba(121,16,20,.06);
  transform: rotate(3deg);
}

.hero-photo::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 16px;
  top: -10px;
  left: 50%;
  z-index: 5;
  background: rgba(201,130,126,.62);
  border: 1px solid rgba(121,16,20,.08);
  transform: translateX(-50%) rotate(-4deg);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  color: var(--wine);
  font: 400 7px/1.2 "DM Mono", monospace;
}

.section-number {
  position: absolute;
  top: 68px;
  left: var(--pad);
  padding: 3px 5px;
  color: var(--wine);
  font-size: 8px;
  background: var(--paper);
  border: 1px solid rgba(121, 16, 20, 0.13);
  box-shadow: 2px 2px 0 rgba(121, 16, 20, 0.04);
  transform: rotate(-1deg);
}

.section-heading {
  width: min(900px, 100%);
  margin: 0 auto 46px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-block;
  position: relative;
  margin: 0 0 20px;
  color: var(--wine);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: lowercase;
}

.eyebrow::after {
  content: "■ ■ ■ ■ ■ ■";
  display: block;
  margin-top: 5px;
  color: rgba(121,16,20,.18);
  font-size: 5px;
  letter-spacing: 1px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}

.about {
  background: rgba(248,237,231,.72);
}

.about-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px,.78fr) minmax(320px,1.22fr);
  gap: clamp(40px, 6vw, 75px);
  align-items: start;
}

.about-photos {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 430px;
  margin: 0 auto;
}

.photo-card {
  position: absolute;
  margin: 0;
  padding: 7px 7px 23px;
  overflow: visible;
  background: var(--paper);
  border: 1px solid rgba(121,16,20,.15);
  box-shadow: 5px 6px 0 rgba(121,16,20,.05);
}

.photo-card::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 18px;
  top: -11px;
  left: 50%;
  z-index: 5;
  background: rgba(201,130,126,.6);
  border: 1px solid rgba(121,16,20,.08);
  transform: translateX(-50%) rotate(-3deg);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-card--main {
  width: 220px;
  left: 4px;
  top: 8px;
  transform: rotate(-1.5deg);
}

.photo-card--main img {
  aspect-ratio: 4 / 5;
  object-position: center 38%;
}

.photo-card--small {
  width: 145px;
  right: 8px;
  bottom: 18px;
  transform: rotate(2.5deg);
}

.photo-card--small img {
  aspect-ratio: 3 / 4;
}

.photo-card figcaption,
.memory-photo figcaption {
  display: block;
  padding: 7px 1px 0;
  color: var(--wine);
  font: 400 7px/1.3 "DM Mono", monospace;
}

.about-copy {
  display: grid;
  gap: 24px;
}

.about-note {
  position: relative;
  width: min(100%, 300px);
  padding: 16px;
  background: var(--blush);
  border: 1px solid rgba(121,16,20,.15);
  box-shadow: 4px 4px 0 rgba(121,16,20,.05);
  transform: rotate(.5deg);
}

.about-note::after {
  content: "★";
  position: absolute;
  right: 11px;
  top: 8px;
  color: rgba(121,16,20,.35);
  font-size: 9px;
}

.about-note p {
  margin: 17px 0 0;
  font: 400 17px/1.25 "Instrument Serif", serif;
}

.mini-label {
  color: var(--wine);
  font-size: 8px;
  letter-spacing: .08em;
}

.about-body {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.72;
}

.about-body p {
  margin: 0 0 1em;
}

.experience {
  background: rgba(255,248,242,.9);
}

.experience-list {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  border: 0;
}

.experience-row {
  display: grid;
  grid-template-columns: 95px minmax(210px,.9fr) minmax(250px,1fr);
  gap: 22px;
  padding: 17px 18px;
  align-items: start;
  background: rgba(255,248,242,.76);
  border: 1px solid rgba(121,16,20,.14);
  box-shadow: 3px 3px 0 rgba(121,16,20,.035);
  transition: none;
}

.experience-row:nth-child(odd) {
  transform: rotate(-.15deg);
}

.experience-row:nth-child(even) {
  transform: rotate(.15deg);
}

.experience-row:hover {
  padding-left: 20px;
  padding-right: 16px;
  background: var(--blush);
  transform: translate(2px, -1px) rotate(-.25deg);
}

.experience-year,
.meta {
  color: var(--muted);
  font-size: 8px;
}

.experience-row h3 {
  margin: 0 0 6px;
  font: 400 clamp(20px,2vw,27px)/1 "Instrument Serif", serif;
}

.experience-desc {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.education {
  background: rgba(248,237,231,.7);
}

.education-grid {
  width: min(960px, 100%);
  margin: 0 auto;
}

.education-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
  padding: 17px 18px;
  background: rgba(255,248,242,.7);
  border: 1px dashed rgba(121,16,20,.2);
  box-shadow: 3px 3px 0 rgba(121,16,20,.035);
}

.education-card::before {
  content: "✎";
  position: absolute;
  left: -17px;
  top: 15px;
  color: rgba(121,16,20,.35);
  font-size: 10px;
}

.education-card h3 {
  margin: 8px 0 0;
  font: 400 clamp(21px,2.3vw,31px)/1 "Instrument Serif", serif;
}

.education-date {
  color: var(--muted);
  font-size: 8px;
}

.work {
  color: var(--ink);
  background:
    linear-gradient(rgba(242,213,208,.72), rgba(242,213,208,.72)),
    repeating-linear-gradient(0deg, rgba(121,16,20,.025) 0 1px, transparent 1px 14px);
}

.work .section-number,
.work .eyebrow {
  color: var(--wine);
}

.work .eyebrow::after {
  color: rgba(121,16,20,.18);
}

.work-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255,248,242,.82);
  border: 1px solid rgba(121,16,20,.18);
  box-shadow: 4px 4px 0 rgba(121,16,20,.06);
  transition: none;
}

.project-card--large {
  grid-row: span 2;
  min-height: 500px;
}

.project-card:nth-child(2) {
  transform: rotate(.25deg);
}

.project-card:nth-child(3) {
  transform: rotate(-.2deg);
}

.project-card::before {
  content: "";
  position: absolute;
  width: 38px;
  height: 11px;
  right: 20px;
  top: -6px;
  background: rgba(201,130,126,.42);
  transform: rotate(3deg);
}

.project-card:hover {
  background: var(--paper);
  transform: translate(-1px, -2px) rotate(.2deg);
  box-shadow: 6px 6px 0 rgba(121,16,20,.075);
}

.project-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: rgba(58,32,32,.55);
  font-size: 8px;
}

.project-visual {
  flex: 1;
  min-height: 180px;
  margin-bottom: 15px;
}

.project-card h3 {
  margin: 0 0 5px;
  color: var(--wine);
  font: 400 24px/1 "Instrument Serif", serif;
}

.project-card > p {
  margin: 0;
  max-width: 500px;
  color: rgba(58,32,32,.72);
  font-size: 10.5px;
  line-height: 1.55;
}

.project-card a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.project-card a:hover {
  color: var(--deep-wine);
  text-decoration-style: wavy;
}

.browser-mockup {
  height: 100%;
  padding: 9px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(121,16,20,.13);
  transform: rotate(-.45deg);
}

.browser-bar {
  height: 23px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 3px 7px;
  border-bottom: 1px dashed rgba(121,16,20,.18);
}

.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
  opacity: .4;
}

.browser-body {
  height: calc(100% - 23px);
  padding: 28px clamp(16px,3vw,40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.browser-small {
  color: var(--wine);
  font: 400 8px/1 "DM Mono", monospace;
}

.browser-body strong {
  margin: 9px 0 24px;
  color: var(--wine);
  font: 400 clamp(42px,6vw,82px)/.9 "Instrument Serif", serif;
  letter-spacing: -.05em;
}

.fake-lines {
  width: 70%;
  display: grid;
  gap: 7px;
}

.fake-lines i {
  height: 1px;
  background: rgba(58,32,32,.18);
}

.fake-lines i:nth-child(2) { width: 78%; }
.fake-lines i:nth-child(3) { width: 86%; }
.fake-lines i:nth-child(4) { width: 52%; }

.poster-mockup {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--deep-wine);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 5px, transparent 5px 10px),
    var(--rose);
  border: 1px solid rgba(121,16,20,.13);
  font: 500 clamp(28px,3.5vw,48px)/1 "Instrument Serif", serif;
}

.personal-strip {
  position: relative;
  z-index: 2;
  padding: 50px var(--pad);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 40%),
    var(--blush);
  border-top: 1px dashed rgba(121,16,20,.18);
  border-bottom: 1px dashed rgba(121,16,20,.18);
}

.personal-strip__inner {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .72fr 1fr;
  gap: 28px;
  align-items: center;
}

.memory-photo {
  position: relative;
  margin: 0;
  padding: 7px 7px 23px;
  background: var(--paper);
  border: 1px solid rgba(121,16,20,.15);
  box-shadow: 5px 6px 0 rgba(121,16,20,.05);
}

.memory-photo::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 18px;
  top: -11px;
  left: 50%;
  z-index: 5;
  background: rgba(201,130,126,.62);
  border: 1px solid rgba(121,16,20,.08);
  transform: translateX(-50%) rotate(-2deg);
}

.memory-photo:last-child::before {
  transform: translateX(-50%) rotate(2.5deg);
}

.memory-photo:first-child {
  transform: rotate(-1deg);
}

.memory-photo:last-child {
  transform: rotate(1.2deg);
}

.memory-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.memory-copy p {
  margin: 0;
  font: 400 clamp(18px,1.8vw,25px)/1.12 "Instrument Serif", serif;
}

.contact {
  min-height: 58vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(255,248,242,.9), rgba(255,248,242,.9)),
    repeating-linear-gradient(90deg, rgba(121,16,20,.022) 0 1px, transparent 1px 18px);
}

.contact-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.contact-note {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.email {
  margin-top: 34px;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--wine);
  border-bottom: 1px dashed rgba(121,16,20,.25);
  font: 400 clamp(13px,1.4vw,18px)/1 "DM Mono", monospace;
}

.email:hover {
  padding-left: 6px;
}

.footer-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-links a {
  --tag-rotation: -.7deg;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px 9px 22px;
  color: var(--wine);
  background: var(--paper);
  border: 1px solid rgba(121,16,20,.18);
  box-shadow: 3px 3px 0 rgba(121,16,20,.05);
  font: 400 7px/1 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
  transform: rotate(var(--tag-rotation));
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(121,16,20,.28);
  border-radius: 50%;
  background: var(--paper-2);
  transform: translateY(-50%);
}

.footer-links a:nth-child(2n) { --tag-rotation: .6deg; }
.footer-links a:nth-child(3n) { --tag-rotation: -1deg; }

.footer-links a:hover {
  color: var(--paper);
  background: var(--wine);
  transform: translate(1px,-2px) rotate(0deg);
}

.footer-meta {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tiny-goodbye {
  margin: 22px 0 0;
  color: rgba(121,16,20,.5);
  font-size: 7px;
  transform: rotate(-.3deg);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.tilt-card {
  transform-style: flat;
}

.cursor {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%,-50%);
}

.cursor-ring {
  width: 15px;
  height: 15px;
  border: 1px dashed rgba(91,11,15,.48);
  border-radius: 2px;
}

.cursor-dot {
  width: 3px;
  height: 3px;
  background: var(--wine);
}

body.cursor-hover .cursor-ring {
  width: 19px;
  height: 19px;
  background: rgba(121,16,20,.04);
}

@media (max-width: 900px) {
  .hero-photo {
    right: 4vw;
    top: 24%;
    width: 115px;
  }

  .hero-scribble {
    right: 20%;
  }
}

@media (max-width: 820px) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 50px;
  }

  .nav a:nth-child(2),
  .nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-title {
    font-size: clamp(50px, 15vw, 92px);
  }

  .hero-title span:last-child {
    margin-left: 0;
  }

  .hero-bottom {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-photo {
    right: 22px;
    top: 21%;
    width: 95px;
  }

  .hero-scribble {
    display: none;
  }

  .about-grid,
  .experience-row,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .about-photos {
    width: min(340px,100%);
    height: 390px;
  }

  .photo-card--main {
    width: 200px;
  }

  .photo-card--small {
    width: 130px;
  }

  .experience-row {
    gap: 9px;
  }

  .education-card::before {
    display: none;
  }

  .personal-strip__inner {
    grid-template-columns: 1fr;
  }

  .memory-copy {
    order: -1;
  }

  .project-card,
  .project-card--large {
    min-height: 360px;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-photo {
    top: auto;
    bottom: 88px;
    width: 84px;
  }

  .hero-ticker {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
html,
body{
  scrollbar-width:auto;
  scrollbar-color:#d9aeb2 #fff8f0;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width:16px;
  height:16px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
  background:#fff8f0;
  border-left:1px solid #791014;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  background:#ffd9dc;

  border-top:2px solid #fff8f0;
  border-left:2px solid #fff8f0;

  border-right:2px solid #791014;
  border-bottom:2px solid #791014;

  border-radius:0;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover{
  background:#efb7bd;
}
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button{
  width:16px;
  height:16px;
  background:#ffd9dc;

  border-top:2px solid #fff8f0;
  border-left:2px solid #fff8f0;

  border-right:2px solid #791014;
  border-bottom:2px solid #791014;
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner{
  background:#fff8f0;
}
.live-site-preview {
  position: relative;
  flex: 1;
  min-height: 520px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(121, 16, 20, 0.14);
  margin-bottom: 16px;
}

.live-site-preview iframe {
  width: 160%;
  height: 160%;
  border: 0;

  transform: scale(0.625);
  transform-origin: top left;

  background: var(--paper);
}

.live-site-link {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;

  padding: 6px 8px;

  background: rgba(255, 248, 242, 0.94);
  color: var(--wine);

  border: 1px solid rgba(121, 16, 20, 0.18);

  font: 400 7px/1 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-site-link:hover {
  background: var(--wine);
  color: var(--paper);
}
.art-preview {
  position: relative;
  overflow: hidden;
  padding: 6px;
  background: var(--paper);
  border: 1px solid rgba(121, 16, 20, 0.14);
}

.art-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.art-preview::after {
  content: "from the archives";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 6px;
  color: var(--wine);
  background: rgba(255, 248, 242, 0.9);
  border: 1px solid rgba(121, 16, 20, 0.15);
  font: 400 6px/1 "DM Mono", monospace;
  transform: rotate(-1deg);
}
.hero-memory {
  position: absolute;
  left: 8%;
  bottom: 5%;
  width: clamp(150px, 15vw, 220px);
  margin: 0;
  padding: 6px 6px 22px;

  background: #fffaf6;
  border: 1px solid rgba(121, 16, 20, 0.13);
  box-shadow: 5px 6px 0 rgba(121, 16, 20, 0.05);

  transform: rotate(-3deg);
  z-index: 3;
}

.hero-memory img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-memory-tape {
  position: absolute;
  top: -10px;
  left: 50%;

  width: 60px;
  height: 18px;

  background: rgba(190, 112, 108, 0.48);
  border: 1px solid rgba(121, 16, 20, 0.07);

  transform: translateX(-50%) rotate(2deg);
}

.writing-excerpt {
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  padding: 22px 28px;
  margin-bottom: 15px;

  background:
    radial-gradient(circle at 18% 22%, rgba(121, 16, 20, 0.035) 0 1px, transparent 1.2px),
    radial-gradient(circle at 73% 41%, rgba(91, 11, 15, 0.025) 0 1px, transparent 1.2px),
    radial-gradient(circle at 38% 78%, rgba(121, 16, 20, 0.02) 0 1px, transparent 1.1px),
    #fffaf5;

  background-size:
    19px 19px,
    27px 27px,
    23px 23px;

  border: 1px solid rgba(121, 16, 20, 0.12);
  box-shadow: inset 0 0 28px rgba(121, 16, 20, 0.025);
}

.writing-excerpt p {
  max-width: 88%;
  margin: 0;

  color: #4a3030;

  font-family: "Instrument Serif", serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
}

.project-card .writing-excerpt {
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
}

.project-card:has(.writing-excerpt) {
  min-height: 0;
}

@media (max-width: 820px) {
  .project-card:has(.writing-excerpt) {
    min-height: 0;
  }
}