/* ============================================
   KUMO STUDIO — Desktop-first (1920 base)
   ============================================ */

@font-face {
  font-family: "PP Mori";
  src: url("../assets/fonts/PPMori-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src: url("../assets/fonts/PPMori-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url("../assets/fonts/MyriadPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #e7e4c5;
  --cream-bright: #fff9ce;
  --cream-soft: #fbf7c9;
  --cream-page: #faf8f3;
  --ink-space: #253b5d;
  --welcome-blue: #52779a;
  --navy-dot: #1b2e4b;
  --booking-accent: #fbf7c9;
  --header-pad-x: clamp(1.5rem, 4.2vw, 5rem);
  --header-pad-y: clamp(1.1rem, 2vw, 2rem);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "PP Mori", sans-serif;
  font-weight: 400;
  color: var(--cream);
  background: #0d1218;
  overflow-x: hidden;
  cursor: none;
}

body[data-theme="home"],
body[data-theme="welcome"],
body[data-theme="booking"] {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

body[data-theme="space"] {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
  background: #fbf7c9;
}

body.is-touch {
  cursor: auto;
}

body.is-touch .cursor,
body.is-touch .cursor-dot {
  display: none !important;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

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

/* ---------- Custom cursor ---------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, width, height;
}

.cursor {
  width: 12px;
  height: 12px;
  background: var(--navy-dot);
  transition: width 0.35s var(--ease-soft), height 0.35s var(--ease-soft), opacity 0.25s ease;
  opacity: 0.92;
  mix-blend-mode: normal;
}

.cursor.is-moving {
  width: 42px;
  height: 42px;
}

.cursor.is-hover {
  width: 56px;
  height: 56px;
  opacity: 0.75;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--cream-bright);
  opacity: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-pad-y) var(--header-pad-x);
  pointer-events: none;
  mix-blend-mode: normal;
}

.site-header .nav-left,
.site-header .nav-brand {
  pointer-events: auto;
}

.nav-left {
  display: flex;
  gap: clamp(1.4rem, 2.4vw, 2.8rem);
}

.nav-link {
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.92;
  transition: opacity 0.35s ease;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

/* Note: selected menu stays full, siblings fade */
.nav-left:hover .nav-link {
  opacity: 0.25;
}

.nav-left .nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-left:hover .nav-link.is-active:not(:hover) {
  opacity: 0.25;
}

.nav-brand {
  font-family: "Myriad Pro", "PP Mori", sans-serif;
  font-size: clamp(0.72rem, 0.95vw, 0.92rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream);
  transition: opacity 0.3s ease;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.nav-brand:hover {
  opacity: 0.7;
}

body[data-theme="home"] .nav-link,
body[data-theme="home"] .nav-brand {
  color: var(--cream);
}

body[data-theme="space"] .nav-link,
body[data-theme="space"] .nav-brand {
  color: #253b5d;
}

body[data-theme="space"] .nav-link.is-active {
  font-weight: 600;
}

body[data-theme="welcome"] .nav-link,
body[data-theme="welcome"] .nav-brand {
  color: var(--cream-bright);
}

/* ---------- Pages shell ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.page[hidden] {
  display: none !important;
}

.page.is-active {
  display: block;
}

/* ============================================
   HOME — full screen
   ============================================ */
.page-home {
  overflow: hidden;
  color: var(--cream);
  background: #1a2230;
  height: 100vh;
  height: 100dvh;
  position: relative;
  z-index: 1;
}

.page-welcome {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.home-shell,
.home-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
}

.home-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.home-video.is-ready {
  opacity: 1;
}

.home-fallback {
  position: absolute;
  inset: 0;
}

.home-video.is-ready + .home-fallback {
  opacity: 0;
  pointer-events: none;
}

.home-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20, 28, 40, 0.12) 0%, rgba(10, 14, 22, 0.28) 100%);
  pointer-events: none;
}

.home-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.home-logo {
  font-family: "Myriad Pro", "PP Mori", sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4.6vw, 4.4rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
  line-height: 1;
  opacity: 1;
  z-index: 2;
}

.cloud-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.cloud-hotspot {
  position: absolute;
  background: transparent;
  cursor: none;
  opacity: 0.88;
  transition: opacity 0.4s ease;
  padding: 0;
  pointer-events: auto;
  border: 0;
}

.cloud-hotspot img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Exact mockup positions (from design reference) */
.cloud-1 {
  left: 16%;
  top: 68%;
  width: min(160px, 11vw);
  transform: translate(-50%, -50%);
}

.cloud-2 {
  left: 83.5%;
  top: 22%;
  width: min(120px, 8vw);
  transform: translate(-50%, -50%);
}

.cloud-3 {
  left: 67.5%;
  top: 76%;
  width: min(125px, 8.2vw);
  transform: translate(-50%, -50%);
}

.cloud-dot {
  position: absolute;
  right: -6%;
  top: -8%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-dot);
  pointer-events: none;
}

/* Note: selected cloud full opacity, others fade */
.cloud-layer.is-ready .cloud-hotspot {
  opacity: 0.88;
}

.cloud-layer.is-ready:hover .cloud-hotspot {
  opacity: 0.25;
}

.cloud-layer.is-ready .cloud-hotspot:hover {
  opacity: 1;
}

.home-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 3.5vh, 2.8rem);
  transform: translateX(-50%);
  font-size: clamp(0.55rem, 0.72vw, 0.7rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  white-space: nowrap;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   WELCOME
   ============================================ */
.page-welcome {
  background: #52779a;
  color: var(--cream-bright);
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.welcome-inner {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(5.5rem, 10vh, 8rem) clamp(1.5rem, 12vw, 14rem) 1rem;
  gap: clamp(2rem, 4.5vh, 3.5rem);
}

/* Üst: PP Mori */
.welcome-title {
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 2rem);
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
  max-width: 18em;
  color: var(--cream-bright);
}

/* Orta: Myriad Pro */
.welcome-copy {
  font-family: "Myriad Pro", "PP Mori", sans-serif;
  font-weight: 400;
  max-width: 40rem;
  font-size: clamp(0.82rem, 1.02vw, 0.98rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: rgba(255, 249, 206, 0.95);
}

.welcome-copy p {
  margin: 0;
}

.welcome-copy p + p {
  margin-top: 1.05rem;
}

.welcome-copy strong {
  font-family: "Myriad Pro", "PP Mori", sans-serif;
  font-weight: 400;
  color: var(--cream-bright);
}

/* Alt: PP Mori */
.welcome-location {
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
  position: relative;
  color: var(--cream-bright);
}

.welcome-location .dot {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.35em;
  border-radius: 50%;
  background: var(--cream-bright);
  vertical-align: middle;
  transform: translateY(-0.08em);
}

.page-welcome .page-footer {
  color: var(--cream-bright);
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.5rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

.page-welcome .footer-mark img {
  filter: none;
  max-width: 88px;
}

/* Scroll transition overlay stacking */
.page.is-scroll-layer {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* ============================================
   THE SPACE
   ============================================ */
.page-space {
  background: #fbf7c9;
  color: #253b5d;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.space-inner {
  padding: clamp(6rem, 11vh, 8.5rem) clamp(1.5rem, 8vw, 9rem) 3rem;
  max-width: 1480px;
  margin: 0 auto;
}

.space-hero-title {
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.8rem);
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
  color: #253b5d;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.space-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
}

.grid-a {
  grid-template-columns: 1.65fr 0.72fr;
  align-items: start;
  gap: clamp(1.2rem, 2.2vw, 2.2rem);
}

.grid-b {
  grid-template-columns: 0.75fr 1.15fr;
  grid-template-rows: auto auto;
  align-items: start;
}

.grid-b .shot-mid {
  grid-row: 1 / 2;
}

.grid-b .shot-large {
  grid-row: 1 / 3;
  grid-column: 2;
}

.grid-b .shot-small {
  grid-column: 1;
  width: 72%;
  margin-top: -12%;
}

.grid-c {
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
}

.shot {
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-wide {
  aspect-ratio: 16 / 10;
}

.shot-tall {
  aspect-ratio: 3 / 4.15;
}

.shot-tall.offset-up {
  margin-top: 0;
  align-self: start;
}

.shot-feature {
  max-width: 640px;
  width: 100%;
  margin: 0 auto clamp(2.5rem, 5vh, 4rem);
  aspect-ratio: 3 / 4;
}

.shot-mid {
  aspect-ratio: 3 / 4.2;
}

.shot-large {
  aspect-ratio: 3 / 4.4;
}

.shot-small {
  aspect-ratio: 4 / 3;
}

.shot-lamp {
  aspect-ratio: 3 / 4.2;
}

.shot-sky {
  aspect-ratio: 1 / 1.05;
  max-width: 420px;
  justify-self: center;
}

.shot-sky.offset-mid {
  margin-top: 8%;
}

.space-caption {
  text-align: center;
  font-family: "PP Mori", sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.7;
  margin: 0 auto clamp(2.5rem, 5vh, 4rem);
  max-width: 36rem;
  color: #253b5d;
}

.space-block {
  text-align: center;
  margin: clamp(2rem, 5vh, 4rem) auto;
  max-width: 52rem;
  color: #253b5d;
}

.space-kicker {
  font-family: "PP Mori", sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  margin-bottom: 1rem;
  color: #253b5d;
}

.space-statement,
.space-heading {
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.55vw, 1.45rem);
  letter-spacing: 0.1em;
  line-height: 1.65;
  text-transform: uppercase;
  color: #253b5d;
}

.space-heading {
  margin-bottom: 1rem;
}

.page-space .page-footer {
  color: #253b5d;
}

.page-space .footer-cloud-dark,
.footer-on-light .footer-mark img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1200%) hue-rotate(182deg) brightness(0.95);
}

/* ============================================
   BOOKING — match desktop mockup
   ============================================ */
.page-booking {
  color: #fbf7c9;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.booking-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.booking-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.12);
  filter: blur(14px) saturate(0.85) brightness(0.88);
}

.booking-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 62, 0.22) 0%,
    rgba(35, 50, 72, 0.32) 100%
  );
}

