/* ===== Marsh & Maple — Design Tokens ===== */
:root {
  --marsh: #2E3D33;
  --sage: #506A52;
  --maple: #C2843E;
  --wheat: #E8C98F;
  --cream: #F6F0E2;
  --cream-2: #FBF7EC;
  --ink: #25302A;
  --white: #ffffff;

  --font: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --shadow: 0 10px 30px rgba(46, 61, 51, .12);
  --shadow-sm: 0 4px 14px rgba(46, 61, 51, .10);
  --section-y: clamp(56px, 9vw, 120px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--marsh);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--cream2 { background: var(--cream-2); }
.section--marsh { background: var(--marsh); color: var(--cream); }

/* Eyebrow / kicker label */
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--maple); }

/* Type scale */
.h-display { font-size: clamp(38px, 6.5vw, 76px); }
.h-section { font-size: clamp(28px, 4vw, 46px); }
.h-card    { font-size: clamp(20px, 2.4vw, 26px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--sage); }
.muted { color: var(--sage); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  letter-spacing: .02em; padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--maple); color: var(--marsh); }
.btn--primary:hover { background: #b07932; }
.btn--marsh { background: var(--marsh); color: var(--cream); }
.btn--marsh:hover { background: #25332a; }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246,240,226,.5); }
.btn--ghost:hover { background: rgba(246,240,226,.12); border-color: var(--cream); }
.btn--outline { background: transparent; color: var(--marsh); border-color: var(--marsh); }
.btn--outline:hover { background: var(--marsh); color: var(--cream); }

/* Utility */
.center { text-align: center; }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.eyebrow-row { display: flex; align-items: center; gap: 14px; }
.divider { height: 1px; background: rgba(80,106,82,.22); border: 0; margin: 0; }

/* ===== Header ===== */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center; transition: background .3s ease, box-shadow .3s ease; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
/* Scrim behind the transparent header so the logo/nav stay legible over any hero image */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 26, 22, .8) 0%, rgba(20, 26, 22, .45) 42%, rgba(20, 26, 22, 0) 100%);
  transition: opacity .3s ease; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled { background: var(--cream); box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 30px; height: 30px; flex: 0 0 auto; }
.brand .b-name { font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand .b-name .amp { color: var(--maple); font-weight: 500; }
.brand .b-sub { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .42em; color: var(--sage); margin-top: 2px; }
/* color states: over hero (default = light text), scrolled (dark text) */
.site-header { color: var(--cream); }
.site-header.is-scrolled { color: var(--marsh); }
.site-header.is-scrolled .b-sub { color: var(--sage); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--maple); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: inherit; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile overlay menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--marsh); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 26px; font-weight: 700; }
.mobile-menu .btn { margin-top: 10px; }
.mobile-close { position: absolute; top: 22px; right: var(--gutter); background: none; border: 0; color: var(--cream); cursor: pointer; }
.mobile-close svg { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .nav, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ===== Footer ===== */
.site-footer { background: var(--marsh); color: var(--cream); padding-block: clamp(48px, 7vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand .b-name { color: var(--cream); }
.site-footer .brand .b-name .amp { color: var(--wheat); }
.site-footer .brand .b-sub { color: var(--wheat); }
.footer-blurb { color: rgba(246,240,226,.75); margin-top: 16px; max-width: 34ch; }
.footer-col h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: rgba(246,240,226,.82); margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: var(--wheat); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246,240,226,.16); color: rgba(246,240,226,.6); font-size: 13px; }
.social { display: flex; gap: 14px; }
.social a svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Hero (style C) ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: var(--cream); background: #2E3D33; overflow: hidden; }
.hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(46,61,51,.82) 0%, rgba(46,61,51,.5) 45%, rgba(46,61,51,.15) 100%),
              linear-gradient(0deg, rgba(46,61,51,.7) 0%, rgba(46,61,51,0) 40%); }
.hero .container { position: relative; padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { max-width: 16ch; margin: 16px 0 0; }
.hero .lead { color: rgba(246,240,226,.88); max-width: 46ch; margin-top: 18px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Intro + stats */
.intro__statement { max-width: 22ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.stat .num { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; color: var(--maple); letter-spacing: -.03em; }
.stat .label { font-size: 14px; color: var(--sage); font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 760px) { .two-col, .stats { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(3,1fr); } }

/* Service preview cards */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.s-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end; color: var(--cream); }
.s-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.s-card:hover .s-card__img { transform: scale(1.06); }
.s-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46,61,51,.95) 0%, rgba(46,61,51,.72) 32%, rgba(46,61,51,.2) 68%, rgba(46,61,51,0) 100%); }
.s-card__body { position: relative; z-index: 2; padding: 26px; text-shadow: 0 1px 14px rgba(46,61,51,.7); }
.s-card__body p { color: rgba(246,240,226,.85); font-size: 14px; margin-top: 6px; }
.s-card__body .arrow { margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--wheat); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* Menu showcase */
.menu-grid { grid-template-columns: repeat(3, 1fr); }
.menu-item img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.menu-item h3 { margin-top: 16px; }
.menu-item p { color: var(--sage); margin-top: 6px; font-size: 15px; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }

