@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Sora:wght@300;400;500&display=swap');

:root {
  --bg: #0b0d11;
  --bg-raised: #13151b;
  --bg-border: #1e2028;
  --text: #e4dfd4;
  --text-muted: #7a7670;
  --accent: #c8a96e;
  --accent-dim: rgba(200, 169, 110, 0.12);
  --danger: #c06b5a;
  --radius: 6px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(11, 13, 17, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-border);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* MAIN LAYOUT */
main {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

/* PAGE HEADER */
.page-header {
  margin-bottom: 4rem;
  animation: fadeUp 0.6s ease both;
}

.page-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-subtitle {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* SECTION */
section {
  margin-bottom: 3.5rem;
  animation: fadeUp 0.6s ease both;
}

section:nth-child(2) { animation-delay: 0.05s; }
section:nth-child(3) { animation-delay: 0.1s; }
section:nth-child(4) { animation-delay: 0.15s; }
section:nth-child(5) { animation-delay: 0.2s; }
section:nth-child(6) { animation-delay: 0.25s; }
section:nth-child(7) { animation-delay: 0.3s; }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-border);
  letter-spacing: 0.01em;
}

h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  margin-top: 1.8rem;
}

h3:first-child { margin-top: 0; }

p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.75;
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

a:hover { border-bottom-color: var(--accent); }

/* CARD */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
}

.card:last-child { margin-bottom: 0; }

/* STEPS */
ol.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

ol.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: baseline;
}

ol.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CALLOUT */
.callout {
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 1.25rem 0;
}

.callout strong { color: var(--text); }

/* CONTACT */
.contact-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.contact-icon {
  font-size: 1.4rem;
  opacity: 0.7;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.93rem;
  color: var(--text);
}

/* HERO (homepage only) */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  max-width: 780px;
  margin: 0 auto;
  animation: fadeUp 0.7s ease both;
  position: relative;
  z-index: 1;
}

.hero-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-wordmark em {
  color: var(--accent);
  font-style: italic;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-size: 0.8rem;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
}

.btn-primary:hover {
  background: #dbb97a;
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--bg-border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--bg-border);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  border: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  main { padding: 3.5rem 1.25rem 5rem; }
  .hero { padding: 4rem 1.25rem 3rem; min-height: 60vh; }
  footer { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.25rem; }
}
