:root {
  color-scheme: dark;
  --ink: #080608;
  --rose: #a95770;
  --rose-muted: #734151;
  --paper: #f4e7e5;
  --muted: #b79ca1;
  --green: #75b887;
  --yellow: #d0a54b;
  --red: #c85f69;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--paper);
  background:
    radial-gradient(circle at 8% 70%, rgba(100, 8, 35, 0.34), transparent 29%),
    radial-gradient(circle at 90% 42%, rgba(91, 12, 36, 0.25), transparent 31%),
    radial-gradient(circle at 52% 102%, rgba(100, 8, 35, 0.3), transparent 34%),
    linear-gradient(135deg, #050405 0%, #100a0e 47%, #050405 100%);
  font-family: Montserrat, Arial, sans-serif;
}

body::before,
body::after { position: fixed; inset: 0; content: ""; pointer-events: none; }
body::before {
  opacity: 0.42;
  background:
    repeating-radial-gradient(circle at 15% 20%, transparent 0 9px, rgba(255,255,255,0.008) 10px 11px),
    repeating-linear-gradient(117deg, transparent 0 14px, rgba(255,255,255,0.011) 15px, transparent 17px);
  mix-blend-mode: screen;
}
body::after { background: radial-gradient(ellipse at center, transparent 34%, rgba(0,0,0,0.72) 100%); }

.landing-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.welcome-panel {
  position: relative;
  display: flex;
  width: min(82rem, 100%);
  min-height: min(86vh, 52rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3.6rem, 6vw, 5.5rem) clamp(1.25rem, 7vw, 7rem) clamp(3.4rem, 5vw, 5rem);
  border: 1px solid rgba(169, 87, 112, 0.68);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(65, 34, 45, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(24, 18, 22, 0.94), rgba(9, 7, 9, 0.96));
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.58), inset 0 0 5rem rgba(0, 0, 0, 0.38);
  text-align: center;
}

.welcome-panel::before,
.welcome-panel::after {
  position: absolute;
  left: 2.1rem;
  width: calc(100% - 4.2rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(169,87,112,0.38) 16%, rgba(169,87,112,0.38) 84%, transparent);
}
.welcome-panel::before { top: 1.45rem; }
.welcome-panel::after { bottom: 1.45rem; }

.corner { position: absolute; width: 2.15rem; height: 2.15rem; border-color: rgba(169, 87, 112, 0.72); }
.corner--top-left { top: -0.42rem; left: -0.42rem; border-top: 2px solid; border-left: 2px solid; border-radius: 1.2rem 0 0; }
.corner--top-right { top: -0.42rem; right: -0.42rem; border-top: 2px solid; border-right: 2px solid; border-radius: 0 1.2rem 0 0; }
.corner--bottom-left { bottom: -0.42rem; left: -0.42rem; border-bottom: 2px solid; border-left: 2px solid; border-radius: 0 0 0 1.2rem; }
.corner--bottom-right { right: -0.42rem; bottom: -0.42rem; border-right: 2px solid; border-bottom: 2px solid; border-radius: 0 0 1.2rem; }

