/* The Premium Estate — static deck.
   Every section is one full screen. They are `position: sticky` siblings, so each new
   card slides up over the one before it and stays put: a deck being dealt. The deck is
   pure CSS, so a phone runs it on the compositor with its own native scrolling; Lenis
   only adds the inertia a wheel does not have (see main.js). */

:root {
  --ink: #0a0a0a;
  --ink-soft: #121212;
  --paper: #ffffff;
  --sand: #dcdcdc;
  --rule: rgba(255, 255, 255, 0.15);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --screen: 100svh;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  /* Lenis moves the page itself on touch; keep the browser's own pull-to-refresh and
     overscroll chaining out of it. */
  overscroll-behavior-y: none;
}

body {
  color: #fff;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ------------------------------------------------------------------ type */

.kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.kicker--dark {
  color: rgba(10, 10, 10, 0.5);
}

.display {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.display--md {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.display--sm {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

/* Line mask. Each row is a shutter: the line starts a little more than its own
   height below the opening and eases up once. 1.25s is the middle of the
   1.2–1.3s brief, 112% the middle of the 110–115% offset, 0.08s the stagger.
   The pad keeps descenders inside the shutter; the negative margin gives that
   pad back so the leading stays put. */
.title-line {
  display: block;
  overflow: hidden;
  margin-bottom: -0.2em;
}

.title-line > span {
  display: block;
  padding-bottom: 0.2em;
  transform: translateY(112%);
}

.is-shown:not(.is-settled) .title-line > span {
  animation: title-line-in 1.25s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}

.is-shown.is-settled .title-line > span {
  animation: none;
  transform: none;
}

@keyframes title-line-in {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}

.lede {
  margin: 1rem 0 0;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.lede--dark {
  color: rgba(10, 10, 10, 0.68);
}

.count {
  margin: 1.5rem 0 0;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.4);
}

.count--dark {
  color: rgba(10, 10, 10, 0.4);
}

/* ------------------------------------------------------------------ deck */

.deck {
  position: relative;
}

.card {
  position: sticky;
  top: 0;
  height: 100vh;
  height: var(--screen);
  overflow: hidden;
  background: var(--ink);
  /* Lifts the incoming card off the one it covers. */
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.55);
}

/* The pool film: the card is three screens tall and its frame stays pinned inside,
   so the scroll has somewhere to run while the video plays (main.js moves the playhead). */
.card--scrub {
  position: relative;
  height: 300svh;
  overflow: visible;
  box-shadow: none;
}

.scrub__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.55);
}

.card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

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

.scrim--bottom {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0) 62%);
}

.scrim--left {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 45%);
}

/* Scene copy shares the header's column: same centred width, same left padding, so the
   kicker starts on exactly the vertical line as the wordmark above it. */
.copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: min(1100px, calc(100% - 1.5rem));
  transform: translateX(-50%);
  /* The same inset the nav bar gives its wordmark. */
  padding-left: 2rem;
}

.copy > * {
  max-width: min(30rem, 100%);
}

.copy--bottom-left {
  bottom: clamp(4.5rem, 12vh, 7rem);
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed;
  inset: clamp(0.9rem, 2vw, 1.75rem) 0 auto;
  z-index: 60;
  pointer-events: none;
}

.nav__bar {
  margin: 0 auto;
  width: min(1100px, calc(100% - 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  /* The wordmark sits a touch in from the edge, so it reads as part of the same row
     of labels as the nav links rather than hugging the corner. */
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border-radius: 15px;
  background: #000;
  pointer-events: auto;
}

.nav__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}

.nav__links {
  display: none;
  gap: 2rem;
}

.nav__links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color 0.3s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav__cta {
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}

.nav__cta:hover {
  opacity: 0.8;
}

/* Scene dots: difference blend keeps them readable over white cards too. */
.dots {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  top: 50%;
  z-index: 55;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(-50%);
  mix-blend-mode: difference;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: height 0.5s var(--ease), background-color 0.5s var(--ease);
}

.dots button[aria-current="true"] {
  height: 24px;
  background: #fff;
}

/* ------------------------------------------------------------- the house */

.house {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  /* Same column as the nav bar, so the kicker starts on the wordmark. */
  width: min(1100px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding-left: 2rem;
}

.house__text {
  max-width: 34rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  margin: 2rem 0 0;
  max-width: 28rem;
}

.specs > div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}

.specs dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.specs dd {
  margin: 0.4rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.specs dd span {
  margin-left: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

/* ----------------------------------------------------------- split cards */

.card--split {
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.split__media {
  position: relative;
  height: 62%;
  flex: none;
  overflow: hidden;
  background: var(--ink);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2rem) var(--gutter);
  color: var(--ink);
}

.split__text .display {
  color: var(--ink);
}

/* --------------------------------------------------------------- guests */

.card--notes {
  background: var(--ink);
}

/* Guest notes, matching the original: a 1200px column, a 7/5 grid, one tall white
   quote and two smaller notes beside it. Sizes are fixed (not fluid) so the type
   lands exactly where it does on the Next.js site. */
.notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(4.5rem, 12vh, 7rem) 1rem clamp(2rem, 6vh, 3.5rem);
}

.notes__head,
.notes__grid {
  margin-inline: auto;
  width: min(1200px, 100%);
}

.notes__head > * {
  max-width: 36rem;
}

.notes__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vh, 3.5rem);
  min-height: 0;
}

