@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-grotesque.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Caveat';
  src: url('/assets/fonts/caveat.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

body {
  margin: 0;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}

.page-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.margin-blob {
  position: absolute;
  display: block;
  width: min(var(--blob-size),48vw);
  transform: translateX(var(--blob-offset)) rotate(var(--blob-angle));
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 20px;
  background: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  cursor: pointer;
}

.image-crop {
  position: relative;
}

.image-crop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.project-card.is-playing video {
  opacity: 1;
}

.detail-video {
  display: block;
  width: 100%;
  border-radius: 24px;
  margin: 28px 0;
}

.not-found {
  padding: 90px 0 130px;
  text-align: center;
}

.not-found p {
  margin: 25px 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  --paper: #fafafa;
  --ink: #302e26;
  --soft: #686253;
  --green: #526d37;
  --orange: #ff6500;
  --surface: #f1f1f1;
  --yellow: #edcc4d;
  --matcha: #dfe8c6;
  --display: 'Bricolage Grotesque',sans-serif;
  --angle: 5deg;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.6 'DM Sans',sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none;
}

h1,h2,h3,p,figure {
  margin: 0;
}

a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 7px;
}

.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 56px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 16px;
}

.logo {
  font: 800 31px/1 var(--display);
  letter-spacing: -2px;
  transform: rotate(-5deg);
  min-height: 44px;
}

.logo span {
  color: var(--orange);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav [aria-current] {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.hero {
  text-align: center;
  padding: 62px 0 70px;
  position: relative;
}

.hero h1 {
  font: 800 clamp(42px,9.3vw,105px)/.84 var(--display);
  letter-spacing: -.062em;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  isolation: isolate;
}

.hero h1 span {
  display: block;
}

.hero h1 .first-name {
  color: var(--orange);
  transform: rotate(-2deg);
  width: fit-content;
  margin: 0 auto 4px;
}

.hero h1 .surname {
  position: relative;
}

.name-underline {
  position: absolute;
  bottom: -.19em;
  left: 8%;
  width: 84%;
  height: .24em;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-1deg);
  pointer-events: none;
}

.nickname {
  margin-top: 38px;
  font: 500 27px/1.2 'Caveat',cursive;
}

.subtitle {
  font-size: 19px;
  margin-top: 12px;
}

.experience {
  font-size: 14px;
  color: var(--soft);
  margin-top: 8px;
}

.work-intro {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 5px;
}

.work-intro h2 {
  font: 600 34px/1.1 'Caveat',cursive;
  transform: rotate(-3deg);
}

.work-intro span {
  font: 500 35px/1 'Caveat',cursive;
  transform: rotate(12deg);
  color: var(--green);
}

.project {
  position: relative;
}

.project-card {
  text-decoration: none;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 94px;
  position: relative;
}

.project:nth-of-type(even) .project-card {
  grid-template-columns: .85fr 1.15fr;
}

.project:nth-of-type(even) .art {
  order: 2;
}

.project:nth-of-type(even) .summary {
  order: 1;
}

.art {
  width: 100%;
  display: block;
  position: relative;
  padding: 0;
  isolation: isolate;
  text-align: left;
  text-decoration: none;
}

.art:before {
  content: '';
  position: absolute;
  inset: -26px -12px;
  border-radius: 44% 56% 69% 31% / 61% 40% 60% 39%;
  background: var(--matcha);
  transform: rotate(10deg);
  z-index: -1;
}

.project:nth-of-type(even) .art:before {
  background: #f1dfa0;
}

.shot {
  display: block;
  background: #fff;
  padding: 9px 9px 0;
  border-radius: 28px 42px 26px 38px;
  box-shadow: 0 18px 34px #30452222;
  transform: rotate(calc(-1 * var(--angle)));
  transition: transform .35s cubic-bezier(.2,.8,.3,1),box-shadow .35s;
}

.project:nth-of-type(even) .shot {
  transform: rotate(var(--angle));
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.52;
  object-fit: cover;
  border-radius: 21px 34px 15px 27px;
  transition: transform .45s;
}

.wide-art .shot img {
  aspect-ratio: 16 / 9;
}

.image-crop {
  display: block;
  border-radius: 21px 34px 15px 27px;
  overflow: hidden;
}

.shot-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px 12px;
  gap: 12px;
  font: 500 20px/1.1 'Caveat',cursive;
}

.shot-caption span:last-child {
  color: var(--green);
}

.summary {
  position: relative;
}

.year {
  display: block;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 14px;
}

