:root {
  --bg-top: #f4f1e6;
  --bg-mid: #eaede0;
  --bg-bottom: #dce2cf;
  --sun-glow: rgba(249, 241, 209, 0.72);
  --ink-primary: #253024;
  --ink-muted: #4b5a47;
  --ivy-accent: #2e5939;
  --olive-accent: #7e8f6d;
  --surface-glass: rgba(244, 241, 230, 0.56);
  --border-soft: rgba(46, 89, 57, 0.16);
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg-top) 0%,
    var(--bg-mid) 58%,
    var(--bg-bottom) 100%
  );
  color: var(--ink-primary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#grove-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
  pointer-events: none;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateY(-4vh);
  padding: 1.5rem 2.4rem;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(244, 241, 230, 0.68) 0%,
    rgba(244, 241, 230, 0) 74%
  );
}

#hedolix-wordmark {
  width: clamp(270px, 52vw, 620px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 4px 14px rgba(37, 48, 36, 0.1));
}

.brand-studios {
  margin-top: -0.35rem;
  margin-right: clamp(-0.2rem, 1.2vw, 0.65rem);
  transform: translateX(clamp(0.4rem, 1.6vw, 1.15rem));
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.85vw, 1.45rem);
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--ink-primary);
}

.contact-link {
  position: fixed;
  right: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    transform 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(244, 241, 230, 0.86);
  border-color: rgba(46, 89, 57, 0.36);
  color: var(--ivy-accent);
  outline: none;
}

.contact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ivy-accent);
  box-shadow: 0 0 0 3px rgba(46, 89, 57, 0.14);
  transition: transform 240ms ease;
}

.contact-link:hover .contact-dot {
  transform: scale(1.25);
}

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