.notes__col {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 2rem 1.75rem;
  background: var(--paper);
  color: var(--ink);
  min-height: 0;
}

.note--lead {
  padding: 2.5rem 2rem;
}

.note--outline {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.note__index {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(10, 10, 10, 0.4);
}

.note--outline .note__index {
  color: rgba(255, 255, 255, 0.4);
}

.note blockquote {
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.note--lead blockquote {
  margin-top: 2rem;
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.note figcaption {
  margin-top: 2rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.note--outline figcaption {
  color: rgba(255, 255, 255, 0.4);
}

.note figcaption span {
  color: rgba(10, 10, 10, 0.25);
}

.note--outline figcaption span {
  color: rgba(255, 255, 255, 0.25);
}

/* -------------------------------------------------------- listed + place */

.card--listed {
  background: var(--ink-soft);
}

.listed {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 4vh, 2.5rem);
  height: 100%;
  padding: clamp(4.5rem, 12vh, 7rem) var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
}

.marks {
  margin-top: 1.75rem;
  max-width: 26rem;
}

.marks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s var(--ease);
}

.marks a:hover {
  color: #fff;
}

/* ------------------------------------------------------------------ map */

.map {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #d9d9d9;
}

.map__canvas {
  position: absolute;
  inset: 0;
}

.map__caption {
  position: absolute;
  left: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 401;
  max-width: 18rem;
  pointer-events: none;
}

.map__title {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.map__meta {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.6);
}

/* Leaflet, dressed like the rest of the page: grey tiles, a square pin, quiet controls. */
.leaflet-container {
  background: #d9d9d9;
  font-family: inherit;
}

.leaflet-tile-pane {
  filter: grayscale(1);
}

.villa-pin-wrap {
  background: none;
  border: 0;
}

.villa-pin {
  position: relative;
  width: 28px;
  height: 28px;
}

.villa-pin span {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(10, 10, 10, 0.85);
  background: transparent;
  box-shadow: 0 0 0 8px rgba(10, 10, 10, 0.08);
}

.villa-pin span::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: #0a0a0a;
}

.leaflet-control-zoom {
  border: 1px solid rgba(10, 10, 10, 0.12) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: none !important;
  margin-right: 16px !important;
  margin-bottom: 16px !important;
}

.leaflet-control-attribution {
  font-size: 10px;
}

/* -------------------------------------------------------------- inquire */

.card--inquire {
  background: var(--ink);
}

.inquire {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.inquire__media {
  position: relative;
  height: 32%;
  flex: none;
  overflow: hidden;
}

.inquire__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.inquire__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vh, 2.5rem) var(--gutter);
  min-height: 0;
}

.form {
  margin-top: clamp(1rem, 3vh, 2rem);
  max-width: 40rem;
}

.form__row {
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.field input,
.field textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  resize: none;
  transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #fff;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form__note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.form__foot button {
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}

.form__foot button:hover {
  opacity: 0.82;
}

