/*
styles.css
Rina Mermaid Academy
Created by RxGroup on 14.07.2026.
Copyright © 2026 RX Group. All rights reserved.
*/

@font-face {
  font-family: "Viaoda Libre";
  src: url("/assets/fonts/viaoda-libre-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --deep: #061e2a;
  --deep-2: #0d3540;
  --water: #2a7079;
  --pearl: #f5f1ea;
  --shell: #e9d9d7;
  --blush: #d9bfc4;
  --coral: #e98474;
  --ink: #102b32;
  --white: #fffdfa;
  --line-light: rgba(245, 241, 234, 0.24);
  --line-dark: rgba(16, 43, 50, 0.18);
  --page-gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-space: clamp(5.5rem, 11vw, 10.5rem);
  --content-width: 90rem;
  --display: "Viaoda Libre", Georgia, serif;
  --body: "Onest", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.14rem);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--coral);
  color: var(--deep);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 0.98;
}

h2 {
  margin-bottom: clamp(1.4rem, 3vw, 2.6rem);
  font-size: clamp(3.25rem, 7vw, 7.5rem);
}

.page-shell {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--pearl {
  background: var(--pearl);
  color: var(--ink);
}

.section--shell {
  background: var(--shell);
  color: var(--ink);
}

.section--deep {
  background: var(--deep);
  color: var(--pearl);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  transform: translateY(-150%);
  background: var(--coral);
  color: var(--deep);
  font-weight: 650;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.25rem;
  padding: 0.8rem var(--page-gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-light {
  border-color: var(--line-dark);
  background: rgba(245, 241, 234, 0.94);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.7rem;
  width: fit-content;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.7rem);
  font-size: 0.82rem;
}

.site-nav a,
.header-cta {
  text-decoration: none;
}

.site-nav a {
  position: relative;
  opacity: 0.84;
  transition: opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  padding: 0.64rem 0 0.42rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero {
  position: relative;
  display: block;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.hero__video,
.water-canvas,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04) brightness(0.84);
  transform: scale(var(--hero-scale, 1.015));
  will-change: transform;
}

.water-canvas {
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms ease;
}

.water-canvas.is-ready {
  opacity: 1;
}

.hero > .water-canvas {
  z-index: 1;
  filter: saturate(0.82) contrast(1.04) brightness(0.84);
  transform: scale(var(--hero-scale, 1.015));
  will-change: transform;
}

.hero__shade {
  z-index: 2;
  background: linear-gradient(180deg, rgba(2, 15, 22, 0.32) 0%, rgba(2, 15, 22, 0.08) 34%, rgba(2, 15, 22, 0.86) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  gap: 1.5rem;
  padding-top: clamp(7.5rem, 11vh, 10rem);
  padding-bottom: clamp(2rem, 4vw, 3.8rem);
  opacity: var(--hero-copy-opacity, 1);
  transform: translateY(var(--hero-copy-shift, 0));
  will-change: opacity, transform;
}

.hero__brand {
  grid-column: 1 / 4;
  margin-bottom: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  grid-column: 1 / -1;
  align-self: end;
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(4.6rem, 8.4vw, 10rem);
  line-height: 0.83;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
}

.js .hero h1 span {
  animation: hero-line-in 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.js .hero h1 span:last-child {
  animation-delay: 110ms;
}

.js .hero__brand,
.js .hero__aside {
  animation: hero-fade-in 900ms 320ms ease both;
}

@media (min-width: 48.01rem) {
  .hero h1 span {
    white-space: nowrap;
  }

  .hero h1 span:last-child {
    margin-left: clamp(2rem, 11.5vw, 11rem);
  }
}

.hero__aside {
  grid-column: 9 / -1;
  align-self: end;
}

.hero__lead {
  max-width: 31rem;
  margin-bottom: 1.35rem;
  font-size: clamp(0.98rem, 1.18vw, 1.2rem);
}

.hero__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.hero__action-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: transform 240ms ease, background-color 240ms ease, color 240ms ease;
}

.hero__action:hover .hero__action-mark {
  transform: rotate(45deg);
  background: var(--white);
  color: var(--deep);
}

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--coral {
  background: var(--coral);
  color: var(--deep);
}

.button--coral:hover {
  background: #f19a8d;
  transform: translateY(-2px);
}

.video-control {
  position: absolute;
  z-index: 4;
  right: auto;
  bottom: clamp(2rem, 4vw, 4rem);
  left: var(--page-gutter);
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: rgba(6, 30, 42, 0.34);
  color: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  backdrop-filter: blur(10px);
}

.video-control__icon {
  width: 0.75rem;
  height: 0.9rem;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.video-control[aria-pressed="true"] .video-control__icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.8rem solid currentColor;
}

.dive-story {
  position: relative;
  height: 275svh;
  background: var(--deep);
  color: var(--white);
}

.dive-story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.dive-story__video,
.dive-story__stage > .water-canvas,
.dive-story__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dive-story__video {
  z-index: 0;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.72) contrast(1.08) brightness(0.68);
  transform: scale(var(--dive-scale, 1.02));
  will-change: transform;
}

.dive-story__stage > .water-canvas {
  z-index: 0;
  filter: saturate(0.72) contrast(1.08) brightness(0.68);
  transform: scale(var(--dive-scale, 1.02));
  will-change: transform;
}

.dive-story__veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 17, 25, 0.22) 0%, rgba(2, 17, 25, 0.62) 100%),
    linear-gradient(90deg, rgba(2, 17, 25, 0.42) 0%, rgba(2, 17, 25, 0.03) 54%, rgba(2, 17, 25, 0.28) 100%);
}