/* Why-us value props */
.values-4 { grid-template-columns: repeat(4, 1fr); }
.value .v-icon { width: 46px; height: 46px; color: var(--maple); }
.value h3 { font-size: 19px; margin-top: 16px; }
.value p { color: rgba(246,240,226,.8); margin-top: 8px; font-size: 15px; }
.section--marsh .value p { color: rgba(246,240,226,.8); }
@media (max-width: 860px) { .values-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values-4 { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { grid-template-columns: repeat(3, 1fr); }
.quote { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--maple); letter-spacing: 2px; font-size: 14px; }
.quote blockquote { margin: 14px 0 18px; font-size: 17px; line-height: 1.5; }
.quote .by { font-weight: 700; font-size: 14px; }
.quote .by span { display: block; font-weight: 500; color: var(--sage); font-size: 13px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Gallery strip */
.gallery { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 15px; padding: 12px 14px;
  border: 1.5px solid rgba(80,106,82,.3); border-radius: var(--radius); background: var(--white); color: var(--marsh); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maple); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-aside { background: var(--marsh); color: var(--cream); border-radius: 12px; padding: 34px; }
.contact-aside h3 { color: var(--wheat); }
.contact-aside .ca-item { margin-top: 20px; }
.contact-aside .ca-item .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat); }
.contact-aside .ca-item a, .contact-aside .ca-item p { color: var(--cream); font-size: 17px; font-weight: 600; margin-top: 4px; }
.quote-success { background: var(--white); border-radius: 12px; padding: 48px; text-align: center; box-shadow: var(--shadow-sm); }
.quote-success .leaf { width: 54px; height: 54px; margin: 0 auto 18px; }
/* Buffer below the form / Send Request in any layout (side-by-side or stacked) */
#quote-form { margin-bottom: 32px; }
@media (max-width: 860px) {
  .contact-grid, .field-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
}

/* Section heading block */
.sec-head { max-width: 620px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .h-section { margin-top: 12px; }
.sec-head.center { margin-inline: auto; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .h-section { max-width: 18ch; margin: 14px auto 26px; }

/* ===== Interior page header ===== */
.page-head { position: relative; min-height: 56vh; display: flex; align-items: flex-end; color: var(--cream); background: var(--marsh); overflow: hidden; }
.page-head__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-head__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46,61,51,.85), rgba(46,61,51,.35)); }
.page-head .container { position: relative; padding-bottom: clamp(36px, 6vw, 64px); padding-top: calc(var(--header-h) + 24px); }
.page-head h1 { margin-top: 12px; max-width: 18ch; }

/* Services feature sections */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature img { border-radius: 12px; aspect-ratio: 5/6; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.feature.reverse .feature__media { order: 2; }
.feature__body h2 { margin-top: 12px; }
.feature__body .lead { margin-top: 16px; }
.incl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.incl li { position: relative; padding-left: 26px; font-weight: 500; }
.incl li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px;
  background: var(--maple); transform: rotate(45deg); }
.feature__body .btn { margin-top: 26px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature.reverse .feature__media { order: 0; } }

/* Process steps */
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step .n { font-size: 14px; font-weight: 800; color: var(--maple); letter-spacing: .1em; }
.step h3 { font-size: 19px; margin-top: 8px; } .step p { color: var(--sage); margin-top: 8px; font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }

/* Capabilities */
.caps { grid-template-columns: repeat(3, 1fr); }
.cap { display: flex; gap: 14px; align-items: flex-start; }
.cap svg { width: 26px; height: 26px; color: var(--maple); flex: 0 0 auto; margin-top: 2px; }
.cap h3 { font-size: 17px; } .cap p { color: rgba(246,240,226,.8); font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } }

/* ===== About ===== */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story img { border-radius: 12px; aspect-ratio: 5/6; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.story .lead + .lead { margin-top: 16px; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

.value-cards { grid-template-columns: repeat(3, 1fr); }
.v-card { background: var(--white); border-radius: 12px; padding: 32px; box-shadow: var(--shadow-sm); }
.v-card svg { width: 38px; height: 38px; color: var(--maple); }
.v-card h3 { margin-top: 16px; font-size: 21px; } .v-card p { color: var(--sage); margin-top: 10px; }
@media (max-width: 820px) { .value-cards { grid-template-columns: 1fr; } }

.team { grid-template-columns: repeat(3, 1fr); }
.member img { border-radius: 12px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.member h3 { margin-top: 16px; font-size: 19px; } .member .role { color: var(--maple); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.member p { color: var(--sage); margin-top: 10px; font-size: 15px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

.bigquote { text-align: center; max-width: 760px; margin-inline: auto; }
.bigquote blockquote { font-size: clamp(22px, 3vw, 34px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; margin: 18px 0 18px; }
.bigquote .by { color: var(--wheat); font-weight: 600; }

/* ===== Demo disclaimers ===== */
.ca-demo { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--marsh); background: var(--wheat); border-radius: 8px; padding: 11px 13px; margin-bottom: 22px; }
.footer-note { color: rgba(246,240,226,.55); font-size: 13px; margin-top: 6px; }
