@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --forest: #23402e;
  --forest-deep: #172e20;
  --sage: #5a7a5e;
  --olive: #7f8053;
  --brown: #8a5f36;
  --copper: #b6824e;
  --cream: #f2ede4;
  --cream-deep: #e8e2d6;
  --paper: #fbf8f2;
  --charcoal: #1a1a1a;
  --muted: #625f58;
  --white: #fffdf9;
  --border: rgba(35, 64, 46, 0.16);
  --shadow: 0 24px 70px rgba(23, 46, 32, 0.12);
  --radius: 28px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--forest);
  color: white;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-tight { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--brown);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--forest-deep); line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.04em; margin-bottom: 1.35rem; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.25rem); letter-spacing: -.035em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: .65rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: #4f514c; max-width: 690px; }
.micro { font-size: .83rem; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 237, 228, .92);
  border-bottom: 1px solid rgba(35, 64, 46, .1);
  backdrop-filter: blur(14px);
}
.nav-wrap { height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 132px; }
.brand img { width: 118px; height: 111px; object-fit: contain; border-radius: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.site-nav a { text-decoration: none; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a:not(.button) { position: relative; padding: .8rem 0; }
.site-nav a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: .45rem; width: 100%; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: var(--paper); color: var(--forest); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: .25s ease; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.4rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--forest-deep); box-shadow: 0 10px 28px rgba(23,46,32,.18); }
.button-light { border-color: white; background: white; color: var(--forest); }
.button-ghost { background: transparent; color: var(--forest); }
.button-ghost:hover { background: var(--forest); color: white; }
.button-arrow::after { content: "→"; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("assets/home-hero.webp") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,34,24,.92) 0%, rgba(18,34,24,.78) 38%, rgba(18,34,24,.16) 72%, rgba(18,34,24,.05) 100%); }
.hero-inner { padding: 6rem 0; }
.hero-copy { max-width: 650px; }
.hero h1 { color: white; }
.hero .eyebrow { color: #e6c69e; }
.hero .lead { color: rgba(255,255,255,.86); max-width: 590px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 2.2rem;
  padding: .68rem .95rem;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d9b47a; box-shadow: 0 0 0 5px rgba(217,180,122,.14); }

.trust-strip { background: var(--forest); color: white; }
.trust-grid { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; }
.trust-grid div { padding: .6rem 1rem; font-size: .74rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.trust-grid div + div { border-left: 1px solid rgba(255,255,255,.22); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.quote-card { position: relative; padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); overflow: hidden; }
.quote-card::after { content: "“"; position: absolute; right: 1rem; top: -3.5rem; color: rgba(35,64,46,.08); font-family: var(--serif); font-size: 15rem; line-height: 1; }
.quote-card blockquote { margin: 0; position: relative; z-index: 1; color: var(--forest-deep); font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3.35rem); line-height: 1.18; letter-spacing: -.025em; }
.quote-card cite { display: block; margin-top: 1.6rem; color: var(--brown); font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-head > div:first-child { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { position: relative; padding: 2rem; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,253,249,.76); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(23,46,32,.1); border-color: rgba(182,130,78,.5); }
.card-number { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.2rem; border-radius: 50%; background: var(--cream); color: var(--brown); font-size: .76rem; font-weight: 700; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.card-link { display: inline-flex; margin-top: 1.25rem; color: var(--forest); text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-link::after { content: "→"; margin-left: .55rem; }

.philosophy-band { color: white; background: var(--forest-deep); }
.philosophy-band h2, .philosophy-band h3 { color: white; }
.philosophy-band .lead { color: rgba(255,255,255,.7); }
.pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; margin-top: 3rem; }
.pillar { min-height: 180px; padding: 1.5rem 1.1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.035); }
.pillar span { display: block; color: #dab687; font-family: var(--serif); font-size: 2rem; }
.pillar strong { display: block; margin: .65rem 0 .4rem; font-family: var(--serif); font-size: 1.25rem; }
.pillar p { margin: 0; color: rgba(255,255,255,.64); font-size: .78rem; line-height: 1.55; }

.photo-card { min-height: 460px; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.photo-card img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: 70% center; }
.logo-stage { min-height: 520px; display: grid; place-items: center; border-radius: var(--radius); background: #f2ede4; box-shadow: var(--shadow); overflow: hidden; }
.logo-stage img { width: min(96%, 620px); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { position: relative; padding: .75rem 0 .75rem 2rem; border-bottom: 1px solid var(--border); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--brown); font-weight: 800; }

.cta { position: relative; overflow: hidden; color: white; background: var(--forest); }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.03), 0 0 0 130px rgba(255,255,255,.025); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta h2 { color: white; max-width: 760px; margin-bottom: .6rem; }
.cta p { max-width: 650px; color: rgba(255,255,255,.72); margin-bottom: 0; }

.page-hero { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--cream); overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero .container::after { content: ""; position: absolute; right: -8rem; top: -10rem; width: 420px; height: 420px; border: 1px solid rgba(35,64,46,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(35,64,46,.025), 0 0 0 140px rgba(35,64,46,.018); }
.page-hero h1 { max-width: 900px; position: relative; z-index: 1; }
.page-hero .lead { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: .55rem; margin-bottom: 1.4rem; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a { color: var(--brown); }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.story-aside { position: sticky; top: 120px; }
.credential { padding: 1.6rem; border-left: 3px solid var(--copper); background: var(--cream); }
.credential strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 1.4rem; }
.credential span { color: var(--muted); font-size: .83rem; }
.prose h2 { margin-top: 3rem; font-size: clamp(2rem, 4vw, 3.15rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4f514c; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.service-card { padding: clamp(2rem, 4vw, 3.2rem); border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); }
.service-card:nth-child(2), .service-card:nth-child(3) { background: var(--cream); }
.service-card .tag { display: inline-block; margin-bottom: 1.2rem; color: var(--brown); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-card ul { padding-left: 1.2rem; color: var(--muted); font-size: .92rem; }
.service-card li { margin-bottom: .45rem; }
.process { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.process-step { counter-increment: steps; padding: clamp(2rem, 4vw, 3.2rem); background: var(--paper); }
.process-step::before { content: "0" counter(steps); color: var(--copper); font-family: var(--serif); font-size: 2.3rem; }

.framework { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.framework-card { display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding: 1.7rem; border: 1px solid var(--border); border-radius: 18px; background: var(--white); }
.framework-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--forest); font-family: var(--serif); font-size: 1.3rem; }
.framework-card h3 { margin-bottom: .3rem; font-size: 1.45rem; }
.framework-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-card { padding: 2rem; border-radius: 22px; background: var(--forest); color: white; }
.contact-card h3 { color: white; }
.contact-card a { color: white; text-underline-offset: 4px; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-list small { display: block; color: rgba(255,255,255,.56); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { margin-bottom: 1rem; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .42rem; color: var(--forest-deep); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
input, textarea, select { width: 100%; border: 1px solid #cfc9bd; border-radius: 12px; background: #fffefa; color: var(--charcoal); padding: .92rem 1rem; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--forest); outline: 2px solid rgba(35,64,46,.12); }
.form-status { min-height: 1.5rem; margin-top: .75rem; color: var(--forest); font-size: .86rem; }

.site-footer { padding: 4rem 0 2rem; background: #102219; color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr; gap: 3rem; }
.footer-brand { max-width: 390px; }
.footer-brand strong { display: block; color: white; font-family: var(--serif); font-size: 1.75rem; }
.footer-brand p { margin-top: .85rem; }
.footer-nav strong { display: block; margin-bottom: .9rem; color: white; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav a { display: block; margin: .45rem 0; color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .72rem; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 120px 0 auto 0; display: grid; gap: 0; padding: 1rem 1.25rem 1.5rem; background: var(--cream); border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(23,46,32,.1); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: .85rem .5rem !important; }
  .site-nav .button { margin-top: .5rem; }
  .split, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-aside { position: static; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 1.5rem, 1180px); }
  .nav-wrap { height: 90px; }
  .brand img { width: 78px; height: 74px; }
  .site-nav { top: 90px; }
  .hero { min-height: 960px; display: grid; align-items: end; background: var(--forest-deep); }
  .hero::before {
    height: 100%;
    bottom: 0;
    background-image: url("assets/home-hero-mobile-overlay.webp");
    background-position: right top;
  }
  .hero::after {
    height: 100%;
    bottom: 0;
    background: linear-gradient(180deg, rgba(18,34,24,.04) 0%, rgba(18,34,24,.08) 38%, rgba(18,34,24,.48) 55%, rgba(18,34,24,.91) 72%, rgba(18,34,24,.98) 100%);
  }
  .hero-inner { padding: 23rem 0 4.2rem; }
  .hero-copy {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.35rem); }
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero-badge { text-shadow: 0 2px 14px rgba(0,0,0,.68); }
  .trust-grid { grid-template-columns: 1fr; padding: .75rem 0; }
  .trust-grid div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .section-head, .cta-inner { align-items: start; flex-direction: column; }
  .cards, .service-grid, .process, .framework, .form-grid { grid-template-columns: 1fr; }
  .process { gap: 1px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 155px; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
