/* ============================================================
   SUNSHINE WELLNESS — style.css  (v8)
   Boilerplate: reset + design tokens + base formatting only.
   No components yet — a blank body renders a blank page.

   Token values below are STARTING POINTS aligned to the sage/mint
   brand direction. Adjust freely as the brand is finalized.
   ============================================================ */

/* ---------- 1. Design tokens -------------------------------- */
:root{
  /* Brand colours (seeded from the "Mint" logo option) */
  --color-primary:        #2caf9e;   /* deep mint / teal  */
  --color-primary-deep:   #1f8576;
  --color-primary-soft:   #8bdac0;   /* light mint        */
  --color-surface-tint:   #eff9f6;   /* faint mint wash   */
  --color-mint-surface:   #effbfb;   /* mint section background (cards / about) */

  /* Warm / logo accent — used ONLY by the navbar (and maybe footer).
     Content sections keep the mint --color-primary* tokens above. */
  --color-warm:        #e7942d;   /* amber               */
  --color-warm-deep:   #df4b2e;   /* ember / orange-red  */
  --color-warm-gold:   #fbca48;   /* light gold          */
  --gradient-warm:     linear-gradient(135deg, #fbca48 0%, #f4b63e 100%);  /* logo gold/yellow */

  /* Neutrals */
  --color-bg:        #ffffff;
  --color-surface:   #f6f8f7;
  --color-ink:       #1f2a28;        /* near-black text   */
  --color-muted:     #6b7c76;        /* secondary text    */
  --color-line:      #e4eae7;        /* hairlines/borders */
  --color-white:     #ffffff;
  --color-navy:      #122436;        /* utility bar / dark surfaces */
  --color-navy-deep: #0c1a28;        /* footer */
  --color-green-deep: #123f38;       /* CTA / footer green theme */

  /* Typography — Newsreader (serif display) + Plus Jakarta Sans (body),
     loaded via Google Fonts in index.html; system fonts as fallback. */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale (fluid) */
  --fs-900: clamp(2.5rem, 5.5vw, 3.5rem);
  --fs-800: clamp(2rem, 4vw, 2.5rem);
  --fs-700: clamp(1.5rem, 2.6vw, 2rem);
  --fs-600: 1.5rem;
  --fs-500: 1.25rem;
  --fs-400: 1rem;
  --fs-300: 0.875rem;
  --fs-200: 0.75rem;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius:    1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(31, 42, 40, 0.05);
  --shadow:    0 8px 26px rgba(31, 42, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(31, 42, 40, 0.14);

  /* Layout */
  --container: 1440px;
  --gutter: 1.5rem;
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);

  /* z-index layers */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

/* ---------- 2. Modern reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  overflow-x: clip;                   /* no horizontal scroll (sticky-safe form of overflow:hidden) */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ---------- 3. Base utilities (used once we build sections) -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Screen-reader-only (accessible labels, skip links) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. Accessibility: reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   COMPONENTS — add below as sections are built.
   (header, hero, buttons, cards, footer, …)
   ============================================================ */

/* ---------- Buttons ----------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.btn--primary{
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(44, 175, 158, 0.28);
}
.btn--primary:hover{
  background: var(--color-primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 175, 158, 0.34);
}
/* Warm variant — the navbar CTA (logo-themed) */
.btn--warm{
  background: var(--gradient-warm);
  color: var(--color-navy);                          /* dark text for contrast on gold */
  box-shadow: 0 6px 18px rgba(244, 182, 62, 0.34);
}
.btn--warm:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(244, 182, 62, 0.42);
}
/* Outline (secondary) — mint, for content sections */
.btn--outline{
  background: transparent;
  color: var(--color-primary-deep);
  border-color: var(--color-primary);
}
.btn--outline:hover{
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 175, 158, 0.22);
}
/* Larger size for hero / section CTAs */
.btn--lg{
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* ---------- Top utility bar (not sticky) -------------------- */
.utility-bar{
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}
.utility-bar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}
.utility-bar__item{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}
.utility-bar__item:hover{ color: var(--color-white); }
.utility-bar__item svg{ color: var(--color-warm-gold); flex: none; }