.summary h3 {
  font: 800 clamp(30px,4.3vw,48px)/1.02 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.summary h3 small {
  font: 500 23px/1.1 var(--display);
  letter-spacing: -.025em;
  display: block;
  margin-top: 8px;
}

.summary p {
  margin-top: 20px;
  max-width: 320px;
  font-size: 16px;
  color: var(--soft);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 20px;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  transition: gap .2s;
}

.project-link span {
  font-size: 24px;
  color: var(--green);
}

.project-link:hover {
  gap: 24px;
}

.project-card .project-link {
  border: 0;
  background: var(--matcha);
  border-radius: 24px;
  padding: 3px 18px;
  color: var(--green);
  font-weight: 600;
  transition: gap .2s,background .2s;
}

.project-card:hover .project-link,.project-card:focus-visible .project-link {
  gap: 24px;
  background: var(--yellow);
}

.tagline {
  text-align: center;
  margin: 0 auto 70px;
  transform: rotate(-3deg);
  font: 600 clamp(28px,4.3vw,47px)/1.1 'Caveat',cursive;
}

.tagline span {
  position: relative;
  display: inline-block;
}

.tagline span:after {
  content: '';
  position: absolute;
  left: -7px;
  right: -7px;
  bottom: 0;
  height: 13px;
  background: var(--yellow);
  border-radius: 45% 30% 50% 20%;
  z-index: -1;
  transform: rotate(-1deg);
}

.footer {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: end;
  gap: 24px;
  padding: 58px 40px 0;
  margin: 0 -20px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 48px 48px 0 0;
}

.contact-copy {
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer h2 {
  font: 800 clamp(48px,6vw,72px)/1.05 var(--display);
  letter-spacing: -.05em;
  margin-bottom: 18px;
}

.contact-email {
  display: inline-block;
  font: 600 clamp(19px,3vw,28px)/1.4 var(--display);
  text-decoration-thickness: 2px;
}

.footer p {
  margin-top: 20px;
  font-size: 18px;
  max-width: 470px;
}

.footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  font-size: 16px;
}

.footer .links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-portrait {
  position: relative;
  height: 350px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-portrait:before {
  content: '';
  position: absolute;
  inset: 45px -12px -65px;
  background: var(--yellow);
  border-radius: 49% 51% 30% 70% / 43% 39% 61% 57%;
  transform: rotate(-9deg);
  z-index: -1;
}

.contact-portrait img {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.about {
  padding: 55px 0 65px;
}

.about > .page-heading {
  text-align: center;
}

.page-heading {
  font: 800 clamp(43px,7vw,76px)/1 var(--display);
  letter-spacing: -.05em;
}

.about-intro {
  margin: 25px auto 0;
  max-width: 640px;
  color: var(--soft);
  text-align: center;
}

.about-intro p + p {
  margin-top: 16px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 48px auto 40px;
  padding: 0 10px;
}

.photo {
  background: #fff;
  padding: 10px 10px 16px;
  border-radius: 5px;
  transform: rotate(-2deg);
  box-shadow: 0 14px 28px #3045221a;
}

.photo:nth-child(even) {
  transform: rotate(2deg);
  margin-top: 18px;
}

.photo figcaption {
  font: 500 20px/1.2 'Caveat',cursive;
  padding: 12px 5px 0;
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--matcha);
  border-radius: 2px;
}

.photo-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo:nth-child(even) .photo-frame {
  background: #f1dfa0;
}

.career {
  max-width: 640px;
  margin: 60px auto 0;
}

.career h2,.about-story h2 {
  font: 700 29px/1.2 var(--display);
  letter-spacing: -.03em;
}

.career-list {
  margin: 22px 0 0;
}

.career-list div {
  margin: 0 0 24px;
}

.career-list dt {
  color: var(--green);
  font-size: 14px;
}

.career-list dd {
  margin: 5px 0 0;
  color: var(--soft);
}

.about-story {
  max-width: 640px;
  margin: 48px auto 0;
}

.about-story h2 {
  margin-bottom: 16px;
}

.about-story p {
  color: var(--soft);
}

.about-story p + p {
  margin-top: 20px;
}

.detail {
  padding: 45px 0 75px;
}

.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  text-decoration: none;
  color: var(--green);
  font-size: 14px;
}

.detail .year {
  margin: 15px 0;
  text-align: center;
}

.detail .page-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.detail .lead {
  font-size: 19px;
  color: var(--soft);
  margin: 24px auto 35px;
  max-width: 640px;
  text-align: center;
}

.detail-image,.detail-embed {
  width: 94%;
  aspect-ratio: 16 / 9;
  margin: 30px auto 58px;
  border-radius: 32px;
  box-shadow: 0 16px 38px #3045221a;
  display: block;
}

.detail-image {
  height: auto;
  object-fit: cover;
}

.detail-embed {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.detail-embed iframe,.stream-clip iframe,.case-study-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-copy {
  max-width: 640px;
  margin: 0 auto;
}

.detail h2 {
  font: 700 32px/1.2 var(--display);
  margin: 30px 0 15px;
  letter-spacing: -.03em;
}

.detail-copy p {
  margin-bottom: 20px;
  color: var(--soft);
}

.detail-copy h3 {
  margin: 28px 0 14px;
  font: 600 24px/1.3 var(--display);
  letter-spacing: -.02em;
}

.case-study {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--matcha);
}

.case-study strong {
  color: var(--ink);
  font-weight: 600;
}

.detail-copy .case-study-kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.case-study-kicker + h2 {
  margin-top: 0;
}

.case-study-media {
  margin: 32px 0;
}

.case-study-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
}

