/* ===== Fieldstone Advisory Group — first draft =====
   Palette: stone / slate / warm clay accent
*/
:root {
  --stone-900: #1f2521;
  --stone-800: #2c3531;
  --stone-700: #3d4843;
  --stone-500: #6b766f;
  --stone-300: #b9bfb9;
  --stone-100: #eef0ec;
  --paper:     #f7f6f1;
  --white:     #ffffff;
  --clay:      #b5642f;   /* warm accent */
  --clay-dark: #97511f;
  --moss:      #4f6750;   /* secondary accent */
  --ring: rgba(181, 100, 47, 0.35);

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(31, 37, 33, 0.35);
  --shadow-sm: 0 6px 18px -10px rgba(31, 37, 33, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--stone-800);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--stone-900);
  line-height: 1.1;
  margin: 0 0 0.4em;
  font-weight: 600;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 0.75rem;
}
.eyebrow.light { color: #e8b48c; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--clay);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--clay-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.btn.full { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--stone-800);
  border-color: var(--stone-300);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--stone-100); color: var(--stone-900); }

.link-arrow {
  font-weight: 600;
  color: var(--clay);
  font-size: 0.95rem;
}
.link-arrow:hover { color: var(--clay-dark); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 241, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--stone-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--stone-900); }
.brand-mark { display: inline-flex; width: 42px; height: 42px; flex: 0 0 42px; }
.brand-mark img { display: block; width: 100%; height: 100%; }
.brand-name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--stone-700); }
.nav-links a:hover { color: var(--stone-900); }
.nav-links a.btn { color: var(--white); }
.nav-links a.btn:hover { color: var(--white); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(181,100,47,0.10), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--white));
  padding: 80px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
}
.lead {
  font-size: 1.15rem;
  color: var(--stone-700);
  max-width: 34ch;
  margin-bottom: 1.8rem;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--stone-100);
  padding-top: 1.4rem;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  color: var(--stone-900);
}
.hero-stats span { font-size: 0.85rem; color: var(--stone-500); }

.hero-media, .feature-media, .about-media { position: relative; }
.hero-media img, .feature-media img, .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-media img { aspect-ratio: 5 / 6; }

/* Placeholder treatment when images are missing */
.media-tag {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--stone-500);
  font-size: 0.9rem;
  padding: 1rem;
}
.media-tag code {
  background: var(--white);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--stone-300);
}
.placeholder {
  display: flex;
  border: 2px dashed var(--stone-300);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--stone-100), var(--stone-100) 12px, #e7e9e3 12px, #e7e9e3 24px);
  min-height: 320px;
}
.hero-media.placeholder { aspect-ratio: 5 / 6; }
.placeholder .media-tag { display: flex; flex-direction: column; gap: 0.4rem; }

/* ===== Trust strip ===== */
.trust {
  background: var(--stone-900);
  color: var(--stone-300);
  text-align: center;
  padding: 18px 0;
}
.trust p { margin: 0; font-size: 0.95rem; letter-spacing: 0.01em; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.section-sub { color: var(--stone-500); font-size: 1.1rem; }

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(181, 100, 47, 0.12);
  color: var(--clay);
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.5rem; }
.card p { color: var(--stone-700); }

/* ===== Feature rows ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-grid.reverse .feature-media { order: 2; }
.feature-media img { aspect-ratio: 4 / 3; }
.feature-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.feature-copy p { color: var(--stone-700); font-size: 1.05rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--stone-800);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 18px;
  height: 10px;
  border-left: 2.5px solid var(--moss);
  border-bottom: 2.5px solid var(--moss);
  transform: rotate(-45deg);
}

/* ===== Process steps ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--clay);
  display: block;
  margin-bottom: 0.6rem;
}
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--stone-600, var(--stone-700)); margin: 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media img { aspect-ratio: 4 / 5; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.about-copy p { color: var(--stone-700); font-size: 1.07rem; }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(79,103,80,0.25), transparent 60%),
    var(--stone-900);
  color: var(--stone-100);
}
.cta h2 { color: var(--white); font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-copy p { color: var(--stone-300); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { margin-bottom: 0.5rem; color: var(--stone-300); }
.contact-list strong {
  display: inline-block;
  width: 70px;
  color: var(--stone-500);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.contact-list a { color: #e8b48c; font-weight: 500; }
.contact-list a:hover { color: var(--white); }

.cta-form {
  background: var(--white);
  color: var(--stone-800);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.cta-card { text-align: center; }
.cta-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--stone-900);
  margin: 0 0 0.5rem;
}
.cta-card-text {
  color: var(--stone-500);
  margin: 0 0 1.75rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--stone-700);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--stone-300);
  border-radius: 10px;
  font: inherit;
  color: var(--stone-900);
  background: var(--paper);
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px var(--ring);
  background: var(--white);
}
.field textarea { resize: vertical; }
.form-msg {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--moss);
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--stone-900);
  color: var(--stone-300);
  padding: 56px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .brand-name { color: var(--white); }
.footer-tag { max-width: 36ch; margin: 0.8rem 0 0; color: var(--stone-500); font-size: 0.95rem; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--stone-300); font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--stone-500);
}
.footer-bottom p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .about-grid,
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reverse .feature-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; }
}
