/*
story.css
Rina Mermaid Academy
Created by RxGroup on 15.07.2026.
Copyright © 2026 RX Group. All rights reserved.
*/

@font-face {
  font-family: "Lora";
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  src: url("/assets/fonts/lora-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Lora";
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  src: url("/assets/fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-display: swap;
  font-style: italic;
  font-weight: 400 700;
  src: url("/assets/fonts/lora-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Lora";
  font-display: swap;
  font-style: italic;
  font-weight: 400 700;
  src: url("/assets/fonts/lora-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Onest";
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src:
    url("/assets/fonts/onest-variable.woff2") format("woff2"),
    url("/assets/fonts/onest-variable.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --ink: #f7f1e8;
  --ink-soft: rgba(247, 241, 232, 0.72);
  --line: rgba(247, 241, 232, 0.24);
  --deep: #031924;
  --coral: #f08a79;
  --gutter: clamp(1.25rem, 5.5vw, 7rem);
  --header-height: 5.75rem;
  --film-mix: 0;
  --film-ready: 0;
  --fallback-progress: 0;
  --fallback-start-opacity: 0;
  --fallback-middle-opacity: 0;
  --fallback-end-opacity: 0;
  --transition-veil: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--deep);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--deep);
  color: var(--ink);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--coral);
  color: #071c24;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--deep);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--gutter);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(2, 16, 25, 0.38), rgba(2, 16, 25, 0));
  color: var(--ink);
  mix-blend-mode: normal;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  font-family: "Lora", serif;
  font-size: clamp(1.25rem, 1.6vw, 1.75rem);
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.site-header__back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.4rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header__back.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scroll-story {
  position: relative;
  background: var(--deep);
}

.scroll-story__stage {
  position: sticky;
  z-index: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #071f2b url("/assets/images/surface-poster.20260715-final.jpg") center / cover no-repeat;
}

.scroll-story__media,
.scroll-story__video,
.scroll-story__film-poster,
.scroll-story__water,
.scroll-story__veil,
.scroll-story__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scroll-story__video {
  display: block;
  object-fit: cover;
  object-position: center;
  background: #071f2b;
}

.scroll-story__film-poster {
  z-index: 2;
  display: block;
  object-fit: cover;
  object-position: center;
}

.scroll-story__film-poster--start {
  opacity: var(--fallback-start-opacity);
}

.scroll-story__film-poster--end {
  opacity: var(--fallback-end-opacity);
}

.scroll-story__film-poster--middle {
  opacity: var(--fallback-middle-opacity);
}

.scroll-story__video--surface {
  z-index: 1;
  opacity: calc(1 - var(--film-mix));
}

.scroll-story__video--film {
  z-index: 3;
  opacity: calc(var(--film-mix) * var(--film-ready));
}

.scroll-story__water {
  z-index: 4;
  pointer-events: none;
  opacity: calc(1 - var(--film-mix));
}

.scroll-story__water.is-ready {
  opacity: calc(1 - var(--film-mix));
}

.scroll-story__veil {
  z-index: 5;
  background:
    linear-gradient(90deg, rgba(2, 15, 24, 0.82) 0%, rgba(2, 15, 24, 0.56) 35%, rgba(2, 15, 24, 0.06) 76%),
    linear-gradient(180deg, rgba(2, 15, 24, 0.3) 0%, transparent 25%, rgba(2, 15, 24, 0.58) 100%);
  transition: background 600ms ease;
}

.scroll-story__veil::after {
  position: absolute;
  inset: 0;
  background: #eff4f4;
  content: "";
  opacity: calc(var(--transition-veil) * 0.2);
}

.scroll-story__grain {
  z-index: 6;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 19% 31%, rgba(255, 255, 255, 0.2) 0 0.45px, transparent 0.65px 4px),
    repeating-radial-gradient(circle at 79% 68%, rgba(5, 18, 28, 0.18) 0 0.55px, transparent 0.75px 5px);
  mix-blend-mode: soft-light;
  opacity: 0.16;
}

.scroll-story[data-scene="top"] .scroll-story__veil {
  background:
    linear-gradient(90deg, rgba(2, 15, 24, 0.58), rgba(2, 15, 24, 0.05) 72%),
    linear-gradient(180deg, rgba(2, 15, 24, 0.18), transparent 44%, rgba(2, 15, 24, 0.46));
}

.scroll-story[data-scene="rina"] .scroll-story__veil,
.scroll-story[data-scene="location"] .scroll-story__veil {
  background:
    linear-gradient(90deg, rgba(2, 15, 24, 0.9) 0%, rgba(2, 15, 24, 0.64) 47%, rgba(2, 15, 24, 0.18) 82%),
    linear-gradient(180deg, rgba(2, 15, 24, 0.22), rgba(2, 15, 24, 0.58));
}

.scroll-story[data-scene="booking"] .scroll-story__veil {
  background: rgba(2, 15, 24, 0.82);
}

.scroll-story__scenes {
  position: relative;
  z-index: 7;
  margin-top: -100vh;
  margin-top: -100svh;
  pointer-events: none;
}

.story-scene {
  position: relative;
  min-height: 122vh;
  min-height: 122svh;
  scroll-margin-top: var(--header-height);
  pointer-events: none;
}

.story-scene__inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) var(--gutter) 3rem;
  opacity: var(--scene-opacity, 0);
  transform: translate3d(0, var(--scene-shift, 2.25rem), 0);
  will-change: opacity, transform;
}