/* ---------- Header / main navbar (sticky) ------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled{
  box-shadow: 0 6px 24px rgba(31, 42, 40, 0.08);
}

/* Flex space-between: brand left, links in the middle, actions right.
   The gap guarantees the links never butt against the logo or the CTA. */
.site-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Brand (logo mark + Newsreader wordmark) */
.brand{
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand__mark{ height: 44px; width: auto; }
.brand__name{
  font-family: var(--font-body);          /* Plus Jakarta Sans */
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  color: var(--color-ink);
  white-space: nowrap;
}
/* Enlarged initial caps (the S and W), echoing the original wordmark */
.brand__cap{
  font-size: 1.24em;
  font-weight: 700;
}

/* Centred nav links with a centre-out underline on hover */
.nav-links{
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-ink);
  padding: 0.4rem 0;
  transition: color var(--transition);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-warm-deep);   /* red underline, matching the links */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.is-active{ color: var(--color-warm-deep); }
.nav-links a:hover::after,
.nav-links a.is-active::after{ transform: scaleX(1); }

/* Right-side actions */
.nav-actions{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger toggle — hidden on desktop, shown ≤767.98px (mobile.css) */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bar{
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform var(--transition), opacity var(--transition);
}
.site-header.nav-open .nav-toggle__bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle__bar:nth-child(2){ opacity: 0; }
.site-header.nav-open .nav-toggle__bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile slide-out menu --------------------------- */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;                   /* clip the off-screen panel (no stray scrollbar) */
  visibility: hidden;                 /* inert until opened (desktop never opens it) */
  pointer-events: none;
}
.mobile-menu.is-open{
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(18, 36, 54, 0.5);
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-menu.is-open .mobile-menu__backdrop{ opacity: 1; }
.mobile-menu__panel{
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  height: 100dvh;
  padding: 1.25rem 1.75rem 2rem;
  background: var(--color-bg);
  box-shadow: -12px 0 44px rgba(18, 36, 54, 0.2);
  transform: translateX(100%);        /* off-screen to the right */
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel{ transform: translateX(0); }
.mobile-menu__close{
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-ink);
  cursor: pointer;
}
.mobile-menu__links{
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0 0;
}
.mobile-menu__links a{
  display: block;
  padding: 1rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
  transition: color var(--transition);
}
.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible{ color: var(--color-warm-deep); }
.mobile-menu__cta{ margin-top: 1.75rem; }

/* ---------- Eyebrow (shared section label) ------------------ */
.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ---------- Hero -------------------------------------------- */
.hero{
  background: var(--color-bg);   /* solid white — no gradient */
  overflow: hidden;              /* clip the rotated blob */
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.75rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(15rem, 19vw, 18rem);  /* clearance for the overlapping cards + wave */
}

/* Left — copy */
.hero__title{
  font-size: clamp(2.75rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1.25rem;
}
.hero__accent{
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__subtext{
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Right — media */
.hero__media{ position: relative; }
.hero__blob{
  position: absolute;
  inset: -1.5rem -1.5rem auto auto;
  width: 88%;
  height: 104%;
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  transform: rotate(3deg);
  opacity: 0.5;
  z-index: 0;
}
/* Single hero image (temp). Re-enable the slideshow block below when 3 final photos are ready. */
.hero__img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== DISABLED: crossfade slideshow — re-enable when 3 images are ready =====
   (also un-comment the .hero__slideshow markup in index.html)

.hero__slideshow{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: heroSlideshow 18s infinite;
}
.hero__slide:nth-child(1){ animation-delay: 0s; }
.hero__slide:nth-child(2){ animation-delay: 6s; }
.hero__slide:nth-child(3){ animation-delay: 12s; }
@keyframes heroSlideshow{
  0%     { opacity: 0; }
  5.56%  { opacity: 1; }
  33.33% { opacity: 1; }
  38.89% { opacity: 0; }
  100%   { opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero__slide{ animation: none; }
  .hero__slide:first-child{ opacity: 1; }
}
============================================================================ */
.hero__chip{
  position: absolute;
  left: -1.25rem;
  bottom: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.15rem;
}
.hero__chip-ic{
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-surface-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__chip-text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero__chip-num{
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
}
.hero__chip-label{
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* ---------- Quick cards (bridges white hero → mint about) --- */
.quick-cards{
  position: relative;                 /* positioning context for the wave */
  background: var(--color-mint-surface);
  display: flow-root;                 /* contains the cards' negative margin */
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
/* Wavy top edge — mint rises into the white hero (shapedivider.app) */
.quick-cards__wave{
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);           /* sit just above the section (1px overlap, no seam) */
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);          /* solid edge meets the mint, crests point up */
  pointer-events: none;
}
.quick-cards__wave svg{
  position: relative;
  display: block;
  width: calc(136% + 1.3px);
  height: 126px;
}
.quick-cards__wave-fill{ fill: var(--color-mint-surface); }
.quick-cards__inner{
  margin-top: -150px;                 /* pull up over the white hero (above the wave) */
  position: relative;
  z-index: 2;
}
/* Featured single welcome card — left-aligned (zigzags with hero/about images) */
.welcome-card{
  position: relative;                 /* for the ribbon + absolute image */
  width: 1000px;
  max-width: 100%;
  margin-inline: auto;                /* centered */
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.welcome-card__img{
  position: absolute;                 /* image fills the left; text sets the height */
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}
.welcome-card__body{
  margin-left: 400px;                 /* clear the image */
  padding: clamp(2rem, 3.5vw, 3rem);
}
.welcome-card__badge{
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.welcome-card__title{
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--color-ink);
  margin-bottom: 0.6rem;
}
.welcome-card__text{
  font-size: 1.02rem;
  color: var(--color-muted);
  margin-bottom: 1.1rem;
}
.welcome-card__link{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-deep);
  transition: color var(--transition);
}
.welcome-card__link:hover{ color: var(--color-primary); }
.welcome-card__link span{ transition: transform var(--transition); }
.welcome-card__link:hover span{ transform: translateX(4px); }
/* Corner ribbon — same style as Caleb's team card */
.welcome-card__ribbon{
  position: absolute;
  top: 47px;
  right: -54px;
  z-index: 4;
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 62px;
  box-shadow: 0 4px 12px rgba(31, 42, 40, 0.18);
}
/* Card is NOT a link — only .qcard__link is clickable */
.qcard{
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
}
.qcard__ic{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-surface-tint);
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}
.qcard__title{
  font-size: 1.3rem;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}
.qcard__text{
  flex: 1;                            /* bottom-aligns the links across cards */
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}
.qcard__link{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-deep);
  transition: color var(--transition);
}
.qcard__link:hover{ color: var(--color-primary); }
.qcard__arrow{ transition: transform var(--transition); }
.qcard__link:hover .qcard__arrow{ transform: translateX(4px); }

/* ---------- About / Welcome -------------------------------- */
.about{
  background: var(--color-mint-surface);
  padding-top: clamp(3rem, 5vw, 4rem);      /* tighter gap to the cards above */
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.about__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;                 /* big image top-aligns with the text */
}

/* Left — copy */
.about__title{
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--color-ink);
  margin: 0.25rem 0 1.5rem;
}
.about__text p{
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  color: var(--color-muted);
  margin-bottom: 1.1rem;
}
.about__text p:last-child{ margin-bottom: 0; }
.about__divider{
  border: 0;
  border-top: 1px solid var(--color-line);
  margin: 1.85rem 0 1.3rem;
}
.about__signature{ display: flex; align-items: center; gap: 1rem; }
.about__avatar{
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.about__sig-text{ display: flex; flex-direction: column; gap: 0.15rem; }
.about__name{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-ink);
}
.about__role{
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-deep);
}

/* Right — big image with a smaller one over its bottom-left corner */
.about__media{ position: relative; }
.about__img-main{
  width: 85%;
  margin-left: auto;                  /* a bit smaller, aligned to the right edge */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about__img-sub{
  position: absolute;
  left: -2rem;
  bottom: -1.5rem;
  width: 42%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-mint-surface);   /* mint gap separates it from the big image */
}

/* ---------- Why Us (own grey section) ---------------------- */
.why{
  position: relative;
  background: var(--color-white);             /* normal white */
  padding-top: clamp(7.5rem, 11vw, 9.5rem);   /* clears the wave divider on top */
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
/* Wavy top edge — mint (from About) flows down into the grey */
.why__divider{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.why__divider svg{
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 137px;
}
.why__divider-fill{ fill: var(--color-mint-surface); }
.why__head{
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.why__title{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--color-ink);
  margin: 0.25rem 0 0.75rem;
}
.why__subtext{
  font-size: 1.1rem;
  color: var(--color-muted);
}
.why__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card{
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.25rem 1.6rem;
  text-align: center;                 /* v7-style centered content */
}
.why-card__ic{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;                 /* circular, like v7 */
  background: var(--color-surface-tint);
  color: var(--color-primary);
  margin: 0 auto 1.2rem;              /* centered */
}
.why-card__title{
  font-size: 1.2rem;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}
.why-card__text{
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* ---------- Services --------------------------------------- */
.services{
  background: var(--color-white);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.services .container{ max-width: 1280px; }     /* narrower than the standard 1440 */
.services__head{
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.services__title{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--color-ink);
  margin: 0.25rem 0 0.75rem;
}
.services__subtext{
  font-size: 1.1rem;
  color: var(--color-muted);
}
.services__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;               /* both cards match the taller one's height */
}

/* Big service card */
.service-card{
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.service-card__title{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--color-ink);
  margin-bottom: 0.4rem;
}
.service-card__badge{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface-tint);
  color: var(--color-primary);
}
.service-card__lead{
  color: var(--color-muted);
  font-size: 1rem;
}
.service-card__img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.25rem 0;
}

/* Expandable mini-cards (accordion) */
.svc-acc{ display: flex; flex-direction: column; gap: 0.7rem; }
.svc-acc__divider{
  height: 0;
  border: 0;
  border-top: 1px solid var(--color-line);
  margin: 0;
}
.svc-acc__item{
  background: var(--color-surface);           /* gray */
  border: 1px solid var(--color-line);
  border-radius: 26px;                        /* pill when collapsed, rounded card when open */
  overflow: hidden;
  cursor: pointer;                            /* whole card toggles, not just the header */
  transition: border-color var(--transition);
}
.svc-acc__item:hover,
.svc-acc__item.is-open{ border-color: var(--color-primary); }
.svc-acc__trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.svc-acc__title{
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-ink);
}
.svc-acc__icon{
  flex: none;
  display: flex;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.svc-acc__item.is-open .svc-acc__icon{ transform: rotate(45deg); }   /* + becomes x */
.svc-acc__panel{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.svc-acc__item.is-open .svc-acc__panel{ grid-template-rows: 1fr; }
.svc-acc__panel-inner{ overflow: hidden; }
.svc-acc__panel-inner p{
  padding: 0 1.4rem 1.05rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* ---------- Meet the Team ---------------------------------- */
.team{
  background: var(--color-surface);           /* grayish */
  padding-block: clamp(4rem, 8vw, 7rem);
}
.team .container{ max-width: 1280px; }         /* narrower, like services */
.team__head{
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.team__title{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--color-ink);
  margin: 0.25rem 0 0.75rem;
}
.team__subtext{
  font-size: 1.1rem;
  color: var(--color-muted);
}
.team__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;                        /* equal-height cards */
}
.team-card{
  position: relative;                          /* for the ribbon */
  overflow: hidden;                            /* clips the ribbon to the corner */
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.team-card__photo{
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 1rem 0 1.25rem;
}
.team-card__name{
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}
.team-card__role{
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-deep);
  margin-bottom: 1.1rem;
}
.team-card__text{ margin-bottom: 1.5rem; }
.team-card__text p{
  font-size: 0.98rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}
.team-card__text p:last-child{ margin-bottom: 0; }
.team-card .btn{
  margin-top: auto;                            /* pins the button to the bottom */
  align-self: flex-start;
}
/* Caleb's corner ribbon */
.team-card__ribbon{
  position: absolute;
  top: 47px;
  right: -54px;
  z-index: 3;
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 62px;
  box-shadow: 0 4px 12px rgba(31, 42, 40, 0.18);
}

/* ---------- Visit / Contact -------------------------------- */
.visit{
  background: var(--color-white);             /* plain white */
  padding-block: clamp(4rem, 8vw, 7rem);
}
.visit__head{ margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.visit__title{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--color-ink);
  margin-top: 0.25rem;
}
.visit__grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: stretch;
}
.info-list{ list-style: none; }
.info-list li{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-line);
}
.info-list li:first-child{ padding-top: 0; }
.info-ic{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface-tint);
  color: var(--color-primary);
}
.info-k{
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 3px;
}
.info-v{ font-size: 1.05rem; color: var(--color-ink); }
a.info-v:hover{ color: var(--color-primary-deep); }
.visit__info .btn{ margin-top: 1.75rem; }
.visit__map{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
  min-height: 420px;
}
.visit__map iframe{
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ---------- CTA band --------------------------------------- */
.btn--ghost-light{
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover{
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}
/* Navy outline — for the Call button on the light mint CTA */
.btn--outline-navy{
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline-navy:hover{
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}
.cta{
  position: relative;
  overflow: hidden;
  background: var(--color-mint-surface);
  color: var(--color-ink);
}
.cta__wave{                                   /* white (visit) waves down into the green */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}
.cta__wave svg{
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 137px;
}
.cta__wave-fill{ fill: var(--color-white); }
.cta__mark{                                   /* faint Sunshine logo accent, right side */
  position: absolute;
  top: 85%;
  right: -41px;
  transform: translateY(-50%);
  width: 440px;
  max-width: none;
  opacity: 0.1;
  pointer-events: none;
}
.cta .container{ position: relative; z-index: 1; }
.cta__copy{
  max-width: 620px;
  padding-top: clamp(7rem, 11vw, 9rem);       /* clears the wave on top */
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}
.cta__title{
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-ink);
  margin-bottom: 1rem;
}
.cta__text{
  font-size: 1.15rem;
  color: rgba(31, 42, 40, 0.78);
  max-width: 540px;
  margin-bottom: 2rem;
}
.cta__actions{ display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Footer ----------------------------------------- */
.site-footer{
  background: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.82);
}
.foot-top{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(3.5rem, 7vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3rem);
}
.foot-logo{
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.foot-logo__mark{ height: 46px; width: auto; }
.foot-logo__name{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
}
.foot-brand__tag{
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-warm-gold);              /* warm accent (gold) */
  margin-bottom: 0.9rem;
}
.foot-brand__desc{
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
}
.foot-col h5{
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.foot-col ul{ list-style: none; }
.foot-col li{ margin-bottom: 0.7rem; font-size: 0.95rem; line-height: 1.5; }
.foot-col a{ transition: color var(--transition); }
.foot-col a:hover{ color: var(--color-warm-gold); }   /* warm hover */
.foot-bottom{
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.3rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
