:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --ink: #25251f;
  --muted: #77766e;
  --line: #dedbd1;
  --orange: #f16b46;
  --blue: #3158cc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

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

.section-wrap,
.site-header {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wordmark-mark {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -2px;
}

.wordmark-mark span,
.heading-period {
  color: var(--orange);
}

.wordmark-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 12px;
  font-weight: 500;
}

.site-nav a,
.back-top {
  transition: color 160ms ease;
}

.site-nav a:hover,
.back-top:hover {
  color: var(--orange);
}

.site-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
}

.hero {
  min-height: 650px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  padding-block: 88px 110px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding-bottom: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #81a66a;
  box-shadow: 0 0 0 4px rgb(129 166 106 / 13%);
}

.hero h1 {
  max-width: 800px;
  margin: 30px 0 29px;
  font-size: clamp(58px, 7.1vw, 98px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

h1 em,
.about-copy h2 em,
.contact-section h2 em {
  color: var(--orange);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.hero-description {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.hero-art {
  width: 330px;
  height: 330px;
  position: relative;
  justify-self: end;
  margin: 20px 8px 0 0;
}

.sun-shape,
.sun-inner {
  position: absolute;
  inset: 17px;
  border-radius: 42% 58% 54% 46% / 47% 40% 60% 53%;
  background: #f3c867;
  animation: drift 9s ease-in-out infinite alternate;
}

.sun-inner {
  inset: 56px;
  border: 1px solid rgb(37 37 31 / 12%);
  background: #f7d983;
  animation-delay: -3s;
}

.art-caption {
  position: absolute;
  z-index: 1;
  top: 139px;
  left: 110px;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-9deg);
}

.art-spark {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 17px;
  color: var(--orange);
  font-size: 48px;
  animation: twinkle 5s ease-in-out infinite;
}

.art-orbit {
  position: absolute;
  inset: 1px;
  border: 1px solid rgb(37 37 31 / 18%);
  border-radius: 50%;
  transform: rotate(-22deg) scaleY(0.38);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 37px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.work-section {
  padding-block: 85px 130px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 46px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 16px 0 0;
  font-size: clamp(42px, 5vw, 65px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-note {
  margin: 0 2px 4px 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 54px;
  row-gap: 82px;
}

.project-card-wide {
  grid-column: 1 / -1;
}

.project-card-illustration {
  grid-column: 1 / -1;
}

.project-card-offset {
  margin-top: 5px;
}

.project-card-last {
  margin-top: 120px;
}

.project-image {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #e9e4d8;
}

.project-card-wide .project-image {
  height: 485px;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.image-market img {
  object-position: center 56%;
}

.image-studio img {
  object-position: center;
}

.image-slow img {
  object-position: center 58%;
}

.image-illustration {
  height: clamp(360px, 50vw, 600px);
  background: #eef3cf;
}

.image-illustration img {
  object-fit: contain;
}

.image-number,
.image-arrow {
  position: absolute;
  z-index: 1;
  top: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  background: rgb(248 246 240 / 87%);
  font-size: 10px;
}

.image-number {
  left: 18px;
}

.image-arrow {
  right: 18px;
  font-size: 15px;
}

.project-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
}

.project-meta h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.project-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.project-type {
  padding-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-align: right;
  white-space: nowrap;
}

.work-footnote {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 84px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.work-footnote span {
  color: var(--orange);
  font-family: var(--sans);
  font-style: normal;
}

.about-section {
  background: #efede5;
}

.about-inner {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px;
}

.about-label {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
}

.about-stamp {
  width: 126px;
  height: 126px;
  display: grid;
  align-content: center;
  margin: auto 0 6px 13%;
  border: 1px solid rgb(37 37 31 / 35%);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1;
  text-align: center;
  transform: rotate(-13deg);
}

.about-stamp b {
  margin-top: 6px;
  color: var(--orange);
  font-family: var(--sans);
  font-size: 16px;
}

.about-copy {
  max-width: 560px;
}

.about-copy h2 {
  max-width: 550px;
  margin-top: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
}

.about-copy p {
  max-width: 470px;
  margin: 26px 0 24px;
  color: #66655e;
  font-size: 13px;
  line-height: 1.9;
}

.contact-section {
  padding-block: 130px 120px;
}

.contact-section h2 {
  margin-top: 24px;
  font-size: clamp(60px, 9vw, 120px);
  line-height: 0.98;
}

.contact-link {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 37px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.contact-link span:last-child {
  font-size: 18px;
  transition: transform 180ms ease;
}

.contact-link:hover span:last-child {
  transform: translate(3px, -3px);
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.site-footer .wordmark-mark {
  font-size: 23px;
}

.site-footer .wordmark-name,
.site-footer p,
.back-top {
  font-size: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@keyframes drift {
  to {
    border-radius: 55% 45% 42% 58% / 42% 56% 44% 58%;
    transform: rotate(8deg) scale(1.025);
  }
}

@keyframes twinkle {
  50% {
    transform: rotate(18deg) scale(0.9);
  }
}

@media (max-width: 900px) {
  .section-wrap,
  .site-header {
    width: min(100% - 64px, 720px);
  }

  .hero {
    min-height: 600px;
    grid-template-columns: minmax(0, 1fr) 250px;
    padding-block: 85px 95px;
  }

  .hero h1 {
    font-size: clamp(56px, 8vw, 76px);
  }

  .hero-art {
    width: 250px;
    height: 250px;
    margin-right: -18px;
  }

  .sun-inner {
    inset: 43px;
  }

  .art-caption {
    top: 105px;
    left: 79px;
    font-size: 18px;
  }

  .art-spark {
    font-size: 38px;
  }

  .project-grid {
    column-gap: 32px;
    row-gap: 64px;
  }

  .project-image {
    height: 330px;
  }

  .project-card-wide .project-image {
    height: 400px;
  }

  .image-illustration {
    height: min(66vw, 500px);
  }

  .project-card-last {
    margin-top: 80px;
  }

  .project-type {
    max-width: 105px;
    white-space: normal;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 76px;
  }

  .section-wrap,
  .site-header {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 72px;
  }

  .wordmark {
    gap: 8px;
  }

  .wordmark-mark {
    font-size: 25px;
  }

  .wordmark-name {
    font-size: 10px;
  }

  .site-nav {
    gap: 17px;
    font-size: 10px;
  }

  .site-nav .nav-contact {
    gap: 5px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 74px 66px;
  }

  .hero h1 {
    max-width: 520px;
    margin: 24px 0;
    font-size: clamp(56px, 14vw, 78px);
  }

  .hero-bottom {
    align-items: start;
    flex-direction: column;
    gap: 19px;
  }

  .hero-description {
    max-width: 310px;
    font-size: 13px;
  }

  .hero-art {
    position: absolute;
    right: 6px;
    bottom: 30px;
    width: 128px;
    height: 128px;
    opacity: 0.92;
  }

  .sun-shape {
    inset: 11px;
  }

  .sun-inner {
    inset: 24px;
  }

  .art-caption {
    top: 53px;
    left: 30px;
    font-size: 12px;
  }

  .art-spark {
    top: 3px;
    right: 2px;
    font-size: 24px;
  }

  .hero-index {
    display: none;
  }

  .work-section {
    padding-block: 66px 86px;
  }

  .section-heading {
    align-items: end;
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 43px;
  }

  .section-note {
    font-size: 9px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    row-gap: 38px;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-card-illustration {
    grid-column: auto;
  }

  .project-card-offset,
  .project-card-last {
    margin-top: 0;
  }

  .project-image,
  .project-card-wide .project-image {
    height: min(105vw, 390px);
  }

  .image-illustration {
    height: min(110vw, 420px);
  }

  .project-meta {
    gap: 10px;
    padding-top: 13px;
  }

  .project-meta h3 {
    font-size: 16px;
  }

  .project-meta p,
  .project-type {
    font-size: 9px;
  }

  .project-type {
    max-width: 90px;
  }

  .work-footnote {
    margin-top: 50px;
    font-size: 15px;
  }

  .about-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 64px 72px;
  }

  .about-label {
    flex-direction: row;
    align-items: start;
  }

  .about-stamp {
    width: 82px;
    height: 82px;
    margin: -14px 8px 0 0;
    font-size: 14px;
  }

  .about-stamp b {
    margin-top: 3px;
    font-size: 12px;
  }

  .about-copy p {
    margin-block: 20px;
    font-size: 12px;
  }

  .contact-section {
    padding-block: 88px 82px;
  }

  .contact-section h2 {
    font-size: clamp(57px, 13.4vw, 83px);
  }

  .contact-link {
    gap: 40px;
    margin-top: 27px;
    font-size: 12px;
  }

  .site-footer {
    min-height: 70px;
  }

  .site-footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