.dive-story__content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.dive-step {
  position: absolute;
  bottom: clamp(5.5rem, 11vh, 8rem);
  left: var(--page-gutter);
  width: min(50rem, calc(100vw - 2 * var(--page-gutter)));
  opacity: 0;
  pointer-events: none;
  transform: translateY(2.4rem);
  transition: opacity 560ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dive-step.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dive-step.is-past {
  transform: translateY(-2rem);
}

.dive-step h2,
.dive-step h3 {
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  font-size: clamp(4.2rem, 7.8vw, 9rem);
  line-height: 0.9;
}

.dive-step h2 {
  max-width: 11ch;
}

.dive-step h2 em {
  display: block;
  color: var(--shell);
  font-weight: 400;
}

.dive-step > p {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.dive-step--facts {
  right: var(--page-gutter);
  left: auto;
  width: min(42rem, 48vw);
}

.dive-step--facts h3 {
  max-width: 9ch;
  font-size: clamp(3.7rem, 6.4vw, 7.4rem);
}

.dive-step dl {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.dive-step dl div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line-light);
}

.dive-step dt {
  font-weight: 650;
}

.dive-step dd {
  margin: 0;
  opacity: 0.76;
}

.dive-step--welcome h3 {
  max-width: 9ch;
}

.dive-story__meter {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: max(1.25rem, calc(var(--page-gutter) / 2));
  width: 1px;
  height: min(32vh, 17rem);
  overflow: hidden;
  background: rgba(245, 241, 234, 0.3);
  transform: translateY(-50%);
}

.dive-story__meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: scaleY(var(--dive-progress, 0));
  transform-origin: top;
  will-change: transform;
}

.program-section {
  z-index: 2;
}

