:root {
  --page: #ffffff;
  --surface: #f6f1ed;
  --ink: #000000;
  --layout-min-width: 320px;
  --subpage-mobile-title-size: clamp(20px, 6.25vw, 28px);
  --hero-brand-top: clamp(14px, min(1.273vw, 1.961svh), 22px);
  --hero-brand-left: clamp(20px, min(1.447vw, 2.228svh), 25px);
  --hero-brand-width: clamp(150px, min(12.731vw, 19.608svh), 220px);
  --hero-brand-height: clamp(70px, min(5.845vw, 9.002svh), 101px);
  --hero-brand-size: clamp(26px, min(1.852vw, 2.852svh), 32px);
  --hero-brand-line: clamp(32px, min(2.257vw, 3.476svh), 39px);
  --hero-menu-top: clamp(42px, min(3.704vw, 5.704svh), 64px);
  --hero-menu-right: clamp(42px, min(6.481vw, 9.982svh), 112px);
  --hero-menu-width: clamp(42px, min(2.836vw, 4.367svh), 49px);
  --hero-menu-height: clamp(36px, min(2.431vw, 3.743svh), 42px);
  --hero-menu-gap: clamp(8px, min(0.579vw, 0.891svh), 10px);
  --hero-menu-line: clamp(38px, min(2.604vw, 4.011svh), 45px);
  --hero-menu-line-short: clamp(28px, min(1.91vw, 2.941svh), 33px);
  --hero-menu-stroke: clamp(2px, min(0.174vw, 0.267svh), 3px);
}

* {
  box-sizing: border-box;
}

body,
body * {
  cursor: url("../icons/cursor-dot.svg?v=f195c2eca2") 10 10, default !important;
}

html {
  min-width: var(--layout-min-width);
  scroll-behavior: smooth;
}

body {
  min-width: var(--layout-min-width);
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.build-yours-link {
  display: inline-block;
  max-width: calc(100% - 40px);
  color: #ff0000;
  font-size: clamp(22px, 2.083vw, 36px);
  font-weight: 600;
  line-height: 1.219;
  text-align: center;
  text-decoration: none;
}

.build-yours-link:hover,
.build-yours-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-width: var(--layout-min-width);
  background: var(--page);
  overflow-x: clip;
}

.hero {
  --hero-min-height: 720px;
  --hero-title-top: min(17.824vw, 27.451svh, 308px);
  --hero-title-size: clamp(42px, min(3.704vw, 5.704svh), 64px);
  --hero-title-line: clamp(50px, min(4.456vw, 6.862svh), 77px);
  --hero-title-width: min(38.079vw, 58.645svh, 658px, calc(100% - 48px));
  --hero-art-top: min(37.442vw, 57.665svh, 647px);
  --hero-art-width: min(58.854vw, 90.642svh, 1017px, calc(100% - 64px));
  --hero-art-ratio: 12023 / 5802;
  --hero-copyright-right: clamp(42px, min(5.208vw, 8.021svh), 90px);
  --hero-copyright-bottom: clamp(14px, min(1.157vw, 1.783svh), 20px);
  --hero-copyright-size: clamp(16px, min(1.157vw, 1.783svh), 20px);

  position: relative;
  min-height: 100vh;
  min-height: max(var(--hero-min-height), 100svh);
  background: var(--surface);
  isolation: isolate;
  overflow: hidden;
}

.brand,
.hero h1,
.hero-subline,
.copyright {
  z-index: 5;
}

.brand {
  position: fixed;
  top: var(--hero-brand-top);
  left: var(--hero-brand-left);
  z-index: 30;
  width: var(--hero-brand-width);
  height: var(--hero-brand-height);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: var(--hero-brand-size);
  font-weight: 600;
  line-height: var(--hero-brand-line);
  mix-blend-mode: difference;
  text-align: center;
  text-decoration: none;
}

.hero h1 {
  position: absolute;
  top: var(--hero-title-top);
  left: 50%;
  width: var(--hero-title-width);
  margin: 0;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: var(--hero-title-size);
  font-weight: 700;
  line-height: var(--hero-title-line);
  text-align: center;
}

