:root {
  color-scheme: light;
  --page-bg: #f7f4ec;
  --page-bg-soft: #fbf8f0;
  --ink: #063f32;
  --ink-strong: #03271f;
  --muted: rgba(6, 63, 50, 0.64);
  --muted-soft: rgba(6, 63, 50, 0.48);
  --line: rgba(6, 63, 50, 0.11);
  --line-strong: rgba(6, 63, 50, 0.18);
  --surface: rgba(255, 255, 251, 0.66);
  --surface-warm: rgba(255, 252, 244, 0.74);
  --green: #006b55;
  --green-deep: #063f32;
  --green-glow: rgba(8, 127, 111, 0.2);
  --gold: #b8914b;
  --gold-soft: rgba(184, 145, 75, 0.22);
  --shadow-card: 0 34px 90px rgba(10, 35, 28, 0.15), 0 10px 28px rgba(10, 35, 28, 0.08);
  --shadow-button: 0 20px 44px rgba(8, 127, 111, 0.24), 0 0 34px rgba(8, 127, 111, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100svh;
  color: var(--ink);
  font-family:
    Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.public-page,
.redirect-page {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.72), transparent 30%),
    radial-gradient(circle at 74% 26%, rgba(184, 145, 75, 0.2), transparent 28%),
    radial-gradient(circle at 18% 92%, rgba(8, 127, 111, 0.2), transparent 30%),
    linear-gradient(145deg, var(--page-bg-soft), var(--page-bg) 48%, #f1efe6);
}

.public-page {
  height: 100svh;
  overflow: hidden;
  --page-spotlight-x: 50vw;
  --page-spotlight-y: 50vh;
}

.public-page::before,
.redirect-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    radial-gradient(rgba(6, 63, 50, 0.16) 0.6px, transparent 0.8px),
    radial-gradient(rgba(184, 145, 75, 0.14) 0.5px, transparent 0.7px);
  background-position:
    0 0,
    12px 18px;
  background-size:
    28px 28px,
    36px 36px;
  mix-blend-mode: multiply;
}

.public-page::after,
.redirect-page::after {
  position: fixed;
  inset: auto -18vw -24vh auto;
  width: 58vw;
  height: 58vw;
  min-width: 520px;
  min-height: 520px;
  pointer-events: none;
  content: "";
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(circle at 44% 48%, rgba(8, 127, 111, 0.13), transparent 62%);
  filter: blur(1px);
  opacity: 0.85;
}

.topographic-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.54;
}

.topographic-lines path {
  fill: none;
  stroke: rgba(6, 63, 50, 0.12);
  stroke-width: 1.15;
}

.ambient-spotlight {
  position: fixed;
  left: calc(var(--page-spotlight-x) - 420px);
  top: calc(var(--page-spotlight-y) - 300px);
  z-index: 1;
  width: 840px;
  height: 600px;
  pointer-events: none;
  border-radius: 47% 53% 58% 42%;
  opacity: 0;
  background:
    radial-gradient(ellipse at 42% 46%, rgba(8, 127, 111, 0.2), transparent 64%),
    radial-gradient(ellipse at 62% 56%, rgba(184, 145, 75, 0.14), transparent 58%),
    radial-gradient(ellipse at 44% 68%, rgba(8, 127, 111, 0.11), transparent 62%);
  filter: blur(28px);
  mix-blend-mode: multiply;
  transform: rotate(-8deg);
  transition: opacity 320ms ease;
}

.public-page.is-page-spotlit .ambient-spotlight {
  opacity: 0.78;
}

.private-access-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1460px);
  height: 100svh;
  min-height: 0;
  max-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(620px, 2fr);
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  overflow: hidden;
  padding: clamp(24px, 4.5svh, 48px) clamp(34px, 4vw, 56px);
  margin: 0 auto;
}

.brand-panel {
  position: relative;
  display: grid;
  justify-self: center;
  width: min(680px, 100%);
  min-height: min(560px, calc(100svh - 120px));
  align-content: center;
  justify-items: center;
  animation: access-rise 520ms ease both;
}

.hotel-logo-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(440px, 31vw, 610px);
  max-width: calc(100vw - 48px);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 52%, rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 34px 90px rgba(10, 35, 28, 0.12),
    0 8px 24px rgba(10, 35, 28, 0.06),
    inset 0 1px rgba(255, 255, 255, 0.68),
    inset 0 -1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(1.24);
  padding: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
}

.hotel-logo-wrap::before {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  content: "";
  border-radius: 27px;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.62), transparent 25%, transparent 76%, rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.52), transparent 34%),
    radial-gradient(circle at 78% 88%, rgba(8, 127, 111, 0.07), transparent 44%);
  opacity: 0.78;
}

.hotel-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(6, 63, 50, 0.13));
}

.logo-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hotel-logo:not([style*="display: none"]) + .logo-fallback {
  display: none;
}