.case-study-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  height: auto;
  object-fit: contain;
  background: var(--surface);
}

.case-study-media figcaption {
  margin-top: 12px;
  color: var(--soft);
  font-size: 14px;
}

.feedback-image {
  aspect-ratio: auto;
}

.stream-clip {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 28px 0 12px;
}

.community-stats div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 18px;
  background: var(--surface);
}

.community-stats dt {
  color: var(--soft);
  font-size: 14px;
}

.community-stats dd {
  order: -1;
  margin: 0;
  color: var(--green);
  font: 700 clamp(25px,4vw,32px)/1.2 var(--display);
  letter-spacing: -.03em;
}

.detail-copy .community-date {
  margin-bottom: 0;
  font-size: 13px;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.next {
  margin-top: 45px;
}

.project-card:focus-visible .shot {
  transform: rotate(0deg) translateY(-9px);
  box-shadow: 0 26px 40px #30452228;
}

@media(hover:hover) {
  .project-card:hover .shot {
    transform: rotate(0deg) translateY(-9px);
    box-shadow: 0 26px 40px #30452228;
  }
  .project-card:hover img {
    transform: scale(1.035);
  }
}

@media(max-width:700px) {
  .community-stats {
    grid-template-columns: 1fr;
  }
  .community-stats div {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .community-stats dd {
    flex: 0 0 120px;
  }
  .wrap {
    padding: 0 26px;
  }
  .header {
    padding-top: 23px;
    gap: 15px;
  }
  .nav {
    gap: 17px;
    font-size: 13px;
  }
  .hero {
    padding: 52px 0 60px;
  }
  .hero h1 {
    font-size: clamp(42px,9.8vw,68px);
  }
  .hero h1 .first-name {
    margin-bottom: 4px;
  }
  .nickname {
    font-size: 25px;
    margin-top: 28px;
  }
  .subtitle {
    font-size: 16px;
    max-width: 280px;
    margin: 12px auto 0;
  }
  .work-intro {
    gap: 14px;
  }
  .work-intro h2 {
    font-size: 29px;
  }
  .project-card,.project:nth-of-type(even) .project-card {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 62px 5px 64px;
  }
  .project:nth-of-type(even) .art,.project:nth-of-type(even) .summary {
    order: initial;
  }
  .summary {
    padding: 0 5px;
  }
  .summary h3 {
    font-size: 39px;
  }
  .summary p {
    max-width: 440px;
    margin-top: 14px;
  }
  .year {
    margin-bottom: 10px;
  }
  .art:before {
    inset: -14px -4px;
  }
  .shot-caption {
    font-size: 20px;
    padding: 10px;
  }
  .tagline {
    margin: 20px 0 60px;
    font-size: 34px;
  }
  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 260px;
    margin-top: 40px;
  }
  .photo:nth-child(even) {
    margin-top: 0;
  }
  .footer {
    grid-template-columns: 1fr;
    padding: 38px 24px 0;
    margin: 0 -10px;
    gap: 0;
    border-radius: 32px 32px 0 0;
  }
  .contact-copy {
    padding-bottom: 20px;
  }
  .footer p {
    font-size: 17px;
  }
  .contact-portrait {
    width: min(100%,280px);
    height: 240px;
    justify-self: end;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before {
    transition: none!important;
    animation: none!important;
  }
  .project-card:hover img {
    transform: none;
  }
}