.hero-subline {
  position: absolute;
  top: calc(var(--hero-art-top) - clamp(66px, min(4.167vw, 6.417svh), 72px));
  left: 50%;
  width: min(1017px, calc(100% - 48px));
  margin: 0;
  margin-top: 50px;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: clamp(17px, min(1.389vw, 2.139svh), 24px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.208;
  text-align: center;
}

.hero-mark {
  position: absolute;
  top: var(--hero-art-top);
  left: 50%;
  z-index: 2;
  width: var(--hero-art-width);
  aspect-ratio: var(--hero-art-ratio);
  height: auto;
  display: block;
  transform: translateX(-50%);
  user-select: none;
}

.hover-mask {
  --mask-x: 50%;
  --mask-y: 50%;
  --mask-size: 0px;
  --mask-opacity: 0;
  touch-action: pan-y;
}

.hover-mask__reveal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: var(--mask-opacity);
  contain: paint;
  will-change: opacity, mask-image, -webkit-mask-image;
  -webkit-mask-image:
    radial-gradient(circle var(--mask-size) at var(--mask-x) var(--mask-y), #000 0 42%, rgba(0, 0, 0, 0.82) 58%, transparent 76%);
  mask-image:
    radial-gradient(circle var(--mask-size) at var(--mask-x) var(--mask-y), #000 0 42%, rgba(0, 0, 0, 0.82) 58%, transparent 76%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hover-mask__image {
  position: absolute;
  top: var(--hero-art-top);
  left: 50%;
  width: var(--hero-art-width);
  aspect-ratio: var(--hero-art-ratio);
  overflow: hidden;
  transform: translateX(-50%);
  transform-origin: center;
  pointer-events: none;
}

.hover-mask__image img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--hero-art-ratio);
  display: block;
  mix-blend-mode: multiply;
  -webkit-user-drag: none;
  user-select: none;
}

.copyright {
  position: absolute;
  right: var(--hero-copyright-right);
  bottom: var(--hero-copyright-bottom);
  margin: 0;
  color: var(--ink);
  font-size: var(--hero-copyright-size);
  font-weight: 500;
  line-height: 24px;
}

.home-previews {
  background: var(--page);
}

.home-preview {
  --preview-background: #ffffff;
  --preview-color: #000000;
  min-height: 100vh;
  min-height: max(760px, 100svh);
  display: grid;
  place-items: center;
  padding: clamp(110px, 9.375vw, 162px) clamp(44px, 9.201vw, 159px);
  background: var(--preview-background);
  color: var(--preview-color);
}

.home-preview--process,
.home-preview--contact {
  --preview-background: #000000;
  --preview-color: #ffffff;
}

.home-preview--about {
  --preview-background: var(--surface);
}

.home-preview__inner {
  width: min(100%, 1410px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(64px, 7vw, 120px);
}

.home-preview--process .home-preview__content,
.home-preview--contact .home-preview__content {
  grid-column: 2;
}

.home-preview--process .home-preview__visual,
.home-preview--contact .home-preview__contact {
  grid-column: 1;
  grid-row: 1;
}

.home-preview__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(48px, 4vw, 70px);
  color: #76777a;
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
}

.home-preview__kicker > span:first-child {
  width: 19px;
  border-top: 1px solid currentColor;
}

.home-preview h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 4.63vw, 80px);
  font-weight: 800;
  line-height: 1.12;
}

.home-preview h2 > span {
  display: block;
}

.home-preview--about h2 {
  font-size: clamp(42px, 3.704vw, 64px);
}

.home-preview__description {
  max-width: 680px;
  margin: clamp(34px, 3vw, 52px) 0 0;
  font-size: clamp(18px, 1.389vw, 24px);
  font-weight: 400;
  line-height: 1.42;
}