.program-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 116%;
  height: clamp(3.5rem, 7vw, 7rem);
  border-radius: 50% 50% 0 0;
  background: var(--pearl);
  content: "";
  transform: translate(-50%, -48%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(15rem, 3fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.section-heading h2 {
  max-width: 7ch;
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 22rem;
  margin-bottom: 0;
}

.program-list {
  border-top: 1px solid var(--ink);
}

.program {
  border-bottom: 1px solid var(--line-dark);
}

.program summary {
  display: grid;
  min-height: 8rem;
  grid-template-columns: 4rem minmax(12rem, 1.5fr) minmax(12rem, 1fr) auto 2rem;
  align-items: center;
  gap: 1.4rem;
  cursor: pointer;
  list-style: none;
}

.program summary::-webkit-details-marker {
  display: none;
}

.program__number,
.program__meta {
  font-size: 0.78rem;
  opacity: 0.65;
}

.program__name {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.program summary:hover .program__name,
.program summary:focus-visible .program__name {
  transform: translateX(0.65rem);
}

.program__price {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 600;
  white-space: nowrap;
}

.program__toggle {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
}

.program__toggle::before,
.program__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.15rem;
  height: 1px;
  transform: translate(-50%, -50%);
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.program__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.program[open] .program__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.program__details {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.5fr) minmax(12rem, 1fr) auto 2rem;
  gap: 1.4rem;
  padding: 0 0 2.5rem;
}

.program__details p {
  grid-column: 2 / 4;
  max-width: 46rem;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.program__details a {
  grid-column: 4;
  align-self: end;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.program-note {
  max-width: 48rem;
  margin: 2.3rem 0 0 5.4rem;
  font-size: 0.86rem;
  opacity: 0.68;
}

.about-rina {
  min-height: 100svh;
  padding-block: clamp(5.5rem, 8vw, 8.5rem);
  overflow: hidden;
  isolation: isolate;
}

.about-rina__water {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 52%;
  background:
    linear-gradient(90deg, var(--deep) 0%, rgba(6, 30, 42, 0.22) 42%, rgba(6, 30, 42, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 30, 42, 0.12), rgba(6, 30, 42, 0.72)),
    url("/assets/images/surface-poster.20260715-final.jpg") center / cover;
  opacity: 0.72;
  transform: scale(1.04);
}

.about-rina__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(18rem, 4fr);
  gap: clamp(3rem, 7vw, 8rem);
}

.about-rina__heading {
  grid-column: 1 / -1;
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line-light);
}

.about-rina__role {
  max-width: 28rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  opacity: 0.78;
}

.about-rina h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(4.1rem, 7.7vw, 9rem);
  line-height: 0.9;
}

.about-rina h2 em {
  color: var(--shell);
  font-weight: 400;
}

.about-rina__story {
  grid-column: 2;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.about-rina__story p:last-child {
  margin-bottom: 0;
}

.about-rina blockquote {
  grid-column: 1 / -1;
  max-width: 21ch;
  margin: clamp(3.5rem, 7vw, 7rem) 0 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5.2vw, 6.2rem);
  line-height: 1.02;
}

.shooting__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.shooting__grid > div {
  grid-column: 4 / -1;
}

.shooting h2 {
  max-width: 9ch;
}

.shooting p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.location {
  border-bottom: 1px solid var(--line-dark);
}

.location__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(19rem, 4fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: end;
}

.location h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.location__address {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink);
  font-style: normal;
}

.location__address a {
  width: fit-content;
  margin-top: 1.2rem;
  font-weight: 650;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 4fr) minmax(0, 8fr);
  gap: clamp(3rem, 8vw, 10rem);
}

.faq__heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.faq__heading h2 {
  max-width: 7ch;
  font-size: clamp(3.5rem, 6.3vw, 6.8rem);
}

.faq__items {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
}

.faq-item summary {
  position: relative;
  padding: 1.7rem 3rem 1.7rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 1.5rem;
  right: 0.3rem;
  content: "+";
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 45rem;
  margin-bottom: 0;
  padding: 0 3rem 1.8rem 0;
  opacity: 0.78;
}

.booking__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 8vw, 10rem);
}

.booking__intro h2 {
  max-width: 8ch;
  font-size: clamp(3.8rem, 7vw, 7.6rem);
}

.booking__intro > p {
  max-width: 29rem;
}

.booking__intro > a {
  display: inline-block;
  margin-top: 1rem;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.2rem;
  align-self: start;
  padding-top: 0.2rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label,
.form-field > label {
  font-size: 0.78rem;
  font-weight: 600;
}

.form-field label span {
  margin-left: 0.25rem;
  font-weight: 400;
  opacity: 0.58;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  color: var(--white);
}

.form-field input,
.form-field select {
  min-height: 3.45rem;
}

.form-field textarea {
  min-height: 8rem;
  padding-block: 0.8rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(245, 241, 234, 0.46);
}

.form-field select {
  padding-right: 2rem;
}

.form-field select option {
  background: var(--deep);
  color: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--coral);
  outline: none;
}

.form-field [aria-invalid="true"] {
  border-color: #ff9c91;
}

.checkbox {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.8rem;
  align-items: start;
  cursor: pointer;
  font-size: 0.86rem;
}

.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.22rem 0 0;
  accent-color: var(--coral);
}

.checkbox--consent {
  color: rgba(245, 241, 234, 0.74);
  font-size: 0.78rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--pearl);
  font-size: 0.86rem;
}

.form-status.is-error {
  color: #ffb5ad;
}

.form-status.is-success {
  color: #b8e4d2;
}

.booking-form .button {
  width: 100%;
  margin-top: 0.4rem;
}

