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

:root {
  --bg: #0a0e1a;
  --text: #e8eef7;
  --text-dim: rgba(232, 238, 247, 0.55);
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 18px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── Background gradient ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(30, 60, 120, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(100, 140, 200, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Vignette ── */
.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 7, 15, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Particles ── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -20%;
  border-radius: 50% 60% 40% 55% / 55% 40% 60% 50%;
  background: radial-gradient(ellipse at 35% 35%, rgba(200, 220, 255, 0.18), rgba(160, 200, 255, 0.04));
  border: 1px solid rgba(200, 225, 255, 0.08);
  animation: drift linear infinite;
  filter: blur(1px);
}

@keyframes drift {
  0%   { transform: translateY(0) translateX(0) rotate(0deg) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-115vh) translateX(var(--drift-x)) rotate(var(--drift-r)) scale(var(--drift-s)); opacity: 0; }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--text);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.nav-link:hover { color: var(--text); }

.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Tab Sections ── */
.tab-section {
  display: none;
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.tab-section.active { display: block; }

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.8;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  color: var(--text);
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(232, 238, 247, 0.75);
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Glassmorphism tagline box */
.hero-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 2px;
  padding: 2rem 2.5rem;
  max-width: 560px;
}

.hero-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(232, 238, 247, 0.7);
  font-style: italic;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.9rem 2.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  text-decoration: none;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.cta-btn:hover { color: var(--bg); border-color: var(--gold); }
.cta-btn:hover::before { transform: scaleX(1); }

/* ── Section Blocks ── */
.section-block {
  position: relative;
  z-index: 2;
  padding: 6rem 3rem;
  border-top: 1px solid var(--glass-border);
}

.section-dark {
  background: rgba(5, 8, 18, 0.5);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 3.5rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-dim);
  font-weight: 300;
}

/* Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tier-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: border-color 0.3s;
}

.tier-card:hover { border-color: var(--gold-dim); }

.tier-featured {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.04);
}

.tier-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--gold);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}

.tier-header { display: flex; flex-direction: column; gap: 0.3rem; }

.tier-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
}

.tier-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
}

.tier-price span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.tier-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--text-dim);
  font-weight: 300;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tier-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.tier-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.65rem;
}

.tier-support {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-style: italic;
  color: var(--text-dim);
  opacity: 0.6;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.value-item { display: flex; flex-direction: column; gap: 0.7rem; }

.value-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.value-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--text-dim);
  font-weight: 300;
}

/* Footer CTA */
.footer-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 2rem 5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.6;
}

.footer-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 480px;
}

/* ── Portfolio ── */
.portfolio {
  min-height: 100vh;
  padding: 8rem 3rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.portfolio-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 1rem;
}

.portfolio-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 300;
}

/* Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Project Card */
.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 2px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, background 0.3s;
}

.project-card:hover {
  border-color: var(--gold-dim);
  background: rgba(255, 255, 255, 0.07);
}

.project-icon {
  font-size: 2rem;
  opacity: 0.6;
}

.project-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.project-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.project-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
  flex: 1;
}

.project-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  align-self: flex-start;
  transition: color 0.3s, border-color 0.3s;
}

.project-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.project-btn:not(.disabled):hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; max-width: 520px; }
  .nav { padding: 1.2rem 1.5rem; }
  .section-block { padding: 4rem 1.5rem; }
}

@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .nav-logo { font-size: 0.7rem; letter-spacing: 0.15em; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-glass { padding: 1.5rem; }
  .portfolio { padding: 7rem 1.5rem 4rem; }
}
