@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --stage: #fdf3eb;
  --header-h: 4.25rem;
  --pager-h: 4.5rem;
  --font: "Schibsted Grotesk", "Arial Narrow", Arial, sans-serif;
}

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

html {
  background: var(--stage);
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.scroll-thumb {
  position: fixed;
  top: 0;
  right: 3px;
  z-index: 35;
  width: 4px;
  border-radius: 999px;
  background: rgba(42, 28, 16, 0.55);
  box-shadow: 0 0 0 1px rgba(253, 243, 235, 0.28);
  pointer-events: none;
}

html.lenis {
  scroll-behavior: auto;
}

body {
  margin: 0;
  padding-top: 5.75rem;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color-scheme: light;
}

h1,
h2,
p {
  margin: 0;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}

.skip:focus {
  top: 0.6rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 5.5rem;
  background: transparent;
  color: var(--ink);
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.header-kicker {
  position: absolute;
  top: 1.35rem;
  left: 1.4rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo {
  position: absolute;
  top: 1.15rem;
  left: 50%;
  display: flex;
  max-width: 46vw;
  transform: translateX(-50%);
}

.logo img {
  display: block;
  height: 2.15rem;
  width: auto;
}

.header-contact {
  position: absolute;
  top: 1.15rem;
  right: 1.4rem;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deck {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.track {
  display: contents;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--paper);
  border: none;
  box-shadow: 0 22px 50px rgba(80, 40, 20, 0.12);
  padding: 1.8rem 1.7rem 1.4rem;
}

.plinth,
.pager__hint {
  display: none;
}

.card__index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h1,
.card h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.card h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

.card h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
}

.card p {
  max-width: 34rem;
}

.card a:not(.btn) {
  color: inherit;
}

.card__mark {
  width: 5.25rem;
  height: auto;
  margin: 0.2rem 0 0.15rem;
}

.card__hint,
.card__sign,
.form__note {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form__note {
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: 32rem;
}

.card__hint {
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.75rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: #161616;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.form {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 28rem);
  margin-top: 0.25rem;
}

.form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  padding: 0.7rem 0.75rem;
}

.form textarea {
  min-height: 4.75rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.notice {
  width: min(100%, 28rem);
  border: 1px solid var(--ink);
  padding: 0.75rem 0.85rem;
}

.pager {
  display: none;
}

html.is-slider,
html.is-slider body {
  height: 100%;
  overflow: hidden;
}

html.is-slider body {
  padding-top: 0;
}

html.is-slider .deck {
  position: relative;
  display: block;
  max-width: none;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: pan-y;
}

html.is-slider .plinth {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: min(1120px, 100%);
  height: 54vh;
  overflow: hidden;
  background: var(--ink);
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.plinth__word {
  position: absolute;
  left: 50%;
  top: 14%;
  margin: 0;
  transform: translateX(-50%);
  color: transparent;
  font-size: clamp(7.5rem, 26vw, 16rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.75;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.42);
}

html.is-slider .track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 100%;
  padding-bottom: 10vh;
  visibility: hidden;
  will-change: transform;
}

html.is-slider.is-ready .track {
  visibility: visible;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-slider .card {
  flex: 0 0 min(34rem, 60vw);
  max-height: calc(100% - 6.75rem);
  overflow: hidden;
  transform: scale(0.42) rotate(-18deg);
  transform-origin: center bottom;
  opacity: 0.15;
  cursor: pointer;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}

html.is-slider .card + .card {
  margin-left: -4.25rem;
}

html.is-slider .card.is-near.is-before {
  transform: scale(0.64) rotate(-16deg);
  opacity: 1;
}

html.is-slider .card.is-near.is-after {
  transform: scale(0.64) rotate(13deg);
  opacity: 1;
}

html.is-slider .card.is-active {
  transform: scale(1) rotate(-6deg);
  opacity: 1;
  cursor: default;
}

html.is-slider .form {
  gap: 0.4rem;
  margin-top: 0;
}

html.is-slider .form label {
  gap: 0.15rem;
}

html.is-slider .form input,
html.is-slider .form textarea {
  padding: 0.45rem 0.65rem;
}

html.is-slider .form textarea {
  min-height: 3rem;
  resize: none;
}

html.is-slider .card__sign {
  display: none;
}

html.is-slider .card__hint {
  display: none;
}

html.is-slider .pager {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.25rem;
  height: auto;
  padding: 0 1rem 1.25rem;
  color: var(--paper);
  background: transparent;
}

html.is-slider .pager__hint {
  display: block;
  width: 100%;
  margin: 0.2rem 0 0;
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.pager button {
  min-width: 2.6rem;
  height: 2.6rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.pager button[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

html.is-slider .pager button {
  color: rgba(255, 255, 255, 0.55);
}

html.is-slider .pager button[aria-current="true"] {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 -2px 0 var(--paper);
}

.pager button:disabled {
  opacity: 0.28;
  cursor: default;
}

.document {
  padding: 3.5rem 1.25rem 4.5rem;
}

.document__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.document__code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.document h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 1.25rem;
}

.document__lead {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.document__body p {
  margin: 0 0 1rem;
}

.document__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.document__back {
  margin-top: 2rem;
}

.document__back a {
  color: inherit;
}

@media (max-height: 820px) {
  .card {
    gap: 0.6rem;
    padding: 1.15rem 1.35rem 1rem;
  }

  html.is-slider .card {
    max-height: calc(100% - 6.25rem);
    padding: 1.2rem 1.35rem 1.05rem;
  }

  html.is-slider .form textarea {
    min-height: 2.6rem;
  }

  .form {
    gap: 0.45rem;
  }

  .form textarea {
    min-height: 3.4rem;
  }
}

@media (max-width: 720px) {
  .header-kicker {
    display: none;
  }

  .logo {
    max-width: 42vw;
  }

  .logo img {
    height: 1.15rem;
  }

  .header-contact {
    right: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .card {
    padding: 1.35rem 1.15rem 1.15rem;
  }

  html.is-slider .card,
  html.is-slider .card.is-near.is-before,
  html.is-slider .card.is-near.is-after {
    flex-basis: calc(100vw - 3.4rem);
  }

  html.is-slider .card.is-active {
    transform: scale(1) rotate(-3deg);
  }

  html.is-slider .card + .card {
    margin-left: -1.75rem;
  }

  html.is-slider .card.is-near {
    opacity: 0.45;
  }

  html.is-slider .plinth {
    height: 40vh;
  }

  html.is-slider .plinth__word {
    font-size: clamp(5.5rem, 28vw, 9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-slider .track,
  html.is-slider .card {
    transition: none;
  }
}

body:has(.areas) {
  padding-top: 0;
}

.cover {
  position: relative;
  height: 100dvh;
  min-height: 34rem;
  background: #6a5844;
  color: #f7f1e8;
}

.cover__pin {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 34rem;
  overflow: hidden;
}

html.is-motion .cover {
  height: calc(100dvh + 46vh);
  min-height: calc(34rem + 46vh);
  background: transparent;
}

html.is-motion .cover__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  background: #6a5844;
}

.cover__photo {
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 220%;
  object-fit: cover;
}

html.is-motion .cover__photo {
  top: 0;
  left: 0;
  width: 100%;
  height: 132%;
  max-height: none;
  justify-self: start;
  align-self: start;
  transform: translate3d(0, -12.12%, 0);
}

.cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42, 28, 16, 0.46), rgba(42, 28, 16, 0.22) 32%, rgba(42, 28, 16, 0.28) 68%, rgba(42, 28, 16, 0.48));
}

.cover h1 {
  position: relative;
  z-index: 1;
  width: min(12em, calc(100vw - 3rem));
  max-width: min(12em, calc(100vw - 3rem));
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: 700;
  font-size: clamp(2.45rem, 6.4vw, 5.4rem);
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
  color: #f7f1e8;
}

.reveal__word {
  display: inline-block;
  white-space: nowrap;
}

.reveal__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
}

html.is-motion.is-splash,
html.is-motion.is-splash body {
  background: #000;
}

.splash {
  display: none;
}

html.is-motion .splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  pointer-events: none;
  transition: background-color 0.5s ease;
}

html.is-motion .splash.is-orange {
  background: #FFA33E;
}

html.is-motion .splash.is-leave {
  animation: splash-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.is-motion .splash__mark {
  display: grid;
  justify-items: center;
  width: min(78vw, 32rem);
  height: auto;
  overflow: visible;
  opacity: 1;
  transition: opacity 0.4s ease;
}

html.is-motion .splash.is-orange .splash__mark {
  opacity: 0;
}

html.is-motion .splash__bars {
  grid-row: 2;
  width: 100%;
  height: auto;
}

html.is-motion .splash__arrow {
  grid-row: 1;
  width: 37.76%;
  height: auto;
  margin-bottom: clamp(0.65rem, 2.4vw, 1.15rem);
  z-index: 1;
}

html.is-motion .splash__arrow polygon {
  fill: #000000;
  transition: fill 0.16s linear;
}

html.is-motion .splash.is-out .splash__arrow polygon {
  fill: #FFA33E;
}

html.is-motion .splash__bar,
html.is-motion .splash__arrow {
  transform-box: fill-box;
  transform-origin: center bottom;
}

html.is-motion .splash__bar {
  animation: splash-bar 0.32s cubic-bezier(0.2, 0.05, 0.85, 0.35) both;
}

html.is-motion .splash__bar--2 {
  animation-delay: 0.07s;
}

html.is-motion .splash__bar--3 {
  animation-delay: 0.14s;
}

html.is-motion .splash__arrow {
  transform-origin: center top;
  animation: splash-arrow 1.45s cubic-bezier(0.4, 0.1, 0.35, 1) 0.5s both;
}

html.is-motion .splash__mark.is-tick {
  animation: splash-tick 0.12s linear;
}

@keyframes splash-bar {
  0% {
    transform: translate3d(0, -62vh, 0);
  }

  78% {
    transform: translate3d(0, 0, 0);
  }

  90% {
    transform: translate3d(0, 2.2%, 0);
  }

  100% {
    transform: none;
  }
}

@keyframes splash-arrow {
  from {
    transform: translate3d(0, 100vh, 0);
  }

  to {
    transform: none;
  }
}

@keyframes splash-tick {
  0% {
    transform: none;
  }

  40% {
    transform: translate3d(0, 4px, 0);
  }

  100% {
    transform: none;
  }
}

@keyframes splash-rise {
  from {
    transform: none;
  }

  to {
    transform: translate3d(0, -100%, 0);
  }
}

html.is-motion:not(.is-entered) .cover__pin {
  transform: translate3d(0, -100%, 0);
}

html.is-motion.is-entered .cover__pin {
  animation: cover-drop 0.5s cubic-bezier(0.2, 0.05, 0.85, 0.35) both;
}

@keyframes cover-drop {
  from {
    transform: translate3d(0, -100%, 0);
  }

  to {
    transform: none;
  }
}

.page-pass {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
}

.page-pass__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: max(100vh, 100dvh);
  background: #000;
  transform: translateZ(0);
}

.page-pass__line {
  position: absolute;
  bottom: 0;
  left: -100vw;
  width: 100vw;
  height: 1px;
  background: rgba(253, 243, 235, 0.65);
  opacity: 0;
}

html.is-motion .page-pass.is-covering .page-pass__panel {
  animation: page-panel-cover 0.9s cubic-bezier(0.645, 0.045, 0.355, 1) both;
}

html.is-motion .page-pass.is-lifting .page-pass__panel {
  animation: page-panel-lift 0.975s cubic-bezier(0.645, 0.045, 0.355, 1) both;
}

html.is-motion .page-pass.is-covering .page-pass__line {
  animation: page-line-sweep 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes page-panel-cover {
  from {
    transform: translateZ(0);
  }

  to {
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes page-panel-lift {
  from {
    transform: translate3d(0, -100%, 0);
  }

  to {
    transform: translate3d(0, -205%, 0);
  }
}

@keyframes page-line-sweep {
  0% {
    left: -100vw;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  50% {
    left: 0;
    opacity: 1;
  }

  100% {
    left: 0;
    opacity: 0;
  }
}

html.is-motion:not(.is-entered) .site-header {
  opacity: 0;
}

html.is-motion.is-entered .site-header {
  opacity: 1;
  transition: opacity 0.4s ease 0.32s;
}

html.is-motion .reveal__char {
  display: inline-block;
  transform: translate3d(0, 115%, 0);
}

html.is-motion.is-rise .reveal__char {
  transform: none;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-motion .is-crescita {
  position: relative;
  z-index: 0;
  color: #000;
}

html.is-motion .is-crescita::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.05em;
  right: -0.02em;
  top: 0.1em;
  bottom: 0;
  background: #FFA33E;
  clip-path: inset(100% 0 0 0);
}

html.is-motion.is-rise .is-crescita::before {
  animation: crescita-fill 2s cubic-bezier(0.33, 0, 0.2, 1) 0.72s forwards;
}

@keyframes crescita-fill {
  from {
    clip-path: inset(100% 0 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

html.is-motion .is-obbligo {
  position: relative;
  z-index: 0;
  color: #000;
}

html.is-motion .is-obbligo::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0.04em;
  top: 0.46em;
  height: 0.18em;
  background: #FFA33E;
  transform: scaleX(0);
  transform-origin: left center;
}

html.is-motion.is-rise .is-obbligo::after {
  animation: obbligo-strike 1.8s cubic-bezier(0.33, 0, 0.2, 1) 1.45s forwards;
}

@keyframes obbligo-strike {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.logo .logo__negative {
  display: none;
}

.site-header.is-on-cover {
  color: #f7f1e8;
}

.site-header.is-on-cover .header-contact {
  border-color: #f7f1e8;
}

.site-header.is-on-cover .logo__color {
  display: none;
}

.site-header.is-on-cover .logo__negative {
  display: block;
}

.areas {
  background: #000;
  color: #fdf3eb;
}

.areas__slide {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  padding: 6.5rem 1.25rem 2.5rem;
}

.areas__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.areas__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.5));
}

.areas__logo {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  margin: 0;
  text-align: center;
}

.areas__word {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.6rem, 9.2vw, 7.6rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.areas__line {
  margin: 1rem auto 0;
  max-width: calc(100vw - 2.5rem);
  font-size: clamp(0.5rem, 1.05vw, 0.78rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

html.is-motion .areas {
  height: 320vh;
}

html.is-motion .areas__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

html.is-motion .areas__slide {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
}

html.is-motion .areas__photo {
  top: -22%;
  height: 144%;
}

html.is-motion .areas__slide:not(:first-child) .areas__photo,
html.is-motion .areas__slide:not(:first-child) .areas__logo {
  opacity: 0;
}

html.is-motion .areas__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.motto {
  background: #FFA33E;
  color: #000;
}

.motto__pin {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35em;
  min-height: 100dvh;
  padding: 6.5rem 1.25rem 3rem;
  background: #FFA33E;
  color: #000;
  overflow: hidden;
}

.motto__line {
  margin: 0;
  max-width: calc(100vw - 2.5rem);
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.35rem, 4.6vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

html.is-motion .motto {
  height: 240vh;
  background: transparent;
}

html.is-motion .motto__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 0;
  background: #000;
  color: #f7f1e8;
}

html.is-motion .motto__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
}

html.is-motion .motto.is-falling .motto__mask {
  overflow: visible;
}

html.is-motion .motto__char {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
  transform: translate3d(0, 115%, 0);
}

.stage__track {
  display: grid;
  gap: 1.4rem;
  padding: 1.4rem 1.25rem 0;
}

.offer {
  position: relative;
  display: block;
  width: min(100%, 68rem);
  min-height: 28rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1.35rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  perspective: 1200px;
}

.offer__spin {
  position: relative;
  display: block;
  width: 100%;
  min-height: 28rem;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0.1, 0.35, 1);
}

.offer.is-flipped .offer__spin {
  transform: rotateY(180deg);
}

.offer.is-flipped,
.offer.is-flipping,
.offer.is-flipped .offer__face--front,
.offer.is-flipping .offer__face--front,
.offer.is-flipped .offer__face--back,
.offer.is-flipping .offer__face--back {
  box-shadow: none !important;
}

.offer__face {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1.35rem;
}

.offer__face--front {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1.15rem;
  min-height: 28rem;
  padding: 0.85rem;
  background: var(--paper);
  color: inherit;
  box-shadow: 0 22px 50px rgba(40, 24, 12, 0.12);
}

.offer__face--back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem;
  background: #000;
  color: #FFA33E;
  transform: rotateY(180deg);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.offer__back-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.offer__back-copy {
  max-width: 28rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.offer__photo {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  border-radius: 0.9rem;
}

.offer__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.35rem 0.85rem 0.7rem 0.15rem;
}

.offer__mark {
  display: inline-grid;
  place-items: center;
  width: 4.6rem;
  height: 5.8rem;
  background: #000;
  color: #FFA33E;
  font-size: 3.15rem;
  font-weight: 700;
  line-height: 1;
}

.offer__mid {
  display: flex;
  align-items: flex-end;
  margin-top: 1.4rem;
}

.offer__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer__kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 2.2rem;
}

.offer__col {
  font-size: 0.92rem;
  line-height: 1.35;
}

.stage__hint {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.visit {
  display: grid;
  grid-template-columns: minmax(11rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  min-height: 100dvh;
  padding: 6.5rem clamp(1.25rem, 4vw, 4rem) 3.5rem;
  background: #000;
  color: #fdf3eb;
}

.visit__mark {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(15rem, 78%);
  margin-inline: auto;
  overflow: visible;
}

.visit__bars,
.visit__arrow {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
}

.visit__arrow {
  z-index: 1;
  pointer-events: none;
}

.visit__arrow polygon {
  fill: #FFA33E;
}

.visit__copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 36rem;
}

.visit__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.visit__lead {
  margin: 0;
  max-width: 28rem;
}

.visit a:not(.btn) {
  color: inherit;
  text-decoration-color: #FFA33E;
  text-underline-offset: 0.18em;
}

.visit .notice {
  border-color: rgba(253, 243, 235, 0.4);
}

.visit .form {
  width: min(100%, 32rem);
  gap: 1.15rem;
  margin-top: 0.4rem;
}

.visit .form label {
  position: relative;
  gap: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visit .form input,
.visit .form textarea {
  border: none;
  border-bottom: 1px solid rgba(253, 243, 235, 0.42);
  border-radius: 0;
  background: transparent;
  color: #fdf3eb;
  padding: 0.35rem 0 0.65rem;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  caret-color: #fdf3eb;
}

.visit .form input:focus,
.visit .form textarea:focus {
  outline: none;
}

.visit .form textarea {
  min-height: 4.2rem;
}

.visit .form label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.14rem;
  background: #FFA33E;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.visit .form label:focus-within::after {
  transform: scaleX(1);
}

.visit .btn {
  background: #fdf3eb;
  color: #000;
  border-color: #fdf3eb;
}

.visit .btn:hover {
  background: #fff;
  color: #000;
}

html.is-motion .visit:not(.is-arrived) .visit__arrow {
  transform: translate3d(0, 108%, 0);
}

html.is-motion .visit.is-arrived .visit__arrow {
  animation: visit-arrow 1.35s cubic-bezier(0.4, 0.1, 0.35, 1) both;
}

html.is-motion .visit .form label:focus-within::after {
  transition: transform 0.85s cubic-bezier(0.33, 0, 0.2, 1);
}

@keyframes visit-arrow {
  from {
    transform: translate3d(0, 108%, 0);
  }

  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-motion .visit:not(.is-arrived) .visit__arrow,
  html.is-motion .visit.is-arrived .visit__arrow {
    transform: none;
    animation: none;
  }
}

html.is-motion .stage {
  height: 280vh;
}

html.is-motion .stage__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--stage);
}

html.is-motion .stage__view {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow: hidden;
  perspective: 980px;
  perspective-origin: 50% 42%;
}

html.is-motion .stage__track {
  position: absolute;
  left: 50%;
  top: 66%;
  width: 0;
  height: 0;
  display: block;
  padding: 0;
  transform-style: preserve-3d;
}

html.is-motion .offer {
  position: absolute;
  left: 0;
  top: 0;
  width: min(44rem, 54vw);
  height: min(54vh, 30rem);
  min-height: 0;
  transform-origin: center center;
  perspective: none;
}

html.is-motion .offer__spin {
  position: absolute;
  inset: 0;
  min-height: 0;
}

html.is-motion .offer__face--front,
html.is-motion .offer__face--back {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}

html.is-motion .offer__face--front {
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
}

html.is-motion .offer__photo {
  min-height: 0;
}

html.is-motion .stage.is-open {
  position: relative;
  z-index: 30;
}

html.is-motion .stage__pin.is-impact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(253, 243, 235, 0.55);
  pointer-events: none;
  animation: stage-flash 0.4s linear;
}

@keyframes stage-flash {
  0%,
  54% {
    opacity: 0;
  }

  64% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

html.is-motion .offer.is-pressed .offer__face--front {
  background: #000;
  color: #FFA33E;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  transition: background-color 0.07s linear 0.18s, color 0.07s linear 0.18s;
}

html.is-motion .offer.is-pressed .offer__mark {
  background: #000;
  color: #FFA33E;
}

html.is-motion .offer.is-pressed:not(.is-flipped) .offer__photo {
  filter: invert(1) hue-rotate(180deg);
  transition: filter 0.07s linear 0.18s;
}

html.is-motion .offer.is-pressed.is-flipped .offer__face--back {
  box-shadow: none;
}

html.is-motion .offer__tick {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html.is-motion .offer__tick input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

html.is-motion .stage__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.35rem;
  z-index: 3;
  margin: 0;
  color: var(--ink);
  text-align: center;
}

html.is-motion .stage__pin.is-dark .stage__hint {
  color: #fdf3eb;
}

@media (prefers-reduced-motion: reduce) {
  .offer__spin {
    transition: none;
  }
}

@media (max-width: 720px) {
  .offer,
  .offer__spin {
    min-height: 0;
  }

  .offer__face--front {
    grid-template-columns: 1fr;
  }

  .offer__photo {
    height: 14rem;
  }

  .offer__cols {
    padding-top: 1.2rem;
  }

  html.is-motion .offer {
    width: min(22rem, 84vw);
    height: auto;
    max-height: 74vh;
  }

  html.is-motion .offer__photo {
    height: 28vh;
  }

  .visit {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .visit__mark {
    width: min(11rem, 48vw);
  }
}
