/* === TOKENS === */
:root {
  --bg: #F5F0E8;
  --bg-dark: #EAE4D8;
  --surface: #FFFFFF;
  --fg: #1A1A18;
  --fg-muted: #6B6760;
  --accent: #C85B2E;
  --accent-light: #F0D5C8;
  --border: #D6CFCA;
  --border-dark: #B8B0A8;
  --ink: #1E1C19;
  --paper: #F5F0E8;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 13px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--border-dark);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--ink); }

.btn-ghost {
  display: inline-block;
  color: var(--fg-muted);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--ink); }

.btn-large { padding: 16px 36px; font-size: 15px; }
.btn-ghost-large { display: inline-block; color: var(--fg-muted); font-size: 14px; text-decoration: none; margin-top: 16px; transition: color 0.2s; }
.btn-ghost-large:hover { color: var(--ink); }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--ink); }
.header-nav .nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.header-nav .nav-cta:hover { background: var(--accent); }

/* === HERO === */
.hero {
  padding: 80px 32px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 64px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline em { font-style: italic; font-weight: 400; }
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Hero Visual — CSS portrait illustration */
.hero-visual { display: flex; justify-content: center; }
.portrait-frame {
  position: relative;
  width: 340px;
  height: 420px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: 0 8px 48px rgba(30,28,20,0.08), 0 2px 8px rgba(30,28,20,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait-canvas { position: relative; width: 100%; height: 100%; }
.canvas-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
}
.portrait-oval {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 220px;
  border: 1.5px solid var(--accent);
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  opacity: 0.6;
}
.portrait-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 40px;
}
.line {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fg), transparent);
  border-radius: 2px;
  opacity: 0.7;
}
.line.l1 { width: 80px; height: 3px; opacity: 1; }
.line.l2 { width: 140px; }
.line.l3 { width: 100px; }
.line.l4 { width: 160px; }
.line.l5 { width: 90px; }
.canvas-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.portrait-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.hero-clients {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.clients-label { font-size: 12px; color: var(--fg-muted); letter-spacing: 0.06em; white-space: nowrap; }
.clients-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.client-name { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.02em; }
.client-dot { color: var(--border-dark); }

/* === PROOF === */
.proof { background: var(--bg-dark); padding: 72px 32px; }
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.proof-item { display: flex; flex-direction: column; gap: 16px; }
.proof-quote { display: flex; flex-direction: column; gap: 12px; }
.quote-mark { color: var(--accent); flex-shrink: 0; opacity: 0.7; }
.proof-quote p { font-size: 15px; line-height: 1.7; color: var(--ink); font-style: italic; }
.proof-byline { display: flex; flex-direction: column; gap: 2px; }
.proof-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.proof-role { font-size: 12px; color: var(--fg-muted); }

/* === STYLES === */
.styles { padding: 96px 32px; }
.styles-header { max-width: 1200px; margin: 0 auto 56px; }
.styles-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1.5px solid var(--border);
}
.style-card {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.2s;
}
.style-card:hover { background: var(--surface); }

/* Style swatches */
.style-swatch { width: 100%; height: 120px; }
.swatch-journal { background: linear-gradient(135deg, #2C2418 0%, #6B5C42 60%, #B8A07A 100%); }
.swatch-pencil { background: linear-gradient(135deg, #9A9A9A 0%, #D4D0C8 50%, #F0EDE6 100%); }
.swatch-refined { background: #1A1A18; }
.swatch-plus { background: linear-gradient(135deg, #3A3632 0%, #6E6860 100%); }
.swatch-chronicle { background: linear-gradient(135deg, #1E3A5F 0%, #2D5A8A 50%, #4A7FB8 100%); }
.swatch-pop { background: linear-gradient(135deg, #E8503A 0%, #F4A235 100%); }

.style-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--ink); }
.style-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; flex: 1; }
.style-price { font-size: 14px; font-weight: 500; color: var(--accent); }
.styles-cta { max-width: 1200px; margin: 40px auto 0; text-align: center; }

/* === HOW IT WORKS === */
.howitworks { background: var(--ink); padding: 96px 32px; color: var(--paper); }
.hiw-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.hiw-left .section-label { color: var(--accent-light); opacity: 0.7; }
.hiw-left .section-title { color: var(--paper); font-size: clamp(28px, 4vw, 44px); }
.hiw-left .section-body { color: rgba(245,240,232,0.65); }
.hiw-steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(245,240,232,0.1); }
.step:last-child { border-bottom: none; }
.step-number { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 400; color: var(--accent); line-height: 1; opacity: 0.7; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--paper); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: rgba(245,240,232,0.6); line-height: 1.7; }

/* === TEAMS === */
.teams { padding: 96px 32px; }
.teams-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.teams-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 32px 0; }
.teams-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--fg-muted); }
.teams-features svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

/* Teams visual */
.teams-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.trio-stack { display: flex; gap: 16px; align-items: flex-end; }
.trio-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 130px;
}
.trio-1 { height: 200px; }
.trio-2 { height: 220px; }
.trio-3 { height: 190px; }
.trio-silhouette {
  width: 64px;
  height: 80px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--border) 100%);
  border-radius: 50% 50% 45% 45%;
}
.trio-label { font-size: 11px; color: var(--fg-muted); text-align: center; line-height: 1.4; }
.teams-note { font-size: 12px; color: var(--fg-muted); }

/* === CLOSING === */
.closing {
  background: var(--bg-dark);
  padding: 112px 32px;
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
  font-style: italic;
}
.closing-body { font-size: 18px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-actions { display: flex; flex-direction: column; align-items: center; gap: 0; }

/* === FOOTER === */
.site-footer { background: var(--ink); padding: 64px 32px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 56px; }
.footer-brand .wordmark { font-size: 24px; color: var(--paper); display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: rgba(245,240,232,0.5); }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,232,0.4); margin-bottom: 4px; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.footer-col a { font-size: 14px; color: rgba(245,240,232,0.7); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(245,240,232,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: rgba(245,240,232,0.35); }
.footer-built { font-size: 13px; color: rgba(245,240,232,0.35); }
.footer-built a { color: rgba(245,240,232,0.5); text-decoration: none; }
.footer-built a:hover { color: var(--paper); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .portrait-frame { width: 260px; height: 320px; }
  .proof-inner { grid-template-columns: 1fr; gap: 36px; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-inner { grid-template-columns: 1fr; gap: 48px; }
  .teams-inner { grid-template-columns: 1fr; }
  .teams-visual { order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 24px 48px; }
  .hero-headline { font-size: 40px; }
  .styles-grid { grid-template-columns: 1fr; }
  .header-nav a:not(.nav-cta) { display: none; }
  .hero-clients { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { flex-direction: column; gap: 32px; }
}