.story-scene--hero {
  --scene-opacity: 1;
  --scene-shift: 0rem;
}

.story-scene.is-active :is(a, button, input, select, textarea, label) {
  pointer-events: auto;
}

.story-scene__inner > * {
  max-width: 57rem;
}

.story-scene h1,
.story-scene h2,
.story-scene h3,
.story-scene p,
.story-scene blockquote,
.story-scene address {
  margin-top: 0;
}

.story-scene h1,
.story-scene h2,
.story-scene blockquote {
  font-family: "Lora", serif;
  font-weight: 400;
}

.story-scene em {
  color: #f2beb2;
  font-style: normal;
}

.story-scene p {
  text-wrap: pretty;
}

.story-scene--hero {
  min-height: 132vh;
  min-height: 132svh;
}

.story-scene__inner--hero {
  justify-content: center;
  padding-top: calc(var(--header-height) + 3rem);
}

.story-scene--hero h1 {
  width: min(80vw, 72rem);
  max-width: none;
  margin: 0;
  display: grid;
  row-gap: 0.08em;
  font-size: clamp(4rem, 6.8vw, 8rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.story-scene--hero h1 span {
  display: block;
}

.story-scene--hero h1 .hero-title__context {
  margin-bottom: clamp(1.25rem, 2.2vh, 2rem);
  font-family: "Onest", "Segoe UI", sans-serif;
  font-size: 0.14em;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.story-scene--hero h1 .hero-title__lead {
  margin-bottom: 0.08em;
  padding-left: 0.1em;
  font-size: 0.48em;
  letter-spacing: -0.025em;
}

.story-scene--hero h1 .hero-title__tail {
  padding-left: clamp(1rem, 7vw, 7rem);
}

.scroll-cue {
  position: absolute;
  right: 50%;
  bottom: clamp(2rem, 5vh, 4rem);
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 241, 232, 0.62);
  border-radius: 50%;
  text-decoration: none;
  transform: translateX(50%);
  transition: border-color 180ms ease, background 180ms ease;
}

.scroll-cue svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  animation: cue 1.8s ease-in-out infinite;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  border-color: var(--ink);
  background: rgba(247, 241, 232, 0.12);
}

@keyframes cue {
  0%, 100% { transform: translateY(-0.25rem); opacity: 0.4; }
  50% { transform: translateY(0.3rem); opacity: 1; }
}

.story-copy h2,
.story-rina h2,
.story-details h2,
.booking__intro h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.8rem, 7.2vw, 8.2rem);
  letter-spacing: -0.045em;
  line-height: 0.87;
}

.story-copy > p {
  width: min(37rem, 90vw);
  margin-bottom: 1rem;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.55;
}

.story-copy__note {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem !important;
}

.story-program {
  width: min(70rem, 88vw);
}

