:root {
  --ivory: #F7F3EA;
  --ivory-deep: #EFE8D8;
  --forest: #1F3B2E;
  --forest-light: #2E5340;
  --moss: #6B7F5B;
  --gold: #C2912E;
  --gold-soft: #D9B25A;
  --ink: #232019;
  --stone: #8A8273;
  --line: rgba(31,59,46,0.14);
  --shadow: 0 30px 70px -30px rgba(31,59,46,0.35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 400; line-height: 1.08; }
a { text-decoration: none; color: inherit; }

body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 3.5rem; transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(247,243,234,0.92); backdrop-filter: blur(14px);
  padding: 1rem 3.5rem; border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: baseline; gap: 0.55rem; font-family: 'Fraunces', serif; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--forest); }
.logo .dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; display: inline-block; transform: translateY(-2px); }
nav.hero-light .logo { color: var(--ivory); }
.nav-links { display: flex; gap: 2.6rem; align-items: center; font-size: 0.92rem; font-weight: 400; letter-spacing: 0.02em; }
.nav-links a { color: var(--forest); transition: color 0.3s; position: relative; }
nav.hero-light .nav-links a { color: var(--ivory); }
.nav-links a.active { color: var(--gold); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active:not(.nav-cta)::after { width: 100%; }
.nav-cta { border: 1px solid var(--gold); color: var(--gold) !important; padding: 0.5rem 1.3rem; border-radius: 100px; transition: all 0.3s; }
.nav-cta:hover { background: var(--gold); color: var(--ivory) !important; }

/* HERO (home) */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--forest); color: var(--ivory); overflow: hidden; padding: 0 3.5rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(194,145,46,0.22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(107,127,91,0.3), transparent 70%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.15;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-inner { position: relative; z-index: 2; max-width: 1100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 2rem; font-weight: 500; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--gold-soft); }
.hero h1 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 1.8rem; }
.hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 580px; color: rgba(247,243,234,0.82); font-weight: 300; margin-bottom: 2.8rem; }
.hero-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.hero-stats { position: absolute; bottom: 3rem; right: 3.5rem; z-index: 2; display: flex; gap: 2.6rem; text-align: right; }
.hero-stats .stat .num { font-family: 'Fraunces', serif; font-size: 2.2rem; color: var(--gold-soft); }
.hero-stats .stat .lbl { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,243,234,0.6); }

/* PAGE HEADER (interior pages) */
.page-header {
  background: var(--forest); color: var(--ivory); padding: 11rem 3.5rem 5rem; position: relative; overflow: hidden;
}
.page-header .hero-bg { opacity: 0.8; }
.page-header-inner { position: relative; z-index: 2; max-width: 900px; }
.page-header .eyebrow { margin-bottom: 1.4rem; }
.page-header h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.page-header h1 em { font-style: italic; color: var(--gold-soft); }
.page-header p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(247,243,234,0.82); font-weight: 300; }

/* BUTTONS */
.btn-primary { background: var(--gold); color: var(--forest); padding: 1rem 2.2rem; border-radius: 100px; font-weight: 500; font-size: 0.98rem; transition: all 0.35s; border: 1px solid var(--gold); display: inline-block; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(194,145,46,0.6); }
.btn-ghost { color: var(--ivory); padding: 1rem 1.6rem; font-weight: 400; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 0.6rem; transition: gap 0.3s; }
.btn-ghost:hover { gap: 1rem; }
.btn-ghost .arrow { color: var(--gold-soft); }

/* SECTIONS */
section { padding: 7rem 3.5rem; position: relative; }
.section-head { max-width: 720px; margin-bottom: 4rem; }
.section-tag { font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.2rem; display: block; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 300; color: var(--forest); margin-bottom: 1.2rem; }
.section-head h2 em { font-style: italic; color: var(--moss); }
.section-head p { font-size: 1.1rem; color: var(--stone); font-weight: 300; }

