@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  --black: #0d0d0d;
  --off-white: #f5f2ed;
  --warm-mid: #e8e3da;
  --accent: #c8491a;
  --accent-light: #e8622d;
  --text-muted: #6b6560;
  --border: rgba(13,13,13,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--black);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--black);
  color: var(--off-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent) !important; }

/* HERO */
#hero {
    min-height: 0;
    padding: 15rem 4rem 0rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-55%);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(120px, 18vw, 240px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(13,13,13,0.06);
  letter-spacing: -0.02em;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 820px;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

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

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-ghost {
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.btn-ghost:hover { gap: 0.7rem; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.section-divider span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* SHARED SECTION STYLES */
section { padding: 6rem 4rem; }

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

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

/* SERVICES */
#services { background: var(--off-white); }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-intro {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 420px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--off-white);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}

.service-card:hover { background: var(--warm-mid); }

.service-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}

.service-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ABOUT */
#about {
  background: var(--black);
  color: var(--off-white);
}

#about .section-label { color: var(--accent); }
#about .section-title { color: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 3rem;
}

.about-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(245,242,237,0.7);
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number span { color: var(--accent); }

.stat-label {
  font-size: 0.8rem;
  color: rgba(245,242,237,0.45);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-card {
  background: rgba(245,242,237,0.05);
  border: 1px solid rgba(245,242,237,0.1);
  border-radius: 4px;
  padding: 2.5rem;
}

.about-card-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(245,242,237,0.1);
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(245,242,237,0.7);
}

.pillar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* CONTACT */
#contact { background: var(--warm-mid); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cd-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cd-value {
  font-size: 0.95rem;
  color: var(--black);
}

.cd-value a { color: var(--accent); text-decoration: none; }
.cd-value a:hover { text-decoration: underline; }

.cta-block {
  background: var(--black);
  border-radius: 4px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-block-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  color: var(--off-white);
  line-height: 1.2;
}

.cta-block-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245,242,237,0.55);
  line-height: 1.7;
}

.cta-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}

.cta-email-link:hover { background: var(--accent-light); transform: translateY(-1px); }

/* FOOTER */
footer {
  background: var(--black);
  color: rgba(245,242,237,0.4);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  border-top: 1px solid rgba(245,242,237,0.06);
}

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

.footer-logo span { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #hero, section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .services-header,
  .about-grid,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .hero-bg-text { font-size: 80px; }
  .section-divider { padding: 1.25rem 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}
