@property --ring-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --paper: #f6f1e8;
  --ink: #20221e;
  --blue: #3949d8;
  --orange: #f36a45;
  --lime: #c7ed68;
  --muted: #77766f;
  --line: #d9d2c6;
  --display: 'Syne', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 13px/1.65 var(--mono);
}
a { color: inherit; }

.site-header {
  width: 100%;
  max-width: 1440px;
  min-height: 104px;
  margin: 0 auto;
  padding: 34px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: clamp(32px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  flex-shrink: 0;
  color: var(--ink);
  font: 800 22px var(--display);
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}
.spark { padding-left: 5px; color: var(--orange); }
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px clamp(16px, 2vw, 32px);
  margin-left: auto;
}
nav a { color: var(--ink); font-size: 12px; text-decoration: none; }
nav a:hover, nav a.active { color: var(--blue); }
.nav-star { color: var(--orange); }

.home-main, .page-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 54px 6vw 86px;
}
.home-main {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
}
.hero {
  flex: 1;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
}
.hello { margin: 0 0 20px; color: var(--orange); font: 700 18px var(--display); letter-spacing: .01em; }
.hello span { color: var(--blue); }
.home-title { margin: 10px 0 22px; color: var(--ink); font: 800 clamp(64px, 8vw, 104px)/1.08 var(--display); letter-spacing: -.025em; }
.home-title span { color: var(--blue); }
.home-title b { color: var(--orange); }
.intro { max-width: 340px; margin: 0 0 28px; color: #5b5b55; font-size: 14px; line-height: 1.9; }
.currently-into { max-width: 390px; margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); }
.currently-label { display: inline-block; margin: 0 0 11px; padding: 4px 8px; background: var(--lime); color: var(--ink); font-size: 10px; letter-spacing: .12em; }
.currently-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.currently-list li { position: relative; padding-left: 22px; color: #555268; font-size: 13px; line-height: 1.6; }
.currently-list li:before { position: absolute; top: 0; left: 0; color: var(--orange); content: '✳'; font-size: 13px; }
.currently-list li:nth-child(2):before { color: var(--blue); content: '✦'; }
.currently-list li:nth-child(3):before { color: var(--lime); content: '✧'; -webkit-text-stroke: .35px var(--ink); }

.planet-art { position: relative; height: 470px; display: grid; place-items: center; overflow: visible; isolation: isolate; }
.planet-body { position: relative; z-index: 2; width: 245px; height: 245px; overflow: hidden; border-radius: 50%; background: var(--blue); }
.planet-land { position: absolute; z-index: 1; display: block; border-radius: 0; }
.planet-land.land-one { top: 31px; left: 32px; width: 118px; height: 88px; background: var(--lime); clip-path: polygon(0 28%,15% 7%,36% 18%,49% 0,70% 15%,100% 18%,84% 42%,92% 65%,67% 72%,54% 100%,32% 79%,13% 88%,19% 57%); }
.planet-land.land-two { right: 17px; bottom: 27px; width: 104px; height: 77px; background: var(--orange); clip-path: polygon(12% 0,37% 15%,62% 5%,80% 27%,100% 37%,84% 61%,70% 100%,47% 78%,26% 88%,0 62%,18% 40%); }
.planet-ring { position: absolute; top: 50%; left: 50%; z-index: 1; border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); mask: radial-gradient(ellipse at center, transparent 0 54%, #000 57% 67%, transparent 70%); -webkit-mask: radial-gradient(ellipse at center, transparent 0 54%, #000 57% 67%, transparent 70%); }
.planet-ring-one { width: 390px; height: 142px; background: conic-gradient(from var(--ring-angle), var(--orange) 0 112deg, var(--paper) 112deg 232deg, var(--lime) 232deg 292deg, var(--orange) 292deg 360deg); animation: ring-colors 8s linear infinite; }
.planet-ring-two { width: 425px; height: 163px; background: conic-gradient(from var(--ring-angle), var(--paper) 0 32deg, var(--orange) 32deg 132deg, var(--lime) 132deg 208deg, var(--paper) 208deg 276deg, var(--orange) 276deg 360deg); animation: ring-colors 13s linear infinite reverse; }
.planet-ring.ring-back { z-index: 1; clip-path: inset(0 0 50%); }
.planet-ring.ring-front { z-index: 3; clip-path: inset(50% 0 0); }
@keyframes ring-colors { to { --ring-angle: 360deg; } }
.planet-art .art-cross, .planet-art .art-star, .planet-art .planet-spark { position: absolute; z-index: 4; }
.planet-art .art-cross { top: 17%; right: 10%; color: var(--orange); font-size: 31px; }
.planet-art .art-star { bottom: 17%; left: 8%; color: var(--blue); font-size: 31px; }
.planet-art .planet-spark { right: 14%; bottom: 20%; color: var(--orange); font-size: 28px; }
.home-bottom-custom { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: lowercase; }
.home-bottom-custom b, footer b { color: var(--orange); }

footer {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 6vw 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
}

/* shared interior pages */
.page-kicker { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.page-kicker span { color: var(--orange); font-size: 15px; }
.page-title { margin: 31px 0 24px; color: var(--ink); font: 800 clamp(62px, 9vw, 108px)/.94 var(--display); letter-spacing: -.045em; }
.page-title em { color: var(--blue); font-style: normal; }
.page-title b { color: var(--orange); font-weight: 800; }
.page-intro { max-width: 520px; margin: 0 0 34px; color: #5b5b55; font-size: 13px; line-height: 1.8; }

/* about page */
.about-main { padding-top: 30px; padding-bottom: 40px; }
.about-main .page-title { position: relative; z-index: 1; margin: 8px 0 16px; font-size: clamp(58px, 6.5vw, 82px); }
.about-layout { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 6vw; margin-top: 20px; }
.about-copy { position: relative; z-index: 1; max-width: 490px; color: var(--ink); }
.about-copy p { color: var(--ink); font-size: 12px; line-height: 1.9; }
.about-copy .about-lede { color: var(--ink); font: 700 23px/1.35 var(--display); letter-spacing: -.025em; }
.page-link { padding-bottom: 4px; border-bottom: 1px solid #3949d855; color: var(--blue); font-size: 11px; text-decoration: none; }
.page-link span { color: var(--orange); }
.about-photo { position: relative; z-index: 0; isolation: isolate; overflow: visible; width: 100%; max-width: 280px; aspect-ratio: 4/5; margin: 0; padding: 8px; background: var(--lime); transform: rotate(-2deg); }
.about-photo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo:before, .about-photo:after { content: ''; position: absolute; top: 50%; left: 50%; z-index: 2; width: 160%; height: 130%; border: 3px solid var(--orange); border-left-color: var(--blue); border-right-color: var(--lime); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: portrait-ring-spin 24s linear infinite; }
.about-photo:after { width: 168%; height: 140%; border: 2px solid var(--blue); border-top-color: var(--orange); border-bottom-color: var(--lime); animation-duration: 32s; animation-direction: reverse; }
.about-photo figcaption { position: absolute; right: 16px; bottom: 16px; z-index: 3; max-width: 75%; padding: 6px 9px; background: var(--paper); color: var(--ink); font-size: 11px; line-height: 1.4; }
@keyframes portrait-ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* selected work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; margin-top: 22px; }
.work-card { min-width: 0; }
.work-art { position: relative; display: grid; place-items: center; overflow: hidden; height: 90px; color: var(--paper); text-align: center; text-decoration: none; }
.work-art-orange { background: var(--orange); }
.work-art-blue { background: var(--blue); }
.work-art-lime { background: var(--lime); color: var(--ink); }
.work-art .work-art-shape { position: absolute; top: 50%; left: 50%; font: 800 48px/1 var(--display); transform: translate(-50%, -50%); }
.work-art-orange .work-art-shape { color: var(--paper); }
.work-art-blue .work-art-shape { color: var(--lime); }
.work-art-lime .work-art-shape { color: var(--blue); }
.work-art .work-art-arrow { position: absolute; top: 8px; right: 12px; font: 17px var(--mono); }
.work-meta { display: block; margin-top: 12px; }
.work-meta h2 { margin: 0; font: 700 17px/1.35 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.work-meta h2 a { color: var(--ink); text-decoration: none; }
.work-meta span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; text-align: left; }
.work-note { margin: -8px 0 24px; color: var(--muted); font-size: 12px; }
.work-note span { color: var(--orange); }

/* contact page */
.contact-main { position: relative; overflow: hidden; padding-right: 6vw; padding-left: 6vw; }
.contact-main .page-title { font-size: clamp(64px, 10vw, 118px); }
.contact-main .page-intro { margin-top: 22px; }
.contact-email { position: relative; z-index: 1; display: inline-block; border-bottom: 1px solid var(--blue); color: var(--blue); font: 700 clamp(20px, 3.5vw, 36px) var(--display); letter-spacing: -.035em; text-decoration: none; }
.contact-email span { color: var(--orange); }
.contact-note { margin: 12px 0 25px; color: var(--muted); font-size: 12px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-socials a { color: var(--ink); font-size: 12px; text-decoration: none; }
.contact-socials a:hover { color: var(--blue); }


/* fun page */
.fun-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; margin-top: 30px; }
.fun-card { min-height: 245px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.fun-card-lime { background: var(--lime); color: var(--ink); }
.fun-card-blue { height: auto; min-height: 245px; justify-content: flex-start; gap: 14px; background: var(--blue); color: var(--paper); }
.fun-label { font-size: 12px; letter-spacing: .1em; }
.fun-card-blue .fun-label { color: #d9d8ff; }
.fun-spark { display: inline-block; transform-origin: center; animation: fun-spark-spin 12s linear infinite; }
@keyframes fun-spark-spin { to { transform: rotate(360deg); } }
.fun-list { margin: 15px 0 0; padding: 0; list-style: none; }
.fun-list li { position: relative; margin: 10px 0; padding-left: 20px; font: 600 18px/1.3 var(--display); letter-spacing: -.02em; }
.fun-list li:before { position: absolute; left: 0; color: var(--orange); content: '✳'; font: 12px var(--mono); }
.fun-list a { color: inherit; text-decoration: none; }
.fun-list a:hover { color: var(--blue); }
.fun-card-blue #fact { display: block; width: 100%; max-width: none; height: auto; margin: 0; overflow: visible; font: 700 22px/1.25 var(--display); letter-spacing: -.025em; }
.fun-card-blue > * { flex: 0 0 auto; }
.fact-source:not([hidden]) { display: inline-flex; align-items: center; margin: 0; padding: 5px 9px; border: 1px solid var(--lime); color: var(--lime); font-size: 12px; text-decoration: none; }
.fact-source:hover { background: var(--lime); color: var(--blue); }
.fortune-button { display: inline-flex; align-items: center; gap: 25px; padding: 12px 15px; border: 0; background: var(--lime); color: var(--ink); font: 11px var(--mono); cursor: pointer; }
.fortune-button span { font-size: 17px; }
.fortune-button:hover { background: var(--orange); }
.fun-marquee { margin-top: 26px; overflow: hidden; color: var(--blue); font: 700 16px var(--display); white-space: nowrap; }
.fun-marquee-track { display: flex; width: max-content; animation: fun-marquee-drift 28s linear infinite; }
.fun-marquee-track span { flex: 0 0 auto; padding-right: 0; }
@keyframes fun-marquee-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* responsive layouts */
@media (min-width: 721px) and (max-width: 900px) {
  .site-header { min-height: 0; padding: 22px 6vw; align-items: flex-start; flex-direction: column; gap: 14px; }
  nav { width: 100%; margin-left: 0; justify-content: flex-start; gap: 12px 20px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { min-height: 0; padding: 26px 6vw; align-items: flex-start; flex-direction: column; gap: 18px; }
  nav { justify-content: flex-start; gap: 12px 20px; }
  nav a { font-size: 11px; }
  .home-main { padding-top: 32px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .home-title { font-size: clamp(64px, 14vw, 92px); }
  .currently-into { margin-top: 44px; }
  .currently-list li { font-size: 12px; }
  .planet-art { height: 390px; margin-top: 4px; }
  .planet-body { width: 205px; height: 205px; }
  .planet-land.land-one { transform: scale(.84); transform-origin: top left; }
  .planet-land.land-two { transform: scale(.84); transform-origin: bottom right; }
  .planet-ring-one { width: 330px; height: 120px; }
  .planet-ring-two { width: 360px; height: 138px; }
  .home-bottom-custom { flex-wrap: wrap; }
  .page-main { padding-top: 40px; }
  .page-title { font-size: clamp(60px, 15vw, 92px); }
  .about-main { padding-top: 28px; padding-bottom: 38px; }
  .about-main .page-title { font-size: clamp(54px, 11vw, 76px); }
  .about-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 16px; }
  .about-photo { max-width: 250px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .work-art { height: 180px; }
  .contact-doodle { top: 42%; right: 2%; font-size: 100px; }
  .fun-layout { grid-template-columns: 1fr; gap: 15px; }
  .fun-card { min-height: 220px; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; gap: 26px; }
  .work-meta h2 { font-size: 18px; }
}
@media (max-width: 440px) {
  .contact-socials { gap: 12px; }
}
@media (min-width: 721px) and (max-height: 850px) {
  .site-header { min-height: 74px; padding-top: 18px; padding-bottom: 18px; }
  .home-main { padding-top: 22px; }
  .hero { min-height: 370px; }
  .home-title { font-size: clamp(58px, 6vw, 78px); }
  .currently-into { margin-top: 28px; padding-top: 12px; }
  .currently-list { gap: 5px; }
  .planet-art { height: 340px; }
  .planet-body { width: 200px; height: 200px; }
  .planet-ring-one { width: 320px; height: 116px; }
  .planet-ring-two { width: 350px; height: 134px; }
  .home-bottom-custom { padding-top: 10px; }
  .page-main { min-height: 0; padding-top: 24px; }
  .page-title { margin: 14px 0 16px; font-size: clamp(52px, 6.5vw, 78px); }
  .page-intro { margin-bottom: 22px; }
  .work-grid { gap: 18px; margin-top: 22px; }
  .about-main { padding-top: 22px; padding-bottom: 28px; }
  .about-main .page-title { margin: 6px 0 12px; font-size: clamp(52px, 6vw, 74px); }
  .about-main .about-layout { gap: 5vw; margin-top: 12px; }
  .about-main .about-photo { max-width: 220px; }
  .contact-main .page-title { font-size: clamp(56px, 7vw, 84px); }
  footer { padding-top: 12px; padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .planet-ring-one, .planet-ring-two, .about-photo:before, .about-photo:after, .contact-doodle, .fun-spark { animation: none; }
}

.fun-marquee {
  position: fixed;
  z-index: 19;
  bottom: 48px;
  left: 50%;
  width: min(1100px, 100%);
  margin: 0;
  padding: 12px 6vw;
  background: var(--paper);
  transform: translateX(-50%);
}

/* leave room for the pinned line at the end of the fun page */
.page-main:has(.fun-marquee) {
  padding-bottom: 130px;
}

.contact-doodle {
  position: absolute;
  top: 35%;
  right: 10%;
  z-index: 0;
  display: block;
  color: var(--lime);
  font-size: 140px;
  transform-origin: center;
  animation: contact-star-dance 3s ease-in-out infinite;
}

.contact-doodle::before,
.contact-doodle::after {
  position: absolute;
  font-size: .32em;
  animation: contact-twinkle 1.8s ease-in-out infinite alternate;
}

.contact-doodle::before {
  content: "✦";
  top: 4%;
  right: -28%;
  color: var(--orange);
}

.contact-doodle::after {
  content: "✧";
  bottom: 3%;
  left: -24%;
  color: var(--blue);
  animation-delay: .8s;
}

@keyframes contact-star-dance {
  0%, 100% { transform: rotate(-8deg) scale(.96) translateY(0); }
  50% { transform: rotate(8deg) scale(1.06) translateY(-10px); }
}

@keyframes contact-twinkle {
  from { transform: rotate(0) scale(.7); opacity: .55; }
  to { transform: rotate(35deg) scale(1.2); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-doodle,
  .contact-doodle::before,
  .contact-doodle::after {
    animation: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
}

@media (max-width: 720px) {
  .planet-art .art-cross {
    top: 0;
    right: 3%;
  }
}

.contact-doodle {
  animation-duration: 2.4s;
}

.contact-doodle::before,
.contact-doodle::after {
  animation-duration: 1.2s;
}

footer b {
  font-family: "Apple Symbols", "Segoe UI Symbol", sans-serif;
}