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

:root {
  --bg: #F7F2EB;
  --bg-alt: #EFE8DC;
  --fg: #1A1A18;
  --fg-muted: #6B6A63;
  --accent: #2A4A35;
  --accent-warm: #C4622D;
  --accent-warm-light: #E8834F;
  --sand: #D9C5A8;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --ink: #2C2C28;
}

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

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

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 65%;
  height: 130%;
  background: linear-gradient(160deg, var(--accent) 0%, #1A3A25 50%, #0F2218 100%);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

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

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 74, 53, 0.12);
}

.hero-ring-1 { width: 320px; height: 320px; }
.hero-ring-2 { width: 440px; height: 440px; border-color: rgba(42, 74, 53, 0.06); }
.hero-ring-3 { width: 560px; height: 560px; border-color: rgba(42, 74, 53, 0.03); }

.hero-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent-warm), var(--accent));
  box-shadow: 0 0 60px rgba(42, 74, 53, 0.25), inset 0 0 30px rgba(196, 98, 45, 0.2);
}

.hero-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-dot-1 { top: 50%; left: calc(50% + 160px); transform: translateY(-50%); }
.hero-dot-2 { top: calc(50% - 220px); left: 50%; transform: translateX(-50%); }
.hero-dot-3 { bottom: 60px; right: calc(50% - 80px); }

.hero-tick {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--cream);
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(42, 74, 53, 0.1);
  white-space: nowrap;
}
.hero-tick svg { color: var(--accent-warm); flex-shrink: 0; }
.hero-tick-1 { top: 60px; left: 20px; }
.hero-tick-2 { top: 50%; right: 0; transform: translateY(-50%); }
.hero-tick-3 { bottom: 80px; left: 40px; }

.hero-rule {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 80px auto 0;
  padding: 0 48px;
}
.hero-rule::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 0;
  background: var(--bg);
}

.manifesto-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 60px;
  align-items: start;
}

.manifesto-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 8px;
}

.manifesto-label-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-warm);
}

.manifesto-label span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.manifesto-body p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.5;
  color: var(--fg);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 24px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* === WORK === */
.work {
  padding: 100px 0;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.work::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.015) 80px,
      rgba(255,255,255,0.015) 81px
    );
}

.work-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.work-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.work-card {
  padding: 48px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background 0.3s ease;
}
.work-card:hover { background: rgba(255,255,255,0.07); }

.work-card-offset { margin-top: 32px; }

.work-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(196, 98, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm-light);
  margin-bottom: 24px;
}

.work-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.work-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* === HOW === */
.how {
  padding: 120px 0;
  background: var(--bg);
}

.how-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.how-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.how-label-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-warm);
}

.how-label span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.how-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.how-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.how-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--sand);
}
.how-pillar:first-child { border-top: 1px solid var(--sand); }

.how-pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-warm);
  padding-top: 4px;
}

.how-pillar h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.how-pillar p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* === CLOSER === */
.closer {
  padding: 120px 0;
  background: var(--bg-alt);
  text-align: center;
}

.closer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

.closer-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.closer-rule {
  display: block;
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--sand);
}

.closer-eyebrow span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.closer-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 32px;
}

.closer-heading em {
  font-style: italic;
  color: var(--accent-warm);
}

.closer-body {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  padding: 48px 0;
  background: var(--fg);
}

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

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.footer-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 24px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-offset { margin-top: 0; }
  .how-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .nav-inner { padding: 0 24px; }
  .hero-inner, .manifesto-inner, .work-inner, .how-inner, .closer-inner, .footer-inner { padding: 0 24px; }
  .hero { padding: 120px 0 80px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .closer-heading { font-size: 2.25rem; }
  .manifesto-body p { font-size: 1.125rem; }
}