@font-face {
  font-family: "Aktiv Grotesk";
  src: url("assets/AktivGrotesk-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aktiv Grotesk";
  src: url("assets/AktivGrotesk-Black.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #E7293A;
  --white: #ffffff;
  --max: 1120px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
  color: var(--red);
  font-family: "Aktiv Grotesk", Arial, Helvetica, sans-serif;
  font-weight: 900;
  overflow-x: clip;
  scroll-behavior: smooth;
  text-align: center;
  text-transform: uppercase;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--red);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: page-progress linear both;
  animation-timeline: scroll(root);
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2 {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  width: 100%;
}

.hero,
.main-visual,
.text-block,
.giant-text,
.gallery,
.contact,
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.hero {
  min-height: 64vh;
  flex-direction: column;
  gap: 28px;
  padding-top: 72px;
  padding-bottom: 0;
}

.hero-logo {
  width: min(760px, 86vw);
}

.logo-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: transform .5s var(--ease-out);
}

.logo-link:hover,
.logo-link:focus {
  transform: scale(.97);
}

.baseline {
  max-width: var(--max);
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.main-visual {
  padding-top: 28px;
  padding-bottom: 86px;
}

.main-visual img {
  width: min(980px, 92vw);
  transform-origin: center;
}

.text-block {
  padding-top: 40px;
  padding-bottom: 96px;
}

.text-block h2 {
  max-width: 780px;
  font-size: clamp(22px, 3.1vw, 42px);
  font-weight: 900;
  line-height: 1.04;
}

.checker {
  --checker-size: clamp(44px, 6vw, 76px);
  width: 100%;
  height: var(--checker-size);
  background:
    repeating-conic-gradient(
      var(--red) 0 25%,
      var(--white) 0 50%
    )
    0 0 / var(--checker-size) var(--checker-size);
}

.giant-text {
  min-height: 76vh;
  padding-top: 90px;
  padding-bottom: 96px;
}

.giant-text p {
  max-width: 1040px;
  font-size: clamp(30px, 5.2vw, 61px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: 0;
}

.gallery {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 104px;
  padding-bottom: 88px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform-origin: center;
  transition:
    clip-path .9s var(--ease-out),
    filter .65s var(--ease-out),
    transform .65s var(--ease-out);
}

.gallery img:hover {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(.985);
}

.contact {
  padding-top: 18px;
  padding-bottom: 72px;
}

.contact-form {
  width: min(680px, 100%);
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form span {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 4px solid var(--red);
  border-radius: 0;
  padding: 16px 18px;
  background: var(--white);
  color: var(--red);
  font: inherit;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  transition:
    box-shadow .35s var(--ease-out),
    transform .35s var(--ease-out),
    background-color .35s var(--ease-out);
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 6px rgba(231, 41, 58, .18);
  transform: translateY(-2px);
}

.contact-form button {
  border: 4px solid var(--red);
  border-radius: 0;
  padding: 16px 22px;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color .35s var(--ease-out),
    color .35s var(--ease-out),
    transform .35s var(--ease-out);
}

.contact-form button:hover,
.contact-form button:focus {
  background: var(--white);
  color: var(--red);
  transform: translateY(-3px);
}

.footer {
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 72px;
}

.footer-logo {
  width: min(210px, 42vw);
}

.legal-page {
  min-height: 100vh;
}

.legal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 56px 24px 24px;
}

.legal-content {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-content h1 {
  margin: 0 0 40px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: .9;
}

.legal-list {
  display: grid;
  gap: 16px;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.05;
}

.legal-list h2 {
  margin: 32px 0 4px;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: .95;
}

.legal-list h2:first-child {
  margin-top: 0;
}

.legal-list a {
  text-decoration: none;
}

.legal-list a:hover,
.legal-list a:focus {
  text-decoration: underline;
}

.legal-link {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.legal-link:hover,
.legal-link:focus {
  text-decoration: underline;
}

.status-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
}

.status-content {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 28px;
}

.status-content h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 84px);
  line-height: .9;
}

.status-content p {
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.05;
}

.has-motion .is-intro .hero-logo {
  animation: hero-logo-in 1.15s var(--ease-out) .1s both;
}

.has-motion .is-intro .baseline {
  animation: hero-text-in 1s var(--ease-out) .35s both;
}

.has-motion .reveal {
  opacity: 0;
  transform: translateY(72px);
  transition:
    opacity .9s var(--ease-out),
    transform 1.05s var(--ease-out),
    clip-path 1.15s var(--ease-in-out);
}

.has-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-motion .reveal-mask {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: none;
}

.has-motion .reveal-mask.is-visible {
  clip-path: inset(0 0 0 0);
}

.has-motion .reveal-mask img {
  transform: scale(1.08);
  transition: transform 1.3s var(--ease-out);
}

.has-motion .reveal-mask.is-visible img {
  transform: scale(1);
}

.has-motion .reveal-checker {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transform: none;
}

.has-motion .reveal-checker.is-visible {
  clip-path: inset(0 0 0 0);
}

.has-motion .reveal-gallery {
  opacity: 1;
  transform: none;
}

.has-motion .reveal-gallery img {
  clip-path: inset(100% 0 0 0);
  filter: blur(10px);
  transform: translateY(54px) scale(1.03);
  transition-delay: calc(var(--item-index) * 70ms);
}

.has-motion .reveal-gallery.is-visible img {
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.has-motion .reveal-gallery.is-visible img:hover {
  filter: saturate(1.08) contrast(1.04);
  transform: translateY(0) scale(.985);
}

@keyframes hero-logo-in {
  from {
    opacity: 0;
    transform: translateY(38px) scale(.94);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hero-text-in {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes page-progress {
  to {
    transform: scaleX(1);
  }
}

@supports not (animation-timeline: scroll(root)) {
  body::before {
    display: none;
  }
}

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

  body::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero,
  .main-visual,
  .text-block,
  .giant-text,
  .gallery,
  .contact,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: 38vh;
  }

  .main-visual {
    padding-bottom: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
