/* Base */
:root {
  --bg: #F7F3EE;
  --fg: #1C2B26;
  --accent: #C8694A;
  --accent-warm: #E8A87C;
  --muted: #7A8F87;
  --surface: #FFFFFF;
  --border: #E2D9CE;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: white; }

/* Nav */
.nav {
  padding: 28px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner { max-width: 1200px; margin: 0 auto; }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 64px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 105, 74, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(28, 43, 38, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
}

.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 12px;
}

.mosaic-cell {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.cell-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #D4B896 0%, #C8694A 100%);
}

.cell-2 {
  grid-column: 3;
  grid-row: 1;
  background: linear-gradient(135deg, #1C2B26 0%, #2E4A3D 100%);
}

.cell-3 {
  grid-column: 3;
  grid-row: 2;
  background: linear-gradient(135deg, #E8A87C 0%, #D4956A 100%);
}

.cell-4 {
  grid-column: 1;
  grid-row: 3;
  background: linear-gradient(135deg, #C8B49A 0%, #B39A7A 100%);
}

.cell-5 {
  grid-column: 2 / 4;
  grid-row: 3;
  background: linear-gradient(135deg, #3D5A4E 0%, #2C4238 100%);
}

.mosaic-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border-radius: inherit;
}

/* Manifesto */
.manifesto {
  background: var(--fg);
  color: white;
  padding: 100px 48px;
}

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

.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #E8D9C8;
}

/* Services */
.services { padding: 100px 48px; }

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

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 60px;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(28, 43, 38, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Digital */
.digital {
  background: var(--fg);
  padding: 100px 48px;
}

.digital-inner { max-width: 1200px; margin: 0 auto; }

.digital .section-label { color: var(--accent-warm); }
.digital .section-heading { color: white; }

.section-sub {
  font-size: 17px;
  color: #8A9F94;
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 60px;
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.digital-item { text-align: left; }

.digital-visual {
  height: 200px;
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.digital-portrait { background: linear-gradient(135deg, #E8A87C 0%, #C8694A 50%, #1C2B26 100%); }
.digital-memoir { background: linear-gradient(135deg, #1C2B26 0%, #3D5A4E 50%, #E8A87C 100%); }
.digital-scene { background: linear-gradient(135deg, #C8B49A 0%, #D4B896 50%, #1C2B26 100%); }

.digital-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  border-radius: inherit;
}

.digital-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.digital-item p {
  font-size: 14px;
  color: #8A9F94;
  line-height: 1.6;
  font-weight: 300;
}

/* Closing */
.closing { padding: 100px 48px; }

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

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
  line-height: 1.2;
}

.closing-body {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

.closing-pill {
  display: inline-block;
  background: var(--fg);
  color: #E8D9C8;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.footer-copy {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    text-align: left;
  }
  .hero-visual { display: none; }
  .services, .digital, .manifesto, .closing { padding: 72px 24px; }
  .digital-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}