:root {
  --black: #080808;
  --ink: #171717;
  --ink-soft: #56544f;
  --white: #fbfaf6;
  --milk: #f0eee7;
  --line: rgba(8, 8, 8, .14);
  --lime: #c9ff2f;
  --lime-deep: #8ec414;
  --blue-signal: #1aa7ff;
  --blue-soft: rgba(26, 167, 255, .14);
  --shadow: 0 34px 100px rgba(8, 8, 8, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --container: min(1220px, calc(100% - 44px));
  --header-height: 76px;
  --ease: .35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background:
    radial-gradient(circle at 88% 12%, var(--blue-soft), transparent 26%),
    linear-gradient(rgba(8, 8, 8, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 8, 8, .032) 1px, transparent 1px),
    var(--white);
  background-size: auto, 78px 78px, 78px 78px;
  font-family: var(--sans);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

::selection {
  color: var(--black);
  background: var(--lime);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1240px, calc(100% - 36px));
  min-height: var(--header-height);
  padding: 16px 18px 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 246, .84);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow var(--ease), background var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, .94);
  box-shadow: 0 18px 60px rgba(8, 8, 8, .08);
}

.brand {
  display: grid;
  line-height: .82;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.07em;
}

.brand span:last-child {
  padding-left: 28px;
  color: var(--lime-deep);
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.main-nav a,
.header-link {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after,
.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width var(--ease);
}

.main-nav a:hover::after,
.header-link:hover::after {
  width: 100%;
}

.header-link {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 246, .7);
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  padding: 7px 9px;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}

.language-switcher button.is-active {
  color: var(--black);
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--black);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--black);
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition: var(--ease);
}

.menu-button span:first-child {
  top: 18px;
}

.menu-button span:last-child {
  top: 28px;
}

body.menu-open .menu-button span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

body.menu-open .menu-button span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 45;
  inset: 0;
  padding: 130px 24px 40px;
  display: none;
  align-content: center;
  gap: 14px;
  background: rgba(251, 250, 246, .97);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.mobile-nav a {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 12vw, 5rem);
  line-height: .9;
  letter-spacing: -.07em;
}

body.menu-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 130px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px max(22px, 7vw) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 460px);
  align-items: end;
  gap: 70px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid::before {
  content: "";
  position: absolute;
  left: max(22px, 7vw);
  right: max(22px, 7vw);
  top: 50%;
  height: 1px;
  background: var(--line);
}

.hero-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.hero-snake {
  position: absolute;
  right: 4vw;
  top: 19%;
  width: 30vw;
  min-width: 320px;
  aspect-ratio: 1;
  background: url("../assets/media/grey-snake.png") center / cover no-repeat;
  opacity: .06;
  clip-path: polygon(14% 0, 100% 0, 84% 100%, 0 82%);
  transform: rotate(-12deg);
  filter: grayscale(1) contrast(1.15);
  box-shadow: 30px 30px 90px var(--blue-soft);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--lime-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.section-head h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.085em;
}

.hero h1 {
  font-size: clamp(5.2rem, 12vw, 12rem);
}

.hero h1 span,
.statement h2 span,
.section-head h2 span,
.contact-panel h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.35px var(--black);
}

.hero h1 .solid-title,
.statement h2 .solid-title,
.section-head h2 .solid-title,
.contact-panel h2 .solid-title {
  color: var(--black);
  -webkit-text-stroke: 0;
}

