@font-face {
  font-family: "Nyght Serif";
  src: url("../images/brand/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Nyght Serif";
  src: url("../images/brand/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --color-paper: #ffffff;
  --color-ink: #666666;
  --color-muted: #c4c4c4;
  --color-night: #080808;
  --color-soft-white: #d9d9d9;
  --font-display: "Nyght Serif", Georgia, serif;
  --font-sans: "Work Sans", Arial, sans-serif;
  --focus-ring: #f06d2f;
  --menu-transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 10px 14px;
  color: var(--color-paper);
  background: var(--color-night);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.hero,
.works,
.services {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-paper);
}

.hero {
  height: 1401px;
}

.site-header {
  position: absolute;
  z-index: 4;
  inset-block-start: 25px;
  inset-inline: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 169.328px;
  height: 54px;
}

.brand-wordmark {
  display: none;
}

.menu-button,
.menu-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  width: 32px;
  height: 32px;
  gap: 10px;
}

.menu-button span {
  width: 100%;
  height: 2px;
  background: var(--color-ink);
}

.hero-arc {
  position: absolute;
  inset-block-start: 237px;
  inset-inline-start: 50%;
  width: 100%;
  height: 106px;
  transform: translateX(-50%);
}

.hero-arc img {
  width: 100%;
  height: 100%;
}

.hero-title {
  position: absolute;
  inset-block-start: 346px;
  inset-inline-start: 50%;
  width: max-content;
  margin: 0;
  background: linear-gradient(180deg, var(--color-ink), rgba(102, 102, 102, 0.8));
  color: transparent;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-title-desktop {
  display: flex;
  flex-direction: column;
}

.hero-title-mobile {
  display: none;
}

.hero-cards {
  position: absolute;
  inset-block-start: 602px;
  inset-inline-start: calc(50% + 47.37px);
  width: 558.747px;
  height: 504.634px;
  transform: translateX(-50%);
}

.hero-card,
.preview-card {
  position: relative;
  width: 306px;
  height: 416px;
  overflow: hidden;
  background: var(--color-night);
}

.hero-card--base {
  position: absolute;
  inset-block-start: 40.14px;
  inset-inline-start: 0;
}

.hero-card--base > img,
.card-base-layer {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: -140.14%;
  width: 242.32%;
  max-width: none;
  height: 100%;
}

.hero-card-wrap {
  position: absolute;
  display: grid;
  place-items: center;
}

.hero-card-wrap--orange {
  inset-block-start: 0;
  inset-inline-start: 33.65px;
  width: 385.804px;
  height: 470.53px;
}

.hero-card-wrap--orange .hero-card {
  transform: rotate(12deg);
}

.hero-card-wrap--fashion {
  inset-block-start: 0.14px;
  inset-inline-start: 110px;
  width: 448.747px;
  height: 504.496px;
}

.hero-card-wrap--fashion .hero-card {
  transform: rotate(24deg);
}

.card-red-layer {
  position: absolute;
  inset: 0;
  background: rgba(255, 0, 0, 0.2);
}

.card-orange-layer {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 179.17%;
  max-width: none;
  height: 100%;
}

.card-fashion-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.hero-intro {
  position: absolute;
  inset-block-start: 1259.5px;
  inset-inline-start: calc(50% - 20px);
  width: 684px;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-intro-mobile {
  display: none;
}

.works {
  height: 1034px;
}

.section-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 264px;
  color: var(--color-ink);
}

.section-label img {
  width: 264px;
  height: 28px;
}

.section-label h2 {
  width: 100%;
  margin: -2px 0 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.works-label {
  display: none;
}

.works-list {
  position: absolute;
  inset-block-start: 272px;
  inset-inline-start: 50%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 756px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}

.work-name {
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.work-name--active {
  position: relative;
  height: 88px;
  color: var(--color-ink);
}

.work-marker {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  background: currentColor;
}

.work-active-copy {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: center;
}

.work-category {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.works-preview {
  position: absolute;
  inset-block-start: 140.32px;
  inset-inline-start: calc(50% + 93.73px);
  display: grid;
  place-items: center;
  width: 569.094px;
  height: 410.702px;
}

.preview-card {
  width: 288px;
  height: 512px;
  transform: rotate(-75deg);
}

.services {
  height: 682px;
  padding-block: 120px;
}

.services-label {
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: 756px;
  margin: 64px auto 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.service-icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-block-start: 6px;
  overflow: hidden;
}

.service-icon > img {
  width: 100%;
  height: 100%;
}

.service-icon--inset > img {
  position: absolute;
  inset: 7.03%;
  width: 85.94%;
  height: 85.94%;
}

.mosaic-canvas {
  position: absolute;
  inset: 1.75% 2.07%;
}

.mosaic-canvas img,
.aperture-canvas img {
  position: absolute;
  width: auto;
  max-width: none;
  height: auto;
}

.mosaic-center {
  inset: 28.82% 28.68%;
  width: 42.5% !important;
  height: 42.5% !important;
  transform: rotate(45deg);
}

.mosaic-axis {
  inset-inline: 36.74%;
  width: 26.52% !important;
  height: 26.33% !important;
}

.mosaic-axis--top {
  inset-block-start: 0;
}

.mosaic-axis--bottom {
  inset-block-end: 0;
}

.mosaic-horizontal {
  inset-block: 37.98%;
  width: 24.2% !important;
  height: 24.04% !important;
}

.mosaic-horizontal--start {
  inset-inline-start: 0;
}

.mosaic-horizontal--end {
  inset-inline-end: 0;
}

.mosaic-corner {
  width: 17.29% !important;
  height: 17.17% !important;
}

.mosaic-corner--one {
  inset-block-start: 17.94%;
  inset-inline-start: 17.72%;
}

.mosaic-corner--two {
  inset-block-start: 17.94%;
  inset-inline-end: 17.72%;
}

.mosaic-corner--three {
  inset-block-end: 17.94%;
  inset-inline-start: 17.72%;
}

.mosaic-corner--four {
  inset-block-end: 17.94%;
  inset-inline-end: 17.72%;
}

.aperture-canvas {
  position: absolute;
  inset: 7.03%;
}

.aperture-part--top {
  inset-block-start: 0;
  inset-inline: 29.09%;
  width: 41.82% !important;
  height: 31.82% !important;
}

.aperture-part--right {
  inset-block: 29.09%;
  inset-inline-end: 0;
  width: 31.82% !important;
  height: 41.82% !important;
  transform: rotate(90deg);
}

.aperture-part--bottom {
  inset-block-end: 0;
  inset-inline: 29.09%;
  width: 41.82% !important;
  height: 31.82% !important;
  transform: rotate(180deg);
}

.aperture-part--left {
  inset-block: 29.09%;
  inset-inline-start: 0;
  width: 31.82% !important;
  height: 41.82% !important;
  transform: rotate(-90deg);
}

.service-copy {
  min-width: 0;
  color: var(--color-ink);
}

.service-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.service-copy p {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.site-footer {
  width: 100%;
  padding: 16px;
  overflow: hidden;
  background: var(--color-paper) url("../images/ui/footer-background-desktop.png") center / 100% 100% no-repeat;
}

.footer-card {
  display: flex;
  flex-direction: column;
  height: 502px;
  padding: 33px 27px;
  color: var(--color-paper);
  background: var(--color-night);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-intro-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 20px;
  line-height: 1.4;
}

.footer-intro-row p {
  flex: 1;
  margin: 0;
  color: var(--color-soft-white);
}

.footer-intro-row a {
  flex: 0 0 auto;
  font-size: 32px;
}

.footer-nav-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 80px;
  font-size: 20px;
  line-height: 1.4;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-social {
  align-items: flex-end;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 16px;
  font-weight: 300;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  color: var(--color-night);
  background: var(--color-paper);
}

.footer-cta {
  min-height: 56px;
  font-size: 20px;
}

.footer-cta--mobile {
  display: none;
}

.footer-wordmark {
  align-self: flex-start;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-block-start: auto;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--color-soft-white);
}

.footer-legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--color-soft-white);
  font-size: 12px;
  line-height: 1.4;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-nav a,
.footer-intro-row a,
.footer-wordmark,
.menu-nav a {
  transition: opacity 180ms ease;
}

.footer-nav a:hover,
.footer-intro-row a:hover,
.footer-wordmark:hover,
.menu-nav a:hover {
  opacity: 0.65;
}

.menu-dialog {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  width: 100%;
  max-width: none;
  height: 434px;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  color: var(--color-paper);
  background: transparent;
}

.menu-dialog::backdrop {
  background: rgba(8, 8, 8, 0.16);
}

.menu-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--menu-transition), transform var(--menu-transition);
}

.menu-dialog.is-open .menu-shell {
  opacity: 1;
  transform: translateY(0);
}

.menu-gradient {
  background: url("../images/ui/menu-gradient-desktop.png") center / 100% 100% no-repeat;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding: 24px 48px;
  overflow: hidden;
  background: var(--color-night);
}

.menu-close {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.menu-close span {
  position: absolute;
  width: 32px;
  height: 1px;
  background: var(--color-paper);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 40px;
  line-height: 1;
  transform: translateY(-4px);
}

.menu-dialog.opened-with-pointer .menu-close:focus-visible {
  outline: 0;
}

.menu-cta {
  width: 100%;
  height: 56px;
  font-size: 24px;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .works-list,
  .services-grid {
    width: min(756px, calc(100% - 96px));
  }

  .works-preview {
    inset-inline-start: calc(50% + 40px);
    transform: scale(0.8);
    transform-origin: center;
  }

  .services {
    height: auto;
    min-height: 682px;
    padding-inline: 48px;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 936px;
  }

  .site-header {
    inset-block-start: 24px;
    inset-inline: 24px;
  }

  .brand-logo {
    display: none;
  }

  .brand-wordmark {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
  }

  .menu-button {
    width: 48px;
    height: 48px;
    gap: 10px;
    align-items: flex-end;
  }

  .menu-button span {
    width: 24px;
    height: 1px;
  }

  .hero-arc {
    inset-block-start: 135px;
    width: 100%;
    height: 26px;
  }

  .hero-title {
    inset-block-start: 185px;
    width: 100%;
    color: var(--color-ink);
    background: none;
    font-size: 40px;
    line-height: 1.1;
  }

  .hero-title {
    max-width: 330px;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: block;
  }

  .hero-cards {
    inset-block-start: 373px;
    inset-inline-start: calc(50% + 14px);
    width: 280px;
    height: 252.883px;
  }

  .hero-card,
  .preview-card {
    width: 153.102px;
    height: 208.795px;
  }

  .hero-card--base {
    inset-block-start: 20.11px;
  }

  .hero-card-wrap--orange {
    inset-block-start: 0;
    inset-inline-start: 16.79px;
    width: 193.167px;
    height: 236.064px;
  }

  .hero-card-wrap--fashion {
    inset-block-start: 0;
    inset-inline-start: 54.99px;
    width: 224.672px;
    height: 252.883px;
  }

  .hero-card-wrap--fashion .hero-card {
    width: 153.021px;
    height: 208.685px;
  }

  .hero-intro {
    inset-block-start: 719.5px;
    inset-inline-start: 50%;
    width: calc(100% - 32px);
    max-width: 358px;
    font-size: 16px;
    font-weight: 300;
  }

  .hero-intro-desktop {
    display: none;
  }

  .hero-intro-mobile {
    display: inline;
  }

  .works {
    height: 600px;
  }

  .works-label {
    position: absolute;
    inset-block-start: 31px;
    inset-inline-start: 50%;
    display: flex;
    transform: translateX(-50%);
  }

  .section-label h2 {
    font-size: 16px;
  }

  .works-list {
    inset-block-start: 157.9px;
    inset-inline-start: 24px;
    gap: 48px;
    width: 304px;
    transform: none;
  }

  .work-name {
    font-size: 40px;
  }

  .work-name--active {
    height: 40px;
  }

  .work-category {
    font-weight: 300;
  }

  .works-preview {
    inset-block-start: 139px;
    inset-inline-start: calc(50% + 0px);
    width: 177.842px;
    height: 128.344px;
  }

  .preview-card {
    width: 90px;
    height: 160px;
  }

  .services {
    height: 1075px;
    padding: 0;
  }

  .services-label {
    position: absolute;
    inset-block-start: 31px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
  }

  .services-grid {
    position: absolute;
    inset-block-start: 143px;
    inset-inline-start: 50%;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    width: min(340px, calc(100% - 48px));
    margin: 0;
    transform: translateX(-50%);
  }

  .site-footer {
    height: 613px;
    padding: 16px;
    background-image: url("../images/ui/footer-background-mobile.png");
  }

  .footer-card {
    height: 581px;
    min-height: 0;
    padding: 33px 27px;
  }

  .footer-cta--mobile {
    display: flex;
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding-block: 0;
    font-size: 20px;
  }

  .footer-cta--desktop {
    display: none;
  }

  .footer-intro-row {
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
    line-height: 1;
  }

  .footer-intro-row a {
    font-size: 16px;
  }

  .footer-links {
    justify-content: space-between;
    width: 100%;
    gap: 40px;
    font-size: 16px;
    line-height: 1;
  }

  .footer-nav,
  .footer-social {
    gap: 12px;
  }

  .footer-social {
    margin-inline-start: auto;
  }

  .footer-wordmark {
    font-size: 46px;
  }

  .footer-bottom {
    gap: 32px;
    margin-block-start: 21px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 16px;
  }

  .footer-legal-links {
    width: 100%;
  }

  .menu-dialog {
    height: 100dvh;
  }

  .menu-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 311px minmax(0, 1fr);
  }

  .menu-gradient {
    grid-row: 2;
    background-image: url("../images/ui/menu-gradient-mobile.png");
  }

  .menu-content {
    grid-row: 1;
    align-items: flex-end;
    gap: 24px;
    padding: 24px 16px 0;
  }

  .menu-body {
    gap: 40px;
  }

  .menu-nav {
    gap: 16px;
    font-size: 24px;
    line-height: 1;
  }

  .menu-cta {
    height: 47px;
    padding: 10px 16px;
    font-size: 20px;
  }
}

@media (max-width: 374px) {
  .service-copy h3 {
    font-size: 36px;
  }

  .footer-card {
    padding-inline: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