.access-card {
  position: relative;
  justify-self: center;
  width: min(620px, 100%);
  min-height: clamp(500px, 58svh, 620px);
  max-height: calc(100svh - (2 * clamp(24px, 4.5svh, 48px)));
  display: grid;
  align-content: center;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.72), rgba(255, 252, 244, 0.54)),
    var(--surface);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  padding: clamp(68px, 8.4svh, 94px) clamp(50px, 5.2vw, 68px);
  text-align: center;
  animation: access-rise 620ms 80ms ease both;
}

.access-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.92), transparent 24%, transparent 74%, rgba(8, 127, 111, 0.12)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.78), transparent 34%);
}

.access-card::after {
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  content: "";
  border: 1px solid var(--line);
  border-radius: 27px;
}

.welcome-label,
.access-card h1,
.access-copy,
.google-access-button {
  position: relative;
  z-index: 1;
}

.welcome-label {
  margin: 0 0 clamp(20px, 3svh, 30px);
  color: var(--green-deep);
  font-family: inherit;
  font-size: clamp(0.95rem, 2svh, 1.12rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.access-card h1 {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(2.7rem, min(4.2vw, 6svh), 3.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
}

.access-copy {
  max-width: 470px;
  margin: clamp(26px, 3.6svh, 36px) auto 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.3svh, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
}

.access-copy span {
  display: block;
}

.google-access-button {
  width: 100%;
  min-height: clamp(68px, 8.5svh, 76px);
  display: inline-grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 0;
  margin: clamp(38px, 5.4svh, 50px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #0b8a70, var(--green-deep));
  color: #ffffff;
  box-shadow: var(--shadow-button);
  font-size: 1.22rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.google-access-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 24px 54px rgba(8, 127, 111, 0.3), 0 0 42px rgba(8, 127, 111, 0.22);
}

.google-access-button:active {
  transform: translateY(0) scale(0.995);
}

.google-access-button:focus-visible {
  outline: 4px solid rgba(8, 127, 111, 0.24);
  outline-offset: 5px;
}

.google-mark {
  align-self: stretch;
  width: 76px;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 16px 0 0 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset -1px 0 rgba(3, 39, 31, 0.1);
}

.google-mark svg {
  width: 30px;
  height: 30px;
}

.redirect-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.redirect-shell {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: var(--surface-warm);
  padding: 42px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  text-align: center;
}

.redirect-shell h1 {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.redirect-shell .eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.redirect-shell p {
  max-width: 430px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.redirect-shell .primary-action {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  border-radius: 16px;
  background: var(--green-deep);
  color: #ffffff;
  font-weight: 850;
}

@keyframes access-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1320px) {
  .private-access-shell {
    width: min(calc(100% - 96px), 1460px);
    transform: translateX(clamp(24px, 3vw, 58px));
  }
}

@media (max-width: 920px) {
  .public-page {
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

  .private-access-shell {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    height: auto;
    min-height: 100svh;
    max-height: none;
    gap: clamp(8px, 2svh, 14px);
    overflow: visible;
    padding: clamp(12px, 2.4svh, 22px) 22px;
  }

  .brand-panel {
    justify-self: center;
    width: auto;
    min-height: auto;
  }

  .hotel-logo-wrap {
    width: 292px;
    max-width: calc(100vw - 44px);
    padding: 8px 12px;
  }

  .hotel-logo {
    width: 100%;
  }

  .access-card {
    justify-self: center;
    width: min(540px, 100%);
    min-height: auto;
    max-height: none;
    overflow: visible;
    border-radius: 26px;
    padding: clamp(34px, 5svh, 44px) 42px clamp(32px, 4.6svh, 40px);
  }

  .access-card::after {
    border-radius: 25px;
  }

  .access-card h1 {
    font-size: clamp(2.1rem, 5.8vw, 2.85rem);
  }

  .welcome-label {
    margin-bottom: clamp(14px, 2.2svh, 22px);
    font-size: clamp(0.82rem, 1.8svh, 0.95rem);
  }

  .access-copy {
    margin-top: clamp(16px, 2.4svh, 24px);
    font-size: clamp(0.94rem, 2.2svh, 1.1rem);
    line-height: 1.4;
  }

  .google-access-button {
    min-height: clamp(54px, 7.4svh, 64px);
    margin: clamp(18px, 3svh, 28px) auto 0;
    font-size: 1.05rem;
  }

  .topographic-lines {
    opacity: 0.42;
  }
}

@media (max-width: 920px) and (orientation: portrait) {
  .private-access-shell {
    grid-template-rows: minmax(340px, 38svh) auto;
    align-content: start;
    gap: 0;
  }

  .brand-panel {
    align-self: center;
  }

  .access-card {
    align-self: start;
  }
}

@media (max-width: 560px) {
  .public-page::after,
  .redirect-page::after {
    min-width: 360px;
    min-height: 360px;
    opacity: 0.5;
  }

  .private-access-shell {
    grid-template-rows: minmax(250px, 38svh) auto;
    align-content: start;
    gap: 0;
    padding: 12px 14px;
  }

  .brand-panel {
    align-self: center;
  }

  .access-card {
    align-self: start;
  }

  .hotel-logo-wrap {
    width: 200px;
    max-width: calc(100vw - 32px);
    padding: 6px 8px;
  }

  .hotel-logo {
    width: 100%;
    height: auto;
  }

  .access-card {
    border-radius: 24px;
    min-height: clamp(330px, 40svh, 390px);
    padding: 34px 20px 30px;
  }

  .access-card::after {
    border-radius: 23px;
  }

  .access-card h1 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
    line-height: 1.03;
  }

  .welcome-label {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .access-copy {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .access-copy span {
    display: inline;
  }

  .google-access-button {
    grid-template-columns: 54px 1fr;
    min-height: 52px;
    gap: 0;
    margin: 22px auto 0;
    border-radius: 16px;
    font-size: 0.95rem;
  }

  .google-mark {
    width: 54px;
    height: 100%;
    border-radius: 15px 0 0 15px;
  }

  .topographic-lines {
    opacity: 0.32;
  }
}

@media (max-width: 380px) {
  .access-card {
    min-height: 320px;
    padding-inline: 20px;
  }

  .access-card h1 {
    font-size: 1.75rem;
  }

  .google-access-button {
    grid-template-columns: 54px 1fr;
  }
}

@media (max-width: 920px) and (max-height: 760px) {
  .private-access-shell {
    gap: 8px;
    padding-block: 10px;
  }

  .hotel-logo-wrap {
    width: clamp(190px, 30vw, 240px);
    padding: 6px 10px;
  }

  .access-card {
    width: min(500px, 100%);
    padding: 22px clamp(20px, 4vw, 32px) 20px;
  }

  .access-card h1 {
    font-size: clamp(1.8rem, 5.4vw, 2.3rem);
    line-height: 1.02;
  }

  .welcome-label {
    margin-bottom: 10px;
  }

  .access-copy {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .google-access-button {
    min-height: 52px;
    margin-block: 16px 0;
  }
}

@media (max-width: 560px) and (max-height: 760px) {
  .private-access-shell {
    grid-template-rows: minmax(210px, 34svh) auto;
  }

  .hotel-logo-wrap {
    width: 190px;
  }

  .access-card {
    min-height: clamp(300px, 46svh, 350px);
    padding: 28px 20px 24px;
  }

  .google-access-button {
    margin-top: 18px;
  }
}

@media (max-width: 920px) and (max-height: 600px) {
  .brand-panel {
    display: none;
  }

  .private-access-shell {
    padding-block: 10px;
  }

  .access-card {
    padding: 20px clamp(18px, 4vw, 28px);
  }

  .access-card h1 {
    font-size: clamp(1.7rem, 4.8vw, 2rem);
  }

  .welcome-label {
    margin-bottom: 8px;
  }

  .access-copy {
    margin-top: 10px;
  }

  .google-access-button {
    margin-block: 12px 0;
  }
}

@media (max-width: 560px) and (max-height: 600px) and (orientation: portrait) {
  .brand-panel {
    display: grid;
  }

  .private-access-shell {
    grid-template-rows: minmax(170px, 31svh) auto;
  }

  .hotel-logo-wrap {
    width: 170px;
  }
}

@media (max-height: 760px) and (min-width: 921px) {
  .private-access-shell {
    grid-template-columns: minmax(390px, 1fr) minmax(580px, 2fr);
    gap: clamp(18px, 2.6vw, 36px);
    padding-block: 16px;
  }

  .brand-panel {
    min-height: calc(100svh - 36px);
  }

  .hotel-logo-wrap {
    width: clamp(400px, 29vw, 550px);
    padding: 12px 18px;
  }

  .hotel-logo {
    width: 100%;
  }

  .access-card {
    width: min(590px, 100%);
    min-height: clamp(450px, 62svh, 540px);
    max-height: calc(100svh - 32px);
    padding-block: 38px 34px;
  }

  .access-card h1 {
    font-size: 2.9rem;
    max-width: 500px;
  }

  .access-copy {
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .google-access-button {
    min-height: 60px;
    margin-block: 28px 0;
  }
}

@media (max-height: 640px) and (min-width: 921px) {
  .private-access-shell {
    grid-template-columns: minmax(350px, 1fr) minmax(540px, 2fr);
    gap: clamp(16px, 2.2vw, 32px);
    padding-block: 12px;
  }

  .brand-panel {
    min-height: calc(100svh - 24px);
  }

  .hotel-logo-wrap {
    width: clamp(350px, 26vw, 480px);
    padding: 10px 16px;
  }

  .hotel-logo {
    width: 100%;
  }

  .access-card {
    width: min(560px, 100%);
    min-height: 0;
    max-height: calc(100svh - 24px);
    padding-block: 28px 26px;
  }

  .access-card h1 {
    font-size: 2.45rem;
    max-width: 470px;
  }

  .access-copy {
    font-size: 0.92rem;
    line-height: 1.32;
  }

  .google-access-button {
    min-height: 56px;
    margin-block: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-spotlight {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
