/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --sage:       #7a9e87;
  --sage-light: #b5cebf;
  --sage-pale:  #e8f0eb;
  --stone:      #c9bfb0;
  --stone-dark: #8c7f70;
  --cream:      #f6f2ec;
  --ink:        #2a2824;
  --ink-soft:   #5a5650;
  --crimson:    #9b0d2e;
  --white:      #fdfcfa;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', sans-serif;
  --radius:     4px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }


/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.section-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--sage); }


/* ============================================================
   NAV
   ============================================================ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: var(--transition); }
nav.scrolled { background: rgba(246,242,236,0.93); backdrop-filter: blur(12px); padding: 14px 0; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo-text { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: 0.12em; color: var(--crimson); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; letter-spacing: 0.06em; color: var(--ink-soft); transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--sage) !important; color: var(--white) !important; padding: 9px 22px; border-radius: 2px; font-size: 12px !important; letter-spacing: 0.1em !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--stone-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: var(--transition); }


/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--ink); letter-spacing: 0.05em; }
.mobile-nav-close { position: absolute; top: 24px; right: 32px; font-size: 28px; cursor: pointer; background: none; border: none; color: var(--ink); }


/* ============================================================
   HERO
   ============================================================ */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--white); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(122,158,135,0.12) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 20% 80%, rgba(201,191,176,0.18) 0%, transparent 60%); }
.hero-bg::after { content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 900'%3E%3Cg fill='none' stroke='%237a9e87' stroke-width='0.6' opacity='0.25'%3E%3Cellipse cx='350' cy='450' rx='180' ry='300'/%3E%3Cellipse cx='350' cy='450' rx='120' ry='220'/%3E%3Cellipse cx='350' cy='450' rx='60' ry='140'/%3E%3Cline x1='350' y1='150' x2='350' y2='750'/%3E%3Cline x1='170' y1='450' x2='530' y2='450'/%3E%3Cpath d='M200,200 Q350,350 300,600'/%3E%3Cpath d='M450,180 Q320,400 400,680'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 120px 0 80px; animation: fadeUp 1s ease both; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 28px; }
.hero-title { font-family: var(--serif); font-size: clamp(52px, 7vw, 88px); font-weight: 300; line-height: 1.05; color: var(--ink); margin-bottom: 28px; letter-spacing: -0.01em; }
.hero-title em { font-style: italic; color: var(--sage); }
.hero-sub { font-size: 16px; color: var(--ink-soft); max-width: 480px; line-height: 1.75; margin-bottom: 48px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary { background: var(--ink); color: var(--white); padding: 14px 32px; font-size: 13px; letter-spacing: 0.1em; border-radius: var(--radius); transition: background var(--transition); }
.btn-primary:hover { background: var(--sage); }
.btn-secondary { font-size: 13px; letter-spacing: 0.06em; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.btn-secondary:hover { color: var(--sage); }
.arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.2s; display: inline-block; }
.btn-secondary:hover .arrow { width: 28px; }
.arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.hero-stats { position: absolute; bottom: 60px; right: 0; display: flex; gap: 48px; animation: fadeUp 1s 0.3s ease both; }
.stat-item { text-align: right; }
.stat-num { font-family: var(--serif); font-size: 36px; font-weight: 300; color: var(--ink); line-height: 1; }
.stat-label { font-size: 11px; color: var(--stone-dark); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }


/* ============================================================
   ABOUT
   ============================================================ */
#about { padding: 120px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-card { background: var(--sage-pale); border-radius: 2px; aspect-ratio: 4/5; position: relative; overflow: hidden; }
.about-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(122,158,135,0.3), transparent 60%), radial-gradient(ellipse at 70% 70%, rgba(201,191,176,0.4), transparent 50%); }
.about-card-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.about-card-inner svg { opacity: 0.35; width: 70%; }
.about-visual { position: relative; }
.about-accent-box { position: absolute; bottom: -24px; right: -24px; background: var(--crimson); color: var(--white); padding: 28px 32px; width: 200px; }
.about-accent-box .num { font-family: var(--serif); font-size: 42px; font-weight: 300; line-height: 1; }
.about-accent-box .txt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; opacity: 0.85; }
.about-text h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 28px; }
.about-text h2 em { font-style: italic; color: var(--sage); }
.about-text p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.about-pillars { margin-top: 40px; }
.pillar { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(122,158,135,0.2); }
.pillar:first-child { border-top: 1px solid rgba(122,158,135,0.2); }
.pillar-num { font-family: var(--serif); font-size: 13px; color: var(--sage); min-width: 24px; padding-top: 2px; }
.pillar-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; letter-spacing: 0.03em; }
.pillar-desc { font-size: 13px; color: var(--ink-soft); font-weight: 300; line-height: 1.6; }


/* ============================================================
   SERVICES
   ============================================================ */
