/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F4EE;
  --bg-alt: #EDE8DE;
  --fg: #1A1A18;
  --fg-muted: #6B6B65;
  --accent: #4A7C59;
  --accent-warm: #C4A882;
  --accent-terra: #E8834A;
  --white: #FFFFFF;
  --border: #D9D4C7;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

em { font-style: italic; font-weight: 400; }

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

.section__heading {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--fg);
  margin-bottom: 24px;
}

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__brand { display: flex; align-items: baseline; gap: 10px; }
.nav__logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--fg); }
.nav__tag { font-size: 12px; color: var(--fg-muted); letter-spacing: 0.06em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 14px; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.nav__link:hover { color: var(--fg); }
.nav__cta { font-size: 13px; font-weight: 500; color: var(--white); background: var(--accent); padding: 9px 20px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.nav__cta:hover { background: #3A6449; }

/* --- Hero --- */
.hero {
  padding: 80px 48px 72px;
  position: relative;
  overflow: hidden;
}

.hero__bg-texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(196,168,130,0.06) 60px,
    rgba(196,168,130,0.06) 62px
  );
  pointer-events: none;
}

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

.hero__eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 500; }
.hero__title { font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; color: var(--fg); line-height: 1.05; margin-bottom: 20px; }
.hero__sub { font-size: 18px; color: var(--fg-muted); margin-bottom: 36px; font-style: italic; font-family: 'Fraunces', serif; }
.hero__pioneer { display: flex; align-items: center; gap: 12px; }
.hero__pioneer-badge { background: var(--accent-terra); color: var(--white); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em; }
.hero__pioneer-text { font-size: 13px; color: var(--fg-muted); }

.hero__widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.hero__widget-icon { flex-shrink: 0; }
.hero__widget-text strong { display: block; font-size: 15px; color: var(--fg); margin-bottom: 6px; }
.hero__widget-text span { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

.hero__stats { display: flex; gap: 32px; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; color: var(--accent); }
.hero__stat-label { font-size: 11px; color: var(--fg-muted); letter-spacing: 0.04em; margin-top: 2px; }

/* --- Services --- */
.services { background: var(--bg-alt); padding: 80px 48px; }
.services__inner { max-width: 1100px; margin: 0 auto; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }

.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.service-card--featured { border-color: var(--accent); box-shadow: 0 4px 16px rgba(74,124,89,0.12); }
.service-card__icon { margin-bottom: 16px; }
.service-card__title { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.service-card__desc { font-size: 13px; color: var(--fg-muted); line-height: 1.55; margin-bottom: 16px; }
.service-card__price { font-size: 13px; font-weight: 600; color: var(--accent); }

.services__expanding { text-align: center; padding-top: 16px; border-top: 1px solid var(--border); }
.services__expanding p { font-size: 14px; color: var(--fg-muted); font-style: italic; font-family: 'Fraunces', serif; }

/* --- Plans --- */
.plans { padding: 80px 48px; }
.plans__inner { max-width: 1100px; margin: 0 auto; }
.plans__intro { font-size: 16px; color: var(--fg-muted); max-width: 560px; margin: 0 auto 48px; text-align: center; }
.plans__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }

.plan-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.plan-card--featured { border-color: var(--accent); background: #F7FBF8; }
.plan-card__header { margin-bottom: 16px; }
.plan-card__name { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.plan-card__price { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 700; color: var(--fg); }
.plan-card__price span { font-size: 16px; font-weight: 400; color: var(--fg-muted); }
.plan-card__features { list-style: none; }
.plan-card__features li { font-size: 13px; color: var(--fg-muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.plan-card__features li:last-child { border-bottom: none; }
.plan-card__badge { position: absolute; top: -10px; right: 16px; background: var(--accent-terra); color: var(--white); font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 10px; letter-spacing: 0.04em; }

.plans__cta { text-align: center; }
.plans__link { font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --- Philosophy --- */
.philosophy { background: var(--bg-alt); padding: 80px 48px; }
.philosophy__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: center; }

.philosophy__mascot { text-align: center; }
.philosophy__mascot-circle { margin-bottom: 16px; }
.philosophy__mascot-name { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--fg); }
.philosophy__mascot-role { font-size: 12px; color: var(--fg-muted); margin-top: 4px; font-style: italic; }

.philosophy__body { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 16px; }
.philosophy__traits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trait { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 500; color: var(--fg); }

/* --- Closing --- */
.closing { background: var(--accent); padding: 96px 48px; }
.closing__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing__headline { font-family: 'Fraunces', serif; font-size: clamp(28px, 4vw, 52px); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 24px; }
.closing__body { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 40px; }
.closing__brand { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 32px; }
.closing__brand-name { display: block; font-family: 'Fraunces', serif; font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.closing__brand-sub { font-size: 14px; color: rgba(255,255,255,0.6); font-style: italic; }

/* --- Footer --- */
.footer { background: #1A1A18; padding: 48px; }
.footer__inner { max-width: 1100px; margin: 0 auto; }
.footer__brand { margin-bottom: 20px; }
.footer__name { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: var(--white); }
.footer__tagline { display: block; font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer__links { display: flex; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.footer__link { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer__link:hover { color: var(--white); }
.footer__social { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer__social-link { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer__social-link:hover { color: var(--white); }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .plans__grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .philosophy__mascot { display: none; }
}

@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .nav__links { display: none; }
  .hero { padding: 48px 20px; }
  .services { padding: 60px 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .plans { padding: 60px 20px; }
  .plans__grid { grid-template-columns: 1fr; }
  .philosophy { padding: 60px 20px; }
  .closing { padding: 64px 20px; }
  .footer { padding: 40px 20px; }
}