.welcome-copy { display: flex; flex-direction: column; align-items: center; }
.brand {
  margin: 0 0 0.8rem;
  color: var(--rose-muted);
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}
h1 {
  display: flex;
  min-height: clamp(6.6rem, 13vw, 10rem);
  max-width: 16ch;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.9rem, 6.5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.98;
  text-shadow: 0 0.15rem 1.6rem rgba(178, 91, 116, 0.18);
}
.greeting { opacity: 1; transform: translateY(0); transition: opacity 260ms ease, transform 260ms ease; }
.greeting--changing { opacity: 0; transform: translateY(0.25rem); }
.flourish {
  display: grid;
  width: min(27rem, 76%);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.72rem;
  margin: clamp(1.45rem, 3vw, 2.3rem) 0 1rem;
}
.flourish span { height: 1px; background: linear-gradient(90deg, transparent, var(--rose-muted)); }
.flourish span:last-child { background: linear-gradient(90deg, var(--rose-muted), transparent); }
.flourish i { width: 0.72rem; height: 0.72rem; border: 2px solid var(--rose-muted); box-shadow: 0 0 0 0.32rem rgba(115, 65, 81, 0.1); transform: rotate(45deg); }
.destinations {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3.2rem);
}
.destination {
  position: relative;
  display: flex;
  min-height: 6.7rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  border: 1px solid rgba(169, 87, 112, 0.72);
  color: var(--paper);
  background: radial-gradient(ellipse at 50% 115%, rgba(210, 30, 86, 0.29), transparent 42%), linear-gradient(145deg, rgba(65, 17, 31, 0.86), rgba(37, 12, 21, 0.9));
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.32), 0 0.18rem 0.48rem rgba(190, 33, 81, 0.18);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}
.destination::before,
.destination::after { position: absolute; width: 0.58rem; height: 0.58rem; content: ""; border-color: var(--rose); }
.destination::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.destination::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.destination__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.55rem, 2.7vw, 1.95rem); letter-spacing: 0.17em; text-transform: uppercase; }
.destination__hint { margin-top: 0.35rem; color: #d1b5ba; font-size: 0.68rem; letter-spacing: 0.05em; opacity: 0.76; }

.service-status { position: absolute; right: 0.9rem; bottom: 0.8rem; display: grid; width: 0.7rem; height: 0.7rem; place-items: center; }
.status-light { display: block; width: 0.46rem; height: 0.46rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0.6rem rgba(208, 165, 75, 0.42); }
.status-light--green { background: var(--green); box-shadow: 0 0 0.6rem rgba(117, 184, 135, 0.45); }
.status-light--yellow,
.status-light--checking { background: var(--yellow); box-shadow: 0 0 0.6rem rgba(208, 165, 75, 0.42); }
.status-light--red { background: var(--red); box-shadow: 0 0 0.6rem rgba(200, 95, 105, 0.45); }

.destination:hover,
.destination:focus-visible {
  border-color: #c76d89;
  outline: none;
  background: radial-gradient(ellipse at 50% 115%, rgba(244, 43, 105, 0.38), transparent 48%), linear-gradient(145deg, rgba(81, 21, 39, 0.92), rgba(44, 12, 23, 0.94));
  box-shadow: 0 1.35rem 2.8rem rgba(0, 0, 0, 0.42), 0 0.35rem 1.1rem rgba(230, 43, 100, 0.28);
  transform: translateY(-0.18rem);
}

.recent { width: 100%; margin-top: clamp(1.9rem, 3.5vw, 2.8rem); text-align: left; }
.recent__heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 0.65rem; border-bottom: 1px solid rgba(169, 87, 112, 0.33); }
.recent__heading h2 { margin: 0; color: #d8c6c8; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.recent__heading a { color: #9e7e86; font-size: 0.64rem; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.recent__heading a:hover,
.recent__heading a:focus-visible { color: var(--paper); }
.recent__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin: 0; padding: 0.9rem 0 0; list-style: none; }
.recent__list li { min-width: 0; }
.recent__list span { display: block; overflow: hidden; color: #e9dadd; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.08rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.recent__list small { display: block; margin-top: 0.2rem; overflow: hidden; color: #8f737a; font-size: 0.62rem; letter-spacing: 0.04em; text-overflow: ellipsis; white-space: nowrap; }
.recent__placeholder span,
.recent__placeholder small { height: 0.75rem; border-radius: 0.2rem; background: rgba(169, 87, 112, 0.12); }
.recent__placeholder small { width: 55%; height: 0.45rem; }
.recent__empty { grid-column: 1 / -1; color: #8f737a; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1rem; }

@media (max-width: 760px) {
  .landing-shell { padding: 1rem; }
  .welcome-panel { min-height: calc(100vh - 2rem); padding: 3.8rem 1.15rem 3.6rem; }
  .destinations { width: min(28rem, 100%); grid-template-columns: 1fr; gap: 0.8rem; margin-top: 2.2rem; }
  .destination { min-height: 5.4rem; }
  .recent { width: min(28rem, 100%); }
  .recent__list { grid-template-columns: 1fr; gap: 0.8rem; }
}

@media (max-width: 390px) {
  h1 { min-height: 7.6rem; font-size: clamp(2.55rem, 13vw, 3.25rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
