:root {
  color-scheme: light;
  --background: #f7f5ef;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-hover: rgba(255, 255, 255, 0.94);
  --border: rgba(53, 78, 76, 0.11);
  --border-hover: rgba(47, 135, 118, 0.3);
  --text: #26343a;
  --muted: #718087;
  --accent: #2f8776;
  --accent-strong: #337f71;
  --accent-soft: #e1f2ed;
  --accent-warm: #e49b78;
  --accent-ink: #ffffff;
  --shadow: 0 22px 60px rgba(68, 91, 89, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(183, 222, 211, 0.48), transparent 32%),
    radial-gradient(circle at 88% 96%, rgba(222, 209, 238, 0.4), transparent 34%),
    linear-gradient(150deg, #fbfaf6 0%, var(--background) 52%, #f3f6f2 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.28;
  pointer-events: none;
}

.page-glow--left {
  top: 13%;
  left: -18rem;
  background: #a8dcca;
}

.page-glow--right {
  right: -20rem;
  bottom: 2%;
  background: #d8c9e8;
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100% - 2rem, 41rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) 0 1.75rem;
  flex-direction: column;
}

.brand {
  animation: fade-down 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand__link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.34rem;
  text-decoration: none;
}

.brand__name {
  font-size: 1.75rem;
  font-weight: 720;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.brand__dot {
  color: var(--accent-warm);
}

.brand__origin {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.brand__divider {
  width: 0.8rem;
  height: 1px;
  background: rgba(47, 135, 118, 0.38);
}

.hero {
  margin-top: clamp(4.5rem, 14vh, 7.75rem);
  animation: fade-up 700ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 9vw, 4.5rem);
  font-weight: 630;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.destinations {
  display: grid;
  margin-top: 2.8rem;
  gap: 1rem;
}

.destination {
  --card-accent: #2f8776;
  --card-border: rgba(47, 135, 118, 0.18);
  --card-icon: #dff1ec;
  --card-tint: rgba(194, 228, 218, 0.55);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 6rem;
  padding: 1.1rem 1.15rem;
  overflow: hidden;
  grid-template-columns: 3.35rem minmax(0, 1fr) 2.2rem;
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--card-border);
  border-radius: 1.3rem;
  background: linear-gradient(105deg, var(--card-tint), rgba(255, 255, 255, 0.82) 62%);
  box-shadow:
    0 14px 34px rgba(66, 88, 85, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
  animation: fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.destination:nth-child(1) {
  animation-delay: 180ms;
}

.destination:nth-child(2) {
  animation-delay: 250ms;
}

.destination:nth-child(3) {
  animation-delay: 320ms;
}

.destination:nth-child(4) {
  animation-delay: 390ms;
}

.destination::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-accent) 8%, transparent));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.destination:hover {
  border-color: color-mix(in srgb, var(--card-accent) 38%, transparent);
  box-shadow:
    0 24px 54px rgba(68, 91, 89, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-4px) scale(1.006);
}

.destination:hover::after {
  opacity: 1;
}

.destination:active {
  transform: translateY(-1px);
}

.destination:focus-visible {
  outline: 3px solid rgba(47, 135, 118, 0.3);
  outline-offset: 3px;
}

.destination__icon {
  display: grid;
  width: 3.35rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 12%, transparent);
  border-radius: 0.95rem;
  color: var(--card-accent);
  background: var(--card-icon);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.destination__icon svg {
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.destination__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.27rem;
}

.destination__title {
  overflow: hidden;
  font-size: 1.06rem;
  font-weight: 680;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.destination__meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.destination__arrow {
  display: grid;
  width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  color: #7b8b8e;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 3px 10px rgba(68, 91, 89, 0.07);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.destination__arrow svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.destination:hover .destination__arrow {
  color: var(--accent-ink);
  background: var(--card-accent);
  transform: translateX(2px);
}

.destination--stats {
  --card-accent: #665c9c;
  --card-border: rgba(102, 92, 156, 0.18);
  --card-icon: #eeeaf8;
  --card-tint: rgba(225, 219, 244, 0.5);
}

.destination--kitchen {
  --card-accent: #a96446;
  --card-border: rgba(169, 100, 70, 0.17);
  --card-icon: #f9e8de;
  --card-tint: rgba(246, 218, 202, 0.48);
}

.footer {
  display: grid;
  margin-top: auto;
  padding-top: clamp(4rem, 10vh, 6rem);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.9rem;
  color: rgba(81, 105, 105, 0.52);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fade-up 700ms 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.footer__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 84, 81, 0.13));
}

.footer__line:last-child {
  transform: rotate(180deg);
}

.footer__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__version {
  padding: 0.2rem 0.38rem;
  border-radius: 999px;
  color: rgba(47, 105, 94, 0.7);
  background: rgba(47, 135, 118, 0.08);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 1.35rem, 41rem);
    padding-top: 1.45rem;
  }

  .hero {
    margin-top: 4.2rem;
  }

  .destinations {
    margin-top: 2.15rem;
  }

  .destination {
    min-height: 5.2rem;
    padding: 0.85rem;
    grid-template-columns: 2.85rem minmax(0, 1fr) 1.85rem;
    gap: 0.75rem;
    border-radius: 1rem;
  }

  .destination__icon {
    width: 2.85rem;
    border-radius: 0.78rem;
  }

  .destination__arrow {
    width: 1.85rem;
  }
}

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