/* assets/style.css
   Streamlined + site-wide banner header
   (removes old home-grid / hero-top / hero-banner leftovers)
*/

/* -------------------------
   Theme variables
   ------------------------- */
:root {
  color-scheme: light;

  /* Base neutrals */
  --bg: #fbf7f2;        /* warm paper */
  --card: #fffdf9;      /* card surface */
  --border: #e6dfd5;    /* warm stone line */

  /* Text (soft, not black) */
  --text: #4a4a46;      /* warm gray */
  --muted: #7a7f75;     /* gentle leaf-gray */

  /* Accents */
  --accent: #57523b;    /* bark */
  --link: #5f7f95;      /* sky (links) */

  /* Warm interaction tints */
  --tint: rgba(195, 177, 174, 0.16);
  --tint-strong: rgba(195, 177, 174, 0.26);

  /* Banner backing */
  --hero-bg: #d9e1ef;   /* sunlit blue-white */
}

/* -------------------------
   Base layout + typography
   ------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, serif; /* body = serif */
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 18px 56px;
}

main { margin-top: 26px; }

h1, h2, h3 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 650;
  color: #3f3f3b;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 24px;
  margin: 0 0 10px;
}

h3 {
  font-size: 16px;
  margin: 22px 0 8px;
}

p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: var(--text);
}

.muted { color: var(--muted); }

.fine {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.spacer { height: 28px; }

.hr {
  height: 1px;
  background: var(--border);
  margin: 26px 0;
}

footer {
  margin-top: 56px;
  color: var(--muted);
  font-size: 14px;
}

/* -------------------------
   Links + CTAs
   ------------------------- */
a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 127, 149, 0.25);
  padding-bottom: 2px;
}

a:hover {
  border-bottom-color: rgba(95, 127, 149, 0.65);
}

/* CTA buttons (no underline ever) */
.cta {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;

  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 12px;

  border: 1px solid rgba(87, 82, 59, 0.28);
  color: var(--accent);
  background: var(--tint);
  text-decoration: none;
}

.cta:hover {
  background: var(--tint-strong);
  border-color: rgba(87, 82, 59, 0.45);
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta,
.cta:hover,
.cta:visited,
.cta:active {
  text-decoration: none;
}

/* -------------------------
   Cards (used across site)
   ------------------------- */
.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--card);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.03),
    0 8px 24px rgba(0,0,0,0.04);
}

/* Home sections (no card look on home page) */
.home-section {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.home-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.home-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------
   Site-wide banner header
   ------------------------- */

/* Default banner (ALL pages use the photo) */
.banner {
  position: relative;
  width: 100%;
  min-height: 380px;            /* TALL again */
  background: var(--hero-bg);
  overflow: hidden;
}

/* Photo banner on all pages */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("home-hero.JPG"); /* relative to assets/style.css */
  background-size: cover;
  background-position: center 10%;         /* show more top */
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.03);
  z-index: 0;
}

/* Veil for readability (all pages) */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 18, 16, 0.46),
      rgba(20, 18, 16, 0.16) 55%,
      rgba(20, 18, 16, 0.00) 82%
    );
  z-index: 1;
}

.banner__wrap {
  position: relative;
  z-index: 2;
  padding-top: 22px;
  padding-bottom: 18px;
}

.site-header {
  position: relative;
  margin: 0;
  min-height: 120px;
}

/* Nav: top-right */
.site-nav {
  position: absolute;
  top: 0;
  right: 0;

  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  margin: 0;
}

/* Brand: centered */
.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 100px;
}

.banner .site-title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 650;
  font-size: 54px;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;

  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

.site-subtitle {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.90);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* Banner nav links (white) */
.banner .site-nav a {
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding-bottom: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.banner .site-nav a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.60);
}

/* Space below banner */
.banner + .wrap {
  padding-top: 26px;
}

/* -------------------------
   About page
   ------------------------- */
.bio {
  margin-top: 18px;
}

.bio img.photo {
  display: block;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-top: 10px;
}

/* About: align photo + CTAs without hard-coding widths */
.bio-media {
  display: inline-block;  /* shrink-wrap to the photo width */
  max-width: 100%;
}

.bio .bio-media .cta-row {
  justify-content: flex-start;
}

.quotes {
  margin-top: 22px;
  font-style: italic;
  color: var(--muted);
  border-left: 4px solid var(--border);
  padding-left: 12px;
}

/* -------------------------
   About page: two-up layout
   ------------------------- */

.about-page .wrap {
  max-width: 1120px; /* wider page just for About */
}

/* remove the home-section 720px cap on About */
.about-page .home-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* stop centering the h2s on About */
.about-page .home-section h2 {
  text-align: left;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

/* side-by-side on larger screens */
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 110px;
  }
}

/* About: more breathing room under the name */
.about-page .home-section.bio h2 {
  margin-bottom: 18px; /* try 16–28px */
}

/* -------------------------
   Services page
   ------------------------- */
.provider {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.03),
    0 8px 24px rgba(0,0,0,0.04);
}

.provider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.provider-name {
  font-size: 22px;
  margin: 0;
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pill {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;

  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--tint);
  padding: 6px 10px;
  border-radius: 999px;
}

.offerings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 860px) {
  .offerings { grid-template-columns: 1fr 1fr; }
}

.offering {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.offering-title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 650;
  margin: 0 0 6px;
}

.price {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 650;
  color: #3a3936;
}

/* -------------------------
   Mobile tuning
   ------------------------- */
@media (max-width: 860px) {
  .wrap {
    padding: 34px 16px 48px;
  }

  main { margin-top: 22px; }

  h2 { font-size: 19px; }

  h3 {
    font-size: 15px;
    margin: 18px 0 8px;
  }

  p {
    font-size: 16px;
    line-height: 1.85;
  }

  .card,
  .provider {
    padding: 16px;
    border-radius: 16px;
  }

  .offering { padding: 13px; }

  .cta-row { gap: 10px; }

  .cta {
    padding: 10px 13px;
    font-size: 15px;
  }

  .pill {
    font-size: 12.5px;
    padding: 6px 9px;
  }

  /* Banner on mobile */
  .banner { min-height: 300px; }

  .banner__wrap {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .site-header {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .site-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* <-- this is the key */
    padding-top: 0;          /* stop fighting it */
  }

  .banner .site-title { font-size: 40px; }
  .site-subtitle { font-size: 16.5px; }
  .site-nav { gap: 12px; top: 10px; }
}

@media (max-width: 420px) {
  .banner .site-title { font-size: 32px; }
  .site-subtitle { font-size: 15.5px; }
  p { font-size: 15.5px; }
  .cta { font-size: 14.5px; }
  .site-nav a { font-size: 14.5px; }
}