/* ============================================
   FIELDSTONE LANDSCAPE & DESIGN — SHARED STYLESHEET
   Linked by all 4 pages: index, services, gallery, contact
   ============================================ */

:root {
  --charcoal: #1E211D;
  --stone: #E7E9E2;
  --stone-dark: #DADDD2;
  --card: #FFFFFF;
  --moss: #445640;
  --moss-soft: #5C7256;
  --gold: #C99A2E;
  --gold-dark: #A97F22;
  --line: rgba(30,33,29,0.13);

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--stone);
  line-height: 1.55;
}
a { color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: var(--charcoal); padding: 16px 0; }
.nav .container { display: flex; flex-wrap: wrap; row-gap: 10px; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--stone); text-decoration: none; letter-spacing: 0.01em; text-transform: uppercase; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--stone); opacity: 0.8; transition: opacity 0.2s ease, color 0.2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; color: var(--gold); }
.nav-links a.active { opacity: 1; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.nav-cta { font-family: var(--font-body); font-weight: 600; font-size: 0.84rem; background: var(--gold); color: var(--charcoal); padding: 10px 18px; border-radius: 2px; text-decoration: none; }
.nav-cta:hover { background: #D6AB47; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--stone); }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--charcoal); flex-direction: column; padding: 20px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* BUTTONS */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; padding: 14px 28px; border-radius: 2px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; }
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: #D6AB47; transform: translateY(-1px); }
.btn-outline-dark { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover { background: rgba(30,33,29,0.06); }
.btn-outline-light { background: transparent; border-color: var(--stone); color: var(--stone); }
.btn-outline-light:hover { background: rgba(231,233,226,0.1); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* SECTION LABELS */
.section-label { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-dark); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; max-width: 640px; line-height: 1.1; }
.section-sub { font-size: 1rem; opacity: 0.7; max-width: 560px; margin-bottom: 40px; }

/* CARDS */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(30,33,29,0.1); }

/* SIGNATURE ELEMENT: CONTOUR LINE DIVIDER
   Mimics topographic contour lines from an actual
   landscape site plan - concentric wavy bands. */
.contour-divider { width: 100%; height: 46px; overflow: hidden; }
.contour-divider svg { width: 100%; height: 100%; display: block; }
.contour-divider path { fill: none; stroke: var(--line); stroke-width: 1.5; }
.contour-divider path:nth-child(2) { stroke: rgba(201,154,46,0.35); }

/* FOOTER */
.footer { background: var(--charcoal); color: var(--stone); padding: 46px 0 22px; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 26px; }
.footer h4 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; opacity: 0.75; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(231,233,226,0.15); padding-top: 18px; font-size: 0.76rem; opacity: 0.55; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 10px 18px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* HERO (dark, used on every page's header) */
.page-hero { background: var(--charcoal); color: var(--stone); padding: 90px 0 60px; position: relative; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: 720px; margin-bottom: 16px; line-height: 1.08; }
.page-hero p { max-width: 500px; opacity: 0.78; font-size: 1.05rem; }
.page-hero-eyebrow { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
