/* Sommer Consulting — site styles
   Brand: "The Keystone"
   Fonts: Cormorant Garamond (display) + Barlow (body), loaded from Google Fonts in index.html */

:root {
  --charcoal: #1F2328;
  --rust: #B5502F;
  --rust-dark: #8E3D22;
  --gold: #D49A3A;
  --cream: #F2EBDF;
  --paper: #FAF6EF;
  --line: #E3DACB;
  --input-border: #B9AE9C;
  --text-muted: #4F545B;
  --text-on-dark: #D9D3C7;
  --text-on-dark-soft: #A8A193;
  --border-on-dark: #3A3F46;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Barlow', 'Helvetica Neue', Helvetica, sans-serif;

  --max-width: 1200px;
  --gutter: 24px;
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rust); }
a:hover { color: var(--rust-dark); }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: var(--max-width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rust); }
.eyebrow--gold { color: var(--gold); }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.5vw, 46px); line-height: 1.08; margin-top: 12px; }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none;
  padding: 16px 26px; border-radius: var(--radius); border: 0; cursor: pointer; line-height: 1.2;
}
.btn--primary { background: var(--rust); color: var(--white); }
.btn--primary:hover { background: var(--rust-dark); color: var(--white); }
.btn--outline-gold { border: 1.5px solid var(--gold); color: var(--cream); padding: 14.5px 26px; }
.btn--outline-gold:hover { background: var(--gold); color: var(--charcoal); }
.btn--small { padding: 12px 20px; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.logo:hover { color: var(--charcoal); }
.logo__mark { width: 64px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: 0.18em; }
.logo__sub { font-size: 10px; font-weight: 600; letter-spacing: 0.42em; margin-top: 4px; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav__links a:not(.btn) { color: var(--charcoal); text-decoration: none; padding: 10px 0; }
.nav__links a:not(.btn):hover { color: var(--rust); }

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: var(--cream); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; color: var(--white); }
.hero__lead { font-size: 20px; line-height: 1.55; color: var(--text-on-dark); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__mark { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; padding: 40px 24px; border: 1px solid var(--border-on-dark); }
.hero__mark svg { width: 260px; max-width: 100%; height: auto; }

/* ---------- Proof stats ---------- */
.stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--rust); }
.stat__label { font-weight: 600; margin-top: 6px; }

/* ---------- Who we help ---------- */
.who { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 88px; padding-bottom: 40px; }
.who__head { flex: 1 1 380px; min-width: 0; }
.who__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Services ---------- */
.services { padding-top: 48px; padding-bottom: 96px; }
.services .section-title { margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card__icon { width: 32px; height: 32px; color: var(--rust); }
.card__title { font-size: 21px; font-weight: 700; }

/* ---------- Packages ---------- */
.packages { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.packages__inner { padding-top: 96px; padding-bottom: 96px; }
.packages__intro { margin: 12px 0 40px; max-width: 680px; }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.package { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.package__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.package__name { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.package__desc { font-size: 15px; color: var(--text-muted); flex-grow: 1; }
.package__link { font-size: 15px; font-weight: 700; color: var(--rust); text-decoration: none; padding: 8px 0; }
.package--featured { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.package--featured .package__tag, .package--featured .package__link { color: var(--gold); }
.package--featured .package__name { color: var(--white); }
.package--featured .package__desc { color: var(--text-on-dark); }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.about__photo { flex: 1 1 340px; min-width: 0; max-width: 460px; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--line); }
.about__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__copy .section-title { margin-top: 0; }
.about__sign { font-family: var(--font-display); font-weight: 600; font-size: 24px; }

/* ---------- Mission & values ---------- */
.values { background: var(--charcoal); color: var(--cream); }
.values__inner { padding-top: 96px; padding-bottom: 96px; }
.mission { margin: 16px 0 56px; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; color: var(--white); max-width: 980px; }
.values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.value { border-top: 2px solid var(--gold); padding-top: 20px; }
.value h3 { margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--white); }
.value p { color: var(--text-on-dark); }

/* ---------- Contact ---------- */
.contact { padding-top: 96px; padding-bottom: 96px; }
.contact__box { background: var(--cream); border: 1px solid var(--line); padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 48px; }
.contact__copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__copy .section-title { margin-top: 0; font-size: clamp(32px, 4.2vw, 44px); }
.contact__direct { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.contact__direct a { text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.form { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form__field--full, .form .btn { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--charcoal);
  padding: 12px; border: 1px solid var(--input-border); border-radius: var(--radius); background: var(--white);
}
.form textarea { resize: vertical; }
.hidden { display: none; }
@media (max-width: 520px) { .contact__box { padding: 32px 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--text-on-dark); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; font-size: 15px; }
.site-footer .logo, .site-footer .logo:hover { color: var(--cream); }
.site-footer .logo__mark { width: 56px; }
.site-footer .logo__name { font-size: 22px; }
.site-footer .logo__sub { font-size: 9px; color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { color: var(--text-on-dark); text-decoration: none; }
.footer__links a:hover { color: var(--white); }
.footer__legal { font-size: 14px; color: var(--text-on-dark-soft); }

/* ---------- Thank-you page ---------- */
.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.thanks__inner { max-width: 560px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.thanks h1 { font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: 1.1; }
.thanks p { font-size: 18px; color: var(--text-muted); }
