/* Illustrated portfolio — amber, ink, and hand-drawn details. */
/* Illustrated hero: the original amber palette, with a drawn orbital signature. */
#hero {
  min-height: max(740px, 100svh);
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 2.5rem;
}

#hero .geo {
  display: none;
}

.hero-orbit {
  position: absolute;
  width: min(112%, 1600px);
  height: 100%;
  left: 50%;
  top: -2%;
  transform: translateX(-50%);
  object-fit: contain;
  animation: orbitDrift 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-editorial {
  max-width: none;
  flex: 1;
  justify-content: flex-end;
  gap: 0;
}

.hero-name {
  position: absolute;
  top: 43%;
  left: 50%;
  width: 100%;
  text-align: center;
  font-size: clamp(5rem, 15vw, 14rem);
  letter-spacing: -0.055em;
  transform: translate(-50%, -50%) rotate(-7deg);
  animation: signatureReveal 0.9s var(--ease) both;
}

.hero-bottom-row {
  position: relative;
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

@keyframes orbitDrift {
  0%, 100% { transform: translateX(-50%) rotate(-0.6deg); }
  50% { transform: translateX(-50%) rotate(0.6deg); }
}

@keyframes signatureReveal {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 24px)) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-7deg);
  }
}

@media (max-width: 860px) {
  #hero {
    min-height: max(700px, 100svh);
    padding-bottom: 2rem;
  }

  .hero-orbit {
    width: 145%;
    top: -6%;
  }

  .hero-name {
    font-size: 17vw;
    top: 39%;
  }

  .hero-bottom-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
  }

  .hero-tagline {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .hero-meta {
    align-items: flex-end;
    font-size: 0.58rem;
    letter-spacing: 0;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  #hero {
    min-height: max(650px, 100svh);
  }

  .hero-orbit {
    width: 175%;
    top: -8%;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-meta {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
  }
}


/* Shared language: handwritten headings, technical notes, loose drawn lines. */
:root {
  --ff-hand: 'Caveat', 'Segoe Print', cursive;
  --peach: #e9c3a8;
  --sage: #c7d0b4;
}

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
:where(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1001;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.section-note {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  font: 500 .69rem var(--ff-mono);
  letter-spacing: .13em;
}
.section-word {
  position: relative;
  display: inline-block;
  font-family: var(--ff-hand);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .85;
  transform: rotate(-6deg);
}
.section-word::after {
  content: '';
  position: absolute;
  left: 2%;
  right: -8%;
  bottom: -13px;
  height: 22px;
  border-bottom: 3px solid var(--amber);
  border-radius: 50%;
  transform: rotate(-4deg);
}
.about-sub, .work-sub { font-size: .8rem; align-self: flex-end; padding-bottom: .4rem; }
.section-doodle { position: absolute; pointer-events: none; }

/* The navigation keeps the original information, with softer, physical controls. */
#navbar { border-bottom: 0; }
#navbar.on-amber { background: rgba(245, 166, 35, .94); }
#navbar.on-dark { background: rgba(26, 23, 19, .94); color: var(--cream); }
.nav-link { letter-spacing: .08em; font-size: .72rem; }
.nav-link.active { border-bottom-width: 1px; }
.nav-logo { transition: transform .25s var(--ease); }
.nav-logo:hover { transform: rotate(-12deg) scale(1.15); }
.lang-toggle { border-radius: 45% 55% 48% 52% / 50% 42% 58% 50%; }
.nav-overlay { background: var(--ink); }
.nav-overlay-link { font-family: var(--ff-hand); font-size: 3.5rem; letter-spacing: -.03em; }
.nav-overlay-link:nth-child(2n) { transform: rotate(-5deg); }
.hero-bottom-row { border-top-color: rgba(26, 23, 19, .28); }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.hero-work-link { display: inline-flex; align-items: center; gap: 1.5rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font-size: .7rem; }
.hero-work-arrow { transition: transform .25s ease; }
.hero-work-link:hover .hero-work-arrow { transform: translateY(4px); }

/* About: a personal notebook, with a sketch and a pinned toolbox. */
#about {
  padding-top: 6rem;
  padding-bottom: 8rem;
  border: 0;
  isolation: isolate;
  background: var(--cream);
}
#about::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 30px;
  background: radial-gradient(ellipse at 50% 100%, var(--cream) 70%, transparent 72%) 0 0 / 100px 30px repeat-x;
}
.about-heading-wrap { margin-bottom: 4rem; gap: 2rem; }
.about-doodle {
  top: 1rem;
  right: max(2%, calc((100% - 1250px) / 2));
  width: clamp(180px, 28vw, 350px);
  z-index: -1;
  transform: translateY(var(--drift, 0px)) rotate(5deg);
}
.about-content { grid-template-columns: 1.15fr 1fr; gap: 6rem; align-items: center; }
.about-text { font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.8; }
.about-text strong { position: relative; font-weight: 600; background: linear-gradient(transparent 63%, #f5a62366 0); }
.about-meta-row { gap: .6rem; }
.about-meta-pill { border: 0; border-bottom: 1px solid #1a171333; border-radius: 0; background: none; padding: .5rem .1rem; font-size: .68rem; }
.about-stack-card {
  position: relative;
  margin-top: 3rem;
  background: var(--peach);
  border: 1.5px solid var(--ink);
  border-radius: 5px 15px 9px 18px;
  box-shadow: 7px 8px 0 #1a1713;
  transform: rotate(2deg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.about-stack-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 10px 12px 0 #1a1713; }
.about-stack-card::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 30px;
  top: -15px;
  left: calc(50% - 50px);
  background: #f5a623ba;
  border: 1px solid #1a171318;
  transform: rotate(-6deg);
  clip-path: polygon(3% 0, 98% 5%, 95% 30%, 100% 60%, 96% 95%, 2% 100%, 4% 65%, 0 30%);
}
.stack-title { font: 700 2.2rem var(--ff-hand); margin-bottom: 1rem; }
.stack-group-title { color: var(--ink-light); font-size: .67rem; }
.tech-pill { border: 0; background: #f7f2eb73; border-radius: 4px; font-size: .72rem; padding: .35rem .55rem; }
.tech-pill:hover { transform: rotate(-3deg); }

/* Work: a dark stage and a rotating collection of actual app screens. */
#work {
  background: var(--ink);
  color: var(--cream);
  border: 0;
  padding-top: 6rem;
  padding-bottom: 5rem;
  overflow: hidden;
  isolation: isolate;
}
#work::before {
  content: '';
  position: absolute;
  width: 550px;
  height: 550px;
  right: -330px;
  top: -320px;
  border: 1px solid #f5a62350;
  border-radius: 50%;
  box-shadow: 0 0 0 22px #1a1713, 0 0 0 23px #f5a62330, 0 0 0 46px #1a1713, 0 0 0 47px #f5a62320;
  z-index: -1;
}
#work .section-note { color: var(--amber); }
#work .section-word { color: var(--amber); }
.work-title-row { align-items: center; }
.work-sub, .work-intro { color: #d9d1c6; }
.work-intro { font-size: 1rem; max-width: 570px; margin-top: 2rem; }
.work-header { margin-bottom: 2.5rem; }
.work-heading-wrap { gap: 2rem; }
.slide-counter { color: var(--amber-l); font-size: .8rem; }
.work-arrow-btn { border: 1px solid #f7f2eb66; background: transparent; color: var(--cream); width: 48px; height: 48px; }
.work-arrow-btn:hover:not(:disabled) { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: rotate(-10deg); }
.proj-slide { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 2rem 0; gap: 4rem; }
.slide-name { color: var(--cream); font-size: clamp(2.4rem, 4.5vw, 4rem); letter-spacing: -.05em; }
.slide-index { color: #d9d1c6; }
.slide-cat-badge { background: var(--amber); color: var(--ink); border: 0; transform: rotate(-3deg); border-radius: 3px; }
.slide-live-badge { color: #d0dcb4; border-color: #d0dcb466; background: transparent; }
.live-dot-pulse { background: #d0dcb4; }
.slide-os-pill { color: #d9d1c6; border: 0; background: none; }
.slide-tagline { color: var(--amber-l); font-size: 1.05rem; font-weight: 500; }
.slide-desc { color: #d9d1c6; font-size: .92rem; max-width: 48ch; }
.slide-tech-tag { background: transparent; color: #e7dfd3; border-color: #f7f2eb30; border-radius: 3px; font-size: .7rem; }
.slide-tech-tag:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.slide-link-live { background: var(--amber); color: var(--ink); border-radius: 50px; box-shadow: none; }
.slide-link-live:hover { background: var(--amber-l); color: var(--ink); box-shadow: 3px 4px 0 #f7f2eb; transform: translate(-2px, -2px) rotate(-2deg); }
.slide-link-gh { color: var(--cream); border-color: #f7f2eb70; border-radius: 50px; }
.slide-link-gh:hover { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.slide-visual { padding: 24px; }
.slide-visual::before {
  content: '';
  position: absolute;
  inset: 7% -2%;
  border-radius: 44% 56% 61% 39% / 49% 42% 58% 51%;
  background: var(--sage);
  transform: rotate(-9deg);
  animation: shapeFloat 9s ease-in-out infinite;
}
.proj-slide:nth-child(3n+2) .slide-visual::before { background: var(--peach); border-radius: 58% 42% 42% 58% / 40% 61% 39% 60%; }
.proj-slide:nth-child(3n) .slide-visual::before { background: var(--amber); }
.slide-visual::after { content: '✦'; position: absolute; top: -5px; right: -10px; color: var(--amber-l); font-size: 4.5rem; line-height: 1; animation: starTurn 18s linear infinite; pointer-events: none; }
.mockup-browser { transform: rotate(-4deg); border: 2px solid var(--ink); box-shadow: 9px 12px 0 #0003; }
.mockup-phone { transform: rotate(6deg); }
.phone-chassis { border-color: var(--ink); box-shadow: 10px 12px 0 #0003; }
.proj-zoom-hint { opacity: 1; transform: none; background: var(--ink); }
.work-footer-bar { border-top: 1px solid #f7f2eb33; padding-top: 1.5rem; }
.work-kbd-hint { color: #d9d1c6; font-size: .68rem; }
.work-kbd-hint kbd { color: var(--cream); border-color: #f7f2eb66; background: transparent; }
.slide-dot { width: 12px; height: 28px; background: transparent; position: relative; }
.slide-dot::after { content: ''; position: absolute; inset: 9px 0; background: #f7f2eb66; border-radius: 50%; }
.slide-dot.active, .slide-dot:hover { background: transparent; }
.slide-dot.active::after { background: var(--amber); border-radius: 8px; }
.project-ribbon { margin: 5rem -2.5rem 0; overflow: hidden; padding: 1.5rem 0 2rem; transform: rotate(-3deg); border-block: 1px solid #f7f2eb33; }
.project-ribbon-track { display: flex; gap: 24px; width: max-content; animation: ribbonTravel 45s linear infinite; padding-right: 24px; }
.project-ribbon:hover .project-ribbon-track, .project-ribbon:focus-within .project-ribbon-track { animation-play-state: paused; }
.ribbon-item { display: flex; flex-direction: column; gap: 12px; width: 190px; padding: 14px; border: 1px solid #f7f2eb55; border-radius: 5px; background: #302b24; text-align: left; color: var(--cream); transition: transform .25s ease, background .25s ease; }
.ribbon-item img { width: 100%; height: 160px; object-fit: contain; background: #15130f; }
.ribbon-item span { font: 500 .65rem var(--ff-mono); }
.ribbon-item:nth-child(2n) { transform: rotate(3deg); }
.ribbon-item:hover { background: #514332; transform: translateY(-8px) rotate(0); }

/* Contact: one big handwritten invitation, with the original email and socials. */
#hello { padding-top: 2rem; isolation: isolate; }
.marquee-wrapper { transform: rotate(2deg) scale(1.03); border-block: 1px solid var(--ink); padding: 1rem 0; background: var(--cream); color: var(--ink); }
.marquee-track { font-size: .8rem; letter-spacing: .07em; gap: 2rem; }
.marquee-star { color: #b96b43; }
.hello-container { max-width: 1250px; padding-top: 5rem; }
.hello-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 5rem; align-items: center; padding: 2rem 0 4rem; }
.hello-word { grid-column: 1; grid-row: 1 / 4; font-size: clamp(9rem, 20vw, 19rem); justify-self: center; padding: 2rem 0; transform: rotate(-10deg); }
.hello-word::after { inset: 5% -25%; height: auto; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-10deg); z-index: -1; }
.hello-word::before { content: '✦'; position: absolute; top: -1.2rem; right: -4rem; font: 4rem var(--ff-sans); color: var(--cream); animation: starTurn 20s linear infinite; }
.hello-sub { grid-column: 2; font-size: 1.2rem; max-width: 400px; line-height: 1.6; }
.contact-card { grid-column: 2; margin: 0; padding: 0; border: 0; background: transparent; backdrop-filter: none; box-shadow: none; max-width: none; }
.contact-email-row { gap: .8rem; }
.cta-link { font-family: var(--ff-sans); font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 600; border-bottom-width: 1px; }
.copy-email-btn { border: 1px solid var(--ink); color: var(--ink); background: none; border-radius: 50px; font-size: .65rem; padding: .45rem .8rem; }
.copy-email-btn:hover { background: var(--ink); color: var(--cream); }
.contact-actions .btn { border-radius: 50px; box-shadow: 3px 4px 0 var(--cream); transform: rotate(-3deg); }
.contact-actions .btn:hover { transform: rotate(0) translateY(-3px); }
.social-links-wrap { grid-column: 2; margin-top: 0; flex-direction: row; align-items: center; gap: 1.2rem; }
.social-label { font-size: .65rem; max-width: 130px; }
.social-links { gap: .5rem; }
.social-btn { width: 40px; height: 40px; background: none; border-color: var(--ink); }
.social-btn:hover { transform: rotate(-10deg); }
footer { border-color: #1a171340; margin-top: 2rem; padding-top: 1.5rem; font-size: .7rem; }
.back-to-top { background: var(--ink); box-shadow: 3px 4px 0 var(--amber); }
.toast-bubble { border-radius: 5px; border-color: var(--amber); }
.img-lightbox { background: #1a1713f5; }
.lightbox-close { border: 1px solid var(--amber); color: var(--amber); background: transparent; }
.lightbox-content img { border-radius: 6px; border-color: #f5a62366; }
.reveal { transition-duration: .8s; }

@keyframes shapeFloat { 0%, 100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-9px); } }
@keyframes starTurn { to { rotate: 360deg; } }
@keyframes ribbonTravel { to { transform: translateX(-50%); } }

@media (max-width: 1024px) {
  .about-content { gap: 3rem; }
  .proj-slide { gap: 2rem; }
  .hello-inner { gap: 1.5rem 3rem; }
  .hello-word { font-size: 18vw; }
}
@media (max-width: 860px) {
  #about, #work { padding: 5rem 1.5rem; }
  .section-note { margin-bottom: 2rem; font-size: .6rem; }
  .section-word { font-size: clamp(5.5rem, 18vw, 9rem); }
  .about-heading-wrap, .work-heading-wrap { gap: 1.5rem; margin-bottom: 2.5rem; }
  .about-sub, .work-sub { font-size: .7rem; }
  .about-doodle { width: 190px; right: -35px; top: 1rem; opacity: .7; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .about-bio { max-width: 600px; }
  .about-stack-card { margin: 1.5rem .5rem 1rem 0; padding: 1.8rem; max-width: 560px; }
  .work-title-row { gap: 2rem; align-items: flex-end; }
  .work-heading-wrap { margin-bottom: .5rem; }
  .work-intro { margin-top: 1.5rem; font-size: .95rem; }
  .work-nav-cluster { gap: .7rem; }
  .work-arrow-btn { width: 38px; height: 38px; }
  .proj-slide { padding: 1rem 0; }
  .proj-slide.active { display: flex; flex-direction: column-reverse; gap: 2rem; }
  .slide-visual { width: 100%; max-height: none; height: 370px; min-height: 0; padding: 25px; margin: 0; }
  .slide-visual::before { inset: 6% 8%; }
  .slide-visual::after { right: 4%; font-size: 3rem; }
  .mockup-frame { max-width: 90%; }
  .mockup-browser { width: 100%; }
  .phone-chassis { max-height: 330px; }
  .phone-screen-wrap, .phone-screen-wrap .proj-screenshot { max-height: 300px; }
  .slide-name { font-size: 2.7rem; }
  .slide-links { flex-direction: row; }
  .slide-link-live, .slide-link-gh { width: auto; padding: .8rem 1.1rem; font-size: .8rem; }
  .work-footer-bar { flex-direction: row; margin-top: 2rem; }
  .project-ribbon { margin-top: 3rem; }
  .ribbon-item { width: 155px; }
  .ribbon-item img { height: 135px; }
  .hello-container { padding-top: 4rem; }
  .hello-inner { gap: 2.5rem; grid-template-columns: 1fr; padding-top: 1rem; padding-bottom: 1rem; }
  .hello-word { grid-row: auto; grid-column: 1; font-size: clamp(8rem, 30vw, 14rem); margin: 2rem 0; }
  .hello-word::after { inset: 3% -22%; }
  .hello-word::before { right: -2rem; }
  .hello-sub, .contact-card, .social-links-wrap { grid-column: 1; }
  .hello-sub { max-width: 540px; font-size: 1.15rem; }
  .contact-email-row { flex-direction: row; align-items: center; }
  .contact-actions { flex-direction: row; }
  .contact-actions .btn { width: auto; }
  .cta-link { font-size: clamp(.85rem, 3.8vw, 1.15rem); }
  .social-links-wrap { flex-direction: row; }
  footer { margin-top: 4rem; }
}
@media (max-width: 480px) {
  .section-word { font-size: 5.5rem; }
  .about-heading-wrap { gap: 1rem; }
  .about-doodle { width: 130px; right: -25px; top: 1.5rem; }
  .about-text { font-size: 1.05rem; }
  .work-title-row { gap: 1.5rem; }
  .work-sub { display: none; }
  .slide-counter { font-size: .65rem; }
  .slide-visual { height: 320px; padding: 24px; }
  .phone-chassis { max-height: 280px; }
  .phone-screen-wrap, .phone-screen-wrap .proj-screenshot { max-height: 250px; }
  .slide-name { font-size: 2.3rem; }
  .work-kbd-hint { display: none; }
  .contact-email-row { flex-wrap: wrap; }
  .hello-word { font-size: 9rem; }
  .hero-meta { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .cursor-dot, .cursor-ring { display: none; }
  .project-ribbon { overflow-x: auto; transform: none; }
  .project-ribbon-track { width: max-content; }
  .ribbon-copy { display: none; }
  .section-doodle { transform: none; }
}

/* Preserve the hand-set angles after scroll reveals finish. */
.about-stack-card.reveal.visible { transform: rotate(2deg); }
.about-stack-card.reveal.visible:hover { transform: rotate(0deg) translateY(-4px); }
.hello-word.reveal.visible { transform: rotate(-10deg); }
:lang(en) .hello-word { font-size: clamp(8rem, 17vw, 16rem); }
@media (max-width: 860px) {
  :lang(en) .hello-word { font-size: clamp(7rem, 27vw, 12rem); }
}
@media (max-width: 480px) {
  .about-doodle { right: 8px; width: 120px; }
}

/* Distinct compositions: bold signature, quiet biography, outlined work, hand-set hello. */
#hero { position: sticky; top: 0; z-index: 0; }
#about { z-index: 1; }
#work { z-index: 2; }
#hello { z-index: 3; }
.hero-name { animation: none; transform: translate(-50%, -50%) rotate(calc(-7deg + var(--hero-scroll, 0) * 12deg)) scale(calc(1 + var(--hero-scroll, 0) * .18)); }
.hero-letter, .work-letter, .contact-letter { display: inline-block; }
.hero-letter { will-change: transform; }
.hero-orbit { animation: none; transform: translateX(-50%) rotate(calc(var(--hero-scroll, 0) * 28deg)) scale(calc(1 + var(--hero-scroll, 0) * .35)); }
.hero-bottom-row { opacity: calc(1 - var(--hero-scroll, 0) * .85); }

#about { padding-top: 6rem; }
.about-heading-wrap { margin-bottom: 3rem; }
#about .section-word {
  font-family: var(--ff-sans);
  font-size: clamp(3.5rem, 7.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.03;
  transform: none;
}
#about .section-word em { font-family: var(--ff-hand); font-style: normal; font-weight: 700; font-size: 1.35em; line-height: .85; }
#about .section-word::after { display: none; }
.about-doodle {
  top: 2rem;
  width: clamp(220px, 33vw, 390px);
  transform: translate(calc((1 - var(--about-progress, 1)) * 130px), calc(var(--about-progress, 1) * -20px)) rotate(calc(-20deg + var(--about-progress, 1) * 25deg)) scale(calc(.75 + var(--about-progress, 1) * .25));
}
.about-stack-card, .about-stack-card.reveal.visible {
  transform: translateY(calc((1 - var(--about-progress, 1)) * 80px)) rotate(calc(-12deg + var(--about-progress, 1) * 14deg));
  transition: box-shadow .3s ease;
}
.stack-title { font: 600 1rem var(--ff-sans); letter-spacing: -.025em; }
.about-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.8; }
.about-meta-row { gap: 1rem; }

#work { padding-top: 5rem; }
.work-title-row { align-items: end; }
.work-heading-wrap { min-width: 0; }
#work .section-word {
  font-family: var(--ff-sans);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  line-height: 1;
  transform: translateX(calc((1 - var(--work-progress, 1)) * 65px));
}
#work .section-word::after { display: none; }
.work-letter { transition: color .3s ease; }
.work-letter:hover { color: var(--amber); }
.work-intro { max-width: 500px; margin-top: 1rem; font-size: .9rem; }
.proj-slide { transition: opacity .5s ease, transform .65s var(--ease); }
.slide-visual { transform: translateY(calc((1 - var(--project-progress, 1)) * 130px)) rotate(calc((1 - var(--project-progress, 1)) * 10deg)); }
.slide-visual::before { animation-duration: 12s; }
.slide-name { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.slide-tagline { font-weight: 400; }

.hello-signature {
  grid-column: 1;
  grid-row: 1 / 4;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 370px;
}
.hello-signature .hello-word { grid-row: auto; grid-column: auto; margin: 0; padding: 0; }
.hello-word::after { display: none; }
.hello-word::before { top: -4rem; }
.contact-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transform: rotate(-12deg) scale(1.12); }
.contact-orbit path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion-ready .contact-orbit path { stroke-dashoffset: 1; }
.contact-orbit.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.22,.61,.36,1) .15s; }
.hello-inner { padding: 3rem 0; }
.hello-container { padding-top: 3.5rem; }
.contact-card { transform: rotate(-1deg); }
.contact-card .btn { transition: transform .3s cubic-bezier(.2,1.6,.4,1), box-shadow .3s ease; }
.contact-card .btn:hover { transform: rotate(3deg) translateY(-5px); box-shadow: 7px 8px 0 var(--cream); }

@media (max-width: 860px) {
  #about { padding-top: 4rem; }
  #about .section-word { font-size: clamp(3.4rem, 10vw, 5.5rem); }
  .about-doodle { width: 200px; top: 1.5rem; right: -20px; }
  .about-heading-wrap { margin-bottom: 2.5rem; }
  #work .section-word { font-size: clamp(3rem, 11vw, 6rem); }
  .work-title-row { flex-wrap: nowrap; gap: .8rem; }
  .work-heading-wrap { margin: 0; }
  .work-nav-cluster { flex-shrink: 0; }
  .slide-visual { transform: translateY(calc((1 - var(--project-progress, 1)) * 70px)); }
  .hello-signature { grid-row: auto; grid-column: 1; min-height: 300px; }
  .hello-word::before { top: -1rem; }
  .contact-orbit { left: 50%; width: min(100%, 500px); transform: translateX(-50%) rotate(-12deg); }
  .hello-inner { padding-top: 0; gap: 2rem; }
}
@media (max-width: 480px) {
  .about-doodle { width: 145px; right: 16px; top: 2.8rem; }
  #about .section-word { font-size: 3.6rem; max-width: 230px; }
  .work-title-row { flex-wrap: wrap; gap: 1.25rem; }
  #work .section-word { font-size: 13vw; }
  .hello-signature { min-height: 260px; }
  .hello-word::before { top: -2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  #hero { position: relative; }
  .hero-name { transform: translate(-50%, -50%) rotate(-7deg); }
  .hero-orbit { transform: translateX(-50%); }
  .hero-bottom-row { opacity: 1; }
  .about-doodle { transform: rotate(5deg); }
  .about-stack-card { transform: rotate(2deg); }
  .slide-visual, #work .section-word { transform: none; }
  .motion-ready .contact-orbit path { stroke-dashoffset: 0; }
}
