/* Ferris Hill Capital Partners — coming soon
   Fraunces (editorial serif) + Space Grotesk (grotesque) */

:root {
  --ink: #eef2f6;
  --muted: #a9b6c4;
  --accent: #cbb891;          /* warm champagne — premium contrast on cool blue */
  --scrim-color: 8, 14, 22;   /* rgb base for the dark wash */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  color: var(--ink);
  background: #060b12;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- layers ---- */
.bg, .scrim, .grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg {
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: kenburns 32s var(--ease) forwards;
}

.scrim {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(var(--scrim-color), 0.15), transparent 55%),
    linear-gradient(
      to top,
      rgba(var(--scrim-color), 0.94) 0%,
      rgba(var(--scrim-color), 0.70) 42%,
      rgba(var(--scrim-color), 0.34) 72%,
      rgba(var(--scrim-color), 0.45) 100%
    );
}

.grain {
  z-index: 1;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- structure ---- */
.stage {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4.5vw, 4rem);
  text-shadow: 0 1px 30px rgba(0, 0, 0, 0.35);
}

.label {
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 400;
  color: var(--muted);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .mark { color: var(--ink); }

.hero { margin-top: auto; max-width: 60rem; }

.eyebrow {
  color: var(--accent);
  margin-bottom: clamp(1rem, 2.2vw, 1.6rem);
}

.title {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: clamp(2.7rem, 9.5vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #f6f8fb;
}
.title .thin { font-weight: 300; font-style: italic; color: var(--ink); }

.rule {
  width: 64px;
  height: 1px;
  background: var(--accent);
  opacity: 0.85;
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 clamp(1.1rem, 2vw, 1.5rem);
}

.lede {
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.01em;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.6;
}
.lede-lead {
  display: block;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 0.55rem;
}

.contact {
  display: inline-block;
  margin-top: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(203, 184, 145, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.contact:hover { border-color: var(--accent); color: #fff; }

.values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.95rem;
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
}
.values span {
  font-size: clamp(0.56rem, 1.3vw, 0.66rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.values i { color: var(--accent); font-style: normal; opacity: 0.7; }

.foot { margin-top: clamp(2rem, 5vw, 3.5rem); color: rgba(169, 182, 196, 0.6); }

/* ---- entrance animation ---- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.30s; }
.d3 { animation-delay: 0.48s; }
.d4 { animation-delay: 0.64s; }
.d5 { animation-delay: 0.80s; }
.d6 { animation-delay: 0.96s; }
.topbar .reveal { animation-delay: 0.05s; }

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

@media (prefers-reduced-motion: reduce) {
  .bg { animation: none; transform: scale(1); }
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ---- warm variant (sunset) ---- */
body.warm {
  --accent: #e9b98c;
  --scrim-color: 20, 9, 7;
}