#services { padding: 120px 0; background: var(--ink); position: relative; overflow: hidden; }
#services::before { content: ''; position: absolute; top: -80px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(122,158,135,0.12), transparent 70%); pointer-events: none; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 72px; flex-wrap: wrap; gap: 24px; }
.services-header .section-label { color: rgba(181,206,191,0.8); }
.services-header .section-label::before { background: rgba(181,206,191,0.6); }
.services-header h2 { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); font-weight: 300; color: var(--cream); line-height: 1.1; max-width: 480px; }
.services-header h2 em { font-style: italic; color: var(--sage-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.service-card { background: var(--ink); padding: 48px 40px; position: relative; overflow: hidden; transition: background var(--transition); }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 40px; right: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--sage), transparent); transform: scaleX(0); transition: transform 0.4s; }
.service-card:hover { background: rgba(122,158,135,0.08); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 44px; height: 44px; margin-bottom: 28px; color: var(--sage); }
.service-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--cream); margin-bottom: 14px; line-height: 1.2; }
.service-card p { font-size: 14px; color: rgba(201,191,176,0.7); font-weight: 300; line-height: 1.75; }


/* ============================================================
   NEWSLETTER
   ============================================================ */
#newsletter { padding: 120px 0; background: var(--white); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.newsletter-left h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 20px; }
.newsletter-left h2 em { font-style: italic; color: var(--sage); }
.newsletter-left p { font-size: 15px; color: var(--ink-soft); font-weight: 300; line-height: 1.8; margin-bottom: 40px; }
.subscribe-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 12px; }
.form-input { flex: 1; padding: 14px 18px; border: 1px solid rgba(122,158,135,0.3); border-radius: var(--radius); background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--ink); outline: none; transition: border-color 0.2s; width: 100%; }
.form-input::placeholder { color: var(--stone-dark); }
.form-input:focus { border-color: var(--sage); }
.btn-subscribe { background: var(--sage); color: var(--white); padding: 14px 28px; border: none; border-radius: var(--radius); font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s; }
.btn-subscribe:hover { background: var(--stone-dark); }
.form-note { font-size: 12px; color: var(--stone-dark); font-weight: 300; }
.posts-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 24px; font-weight: 500; }
.post-item { padding: 24px 0; border-bottom: 1px solid rgba(122,158,135,0.15); display: flex; gap: 24px; align-items: flex-start; transition: opacity 0.2s; cursor: pointer; }
.post-item:first-of-type { border-top: 1px solid rgba(122,158,135,0.15); }
.post-item:hover { opacity: 0.7; }
.post-date { font-size: 11px; color: var(--stone-dark); letter-spacing: 0.06em; min-width: 72px; padding-top: 3px; }
.post-title { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.post-excerpt { font-size: 13px; color: var(--ink-soft); font-weight: 300; line-height: 1.6; }
.post-tag { display: inline-block; background: var(--sage-pale); color: var(--sage); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-top: 8px; }


/* ============================================================
   CONTACT
   ============================================================ */
#contact { padding: 120px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-left h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); font-weight: 300; color: var(--ink); line-height: 1.15; margin-bottom: 20px; }
.contact-left h2 em { font-style: italic; color: var(--sage); }
.contact-left p { font-size: 15px; color: var(--ink-soft); font-weight: 300; line-height: 1.8; margin-bottom: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 36px; height: 36px; background: var(--sage-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 16px; color: var(--sage); }
.contact-detail-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone-dark); margin-bottom: 2px; }
.contact-detail-val { font-size: 15px; color: var(--ink); font-weight: 400; }
.contact-form-wrapper { padding-top: 8px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-send { background: var(--ink); color: var(--white); padding: 14px 32px; border: none; font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; border-radius: var(--radius); cursor: pointer; transition: background 0.2s; align-self: flex-start; }
.btn-send:hover { background: var(--sage); }


/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--ink); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); gap: 48px; flex-wrap: wrap; }
.footer-brand .footer-logo-text { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: 0.12em; color: var(--crimson); margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: rgba(201,191,176,0.5); font-weight: 300; max-width: 260px; line-height: 1.7; }
.footer-links-group h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(201,191,176,0.5); margin-bottom: 20px; }
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links-group a { font-size: 14px; color: rgba(201,191,176,0.75); font-weight: 300; transition: color 0.2s; }
.footer-links-group a:hover { color: var(--sage-light); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(201,191,176,0.35); font-weight: 300; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(201,191,176,0.35); font-weight: 300; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(201,191,176,0.7); }

/* Footer quick-subscribe input overrides */
.footer-subscribe-input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
  color: #f6f2ec;
  padding: 10px 14px;
  font-size: 13px;
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }


/* ============================================================
   SUCCESS MESSAGES
   ============================================================ */
.success-msg { display: none; background: var(--sage-pale); border: 1px solid rgba(122,158,135,0.3); border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--sage); }


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid, .newsletter-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { position: static; margin-top: 60px; justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; }
  .hero-content { padding: 140px 0 60px; }
  .about-accent-box { bottom: -16px; right: -8px; }
  .form-row { flex-direction: column; }
}