/* INTRO STRIP */
.intro { background: var(--ivory-deep); text-align: center; }
.intro .quote { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.35; max-width: 1000px; margin: 0 auto; color: var(--forest); }
.intro .quote em { font-style: italic; color: var(--gold); }
.intro .signature { margin-top: 2rem; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.6rem; position: relative; overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .idx { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.1rem; color: var(--gold); margin-bottom: 1.4rem; }
.service-card h3 { font-size: 1.7rem; color: var(--forest); margin-bottom: 0.9rem; }
.service-card p { color: var(--stone); font-weight: 300; font-size: 1rem; }
.service-card ul { list-style: none; margin-top: 1.2rem; }
.service-card ul li { color: var(--forest); font-size: 0.95rem; padding-left: 1.4rem; position: relative; margin-bottom: 0.5rem; }
.service-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.service-card .deco { position: absolute; top: -40px; right: -40px; width: 130px; height: 130px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.5s; }
.service-card:hover .deco { transform: scale(1.3) rotate(40deg); border-color: var(--gold-soft); }

/* PROCESS */
.process { background: var(--forest); color: var(--ivory); }
.process .section-head h2 { color: var(--ivory); }
.process .section-head p { color: rgba(247,243,234,0.7); }
.process .section-tag { color: var(--gold-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps.detailed { grid-template-columns: 1fr; gap: 0; }
.step { position: relative; padding-top: 2.4rem; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: 'Fraunces', serif; font-size: 1rem; color: var(--gold-soft); position: absolute; top: 0; left: 0; }
.step::after { content: ''; position: absolute; top: 0.55rem; left: 2.6rem; right: -1rem; height: 1px; background: rgba(217,178,90,0.3); }
.step:last-child::after { display: none; }
.step h4 { font-size: 1.35rem; margin-bottom: 0.7rem; color: var(--ivory); }
.step p { font-size: 0.95rem; color: rgba(247,243,234,0.7); font-weight: 300; }
.steps.detailed .step { padding: 2.4rem 0 2.4rem 5rem; border-bottom: 1px solid rgba(247,243,234,0.12); }
.steps.detailed .step::before { font-size: 2rem; top: 2.4rem; }
.steps.detailed .step::after { display: none; }
.steps.detailed .step h4 { font-size: 1.7rem; }
.steps.detailed .step p { font-size: 1.02rem; max-width: 640px; }

/* STATS BAND */
.band { background: var(--gold); color: var(--forest); text-align: center; }
.band-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.band .num { font-family: 'Fraunces', serif; font-size: clamp(2.6rem,5vw,4rem); font-weight: 400; }
.band .lbl { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-light); }

/* PROSE / ABOUT */
.prose { max-width: 760px; }
.prose p { font-size: 1.15rem; color: var(--ink); font-weight: 300; margin-bottom: 1.6rem; }
.prose p strong { font-weight: 500; color: var(--forest); }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1rem; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2.2rem; }
.value-card h4 { font-size: 1.3rem; color: var(--forest); margin-bottom: 0.7rem; }
.value-card p { color: var(--stone); font-weight: 300; font-size: 0.98rem; }

/* CTA BLOCK */
.cta-block { background: var(--ivory-deep); text-align: center; }
.cta-block h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 300; color: var(--forest); margin-bottom: 1.2rem; }
.cta-block h2 em { font-style: italic; color: var(--gold); }
.cta-block p { color: var(--stone); font-weight: 300; max-width: 520px; margin: 0 auto 2.2rem; }

/* CONTACT */
.contact { background: var(--ivory-deep); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-left h2 { font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 300; color: var(--forest); margin-bottom: 1.4rem; }
.contact-left h2 em { font-style: italic; color: var(--gold); }
.contact-left p { color: var(--stone); font-weight: 300; margin-bottom: 2.4rem; max-width: 420px; }
.contact-detail { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; font-size: 1.02rem; color: var(--forest); }
.contact-detail .ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.field input, .field textarea, .field select { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.1rem; font-family: 'Outfit', sans-serif; font-size: 1rem; color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,145,46,0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
form button { background: var(--forest); color: var(--ivory); border: none; cursor: pointer; padding: 1.05rem; border-radius: 100px; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; transition: all 0.3s; }
form button:hover { background: var(--forest-light); transform: translateY(-2px); }
.form-note { font-size: 0.85rem; color: var(--stone); text-align: center; }

/* FOOTER */
footer { background: var(--forest); color: var(--ivory); padding: 4rem 3.5rem 2.5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(247,243,234,0.12); }
.footer-brand { max-width: 320px; }
.footer-brand .logo { color: var(--ivory); margin-bottom: 1rem; }
.footer-brand p { color: rgba(247,243,234,0.6); font-weight: 300; font-size: 0.95rem; }
.footer-cols { display: flex; gap: 4rem; }
.footer-col h5 { font-family: 'Outfit'; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; color: rgba(247,243,234,0.7); font-size: 0.95rem; font-weight: 300; margin-bottom: 0.6rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-size: 0.85rem; color: rgba(247,243,234,0.5); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 880px) {
  nav, section, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  nav { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .nav-links { display: none; }
  .hero { padding: 0 1.5rem; }
  .page-header { padding: 9rem 1.5rem 4rem; }
  .hero-stats { position: static; justify-content: flex-start; text-align: left; margin-top: 3rem; padding-bottom: 3rem; flex-wrap: wrap; gap: 1.8rem; }
  .services-grid, .steps, .band-grid, .contact-wrap, .field-row, .values { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .steps.detailed .step { padding-left: 4rem; }
  .contact-wrap { gap: 3rem; }
  .footer-top { flex-direction: column; }
}