.booking-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(5.2rem, 8.5vh, 6.8rem) clamp(2rem, 7vw, 7rem) 0.75rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.booking-intro {
  text-align: center;
  margin-bottom: clamp(1.8rem, 3.8vh, 2.8rem);
}

.booking-cloud {
  width: clamp(120px, 13vw, 200px);
  margin: 0 auto 1.05rem;
  display: block;
}

.booking-title {
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.7rem);
  letter-spacing: 0.18em;
  color: #fbf7c9;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.booking-sub {
  font-family: "PP Mori", sans-serif;
  font-weight: 400;
  font-size: clamp(0.88rem, 1.1vw, 1.08rem);
  letter-spacing: 0.01em;
  color: #fbf7c9;
  text-transform: none;
  opacity: 0.95;
}

.booking-form {
  width: 100%;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
  margin-bottom: clamp(1.8rem, 3.8vh, 2.8rem);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.55rem;
  padding-top: 0.15rem;
}

.form-calendar {
  justify-self: end;
  width: 100%;
  max-width: 268px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field-label {
  font-family: "PP Mori", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fbf7c9;
}

.field-sublabel {
  display: block;
  font-family: "PP Mori", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fbf7c9;
  opacity: 0.5;
  margin-bottom: 0.15rem;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.underline-field input {
  width: 100%;
  padding: 0.4rem 0 0.55rem;
  border: none;
  border-bottom: 1px solid rgba(251, 247, 201, 0.55);
  border-radius: 0;
  outline: none;
  letter-spacing: 0.06em;
  font-family: "PP Mori", sans-serif;
  font-size: 0.8rem;
  background: transparent;
  color: #fbf7c9;
  caret-color: #fbf7c9;
  transition: border-color 0.25s ease;
}

.underline-field input:focus {
  border-bottom-color: #fbf7c9;
}

.select-wrap {
  position: relative;
  margin-top: 0.15rem;
}

.select-trigger {
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #8b8c7a 0%,
    #7e7c65 50%,
    #706e58 100%
  );
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  letter-spacing: 0.2em;
  font-family: "PP Mori", sans-serif;
  font-size: 0.68rem;
  color: #fbf7c9;
  cursor: none;
  transition: filter 0.25s ease;
}

.select-trigger:hover {
  filter: brightness(1.08);
}

.calendar {
  margin-top: 0.45rem;
  padding: 1.05rem 0.95rem 1.15rem;
  border-radius: 1.05rem;
  background: rgba(37, 59, 93, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  width: 100%;
  max-width: 268px;
  color: #fbf7c9;
}

.cal-weekdays {
  margin-bottom: 0.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(251, 247, 201, 0.28);
  font-family: "PP Mori", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.cal-days button.is-selected {
  background: #fbf7c9;
  color: #253b5d;
}

.cal-days button.is-selected::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #253b5d;
  transform: none;
  top: auto;
}

.booking-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  width: min(100%, 400px);
  margin: 0 auto;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  background: #fbf7c9;
  color: #253b5d;
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  cursor: none;
  transition: transform 0.3s var(--ease-soft), filter 0.25s ease;
}

.booking-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.booking-submit .arrow {
  font-size: 0.85rem;
  letter-spacing: -0.12em;
  font-weight: 400;
  line-height: 1;
  opacity: 0.9;
}

.booking-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
  color: #fbf7c9;
  padding-top: 1rem;
  padding-bottom: max(1.35rem, env(safe-area-inset-bottom));
}

