:root {
  --cedar-deep: #1a1008;
  --cedar-mid: #3d2618;
  --pine: #6b4c32;
  --steam: rgba(245, 230, 211, 0.92);
  --steam-muted: rgba(245, 230, 211, 0.55);
  --ember: #c4784a;
  --ember-glow: rgba(196, 120, 74, 0.35);
  --card: rgba(26, 16, 8, 0.55);
  --card-border: rgba(245, 230, 211, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--steam);
  background: var(--cedar-deep);
  -webkit-font-smoothing: antialiased;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  background:
    url("images/sauna-bg.jpg") center 40% / cover no-repeat;
  transform: scale(1.05);
  animation: slow-zoom 20s ease-in-out infinite alternate;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(196, 120, 74, 0.18) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(26, 16, 8, 0.72) 0%,
      rgba(26, 16, 8, 0.55) 40%,
      rgba(26, 16, 8, 0.88) 100%);
}

@keyframes slow-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

/* Steam animation */
.steam {
  position: absolute;
  bottom: -10%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 211, 0.12) 0%, transparent 70%);
  filter: blur(24px);
  animation: rise 8s ease-in-out infinite;
  opacity: 0;
}

.steam-1 { left: 15%; animation-delay: 0s; animation-duration: 9s; }
.steam-2 { left: 35%; animation-delay: 2s; animation-duration: 11s; width: 160px; height: 160px; }
.steam-3 { left: 55%; animation-delay: 4s; animation-duration: 10s; }
.steam-4 { left: 75%; animation-delay: 1.5s; animation-duration: 12s; width: 140px; height: 140px; }
.steam-5 { left: 90%; animation-delay: 3s; animation-duration: 9.5s; }

@keyframes rise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.15; }
  100% { transform: translateY(-80vh) scale(1.4); opacity: 0; }
}

/* Layout */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: calc(2rem + env(safe-area-inset-top)) var(--pad) calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* Brand */
.brand-block {
  animation: fade-up 0.8s ease both;
}

.logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
}

.company {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steam-muted);
}

/* Hero */
.hero {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  animation: fade-up 0.8s 0.15s ease both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--steam) 30%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 1.25rem auto 0;
  max-width: 38ch;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--steam-muted);
}

/* Contact */
.contact {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  margin-top: clamp(2rem, 5vw, 3rem);
  animation: fade-up 0.8s 0.3s ease both;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.1rem 0.85rem;
  align-items: center;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(196, 120, 74, 0.45);
  box-shadow: 0 0 32px var(--ember-glow);
  transform: translateY(-2px);
  outline: none;
}

.contact-icon {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(196, 120, 74, 0.15);
  color: var(--ember);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steam-muted);
  text-align: left;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  word-break: break-all;
}

/* Footer */
.footer {
  margin-top: clamp(2rem, 5vw, 3rem);
  animation: fade-up 0.8s 0.45s ease both;
}

.footer p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--steam-muted);
}

.footer .fine {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  opacity: 0.6;
}

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

@media (prefers-reduced-motion: reduce) {
  .bg-image,
  .steam {
    animation: none;
  }

  .brand-block,
  .hero,
  .contact,
  .footer {
    animation: none;
  }
}

@media (min-width: 480px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}
