:root {
  --jade: #0a4d3c;
  --jade-light: #1f9e73;
  --jade-glow: #3ee0a8;
  --gold: #d4af6a;
  --ink: #eef5f1;
  --card-bg: rgba(10, 20, 17, 0.55);
  --card-border: rgba(62, 224, 168, 0.25);
}

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

html, body {
  height: 100%;
  background: #040d0a;
  color: var(--ink);
  font-family: "Jost", sans-serif;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 28px);
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: clamp(28px, 6vw, 48px) clamp(20px, 6vw, 40px);
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 60px rgba(62, 224, 168, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: rise 1s cubic-bezier(.19,1,.22,1) both;
}

.eyebrow {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: var(--gold);
  animation: fadeIn 1s ease 0.15s both;
}

.headline {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.05;
}

.headline span {
  display: inline-block;
  background: linear-gradient(120deg, var(--ink), var(--jade-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(18px);
  animation: wordUp 0.8s ease forwards;
}

.headline span:nth-child(1) { animation-delay: 0.35s; }
.headline span:nth-child(2) { animation-delay: 0.55s; }

.tagline {
  margin-top: 12px;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  color: rgba(238, 245, 241, 0.7);
  animation: fadeIn 1s ease 0.8s both;
}

.contact-card {
  animation: rise 1s cubic-bezier(.19,1,.22,1) 0.25s both;
}

.contact-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: var(--ink);
  animation: fadeIn 1s ease 0.4s both;
}

.pin-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: pinBounce 2.6s ease-in-out infinite;
}

.contact-info {
  margin-top: clamp(20px, 5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vw, 22px);
  text-align: left;
  font-style: normal;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  opacity: 0;
  transform: translateY(14px);
  animation: rowIn 0.7s ease forwards;
}

.name-row { animation-delay: 0.55s; }
.address-row { animation-delay: 0.75s; }
.phone-row { animation-delay: 0.95s; }

.row-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--jade-glow);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row p {
  color: rgba(238, 245, 241, 0.85);
  line-height: 1.55;
}

.name-row span {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.phone-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 245, 241, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: var(--jade-glow);
  border-color: var(--jade-glow);
}

.phone-pulse {
  position: absolute;
  left: -14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--jade-glow);
  animation: pulseGlow 2.4s ease-in-out infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rowIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 224, 168, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(62, 224, 168, 0); }
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 380px) {
  .contact-row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .contact-card, .headline span, .tagline, .contact-heading,
  .pin-icon, .contact-row, .phone-pulse {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
