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

:root {
  --black: #1a1a1a;
  --dark: #2d2d2d;
  --mid: #6b6b6b;
  --light: #b0b0b0;
  --pale: #f5f4f2;
  --white: #fefefe;
  --accent: #8B7355;
  --font: 'Inter', -apple-system, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3, h4 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

/* === Layout === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

/* === Fade-in animation === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-wordmark {
  margin-bottom: 1.5rem;
}

.hero-wordmark .logo-svg {
  width: clamp(240px, 50vw, 400px);
  height: auto;
}

.logo-footer {
  width: 160px;
  height: auto;
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--mid);
  font-weight: 400;
  margin-bottom: 3rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--black);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}
.cta:hover {
  background: var(--black);
  color: var(--white);
}

/* === Problem === */
.problem {
  background: var(--pale);
  text-align: center;
}

.problem p {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.8;
}

.problem .highlight {
  display: block;
  margin-top: 2rem;
  font-weight: 500;
  color: var(--black);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

/* === How It Works === */
.how {
  text-align: center;
}

.how h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 4rem;
  font-weight: 300;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--mid);
  max-width: 240px;
  margin: 0 auto;
}

/* === Services === */
.services {
  background: var(--pale);
}

.services h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 4rem;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  text-align: center;
}

.service-item .icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-item h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.service-item p {
  font-size: 0.82rem;
  color: var(--mid);
}

/* === Pricing === */
.pricing h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 4rem;
  font-weight: 300;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid #e5e3e0;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--accent);
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 200;
  margin-bottom: 0.25rem;
}

.pricing-card .price-desc {
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 2rem;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  font-size: 0.85rem;
  color: var(--dark);
}

.pricing-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0efed;
}

.pricing-card li:last-child { border-bottom: none; }

.pricing-card li::before {
  content: "—";
  margin-right: 0.6rem;
  color: var(--light);
}

/* === Philosophy === */
.philosophy {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--black);
  color: var(--white);
}

.philosophy .kanji {
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 2rem;
  opacity: 0.4;
}

.philosophy blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.philosophy .attrib {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === Footer === */
footer {
  padding: 4rem 2rem;
  text-align: center;
}

.footer-wordmark {
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

footer a.email {
  font-size: 0.85rem;
  color: var(--mid);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
footer a.email:hover {
  border-color: var(--mid);
}

footer .copy {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--light);
}

/* === Responsive === */
@media (max-width: 768px) {
  section { padding: 5rem 0; }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }
  
  .philosophy { padding: 6rem 2rem; }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