.form__done {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------------------------------- end */

.card--end {
  background: var(--ink);
}

.end {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(4.5rem, 12vh, 7rem) var(--gutter) clamp(1.25rem, 4vh, 2rem);
}

.end__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.end__tagline {
  margin: 0;
  max-width: 18rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.end__cols {
  display: flex;
  gap: clamp(2rem, 8vw, 5rem);
}

.end__cols a {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease);
}

.end__cols a:hover {
  color: #fff;
}

.end__mark {
  margin: 0;
  font-size: clamp(2rem, 11vw, 9rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}

/* Each letter is its own box, and a line may break between any two of them — so the
   letters of one word are kept together and only the spaces can break. */
.end__word {
  display: inline-block;
  white-space: nowrap;
}

.end__slot {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.end__mark i {
  display: inline-block;
  font-style: normal;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i) * 40ms);
}

.end__mark.is-shown i {
  transform: translateY(0);
}

.end__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------------------------------------------------------------- hint */

.hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hint__rail {
  position: relative;
  display: block;
  width: 1px;
  height: 2.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.hint__rail i {
  position: absolute;
  inset: 0 0 auto;
  height: 50%;
  background: #fff;
  animation: hint 1.9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes hint {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}

/* --------------------------------------------------------------- loader */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 4vw, 2.5rem) var(--gutter);
  background: var(--ink);
  transition: transform 1.1s var(--ease);
}

.loader.is-done {
  transform: translateY(-100%);
}

.loader__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.loader__place {
  color: rgba(255, 255, 255, 0.45);
}

.loader__count {
  display: block;
  font-size: clamp(4rem, 16vw, 11rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.loader__bar {
  display: block;
  margin-top: 1.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.loader__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
}

/* ------------------------------------------------------------ responsive */

@media (min-width: 768px) {
  .card--split {
    flex-direction: row;
  }

  .card--split-reverse {
    flex-direction: row-reverse;
  }

  .split__media {
    width: 70%;
    height: 100%;
  }

  .split__text {
    width: 30%;
    padding: 0 clamp(1.5rem, 3vw, 3.5rem);
  }

  .note {
    padding: 2.25rem;
  }

  .note--lead {
    padding: 3.5rem 3rem;
  }

  .note blockquote {
    font-size: 1.35rem;
  }

  .note--lead blockquote {
    font-size: 2.65rem;
  }

  .listed {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .listed > div:first-child {
    align-self: center;
  }

  .inquire {
    flex-direction: row;
  }

  .inquire__media {
    width: 45%;
    height: 100%;
  }

  .inquire__panel {
    width: 55%;
  }
}

@media (min-width: 1024px) {
  .notes__grid {
    grid-template-columns: 7fr 5fr;
    gap: 1.25rem;
  }

  .notes__col {
    gap: 1.25rem;
  }

  .nav__links {
    display: flex;
  }

  .dots {
    display: flex;
  }
}

@media (max-width: 767px) {
  .form__row {
    grid-template-columns: 1fr;
  }

  /* Three quotes never fit one phone screen. This card is allowed to grow past a
     screen and scroll — the snap still lands on its top edge. */
  .card--notes {
    /* A sticky box taller than the viewport parks its top at 0 and never shows its
       own bottom, so the one card allowed to outgrow a screen steps out of the deck. */
    position: relative;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .card--notes .notes {
    height: auto;
    min-height: 100svh;
  }

  .note {
    padding: 1.5rem 1.25rem;
  }

  .note--lead {
    padding: 1.75rem 1.5rem;
  }

  .note blockquote {
    margin-top: 1rem;
    font-size: 1.125rem;
  }

  .note--lead blockquote {
    margin-top: 1.25rem;
    font-size: 1.5rem;
  }

  .note figcaption {
    margin-top: 1.25rem;
  }

  .end__mark {
    white-space: normal;
  }
}

/* Touch gets the same deck — it is the same sticky CSS — scrolled by the OS itself.
   There is still no CSS snap anywhere: a sticky card's snap area moves with the card, so
   the browser would snap to a line that keeps shifting. What a phone is spared is the
   blurred shadow under twelve full-screen layers (a 60px blur that has to be repainted
   as the card moves). The pool film is not spared: its frame stays pinned for three
   screens and the scroll moves the playhead, same as a mouse. */
@media (hover: none) and (pointer: coarse) {
  .card,
  .scrub__pin {
    box-shadow: none;
  }

  /* Only two cards are ever on screen, but the browser keeps all twelve full-screen
     layers painted — on a phone that is well over a hundred megabytes of texture, and
     it thrashes exactly while you scroll. Skip the ones that are off screen; their
     height is declared, not measured, so skipping one shifts nothing. (The notes card
     is the one whose height is its content. The pool card is three screens with a
     sticky frame inside, and content-visibility would both lie about that height and
     stop the frame from pinning.) */
  .card:not(.card--notes):not(.card--scrub) {
    content-visibility: auto;
    contain-intrinsic-size: auto 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hint__rail i {
    animation: none;
  }

  .end__mark i {
    transform: none;
    transition: none;
  }

  .title-line > span {
    animation: none;
    transform: none;
  }

  .loader {
    transition-duration: 0.01ms;
  }
}
