/* ─────────────────────────────────────────────────────────────────────────
   RESET & ROOT
───────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:     #f7f4f0;
  --ink:    #111110;
  --muted:  #7a776f;
  --faint:  #b8b4ac;
  --border: #e2ddd7;
  --serif:  'Cormorant Garamond', 'Georgia', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* hide old canvas / cursor elements — they are unused in the new design */
#bg-canvas, #c-dot, #c-ring { display: none !important; }

/* ─────────────────────────────────────────────────────────────────────────
   BACKGROUND — pure CSS radial glow, no JS needed
───────────────────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 12% 18%, rgba(210,200,255,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 700px 600px at 88% 72%, rgba(255,205,185,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 600px 500px at 55% 92%, rgba(190,235,210,0.09) 0%, transparent 65%);
}

/* ─────────────────────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 32px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: navIn 0.8s cubic-bezier(0.23,1,0.32,1) 0.1s both;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-right {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--ink); }

/* ─────────────────────────────────────────────────────────────────────────
   HERO
   All entrance animations are pure CSS keyframes with animation-delay.
   animation-fill-mode: both  →  "from" state holds before delay fires,
                                 "to" state holds after it finishes.
   Zero JavaScript required for visibility.
───────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 48px 80px;
  gap: 0;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 24px;
  animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.25s both;
}

/* clip-reveal: each line has overflow:hidden, inner span slides up */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(76px, 13vw, 160px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}

.hero-title .line-inner {
  display: block;
  animation: clipUp 1s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-title .line:nth-child(1) .line-inner { animation-delay: 0.35s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.52s; }

.hero-title .italic { font-style: italic; color: #5a5750; }

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.75;
  font-weight: 300;
  animation: riseUp 0.8s cubic-bezier(0.23,1,0.32,1) 0.75s both;
}

/* Inner page hero — shorter */
.hero-page           { min-height: 60vh; }
.hero-page .hero-title { font-size: clamp(56px, 9vw, 112px); }

/* ─────────────────────────────────────────────────────────────────────────
   SCROLL HINT
───────────────────────────────────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: var(--border);
  transform-origin: top;
  animation: scrollDrop 2.5s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* ─────────────────────────────────────────────────────────────────────────
   SECTION
───────────────────────────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px 140px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
  animation: riseUp 0.8s cubic-bezier(0.23,1,0.32,1) 0.3s both;
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.45s both;
}

/* ─────────────────────────────────────────────────────────────────────────
   CARDS GRID
   CSS animation-delay stagger — NO JavaScript needed for visibility.
───────────────────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card {
  position: relative;
  background: var(--bg);
  padding: 52px 48px 96px;
  overflow: hidden;
  animation: cardReveal 0.85s cubic-bezier(0.23,1,0.32,1) both;
}

/* Stagger each card by 90ms */
.cards-grid .card:nth-child(1) { animation-delay: 0.60s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.69s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.78s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.87s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.96s; }
.cards-grid .card:nth-child(6) { animation-delay: 1.05s; }

/* Black fill sweep on hover — pure CSS */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1);
  z-index: 0;
}
.card:hover::after { transform: none; }

.card-link  { display: block; text-decoration: none; color: inherit; }
.card-inner { position: relative; z-index: 1; }

.card-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #c4bfb8;
  margin-bottom: 44px;
  transition: color 0.5s;
}
.card:hover .card-num { color: rgba(255,255,255,0.25); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--faint);
  margin-bottom: 44px;
  transition: color 0.5s, border-color 0.5s, background 0.5s;
}
.badge.live {
  color: #4ade80;
  border-color: rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.06);
}
.badge.live::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: livePulse 2s ease-in-out infinite;
}
.card:hover .badge              { color: rgba(255,255,255,0.3);  border-color: rgba(255,255,255,0.15); }
.card:hover .badge.live         { background: rgba(255,255,255,0.06); }
.card:hover .badge.live::before { background: rgba(255,255,255,0.45); }

.card-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
  transition: color 0.5s;
}
.card:hover .card-title { color: #fff; }

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  transition: color 0.5s;
}
.card:hover .card-desc { color: rgba(255,255,255,0.45); }

.card-arrow {
  position: absolute;
  bottom: 48px; right: 48px;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #aaa;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.card:hover .card-arrow {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: rotate(45deg);
}

/* ─────────────────────────────────────────────────────────────────────────
   ABOUT GRID (homepage)
───────────────────────────────────────────────────────────────────────── */
.about-grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px 140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-quote {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.3s both;
}
.about-quote em { font-style: italic; color: var(--muted); }