.story-program__type {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.story-program h2 {
  max-width: 67rem;
  margin-bottom: 1rem;
  font-size: clamp(4.2rem, 8.4vw, 9.6rem);
  letter-spacing: -0.05em;
  line-height: 0.78;
}

.story-program__price {
  margin-bottom: 1.5rem;
  color: #f2beb2;
  font-family: "Lora", serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1;
}

.story-program__meta {
  width: min(43rem, 90vw);
  margin-bottom: 0.6rem;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 650;
  line-height: 1.45;
}

.story-program__description {
  width: min(42rem, 90vw);
  margin-bottom: 1.65rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.story-program > a,
.story-details a,
.booking__contacts a {
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.story-rina {
  width: min(82rem, 88vw);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  column-gap: clamp(3rem, 7vw, 7rem);
  row-gap: clamp(1.5rem, 3vh, 2.5rem);
  align-items: start;
}

.story-rina h2 {
  grid-column: 1 / -1;
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(3.6rem, 6vw, 7rem);
  line-height: 0.9;
}

.story-rina h2 span,
.story-rina h2 em {
  display: block;
}

.story-rina h2 span:nth-child(2) {
  padding-left: 0.85em;
}

.story-rina h2 em {
  padding-left: 1.7em;
}

.story-rina__text {
  width: min(43rem, 100%);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
}

.story-rina__text p:last-child {
  margin-bottom: 0;
}

.story-rina blockquote {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(242, 190, 178, 0.8);
  color: #f2beb2;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.22;
}

.story-details {
  width: min(88rem, 92vw);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
}

.story-details h2 {
  max-width: none;
}

.story-details address {
  margin-bottom: 1.4rem;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-style: normal;
  line-height: 1.55;
}

.story-details__shooting {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.story-details__shooting h3 {
  margin-bottom: 0.8rem;
  font-family: "Lora", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
}

.story-details__shooting p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.story-scene--booking {
  min-height: max(140vh, 68rem);
  min-height: max(140svh, 68rem);
}

.story-scene--booking .story-scene__inner {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.story-scene--booking .story-scene__inner::-webkit-scrollbar {
  display: none;
}

.story-scene--booking.is-active .story-scene__inner {
  pointer-events: auto;
}

.booking {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(32rem, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.booking__intro h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(3.8rem, 6.5vw, 7.4rem);
}

.booking__intro p {
  width: min(30rem, 100%);
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.booking__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.booking__contacts a {
  color: var(--ink);
  text-decoration: none;
}

.booking__selection {
  width: min(30rem, 100%);
  margin-top: clamp(2rem, 7vh, 5.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.booking__selection strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Lora", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
}

.booking__selection p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.4rem;
}

.form-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label {
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field label span {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid rgba(247, 241, 232, 0.38);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  transition: border-color 160ms ease;
}

.form-field textarea {
  min-height: 3.6rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(247, 241, 232, 0.42);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--coral);
}

.form-field select option {
  background: var(--deep);
  color: var(--ink);
}

.course-select__native {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px;
  padding: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.course-select {
  position: relative;
}

.course-select__trigger {
  width: 100%;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid rgba(247, 241, 232, 0.38);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.course-select__trigger:hover,
.course-select__trigger:focus-visible,
.course-select__trigger[aria-expanded="true"] {
  border-bottom-color: var(--coral);
}

.course-select__trigger[aria-invalid="true"] {
  border-bottom-color: #ffb4a8;
}

.course-select__chevron {
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.18rem) rotate(45deg);
  transition: transform 180ms ease;
}

.course-select__trigger[aria-expanded="true"] .course-select__chevron {
  transform: translateY(0.18rem) rotate(225deg);
}

.course-select__menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 0.55rem);
  right: 0;
  left: 0;
  max-height: min(19rem, 52vh);
  padding: 0.45rem;
  overflow-y: auto;
  border: 1px solid rgba(247, 241, 232, 0.2);
  background: rgba(2, 18, 27, 0.96);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.course-select__menu[hidden] {
  display: none;
}

.course-select__option {
  width: 100%;
  min-height: 2.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.8rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.course-select__option span {
  color: var(--coral);
  font-family: "Lora", serif;
  font-size: 1.15em;
}

.course-select__option:hover,
.course-select__option:focus-visible,
.course-select__option[aria-selected="true"] {
  background: rgba(238, 132, 116, 0.14);
  color: var(--ink);
}

.field-error {
  min-height: 1rem;
  padding-top: 0.18rem;
  color: #ffb4a8;
  font-size: 0.72rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.checkbox {
  min-height: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.checkbox input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0.1rem 0 0;
  accent-color: var(--coral);
}

.checkbox a,
.form-legal a {
  text-underline-offset: 0.15em;
}

.form-status {
  min-height: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-status.is-error {
  color: #ffb4a8;
}

.form-status.is-success {
  color: #b5e5d3;
}

.form-submit {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  border: 1px solid var(--coral);
  border-radius: 0;
  background: var(--coral);
  color: #061b24;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: transparent;
  color: var(--ink);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-legal {
  margin: 0;
  color: rgba(247, 241, 232, 0.52);
  font-size: 0.68rem;
  line-height: 1.4;
}

.noscript-contact {
  grid-column: 1 / -1;
}

.story-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  align-items: center;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: rgba(247, 241, 232, 0.55);
  font-size: 0.7rem;
}

.story-footer a {
  text-decoration: none;
}

.story-footer a:hover,
.story-footer a:focus-visible {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.no-js .story-scene,
.no-js .story-scene__inner {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.no-js .story-scene__inner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}

.no-js .booking-form {
  display: none;
}

.no-js .scroll-story__video--film,
.no-js .scroll-story__water {
  display: none;
}

@media (max-width: 62rem) {
  :root {
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
  }

  .story-rina,
  .story-details,
  .booking {
    grid-template-columns: 1fr;
  }

  .story-rina,
  .story-details {
    gap: 1.5rem;
  }

  .story-rina blockquote {
    max-width: 34rem;
  }

  .booking {
    gap: 1.5rem;
  }

  .booking__intro h2 {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4.7rem;
    --gutter: 1.1rem;
  }

  .site-header {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 1.18rem;
  }

  .site-header__back {
    font-size: 0.75rem;
  }

  .brand__mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .scroll-story__water {
    display: none;
  }

  .scroll-story__video {
    object-position: center;
  }

  .scroll-story__video--film {
    object-position: 62% center;
  }

  .scroll-story__veil,
  .scroll-story[data-scene] .scroll-story__veil {
    background:
      linear-gradient(90deg, rgba(2, 15, 24, 0.74), rgba(2, 15, 24, 0.12)),
      linear-gradient(180deg, rgba(2, 15, 24, 0.34), transparent 28%, rgba(2, 15, 24, 0.76));
  }

  .scroll-story[data-scene="booking"] .scroll-story__veil {
    background: rgba(2, 15, 24, 0.88);
  }

  .story-scene {
    min-height: 112svh;
  }

  .story-scene__inner {
    justify-content: flex-end;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 5.2rem;
  }

  .story-scene--hero h1 {
    width: 94%;
    row-gap: 0.06em;
    font-size: clamp(3.15rem, 14vw, 5rem);
    line-height: 0.92;
  }

  .story-scene--hero h1 .hero-title__lead {
    padding-left: 0;
    font-size: 0.52em;
  }

  .story-scene--hero h1 .hero-title__context {
    margin-bottom: 1rem;
    font-size: 0.17em;
    letter-spacing: 0.1em;
  }

  .story-scene--hero h1 .hero-title__tail {
    padding-left: 0.18em;
  }

  .scroll-cue {
    bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
  }

  .story-copy h2,
  .story-rina h2,
  .story-details h2,
  .booking__intro h2 {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
  }

  .story-program h2 {
    font-size: clamp(3.4rem, 15vw, 5.8rem);
  }

  .story-program__price {
    font-size: 2rem;
  }

  .story-rina {
    display: block;
  }

  .story-rina h2 span:nth-child(2),
  .story-rina h2 em {
    padding-left: 0;
  }

  .story-rina__text {
    font-size: 0.95rem;
  }

  .story-rina__text p:last-child,
  .story-rina blockquote {
    display: none;
  }

  .story-details {
    width: 100%;
    max-width: 100%;
    gap: 1.25rem;
    justify-content: stretch;
  }

  .story-details > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .story-details h2 {
    max-width: 100%;
    font-size: clamp(2.8rem, 11.5vw, 4.2rem);
    overflow-wrap: normal;
  }

  .story-details address,
  .story-details__shooting,
  .story-details__shooting p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .story-details__shooting {
    font-size: 0.9rem;
  }

  .story-scene--booking {
    min-height: max(210svh, 76rem);
  }

  .story-scene--booking .story-scene__inner {
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    justify-content: flex-start;
    padding-top: 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    overflow: visible;
    transform: translate3d(
      0,
      calc(var(--scene-shift, 0rem) - var(--booking-shift, 0px)),
      0
    );
  }

  .story-scene--booking .story-scene__inner::-webkit-scrollbar {
    display: none;
  }

  .booking-form {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .booking {
    gap: 1.25rem;
  }

  .booking__intro h2 {
    margin-bottom: 0.7rem;
  }

  .booking__intro p {
    margin-bottom: 0.8rem;
  }

  .booking__selection {
    margin-top: 1.25rem;
  }

  .form-field input,
  .form-field textarea,
  .course-select__trigger {
    min-height: 3rem;
  }

  .story-footer {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  }

  .form-field,
  .form-field--wide {
    grid-column: 1;
  }

  .story-footer {
    justify-content: flex-start;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