.booking-footer .footer-links,
.booking-footer .footer-address {
  color: #fbf7c9;
}

.booking-footer .footer-mark img {
  max-width: 70px;
  filter: none;
}

body[data-theme="booking"] .nav-link,
body[data-theme="booking"] .nav-brand {
  color: #fbf7c9;
}

body[data-theme="booking"] .nav-link.is-active {
  font-weight: 600;
  opacity: 1;
}

.booking-success {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 30, 45, 0.18);
  pointer-events: none;
}

.booking-success[hidden] {
  display: none !important;
}

.page-booking.has-success .booking-inner,
.page-booking.has-success .booking-footer {
  filter: blur(1.5px);
  opacity: 0.55;
  pointer-events: none;
}

.booking-success:not([hidden]) {
  pointer-events: auto;
}

.booking-success-card {
  position: relative;
  width: min(92vw, 680px);
  aspect-ratio: 2.2 / 1;
  display: grid;
  place-items: center;
}

.booking-success-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.booking-success-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #253b5d;
  padding: 10% 12% 9%;
  max-width: 32rem;
}

.booking-success-title {
  font-family: "PP Mori", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
  color: #253b5d;
}

.booking-success-text {
  font-family: "PP Mori", sans-serif;
  font-weight: 400;
  font-size: clamp(0.75rem, 1vw, 0.92rem);
  line-height: 1.65;
  color: #253b5d;
  margin-bottom: 1.2rem;
}