.about-meta {
  animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.45s both;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.meta-row:first-child { border-top: 1px solid var(--border); }
.meta-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); }
.meta-value { color: #444; }

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--faint);
}

/* ─────────────────────────────────────────────────────────────────────────
   FEATURE GRID (inner pages)
───────────────────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-item {
  background: var(--bg);
  padding: 44px 40px;
  animation: cardReveal 0.8s cubic-bezier(0.23,1,0.32,1) both;
}
.feature-grid .feature-item:nth-child(1) { animation-delay: 0.45s; }
.feature-grid .feature-item:nth-child(2) { animation-delay: 0.57s; }
.feature-grid .feature-item:nth-child(3) { animation-delay: 0.69s; }

.feature-icon  { font-size: 26px; margin-bottom: 20px; line-height: 1; }
.feature-title { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.feature-desc  { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ─────────────────────────────────────────────────────────────────────────
   COMING SOON PAGES
───────────────────────────────────────────────────────────────────────── */
.cs-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px 140px;
}

.cs-block {
  border: 1px solid var(--border);
  padding: 96px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.4s both;
}

.cs-label   { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); margin-bottom: 24px; }
.cs-heading { font-family: var(--serif); font-size: clamp(32px,4vw,48px); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.cs-text    { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }

.btn-notify {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-notify:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cs-pillars { display: flex; flex-direction: column; }

.pillar {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  animation: riseUp 0.7s cubic-bezier(0.23,1,0.32,1) both;
}
.pillar:first-child      { border-top: 1px solid var(--border); }
.cs-pillars .pillar:nth-child(1) { animation-delay: 0.55s; }
.cs-pillars .pillar:nth-child(2) { animation-delay: 0.68s; }
.cs-pillars .pillar:nth-child(3) { animation-delay: 0.81s; }

.pillar-title { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.pillar-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─────────────────────────────────────────────────────────────────────────
   CTA
───────────────────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px 140px;
}

.cta-inner {
  border: 1px solid var(--border);
  padding: 72px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.5s both;
}

.cta-text    { font-family: var(--serif); font-size: clamp(24px,3vw,36px); font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }
.cta-text em { font-style: italic; color: var(--muted); }

.btn-primary {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--bg);
  text-decoration: none;
  background: var(--ink);
  padding: 16px 36px;
  border-radius: 100px;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.72; }

/* ─────────────────────────────────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────────────────────────────────── */
.bio-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px 140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.bio-text       { font-size: 18px; line-height: 1.85; font-weight: 300; color: #444; animation: riseUp 0.9s cubic-bezier(0.23,1,0.32,1) 0.4s both; }
.bio-text p + p { margin-top: 24px; }

.values-list { display: flex; flex-direction: column; }

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  animation: riseUp 0.7s cubic-bezier(0.23,1,0.32,1) both;
}
.value-row:first-child { border-top: 1px solid var(--border); }
.values-list .value-row:nth-child(1) { animation-delay: 0.50s; }
.values-list .value-row:nth-child(2) { animation-delay: 0.63s; }
.values-list .value-row:nth-child(3) { animation-delay: 0.76s; }
.values-list .value-row:nth-child(4) { animation-delay: 0.89s; }

.value-num   { font-size: 11px; letter-spacing: 0.15em; color: var(--faint); padding-top: 4px; flex-shrink: 0; }
.value-title { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.value-desc  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─────────────────────────────────────────────────────────────────────────
   PREVIEW BAR (summer of souls)
───────────────────────────────────────────────────────────────────────── */
.preview-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}
.preview-bar span { color: rgba(255,255,255,0.2); margin: 0 12px; }

/* ─────────────────────────────────────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────────────────────────────────────── */
@keyframes riseUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* clip-reveal: slides up from below overflow:hidden parent */
@keyframes clipUp {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

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

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.45; transform: scale(1.4); }
}

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 24px 28px; }
  .hero { padding: 100px 28px 80px; }
  .section, .cs-wrap, .cta-section, .bio-section { padding-left: 28px; padding-right: 28px; }
  .about-grid  { padding-left: 28px; padding-right: 28px; }
  .cards-grid, .feature-grid { grid-template-columns: 1fr; }
  .about-grid, .bio-section  { grid-template-columns: 1fr; gap: 48px; }
  .cs-block  { grid-template-columns: 1fr; padding: 52px 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  footer     { padding: 24px 28px; flex-direction: column; gap: 10px; text-align: center; }
}