.home-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(42px, 4vw, 68px);
  color: #ff0000;
  font-size: clamp(20px, 1.62vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.home-preview__link::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.home-preview__link:hover::after,
.home-preview__link:focus-visible::after {
  transform: translateX(8px);
}

.home-preview__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
}

.home-preview__visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 3;
  justify-self: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #b9b6b3;
  color: #000000;
}

.home-preview__visual--process,
.home-preview__visual--about {
  background: #ffffff;
}

.home-preview__page-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10%;
  border-bottom: 1px solid #b9b6b3;
}

.home-preview__page-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #76777a;
  box-shadow: 11px 0 #b9b6b3, 22px 0 #b9b6b3;
  transform: translateY(-50%);
}

.home-preview__page-kicker,
.home-preview__page-title,
.home-preview__page-copy,
.home-preview__page-accent {
  position: absolute;
  left: 11%;
  display: block;
}

.home-preview__page-kicker {
  top: 22%;
  width: 18%;
  border-top: 1px solid #76777a;
}

.home-preview__page-title {
  top: 34%;
  width: 62%;
  height: 4%;
  background: currentColor;
}

.home-preview__page-title::after {
  content: "";
  position: absolute;
  top: 190%;
  left: 0;
  width: 76%;
  height: 100%;
  background: currentColor;
}

.home-preview__page-copy {
  top: 59%;
  width: 42%;
  border-top: 2px solid #b9b6b3;
  box-shadow: 0 10px #b9b6b3, 0 20px #b9b6b3;
}

.home-preview__page-accent {
  bottom: 14%;
  width: 22%;
  border-top: 3px solid #ff0000;
}

.home-preview__visual--projects .home-preview__page-title {
  top: 30%;
  width: 68%;
}

.home-preview__visual--projects .home-preview__page-title::after {
  width: 86%;
}

.home-preview__visual--projects .home-preview__page-copy {
  top: 51%;
  width: 46%;
}

.home-preview__visual--projects .home-preview__page-accent {
  bottom: 7%;
  left: 50%;
  width: 34%;
  height: 23%;
  border: 1px solid #76777a;
  transform: translateX(-50%);
}

.home-preview__visual--projects .home-preview__page-accent::before {
  content: "";
  position: absolute;
  inset: 14% 10% 28%;
  border: 1px solid #b9b6b3;
  background:
    linear-gradient(90deg, #000000 0 38%, transparent 38% 48%, #ff0000 48% 58%, transparent 58% 100%);
}

.home-preview__visual--projects .home-preview__page-accent::after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: 13%;
  left: 22%;
  border-top: 1px solid #b9b6b3;
}

.home-preview__visual--process .home-preview__page-kicker {
  top: 18%;
}

.home-preview__visual--process .home-preview__page-title {
  top: 27%;
  width: 46%;
  height: 3.5%;
}

.home-preview__visual--process .home-preview__page-title::after {
  width: 126%;
}

.home-preview__visual--process .home-preview__page-copy {
  top: 49%;
  left: 50%;
  width: 1px;
  height: 37%;
  border: 0;
  background: #b9b6b3;
  box-shadow: none;
}

.home-preview__visual--process .home-preview__page-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 28px #000000, 0 56px #76777a, 0 84px #000000;
}

.home-preview__visual--process .home-preview__page-accent {
  top: 52%;
  bottom: auto;
  left: 20%;
  width: 18%;
  height: 3%;
  border: 0;
  background: currentColor;
}

.home-preview__visual--process .home-preview__page-accent::before,
.home-preview__visual--process .home-preview__page-accent::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: currentColor;
}

.home-preview__visual--process .home-preview__page-accent::before {
  top: 340%;
  left: 238%;
}

.home-preview__visual--process .home-preview__page-accent::after {
  top: 680%;
  left: 0;
}

.home-preview__visual--about .home-preview__page-title {
  top: 28%;
  width: 42%;
}

.home-preview__visual--about .home-preview__page-title::after {
  width: 142%;
}

.home-preview__visual--about .home-preview__page-copy {
  top: 50%;
  width: 36%;
}