.hero-copy > p:not(.eyebrow),
.statement p,
.section-head > p,
.contact-panel > p {
  max-width: 660px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 56px;
  padding: 18px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

.btn-dark:hover {
  box-shadow: 12px 12px 0 var(--lime);
}

.btn-light {
  color: var(--black);
  background: rgba(251, 250, 246, .7);
}

.btn-light:hover {
  background: var(--lime);
}

.hero-portrait {
  position: relative;
  z-index: 2;
}

.portrait-frame {
  position: relative;
  border: 1px solid var(--black);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  z-index: -1;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 255, 47, .18), rgba(26, 167, 255, .08)),
    url("../assets/media/grey-snake.png") center / cover no-repeat;
  opacity: .82;
  filter: grayscale(.35) contrast(1.05);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: 28px;
  width: 4px;
  height: 44%;
  background: linear-gradient(var(--lime), var(--blue-signal));
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5.6;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.portrait-caption {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-side-text {
  position: absolute;
  right: 20px;
  bottom: 86px;
  margin: 0;
  writing-mode: vertical-rl;
  color: rgba(8, 8, 8, .34);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.statement {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-number {
  margin: 0;
  color: var(--lime-deep);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .26em;
}

.statement h2 {
  max-width: 900px;
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.section-head {
  max-width: 860px;
  margin-bottom: 70px;
}

.section-head h2,
.contact-panel h2 {
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.offer-table {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.offer-table article {
  display: grid;
  grid-template-columns: 80px minmax(240px, .7fr) 1fr;
  gap: 24px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  background: rgba(251, 250, 246, .74);
}

.offer-table span,
.project-index,
.world-card span {
  color: var(--lime-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .24em;
}

.offer-table h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.offer-table p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.price-list {
  border-top: 1px solid var(--line);
}

.price-list article {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 30px;
  padding: 34px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.price-list article p,
.project-main p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.price-list strong {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .9;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.price-list article span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(280px, .9fr) 1fr;
  gap: 34px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left var(--ease);
}

.project-row::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 0;
  width: 0;
  background:
    linear-gradient(rgba(8, 8, 8, .72), rgba(8, 8, 8, .72)),
    url("../assets/media/grey-snake.png") center / cover no-repeat;
  opacity: 0;
  transition: width var(--ease), opacity var(--ease);
}

.project-row:hover {
  padding-left: 18px;
}

.project-row:hover::after {
  width: 12px;
  opacity: .28;
}

.project-main h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: .88;
  letter-spacing: -.07em;
}

.project-text p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.project-text a {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .74rem;
  border-bottom: 2px solid var(--lime);
}

.worlds-note {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: .96rem;
  line-height: 1.75;
}

.worlds-note::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--lime), var(--blue-signal));
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.world-card {
  position: relative;
  min-height: 380px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, .72);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), color var(--ease), background var(--ease);
}

.world-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 8, 8, .78), rgba(8, 8, 8, .78)),
    url("../assets/media/grey-snake.png") center / cover no-repeat;
  opacity: 0;
  transition: opacity var(--ease);
}

.world-card-snake::before,
.world-card:hover::before {
  opacity: .08;
}

.world-card-primary {
  border-top: 3px solid var(--blue-signal);
}

.world-card-primary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--blue-signal));
}

.world-card-violet:hover {
  box-shadow: 12px 12px 0 var(--blue-signal);
}

.world-card-nude:hover {
  box-shadow: 12px 12px 0 #e8b49a;
}

.world-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  box-shadow: 12px 12px 0 var(--lime);
}

.world-card > * {
  position: relative;
  z-index: 2;
}

.world-card h3 {
  margin: 70px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.world-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.world-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: 26px;
  padding-bottom: 5px;
  color: var(--black);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.world-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--lime);
}

.world-link.is-current::after {
  background: var(--blue-signal);
}

.contact-panel {
  position: relative;
  padding: clamp(42px, 8vw, 90px);
  border: 1px solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  right: -84px;
  bottom: -84px;
  width: 260px;
  aspect-ratio: 1;
  background: url("../assets/media/grey-snake.png") center / cover no-repeat;
  clip-path: polygon(20% 0, 100% 0, 78% 100%, 0 82%);
  opacity: .08;
  filter: grayscale(1) contrast(1.1);
}

.contact-panel > * {
  position: relative;
  z-index: 2;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .88rem;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  position: relative;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width var(--ease);
}

.site-footer a:hover::after {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .main-nav,
  .header-link {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .mobile-nav {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    max-width: 520px;
  }

  .world-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-row,
  .offer-table article,
  .price-list article,
  .statement {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
    width: calc(100% - 22px);
    padding: 12px 12px 12px 16px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand span:last-child {
    padding-left: 18px;
  }

  .language-switcher {
    justify-self: end;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 30px;
  }

  .hero {
    min-height: auto;
    padding: 130px 22px 70px;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 21vw, 7rem);
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .portrait-frame::before {
    inset: 18px -16px -18px 16px;
  }

  .portrait-frame::after {
    right: -26px;
  }

  .portrait-caption {
    display: grid;
  }

  .hero-side-text,
  .hero-grid::after {
    display: none;
  }

  .hero-snake {
    right: -36vw;
    top: 10%;
    opacity: .04;
  }

  .section {
    width: calc(100% - 28px);
    padding: 86px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .statement h2,
  .section-head h2,
  .contact-panel h2 {
    font-size: clamp(3.2rem, 15vw, 5.4rem);
  }

  .world-grid {
    grid-template-columns: 1fr;
  }

  .world-card {
    min-height: 280px;
  }

  .project-row {
    gap: 18px;
    padding: 34px 0;
  }

  .offer-table article {
    padding: 28px 22px;
  }

  .price-list article {
    gap: 16px;
    padding: 30px 0;
  }

  .price-list strong {
    white-space: normal;
  }

  .contact-panel {
    padding: 34px 24px;
  }

  .site-footer {
    width: calc(100% - 28px);
    display: grid;
  }
}

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