:root {
  --navy: #10243e;
  --navy-deep: #0a1829;
  --green: #4a8f6e;
  --cream: #f4efe4;
  --cream-soft: rgba(244, 239, 228, 0.78);
  --cream-mute: rgba(244, 239, 228, 0.55);
  --line: rgba(244, 239, 228, 0.16);
  --ink-on-cream: #10243e;
  --paper: #fbf8f1;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--cream);
  font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(70vmax 50vmax at 20% 0%, rgba(74, 143, 110, 0.22), transparent 55%),
    radial-gradient(50vmax 40vmax at 90% 100%, rgba(99, 112, 123, 0.18), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, #15304f 100%);
}

a {
  color: inherit;
}

.stays {
  width: min(26rem, 100%);
  margin: 0 auto;
  padding:
    max(2rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(2.5rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: 100dvh;
  justify-content: center;
}

.stays-brand {
  text-align: center;
}

.stays-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stays-brand h1 {
  margin: 0.55rem 0 0;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--cream);
}

.stays-tagline {
  margin: 0.55rem 0 0;
  color: var(--cream-soft);
  font-size: 1.05rem;
  font-weight: 650;
}

.stays-lede {
  margin: 0.55rem auto 0;
  max-width: 30ch;
  color: var(--cream-mute);
  font-size: 0.95rem;
}

.stay {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(10, 24, 41, 0.45);
  box-shadow: var(--shadow);
}

.stay-media {
  aspect-ratio: 16 / 10;
  background: #0a1829;
}

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

.stay-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.stay-eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stay h2 {
  margin: 0.25rem 0 0;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.stay-meta {
  margin: 0.35rem 0 0;
  color: var(--cream-mute);
  font-size: 0.92rem;
}

.stay-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--ink-on-cream);
  background: var(--paper);
}

.btn-primary:hover {
  background: #fff;
}

.btn-secondary {
  color: var(--cream);
  background: transparent;
  border: 1.5px solid rgba(244, 239, 228, 0.45);
}

.btn-secondary:hover {
  border-color: var(--cream);
  background: rgba(244, 239, 228, 0.06);
}

.btn-ghost {
  color: var(--green);
  background: transparent;
  min-height: 2.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  border-radius: 0.5rem;
}

.btn-ghost:hover {
  color: #6bb089;
  transform: none;
}

.stays-foot {
  text-align: center;
  color: var(--cream-mute);
  font-size: 0.92rem;
}

.stays-foot p {
  margin: 0.35rem 0 0;
}

.stays-foot a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.stays-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.stays-foot a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.foot-quiet {
  color: var(--cream-mute) !important;
  font-weight: 600 !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (min-width: 720px) {
  .stays {
    width: min(40rem, 100%);
    gap: 2rem;
  }

  .stay {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }

  .stay-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .stay-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.4rem 1.5rem;
  }
}