.home-preview__visual--about .home-preview__page-accent {
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 29%;
  border: 0;
  background: #000000;
}

.home-preview__visual--about .home-preview__page-accent::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 11%;
  width: 38%;
  height: 4%;
  background: #ffffff;
  box-shadow: 0 18px #ffffff;
}

.home-preview__visual--about .home-preview__page-accent::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 11%;
  width: 18%;
  border-top: 3px solid #ff0000;
}

.home-preview__contact {
  width: min(100%, 460px);
  min-height: 340px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 70px);
  border: 1px solid #76777a;
}

.home-preview__contact p {
  margin: 0;
  color: #76777a;
  font-size: 15px;
  line-height: 30px;
}

.home-preview__contact a {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  color: inherit;
  font-size: clamp(16px, 1.5vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.home-preview__contact > span {
  width: 100%;
  margin-top: 54px;
  border-top: 1px solid #76777a;
}

.text-link {
  display: inline-block;
  margin-top: 34px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}

.footer {
  min-height: 220px;
  padding: 54px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
}

.footer p,
.footer a {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 1.852vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.footer a {
  font-size: clamp(19px, 1.389vw, 24px);
  font-weight: 500;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 7px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --hero-brand-top: 24px;
    --hero-brand-left: 20px;
    --hero-brand-width: auto;
    --hero-brand-height: auto;
    --hero-brand-size: 28px;
    --hero-brand-line: 34px;
    --hero-menu-top: 30px;
    --hero-menu-right: 20px;
    --hero-menu-width: 43px;
    --hero-menu-height: 38px;
    --hero-menu-gap: 8px;
    --hero-menu-line: 39px;
    --hero-menu-line-short: 29px;
    --hero-menu-stroke: 3px;
  }

  .hero {
    --hero-min-height: 720px;
    --hero-title-top: clamp(132px, 23svh, 158px);
    --hero-title-size: clamp(32px, 10vw, 40px);
    --hero-title-line: clamp(39px, 12vw, 48px);
    --hero-title-width: calc(100% - 32px);
    --hero-art-top: clamp(360px, 57svh, 425px);
    --hero-art-width: min(620px, calc(100% + 132px));
    --hero-copyright-right: 20px;
    --hero-copyright-bottom: 24px;
    --hero-copyright-size: 16px;

    min-height: 100vh;
    min-height: max(var(--hero-min-height), 100svh);
  }

  .brand {
    justify-content: flex-start;
  }

  .copyright {
    line-height: 20px;
  }

  .hero-subline {
    top: calc(var(--hero-art-top) - 72px);
    width: calc(100% - 40px);
    font-size: 18px;
    line-height: 1.28;
  }

  .home-preview {
    min-height: 0;
    padding: 120px 20px;
  }

  .home-preview__inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .home-preview--process .home-preview__content,
  .home-preview--contact .home-preview__content,
  .home-preview--process .home-preview__visual,
  .home-preview--contact .home-preview__contact {
    grid-column: 1;
    grid-row: auto;
  }

  .home-preview__kicker {
    margin-bottom: 42px;
  }

  .home-preview h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.16;
  }

  .home-preview--about h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .home-preview__description {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.45;
  }

  .home-preview__link {
    margin-top: 38px;
    font-size: 21px;
  }

  .home-preview__visual {
    width: min(340px, 86vw);
  }

  .home-preview__contact {
    width: min(100%, 460px);
    min-height: 240px;
  }

  .home-preview__contact a {
    font-size: clamp(16px, 4.5vw, 19px);
  }

  .home-preview--process .home-preview__visual,
  .home-preview--contact .home-preview__contact {
    order: 2;
  }

  .footer {
    min-height: 180px;
    padding: 42px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    font-size: clamp(23px, 7vw, 28px);
  }

  .footer a {
    font-size: clamp(18px, 5.5vw, 20px);
  }
}

@media (max-width: 390px) {
  .hero {
    --hero-title-size: 36px;
    --hero-title-line: 43px;
  }
}
