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

:root {
  --bg: #FAF7F2;
  --bg-warm: #F3EDE5;
  --fg: #2A2522;
  --fg-muted: #6B6560;
  --accent: #C4897A;
  --accent-deep: #A06858;
  --gold: #D4A96A;
  --border: #E0D8CE;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 7rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  mix-blend-mode: difference;
}

.nav-brand {}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(196, 137, 122, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(212, 169, 106, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-frame {
  width: 340px;
  height: 400px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(42, 37, 34, 0.1), 0 2px 8px rgba(42, 37, 34, 0.05);
  padding: 1.5rem;
}

.hero-frame-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-frame-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.frame-cell {
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.cell-1 { background: linear-gradient(135deg, #E8D5C4 0%, #C4A898 100%); }
.cell-2 { background: linear-gradient(135deg, #C4897A 0%, #A06858 100%); }
.cell-3 { background: linear-gradient(135deg, #D4A96A 0%, #B8914D 100%); }
.cell-4 { background: linear-gradient(135deg, #F3EDE5 0%, #E0D8CE 100%); }
.cell-5 { background: linear-gradient(135deg, #D5BFA8 0%, #BFA88A 100%); }
.cell-6 { background: linear-gradient(135deg, #C4A898 0%, #9E8070 100%); }

.frame-cell::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}

.hero-frame-label {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.hero-frame-label span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--fg-muted), transparent);
}

/* === SERVICES === */
.services {
  padding: var(--space-2xl) 3rem;
  background: var(--white);
}

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

.services-header {
  margin-bottom: 4rem;
  max-width: 480px;
}

.services-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

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

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(196, 137, 122, 0.08);
}

.service-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.service-card--add {
  background: transparent;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
}

.add-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.6;
}

/* === PROCESS === */
.process {
  padding: var(--space-2xl) 3rem;
  background: var(--bg);
}

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

.process-header {
  margin-bottom: 4rem;
}

.process-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.step-body {}

.step-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 280px;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  align-self: flex-start;
  margin-top: 2rem;
  flex-shrink: 0;
}

/* === PRICING === */
.pricing {
  padding: var(--space-2xl) 3rem;
  background: var(--white);
}

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

.pricing-header {
  margin-bottom: 4rem;
  max-width: 480px;
}

.pricing-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

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

.pricing-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}

.pricing-card--featured .pricing-tier,
.pricing-card--featured .pricing-price,
.pricing-card--featured .pricing-features li {
  color: #fff;
}

.pricing-tier {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2rem;
  line-height: 1;
}

.pricing-price small {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--fg-muted);
}

.pricing-card--featured .pricing-price small {
  color: rgba(255,255,255,0.6);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.5;
}

.pricing-card--featured .pricing-features li::before {
  background: rgba(255,255,255,0.5);
}

/* === MANIFESTO === */
.manifesto {
  padding: var(--space-2xl) 3rem;
  background: var(--bg-warm);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.manifesto-bottom {}

.manifesto-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.manifesto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--white);
}

/* === FOOTER === */
.footer {
  padding: 4rem 3rem;
  background: var(--fg);
  color: #fff;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
  line-height: 1.6;
}

.footer-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { justify-content: flex-start; }
  .hero-frame { width: 260px; height: 310px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 2rem; }
  .step-connector { width: 40px; height: 1px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .services, .process, .pricing, .manifesto, .footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .nav { padding: 1rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-frame { width: 220px; height: 270px; }
}