.booking-form .button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.form-legal {
  margin-bottom: 0;
  color: rgba(245, 241, 234, 0.55);
  font-size: 0.72rem;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.mobile-cta {
  position: fixed;
  z-index: 45;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  left: 1rem;
  display: none;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  transform: translateY(calc(140% + env(safe-area-inset-bottom)));
  background: var(--coral);
  color: var(--deep);
  font-weight: 650;
  text-decoration: none;
  transition: transform 220ms ease;
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.site-footer {
  padding-block: 4rem 2.2rem;
  border-top: 1px solid var(--line-light);
  background: var(--deep);
  color: var(--pearl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.brand--footer {
  font-size: 1.55rem;
}

.site-footer__grid > div:first-child p {
  margin: 1rem 0 0 3rem;
  font-size: 0.78rem;
  opacity: 0.6;
}

.site-footer__links {
  display: grid;
  gap: 0.72rem;
  justify-items: start;
  font-size: 0.8rem;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
  opacity: 0.5;
}

.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-line-in {
  from {
    opacity: 0;
    transform: translateY(0.7em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-page {
  min-height: 100vh;
  background: var(--pearl);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line-dark);
}

.legal-header > a:last-child {
  font-size: 0.82rem;
}

.legal-content {
  max-width: 54rem;
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.legal-content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.legal-content h2 {
  margin-top: 3.2rem;
  margin-bottom: 1rem;
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-updated {
  margin-bottom: 3rem;
  font-size: 0.8rem;
  opacity: 0.58;
}

@media (max-width: 68rem) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .section-heading {
    grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  }

  .program summary {
    grid-template-columns: 3rem minmax(12rem, 1fr) auto 2rem;
  }

  .program__meta {
    display: none;
  }

  .program__details {
    grid-template-columns: 3rem 1fr auto 2rem;
  }

  .program__details p {
    grid-column: 2;
  }

  .program__details a {
    grid-column: 3;
  }

  .about-rina__layout,
  .booking__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 48rem) {
  :root {
    --page-gutter: 1.25rem;
    --section-space: 5.5rem;
  }

  html {
    scroll-padding-top: 4.8rem;
  }

  h2 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .site-header {
    min-height: 4.5rem;
  }

  .brand {
    font-size: 1.04rem;
  }

  .brand__mark {
    width: 2rem;
    height: 2rem;
  }

  .header-cta {
    font-size: 0.76rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 1.35rem;
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .hero__brand,
  .hero h1,
  .hero__aside {
    grid-column: 1;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.45rem, 17.4vw, 6.2rem);
    line-height: 0.86;
  }

  .hero__aside {
    width: min(100%, 24rem);
    justify-self: end;
  }

  .video-control {
    top: 5.4rem;
    right: 1.25rem;
    bottom: auto;
    left: auto;
  }

  .video-control [data-video-control-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .section-heading,
  .about-rina__layout,
  .shooting__grid,
  .location__grid,
  .faq__grid,
  .booking__grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .about-rina__layout,
  .shooting__grid,
  .location__grid,
  .faq__grid,
  .booking__grid {
    gap: 2.5rem;
  }

  .section-heading h2,
  .location h2 {
    max-width: 9ch;
  }

  .shooting__grid > div,
  .about-rina__story {
    grid-column: 1;
  }

  .about-rina__water {
    inset: 30% 0 0 16%;
    opacity: 0.34;
  }

  .dive-story {
    height: 235svh;
  }

  .dive-story__video {
    object-position: 54% center;
  }

  .dive-story__veil {
    background: linear-gradient(180deg, rgba(2, 20, 29, 0.1) 0%, rgba(2, 20, 29, 0.88) 100%);
  }

  .dive-step,
  .dive-step--facts {
    right: 1.25rem;
    bottom: 5.4rem;
    left: 1.25rem;
    width: auto;
  }

  .dive-step h2,
  .dive-step h3,
  .dive-step--facts h3 {
    max-width: 10ch;
    font-size: clamp(3.05rem, 14.2vw, 5.2rem);
  }

  .dive-step > p {
    font-size: 0.98rem;
  }

  .dive-step dl div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-block: 0.72rem;
    font-size: 0.86rem;
  }

  .dive-story__meter {
    right: 0.65rem;
    height: 22vh;
  }

  .program-section .section-heading {
    margin-bottom: 3.5rem;
  }

  .program summary {
    min-height: 7.5rem;
    grid-template-columns: 2.2rem minmax(0, 1fr) auto 1.5rem;
    gap: 0.75rem;
  }

  .program__name {
    font-size: clamp(1.7rem, 8vw, 2.7rem);
  }

  .program__price {
    font-size: 0.9rem;
  }

  .program__details {
    display: block;
    padding: 0 0 2.3rem 2.95rem;
  }

  .program__details p {
    margin-bottom: 1.2rem;
  }

  .program-note {
    margin-left: 0;
  }

  .about-rina h2,
  .booking__intro h2,
  .faq__heading h2 {
    font-size: clamp(3.2rem, 14.5vw, 5.3rem);
  }

  .about-rina blockquote {
    font-size: 2.2rem;
  }

  .faq__heading {
    position: static;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .form-field--wide {
    grid-column: 1;
  }

  .mobile-cta {
    display: flex;
  }

  .site-footer {
    padding-bottom: calc(2.2rem + env(safe-area-inset-bottom));
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__copyright {
    grid-column: 1;
  }
}

@media (max-width: 23rem) {
  .brand span {
    max-width: 7.5rem;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .program summary {
    grid-template-columns: 2rem minmax(0, 1fr) 1.2rem;
  }

  .program__price {
    grid-column: 2;
    padding-bottom: 1rem;
  }

  .program__toggle {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.no-js .dive-story {
  height: auto;
}

.no-js .dive-story__stage {
  position: relative;
  height: auto;
  min-height: 100svh;
  overflow: hidden;
}

.no-js .dive-story__video,
.no-js .dive-story__veil {
  position: absolute;
}

.no-js .dive-story__content {
  height: auto;
  padding-block: 7rem 5rem;
}

.no-js .dive-step,
.no-js .dive-step--facts {
  position: relative;
  inset: auto;
  width: min(50rem, 100%);
  padding-block: 4rem;
  border-bottom: 1px solid var(--line-light);
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.no-js .dive-step--facts {
  margin-left: auto;
}

.no-js .dive-story__meter {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .dive-story {
    height: auto;
  }

  .dive-story__stage {
    position: relative;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .dive-story__video,
  .dive-story__veil {
    position: absolute;
  }

  .dive-story__content {
    height: auto;
    padding-block: 7rem 5rem;
  }

  .dive-step,
  .dive-step--facts {
    position: relative;
    inset: auto;
    width: min(50rem, 100%);
    padding-block: 4rem;
    border-bottom: 1px solid var(--line-light);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dive-step--facts {
    margin-left: auto;
  }

  .dive-story__meter {
    display: none;
  }
}

/* Unified surface-to-depth experience. Final films replace the versioned media
   files without changing the document structure. */
.experience {
  position: relative;
  height: 840svh;
  background: var(--deep);
  color: var(--white);
}

.experience__anchor {
  position: absolute;
  top: 23%;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 5.5rem;
}

.experience__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #031721;
}

.experience__media,
.experience__video,
.experience__water,
.experience__shade,
.experience__content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.experience__media {
  z-index: 0;
  overflow: hidden;
}

.experience__video {
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.8) contrast(1.06) brightness(0.82);
  transform: scale(1.018);
  transition: none;
  will-change: opacity;
}

.experience__video--surface {
  z-index: 0;
  opacity: calc(1 - var(--dive-mix, 0));
}

.experience__video--film {
  z-index: 1;
  opacity: var(--dive-mix, 0);
}

.experience__water {
  z-index: 2;
  opacity: 0;
  filter: saturate(0.8) contrast(1.06) brightness(0.82);
  transition: none;
}

.experience__water.is-ready {
  opacity: calc(1 - var(--dive-mix, 0));
}

.experience__shade {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(1, 13, 19, 0.38) 0%, rgba(1, 13, 19, 0.06) 34%, rgba(1, 13, 19, 0.78) 100%),
    linear-gradient(90deg, rgba(1, 13, 19, 0.28) 0%, transparent 48%, rgba(1, 13, 19, 0.1) 100%);
}

.experience__shade::before,
.experience__shade::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.experience__shade::before {
  opacity: var(--dive-mix, 0);
  background:
    linear-gradient(180deg, rgba(1, 13, 19, 0.22) 0%, rgba(1, 13, 19, 0.03) 42%, rgba(1, 13, 19, 0.86) 100%),
    linear-gradient(90deg, rgba(1, 13, 19, 0.38) 0%, transparent 58%, rgba(1, 13, 19, 0.12) 100%);
}

.experience__shade::after {
  opacity: var(--transition-veil, 0);
  background: radial-gradient(circle at 50% 48%, rgba(80, 159, 177, 0.1), rgba(0, 22, 32, 0.48));
}

.experience__content {
  z-index: 4;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: 0;
  pointer-events: none;
}

.experience-step {
  position: absolute;
  top: clamp(6.7rem, 12vh, 9rem);
  right: var(--page-gutter);
  bottom: clamp(2rem, 6vh, 4.5rem);
  left: var(--page-gutter);
  display: grid;
  align-content: end;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 480ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.experience-step.is-active {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.experience-step.is-past {
  transform: translateY(-1.25rem);
}

.experience-step h1,
.experience-step h2,
.experience-step blockquote {
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 1px 30px rgba(0, 14, 22, 0.25);
}

.experience-step em {
  font-style: italic;
  color: #ecd9d4;
}

.experience-step--hero {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: end;
  gap: 1.5rem;
  padding-bottom: clamp(4.5rem, 10vh, 8rem);
}

.experience-step--hero h1 {
  grid-column: 1 / -1;
  align-self: end;
  width: 100%;
  margin: 0;
  font-size: clamp(4.5rem, 7.6vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}

.experience-step--hero h1 span {
  display: block;
}

.experience-step--hero h1 span:first-child {
  margin: 0 0 0.12em clamp(0rem, 7vw, 7rem);
  font-size: 0.56em;
  font-style: italic;
  letter-spacing: -0.025em;
}

.experience-step--hero h1 span:last-child {
  margin-left: clamp(0rem, 5vw, 5rem);
  white-space: nowrap;
}

.experience__scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  width: clamp(3.7rem, 4.7vw, 4.8rem);
  height: clamp(3.7rem, 4.7vw, 4.8rem);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transform: translateX(-50%);
  transition: opacity 300ms ease, transform 300ms ease, background-color 200ms ease;
  pointer-events: auto;
}

.experience__scroll-cue span {
  width: 0.9rem;
  height: 0.9rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.18rem) rotate(45deg);
  animation: dive-cue 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.experience__scroll-cue:hover {
  background: rgba(255, 255, 255, 0.12);
}

.experience.has-entered .experience__scroll-cue {
  opacity: 0;
  transform: translate(-50%, 0.7rem);
  pointer-events: none;
}

@keyframes dive-cue {
  0%, 100% { transform: translateY(-0.24rem) rotate(45deg); opacity: 0.58; }
  52% { transform: translateY(0.22rem) rotate(45deg); opacity: 1; }
}

.experience-step__aside {
  grid-column: 9 / -1;
  align-self: end;
  max-width: 31rem;
}

.experience-step__aside p,
.experience-step--about > p {
  font-size: clamp(1rem, 1.18vw, 1.2rem);
}

.experience__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.experience__action span:last-child {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  font-size: 1.05rem;
  transition: transform 240ms ease, background-color 240ms ease, color 240ms ease;
}

.experience__action:hover span:last-child {
  transform: translateY(0.2rem);
  background: var(--white);
  color: var(--deep);
}

.experience-step--about {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: center;
}

.experience-step--about h2 {
  grid-column: 1 / 9;
  margin: 0;
  font-size: clamp(4rem, 7.5vw, 8.5rem);
}

.experience-step--about > p {
  grid-column: 9 / -1;
  align-self: end;
  margin: 0 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.experience-step--facts {
  align-content: center;
  width: min(47rem, calc(58% - var(--page-gutter)));
}

.experience-step--facts h2 {
  max-width: 8ch;
  margin-bottom: clamp(2rem, 5vh, 4rem);
  font-size: clamp(4rem, 7vw, 7.8rem);
}

.experience-step--facts dl {
  margin: 0;
}

.experience-step--facts dl div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.72fr) 1.4fr;
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.experience-step--facts dt {
  font-weight: 650;
}

.experience-step--facts dd {
  margin: 0;
  opacity: 0.78;
}

.experience-step--dream {
  align-content: center;
}

.experience-step--dream h2 {
  width: min(60rem, 100%);
  margin: 0 0 clamp(2rem, 5vh, 3.75rem);
  font-size: clamp(3.15rem, 6vw, 7rem);
  line-height: 0.98;
}

.experience-step--dream .experience__action {
  width: min(29rem, 100%);
}

.experience__progress {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: clamp(0.65rem, 1.7vw, 1.8rem);
  width: 1px;
  height: min(28vh, 14rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 240ms ease;
}

.experience.is-submerged .experience__progress {
  opacity: 1;
}

.experience__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: scaleY(var(--experience-progress, 0));
  transform-origin: top;
}

.experience__control {
  bottom: clamp(1.25rem, 3vw, 2.6rem);
  opacity: 0.72;
  transition: opacity 240ms ease;
}

.experience__control [data-video-control-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.experience.has-entered .experience__control {
  opacity: 0;
  pointer-events: none;
}

.experience__control:focus-visible {
  opacity: 1;
}

.field-error {
  display: block;
  min-height: 1.15rem;
  margin-top: 0.35rem;
  color: #ffb2a6;
  font-size: 0.72rem;
  line-height: 1.35;
}

.form-field [aria-invalid="true"],
.checkbox [aria-invalid="true"] + span {
  border-color: #ffb2a6;
}

.mobile-cta[hidden] {
  display: none !important;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

.no-js .site-header {
  border-color: var(--line-light);
  background: rgba(6, 30, 42, 0.96);
  color: var(--white);
}

.no-js .experience,
.experience.is-lite {
  height: auto;
  min-height: 100svh;
}

.no-js .experience__stage,
.experience.is-lite .experience__stage {
  position: relative;
  height: auto;
  min-height: 100svh;
  overflow: visible;
}

.no-js .experience__media,
.experience.is-lite .experience__media {
  position: absolute;
  height: 100%;
}

.no-js .experience__video--film,
.no-js .experience__water,
.experience.is-lite .experience__video--film,
.experience.is-lite .experience__water {
  display: none;
}

.no-js .experience__content,
.experience.is-lite .experience__content {
  position: relative;
  display: grid;
  height: auto;
  min-height: 100svh;
  gap: 2rem;
  padding-top: clamp(8rem, 15svh, 12rem);
  padding-bottom: 5rem;
  pointer-events: auto;
}

.no-js .experience-step,
.experience.is-lite .experience-step {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 58svh;
  padding-block: 2rem;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.no-js .experience__progress,
.no-js .experience__control,
.experience.is-lite .experience__progress,
.experience.is-lite .experience__control {
  display: none;
}

@media (max-width: 48rem) {
  .experience {
    height: 620svh;
  }

  .experience-step {
    top: 6.5rem;
    right: var(--page-gutter);
    bottom: 5.25rem;
    left: var(--page-gutter);
  }

  .experience-step--hero,
  .experience-step--about {
    grid-template-columns: 1fr;
  }

  .experience-step--hero h1,
  .experience-step__aside,
  .experience-step--about h2,
  .experience-step--about > p {
    grid-column: 1;
  }

  .experience-step--hero h1 {
    align-self: end;
    max-width: none;
    font-size: clamp(3.15rem, 15.8vw, 5.8rem);
    line-height: 0.86;
  }

  .experience-step--hero h1 span:first-child {
    margin-left: 0;
    font-size: 0.64em;
  }

  .experience-step--hero h1 span:last-child {
    margin-left: 0;
    white-space: normal;
  }

  .experience__scroll-cue {
    bottom: -0.5rem;
  }

  .experience-step__aside {
    align-self: end;
  }

  .experience-step--about {
    align-content: end;
  }

  .experience-step--about h2,
  .experience-step--facts h2 {
    font-size: clamp(3.25rem, 14vw, 5.4rem);
  }

  .experience-step--about > p {
    margin-top: 1.5rem;
  }

  .experience-step--facts,
  .experience-step--dream {
    width: auto;
  }

  .experience-step--facts dl div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .experience-step--dream h2 {
    font-size: clamp(2.65rem, 11.8vw, 4.5rem);
  }

  .experience-step--facts {
    padding-left: 0;
  }

  .experience__progress {
    right: 0.65rem;
  }

  .experience__control {
    top: 5.4rem;
    right: 1.25rem;
    bottom: auto;
    left: auto;
  }

  .no-js .experience-step,
  .experience.is-lite .experience-step {
    min-height: 72svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience__video,
  .experience__water,
  .experience-step {
    transition: none;
  }

  .experience__scroll-cue span {
    animation: none;
  }
}
