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

:root {
  --ink: #0a0a08;
  --ink-2: #1c1c18;
  --ink-3: #2e2e28;
  --paper: #f5f2ec;
  --paper-2: #edeae3;
  --gold: #c8a96e;
  --gold-light: #e8d5b0;
  --gold-dark: #8a6e3a;
  --white: #faf9f6;
  --muted: #6b6960;
  --border: rgba(200,169,110,0.18);
  --border-strong: rgba(200,169,110,0.4);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(10,10,8,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  transition: padding 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,249,246,0.68);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 40%, rgba(200,169,110,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(200,169,110,0.04) 0%, transparent 60%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  position: absolute;
  top: 7rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  position: relative;
  max-width: 780px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(250,249,246,0.72);
  max-width: 420px;
  margin-top: 2rem;
  position: relative;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.8rem;
  position: relative;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 1rem 2.2rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,249,246,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--gold); }

.hero-scroll-hint {
  position: absolute;
  right: 4rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,249,246,0.3);
  writing-mode: vertical-rl;
}

/* ── SECTION COMMON ── */
section { padding: 7rem 4rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  max-width: 680px;
}

.section-title em { font-style: italic; color: var(--gold); }

/* ── PROBLEM BAND ── */
#problem {
  background: var(--ink-2);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 5rem 4rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  color: rgba(250,249,246,0.9);
}

.problem-statement em { font-style: italic; color: var(--gold); }

.problem-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(250,249,246,0.75);
  line-height: 1.5;
}

.problem-list li::before {
  content: '—';
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── PROCESS ── */
#process { background: var(--ink); }

.process-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto 5rem;
  gap: 3rem;
  max-width: 1100px;
}

.process-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(250,249,246,0.68);
  max-width: 360px;
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border: 0.5px solid var(--border);
}

.step {
  padding: 2.5rem 2rem;
  border-right: 0.5px solid var(--border);
  position: relative;
  transition: background 0.3s;
}

.step:last-child { border-right: none; }
.step:hover { background: rgba(200,169,110,0.04); }

.step-number {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.step-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(250,249,246,0.68);
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 2.5rem;
  right: -0.5px;
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.4;
}

/* ── PRICING ── */
#pricing {
  background: var(--ink-2);
  border-top: 0.5px solid var(--border);
}

.pricing-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 0 auto 4rem;
  max-width: 1100px;
}

.pricing-note {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(250,249,246,0.68);
  line-height: 1.7;
  padding-top: 1rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--ink-2);
  padding: 2.8rem 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}

.pricing-card:hover { background: var(--ink-3); }

.pricing-card.featured {
  background: var(--ink-3);
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  padding: 0.25rem 0.65rem;
  opacity: 0.9;
}

.card-tier {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.6rem;
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.card-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin: 0.8rem 0 0.3rem;
}

.card-price-range {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250,249,246,0.58);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(250,249,246,0.68);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex: 1;
}

.card-divider {
  height: 0.5px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.card-features li {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(250,249,246,0.72);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.4;
}

.card-features li::before {
  content: '✦';
  font-size: 0.5rem;
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 0.2em;
}

.card-timeline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(250,249,246,0.52);
  margin-top: auto;
}

.card-cta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.85rem;
  margin-bottom: 1.2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.card-cta-ghost {
  border: 0.5px solid var(--border-strong);
  color: rgba(250,249,246,0.5);
}

.card-cta-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.card-cta-solid {
  background: var(--gold);
  color: var(--ink);
}

.card-cta-solid:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── CARE PLANS ── */
.care-plans {
  max-width: 1100px;
  margin: 3rem auto 0;
  border: 0.5px solid var(--border);
  padding: 2.5rem;
}

.care-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

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

.care-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.care-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
}

.care-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.care-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(250,249,246,0.65);
  line-height: 1.5;
}

/* ── CONTACT ── */
#contact {
  background: var(--ink);
  border-top: 0.5px solid var(--border);
  max-width: none;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-manifesto {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(250,249,246,0.68);
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(200,169,110,0.3);
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

.detail-val {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(250,249,246,0.78);
}

.detail-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(200,169,110,0.3);
  transition: border-color 0.2s;
}

/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,249,246,0.35);
}

.form-input, .form-select, .form-textarea {
  background: rgba(250,249,246,0.04);
  border: 0.5px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(200,169,110,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option { background: #1c1c18; color: var(--white); }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(200,169,110,0.04);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(250,249,246,0.2);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: none;
  padding: 1rem 2.2rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

.form-success {
  display: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
  text-align: center;
  padding: 2rem;
}

/* ── FOOTER ── */
footer {
  background: var(--ink-2);
  border-top: 0.5px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(250,249,246,0.65);
}

.footer-logo span { color: var(--gold); opacity: 0.9; }

.footer-note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(250,249,246,0.45);
}

/* ── ENTRANCE ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── HERO ENTRANCE ── */
.hero-eyebrow, .hero-headline, .hero-sub, .hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}

.hero-eyebrow { animation-delay: 0.4s; }
.hero-headline { animation-delay: 0.6s; }
.hero-sub { animation-delay: 0.8s; }
.hero-actions { animation-delay: 1s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── TABLET & BELOW (≤ 900px) ── */
@media (max-width: 900px) {
  body { overflow-x: hidden; }

  /* Nav */
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  /* Hero eyebrow — hidden on mobile; buttons stay above fold */
  .hero-eyebrow { display: none; }

  /* Sections */
  section { padding: 4.5rem 1.5rem; }
  #problem { padding: 3.5rem 1.5rem; }
  #hero { padding: 0 1.5rem 5rem; }

  /* Hero */
  .hero-eyebrow::before { display: none; }
  .hero-eyebrow { letter-spacing: 0.1em; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-scroll-hint { display: none; }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Process — stack intro, keep 2-col steps with correct borders */
  .process-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 0.5px solid var(--border); }

  /* Pricing */
  .pricing-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem 1.5rem; }
  .care-plans { padding: 1.5rem; }
  .care-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  /* Prevent iOS auto-zoom on input focus */
  .form-input, .form-select, .form-textarea { font-size: 1rem; }

  /* Footer */
  footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ── PHONE (≤ 540px) ── */
@media (max-width: 540px) {
  /* Nav */
  nav { padding: 0.85rem 1.25rem; }
  .nav-cta { padding: 0.45rem 0.9rem; font-size: 0.62rem; }

  /* Sections */
  section { padding: 3.5rem 1.25rem; }
  #problem { padding: 3rem 1.25rem; }
  #hero { padding: 0 1.25rem 4rem; }

  /* Hero */
  .hero-eyebrow { font-size: 0.58rem; letter-spacing: 0.08em; }
  .btn-primary { width: 100%; text-align: center; }

  /* Process — collapse to single column, swap to bottom borders */
  .process-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 0.5px solid var(--border); }
  .step:last-child { border-bottom: none; }

  /* Pricing */
  .pricing-card { padding: 1.75rem 1.25rem; }
  .care-plans { padding: 1.25rem; }

  /* Contact */
  .contact-inner { gap: 2.5rem; }

  /* Footer */
  footer { gap: 0.5rem; }
}
