@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad[wght].woff2") format("woff2-variations"),
    url("fonts/estedad/Estedad[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/estedad/Estedad-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #07161a;
  --ink-soft: #0c242b;
  --foam: #e8f4f1;
  --muted: rgba(232, 244, 241, 0.68);
  --brass: #d4a373;
  --brass-bright: #f0c48a;
  --teal: #1a9b8e;
  --teal-deep: #0f6b63;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Estedad", Tahoma, sans-serif;
  font-feature-settings: "ss01", "kern", "liga";
  background: var(--ink);
  color: var(--foam);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, #143d45 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, #1a3a2e 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 70%, #2a2418 0%, transparent 45%),
    linear-gradient(165deg, #061217 0%, #0a1f24 45%, #081418 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, rgba(26, 155, 142, 0.55), transparent 70%);
}

.orb-b {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.35), transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.orb-c {
  width: min(30vw, 240px);
  height: min(30vw, 240px);
  top: 42%;
  left: 38%;
  background: radial-gradient(circle, rgba(15, 107, 99, 0.4), transparent 70%);
  animation-delay: -12s;
  animation-duration: 26s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 244, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 244, 241, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3%, -4%) scale(1.08);
  }
}

/* —— Stage —— */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  gap: 0.35rem;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--brass);
  text-indent: 0.28em;
  margin-bottom: 0.75rem;
}

.brand {
  line-height: 0.92;
  margin-bottom: 0.4rem;
}

.brand-mark {
  display: inline-block;
  font-size: clamp(4.2rem, 18vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(
    135deg,
    #f5faf8 0%,
    #c8e8e2 35%,
    var(--brass-bright) 70%,
    var(--brass) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
  animation: brand-glow 5s ease-in-out infinite;
}

@keyframes brand-glow {
  0%,
  100% {
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
  }
  50% {
    filter: drop-shadow(0 16px 48px rgba(26, 155, 142, 0.35));
  }
}

.headline {
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 600;
  color: var(--foam);
  margin-top: 0.5rem;
}

.lede {
  max-width: 28rem;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 400;
  color: var(--muted);
  margin: 0.65rem auto 1.4rem;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--foam);
  font-size: 1.05rem;
  font-weight: 600;
  font-feature-settings: "ss01", "kern", "liga";
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 244, 241, 0.14);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  margin-bottom: 2rem;
}

.phone-pill:hover {
  background: rgba(26, 155, 142, 0.18);
  border-color: rgba(26, 155, 142, 0.45);
  transform: translateY(-2px);
}

.phone-pill img {
  display: block;
  border-radius: 50%;
}

/* —— Socials —— */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
  max-width: 36rem;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  width: 4.4rem;
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social:hover {
  color: var(--foam);
  transform: translateY(-4px);
}

.social:hover img {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(26, 155, 142, 0.35);
}

/* —— Entrance —— */
.animate-in {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

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

@media (max-width: 480px) {
  .social {
    width: 3.9rem;
  }

  .social img {
    width: 44px;
    height: 44px;
  }

  .socials {
    gap: 0.75rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .brand-mark,
  .animate-in {
    animation: none !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }
}
