/* =============================================
   ndblake.com — Hub Site
   ============================================= */

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

:root {
  --cream:       #f5f0e8;
  --warm-white:  #fdfaf5;
  --ink:         #1a1612;
  --ink-soft:    #4a4540;
  --ink-muted:   #8a8480;
  --gold:        #b89a6a;
  --gold-light:  #d4b88a;
  --noah-accent: #2d4a6e;
  --darci-accent:#7a4a6e;
  --blur-1:      rgba(180, 155, 110, 0.18);
  --blur-2:      rgba(45,  74,  110, 0.12);
  --blur-3:      rgba(122, 74,  110, 0.10);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--warm-white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  cursor: none;
}

a, button {
  cursor: none;
}

/* ── Custom cursor ────────────────────────── */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.cursor-dot.visible    { opacity: 1; }
.cursor-dot.on-card    { width: 14px; height: 14px; background: var(--gold); }
.cursor-dot.on-noah    { background: var(--noah-accent); width: 14px; height: 14px; }
.cursor-dot.on-darci   { background: var(--darci-accent); width: 14px; height: 14px; }

/* ── Ambient blobs ─────────────────────────── */

.bg-blur-1,
.bg-blur-2,
.bg-blur-3 {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-blur-1 {
  width: 520px;
  height: 520px;
  background: var(--blur-1);
  top: -100px;
  right: -120px;
}

.bg-blur-2 {
  width: 400px;
  height: 400px;
  background: var(--blur-2);
  bottom: -80px;
  left: -100px;
}

.bg-blur-3 {
  width: 300px;
  height: 300px;
  background: var(--blur-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Layout ───────────────────────────────── */

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  padding: 4rem 3rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

/* ── Header ───────────────────────────────── */

.site-header {
  text-align: center;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.site-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.site-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-top: 0.6rem;
}

.established {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* ── Photo frame ──────────────────────────── */

.photo-frame {
  width: 380px;
  height: 380px;
  position: relative;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--gold-light),
    var(--noah-accent),
    var(--darci-accent),
    var(--gold-light)
  );
  opacity: 0.6;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.photo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  border: 4px solid var(--warm-white);
}

.photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-muted);
  background: var(--cream);
}

/* ── Cards ────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  width: 100%;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.5rem 2.25rem 2.25rem;
  border-radius: 24px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(180, 155, 110, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(26, 22, 18, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card--noah::before {
  background: linear-gradient(90deg, var(--noah-accent), #4a7ab5);
}

.card--darci::before {
  background: linear-gradient(90deg, var(--darci-accent), #b57aaa);
}

.card--noah:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(45, 74, 110, 0.22), 0 2px 8px rgba(26, 22, 18, 0.06);
  border-color: rgba(45, 74, 110, 0.3);
}

.card--darci:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(122, 74, 110, 0.22), 0 2px 8px rgba(26, 22, 18, 0.06);
  border-color: rgba(122, 74, 110, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.card--noah .card-name { color: var(--noah-accent); }
.card--darci .card-name { color: var(--darci-accent); }

.card-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}

.card-arrow {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

/* ── Footer ───────────────────────────────── */

.site-footer {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-align: center;
}

/* ── Staggered entrance animations ───────── */

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}

.photo-frame {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.25s;
}

.card--noah {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.45s;
}

.card--darci {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.58s;
}

.site-footer {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.72s;
}

/* ── Responsive ───────────────────────────── */

@media (max-width: 700px) {
  main {
    padding: 2.5rem 1.5rem 3rem;
    gap: 2.5rem;
  }

  .photo-frame {
    width: 220px;
    height: 220px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