.booking-success-brand {
  font-family: "Myriad Pro", "PP Mori", sans-serif;
  font-size: clamp(0.6rem, 0.8vw, 0.75rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: #253b5d;
}

.select-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: min(100%, 420px);
  width: max-content;
  max-width: min(92vw, 460px);
  list-style: none;
  padding: 1rem 0.85rem;
  border-radius: 0.85rem;
  background: #fbf7c9;
  border: none;
  box-shadow: none;
  z-index: 30;
  max-height: min(52vh, 420px);
  overflow-y: auto;
}

.select-menu li {
  position: relative;
  padding: 0.42rem 0.85rem 0.42rem 1.35rem;
  font-family: "PP Mori", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: #8a8a8a;
  cursor: none;
  transition: color 0.2s ease;
  text-transform: none;
}

.select-menu li .opt-name {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.select-menu li:hover,
.select-menu li[aria-selected="true"] {
  background: transparent;
  color: #1b2e4b;
}

.select-menu li:hover::before,
.select-menu li[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b2e4b;
  transform: translateY(-50%);
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  text-align: center;
}

.cal-days button {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: "PP Mori", sans-serif;
  font-size: 0.72rem;
  border-radius: 50%;
  cursor: none;
  color: #fbf7c9;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}

.cal-days button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cal-days button.is-empty {
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Shared footer ---------- */
.page-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  padding: 1.5rem var(--header-pad-x) 2rem;
  margin-top: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.footer-links a {
  transition: opacity 0.25s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

.footer-mark {
  width: clamp(64px, 7vw, 96px);
  justify-self: center;
  opacity: 0.95;
}

.footer-mark img,
.footer-mark svg {
  width: 100%;
  height: auto;
}

.footer-address {
  justify-self: end;
  text-align: right;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  line-height: 1.55;
}

.footer-on-dark {
  color: var(--cream-bright);
}

.footer-on-light {
  color: var(--ink-space);
}

.footer-on-light .footer-mark img,
.footer-cloud-dark {
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1200%) hue-rotate(182deg) brightness(0.95);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-a,
  .grid-b,
  .grid-c,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .grid-b .shot-large,
  .grid-b .shot-mid,
  .grid-b .shot-small {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
    margin: 0;
  }

  .shot-tall.offset-up,
  .shot-sky.offset-mid {
    margin-top: 0;
  }

  .cloud-1 { left: 14%; top: 70%; width: 18%; }
  .cloud-2 { left: 84%; top: 22%; width: 14%; }
  .cloud-3 { left: 68%; top: 74%; width: 14%; }

  .home-hint {
    white-space: normal;
    max-width: 16rem;
    line-height: 1.6;
  }

  .page-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-address {
    justify-self: center;
    text-align: center;
  }

  .select-trigger,
  .calendar {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .nav-left {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .nav-brand {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

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

  .home-logo {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    font-size: 1.35rem;
  }
}

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