:root {
  --gray: #999d9e;
  --ink: #1c1d20;
  --white: #fff;
  --blue: #455ce9;
  --soft: #e9eaeb;
  --line: rgba(28, 29, 32, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--gray);
  color: var(--ink);
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  cursor: none;
}

html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: none;
}

.skip {
  position: absolute;
  left: -999px;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s, border-color 0.25s;
  mix-blend-mode: difference;
}

.cursor.is-hover {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: var(--white);
  border-color: transparent;
}

.cursor-label {
  position: fixed;
  z-index: 91;
  pointer-events: none;
  color: var(--ink);
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-label.is-on {
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor,
  .cursor-label {
    display: none;
  }

  html,
  body,
  button {
    cursor: auto;
  }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader.is-done {
  transform: translateY(-110%);
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.greet {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.greet span {
  display: inline-block;
  animation: wave 1.4s ease-in-out infinite;
  transform-origin: 70% 70%;
}

.preloader-count {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.55;
}

@keyframes wave {
  0%,
  60%,
  100% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(18deg);
  }
  40% {
    transform: rotate(-8deg);
  }
}

.transition {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-size: 1.15rem;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

.transition.is-on {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  mix-blend-mode: difference;
  color: var(--white);
}

.logo {
  font-size: 14px;
  font-weight: 500;
}

.logo b {
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a,
.menu-toggle {
  font-size: 16px;
}

.menu-toggle {
  width: 84px;
  height: 84px;
  margin-right: -18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.burger {
  width: 28px;
  height: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s;
}

body.is-nav-open .burger span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

body.is-nav-open .burger span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 35;
  width: min(100%, 640px);
  height: 100%;
  background: var(--ink);
  color: var(--white);
  transform: translateX(110%);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  border-radius: 40px 0 0 40px;
  padding: 120px 70px 50px;
  display: flex;
  flex-direction: column;
}

.nav-overlay.is-open {
  transform: translateX(0);
}

.nav-kicker,
.footer-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.nav-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-overlay nav a {
  font-size: clamp(3rem, 7vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  width: fit-content;
}

.nav-overlay nav a.is-active::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 16px;
  background: var(--white);
  border-radius: 50%;
  vertical-align: middle;
}

.nav-socials {
  margin-top: auto;
}

.nav-socials ul,
.footer-socials {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gray);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 1;
  width: min(70vh, 54vw, 620px);
  height: min(70vh, 54vw, 620px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  pointer-events: none;
}

.location-pill {
  position: absolute;
  top: 46%;
  left: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 10px 10px 22px;
  font-size: 13px;
  line-height: 1.25;
}

.globe {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #454547;
  display: grid;
  place-items: center;
}

.globe svg {
  width: 28px;
  height: 28px;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-role {
  position: absolute;
  top: 42%;
  right: 48px;
  z-index: 3;
  font-size: 22px;
  line-height: 1.25;
  text-align: right;
}

.hero-role svg {
  display: block;
  margin: 0 0 10px auto;
}

.name-marquee {
  position: absolute;
  bottom: 4vh;
  left: 0;
  z-index: 4;
  display: flex;
  width: max-content;
  font-size: clamp(4.8rem, 14vw, 12.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.9;
  color: var(--white);
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.intro {
  position: relative;
  padding: 18vh 10vw 16vh;
  background: var(--gray);
}

.intro h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.intro-copy {
  max-width: 28rem;
  margin: 2.5rem 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.btn-round {
  position: absolute;
  right: 12vw;
  bottom: 8vh;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.btn-round span {
  position: relative;
  z-index: 1;
}

.btn-round::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-round:hover::before {
  transform: translateY(0);
}

.work-gallery {
  padding: 4vh 6vw 8vh;
  background: var(--gray);
}

.work-gallery h5 {
  margin: 0 0 28px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 11;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(3) {
  transform: translateY(8vh);
}

.gallery-meta {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.gallery-meta h4 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.gallery-meta p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.work-list-wrap {
  background: var(--white);
  padding: 8vh 6vw 10vh;
}

.work-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.work-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.work-row h4 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.work-row p,
.work-row span {
  margin: 0;
  font-size: 16px;
}

.more-wrap {
  display: flex;
  justify-content: center;
  padding: 70px 0 20px;
}

.btn-outline {
  min-width: 180px;
  padding: 18px 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-align: center;
}

.hover-img {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 380px;
  height: 250px;
  overflow: hidden;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-40%, -80%) scale(0.85);
  transition: opacity 0.25s, transform 0.25s;
}

.hover-img.is-on {
  opacity: 1;
  transform: translate(-40%, -80%) scale(1);
}

.hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero {
  padding: 22vh 6vw 8vh;
  background: var(--gray);
}

.page-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.page-hero p {
  max-width: 34rem;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.work-table {
  background: var(--white);
  padding: 0 6vw 8vh;
}

.work-head,
.work-item {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 0.5fr;
  gap: 16px;
  padding: 28px 0;
}

.work-head {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
  border-bottom: 1px solid var(--line);
}

.work-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.work-item h4 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  padding: 8vh 6vw 12vh;
  background: var(--white);
}

.help-grid h2 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.help-card h5 {
  margin: 0 0 12px;
  font-size: 12px;
  opacity: 0.5;
}

.help-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
}

.help-card p {
  margin: 0;
  line-height: 1.5;
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 6vw 12vh;
  background: var(--white);
}

blockquote {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

figcaption {
  margin-top: 16px;
  opacity: 0.55;
}

.contact-main {
  min-height: 70vh;
  padding: 24vh 6vw 12vh;
  background: var(--gray);
}

.contact-main h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.contact-main p {
  max-width: 32rem;
  font-size: 18px;
  line-height: 1.5;
}

.mail-link {
  display: inline-block;
  margin-top: 40px;
  padding: 22px 36px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 18px;
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 10vh 6vw 40px;
  border-radius: 40px 40px 0 0;
}

.footer h2 {
  margin: 0 0 36px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12vh;
}

.chip {
  padding: 20px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-meta p {
  margin: 6px 0 0;
}

@media (max-width: 1100px) {
  .header-nav a {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px 18px 18px 22px;
  }

  .hero-photo {
    top: 44%;
    width: min(78vw, 58vh);
    height: min(78vw, 58vh);
    transform: translate(-50%, -50%);
  }

  .location-pill,
  .hero-role {
    display: none;
  }

  .intro,
  .work-gallery,
  .work-list-wrap,
  .page-hero,
  .work-table,
  .help-grid,
  .quotes,
  .contact-main,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .btn-round {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40px;
  }

  .gallery-grid,
  .help-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3) {
    transform: none;
  }

  .work-row,
  .work-head,
  .work-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .work-head {
    display: none;
  }

  .nav-overlay {
    width: 100%;
    border-radius: 0;
    padding: 110px 28px 32px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hover-img {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .name-marquee,
  .globe svg,
  .greet span {
    animation: none;
  }

  .cursor {
    display: none;
  }
}
