/* =================================================================
   DESTINATION CRAFTED — styles.css
   A single, no-build stylesheet. Edit brand tokens in ONE place
   (the :root block right below) and everything updates.
   -----------------------------------------------------------------
   Contents
   01. Brand tokens (:root)        06. Header / nav
   02. Reset + base                07. Sections 1–6
   03. Typography + helpers        08. Footer
   04. Layout (container/reveal)   09. Accessibility + motion
   05. Buttons                     10. Responsive
   ================================================================= */


/* =================================================================
   01. BRAND TOKENS  — change colors / fonts here
   ================================================================= */
:root {
  /* --- Core brand colors (from the brand sheet) --- */
  --bronze: #B87333;   /* primary accent · CTA buttons · graphics */
  --navy:   #1A2332;   /* primary dark · headings · dark sections */
  --cream:  #FEFDFB;   /* page background */

  /* --- Derived shades (kept AA-accessible — see ratios) --- */
  --bronze-deep: #A5642B;  /* button hover */
  --bronze-ink:  #985826;  /* small bronze TEXT on light  (5.5:1 on cream) */
  --brass:       #CD8A4E;  /* bronze accents/links on NAVY (5.5:1 on navy) */
  --ink:         #14181F;  /* text ON bronze buttons       (4.7:1 on bronze) */
  --navy-deep:   #141B27;  /* deepest dark — footer */
  --navy-muted:  #3E4A5A;  /* secondary text on light (8.9:1 on cream) */
  --cream-muted: #BFC4CC;  /* secondary text on dark  (9.0:1 on navy)  */
  --linen:       #F6F1E8;  /* warm tint section background */
  --line:        rgba(26, 35, 50, 0.12);   /* hairline on light */
  --line-dark:   rgba(254, 253, 251, 0.14); /* hairline on dark  */

  /* --- Typography --- */
  --font-brand: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Display serif for big headings only (hero H1 + section titles).
     To revert everything to Poppins, change this one line to: var(--font-brand) */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* --- Spacing / sizing --- */
  --container: 1180px;
  --pad-inline: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --nav-h: 4.5rem;
  --radius: 14px;
  --radius-sm: 9px;

  /* --- Effects --- */
  --shadow-sm: 0 1px 3px rgba(20, 27, 39, 0.06), 0 6px 18px rgba(20, 27, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 27, 39, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 27, 39, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.25s var(--ease);
}


/* =================================================================
   02. RESET + BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, not hidden — avoids creating a scroll container that breaks position:sticky */
}

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

a { color: var(--bronze-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }

button { font: inherit; color: inherit; }

/* The HTML [hidden] attribute must always win over any later display rule. */
[hidden] { display: none !important; }


/* =================================================================
   03. TYPOGRAPHY + HELPERS
   ================================================================= */
h1, h2, h3 { font-weight: 700; line-height: 1.1; color: var(--navy); letter-spacing: -0.01em; }

.lead { font-size: clamp(1.1rem, 1rem + 0.7vw, 1.35rem); line-height: 1.6; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-ink);
  margin-bottom: 1rem;
}
.eyebrow--on-dark { color: var(--brass); }
.eyebrow__star { width: 0.95em; height: 0.95em; }
/* Hero eyebrow: two deliberate lines. The "+" mark leads the first line; the
   second line keeps each place-name intact ("Central Florida" / "Remote
   Nationwide") and wraps only between them on very narrow screens — so it never
   forces horizontal overflow. Scoped to .eyebrow--stack; other eyebrows untouched. */
.eyebrow--stack { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; line-height: 1.35; }
.eyebrow__lead { display: inline-flex; align-items: center; gap: 0.55rem; }
.eyebrow__nw { white-space: nowrap; }

/* Inline text link */
.link { color: var(--bronze-ink); font-weight: 600; text-decoration: underline; }
.link:hover { color: var(--bronze-deep); }

/* Generic icon sizing (line-art) */
.ic {
  width: 1.25em; height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ic--solid { fill: currentColor; stroke: none; }


/* =================================================================
   04. LAYOUT — container, sections, scroll-reveal
   ================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.section { padding-block: var(--section-y); }

.section__head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
}

/* Scroll reveal — only active when JS is on (.js set on <html>), so the
   page is fully visible if scripts are disabled or fail to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Stagger grouped children */
.problem__grid .is-visible,
.pillars .is-visible { transition-delay: calc(var(--i, 0) * 90ms); }


/* =================================================================
   05. BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t), color var(--t);
}
.btn--primary {
  background: var(--bronze);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--bronze-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--lg { padding: 1.1rem 1.85rem; font-size: 1.0625rem; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }

.btn__icon { width: 1.15em; height: 1.15em; transition: transform var(--t); }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(3px); }
.btn:hover .btn__icon--lead { transform: translateY(-1px); }


/* =================================================================
   06. HEADER / STICKY NAV
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 253, 251, 0.9); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20, 27, 39, 0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__name {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
}

/* Desktop links */
.nav__links { display: flex; align-items: center; gap: 0.4rem; list-style: none; }
.nav__links a:not(.btn) {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t), background var(--t);
}
.nav__links a:not(.btn):hover { color: var(--bronze-ink); background: color-mix(in srgb, var(--bronze) 9%, transparent); }
.nav__links a[aria-current="true"]:not(.btn) { color: var(--bronze-ink); }
.nav__cta { margin-left: 0.4rem; }

/* Mobile toggle (hidden on desktop) */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  cursor: pointer;
}
.nav__toggle .ic { width: 1.5em; height: 1.5em; }
.nav__toggle .ic-close { display: none; }
.nav__toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav__toggle[aria-expanded="true"] .ic-close { display: block; }


/* =================================================================
   07. SECTION 1 — HERO
   ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(120% 115% at 86% 8%, rgba(184, 115, 51, 0.26), transparent 56%),
    radial-gradient(90% 90% at 8% 96%, rgba(184, 115, 51, 0.10), transparent 52%),
    var(--navy);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--cream);
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 18ch;          /* constrain so the last line isn't an orphan */
  text-wrap: balance;        /* even line lengths in supporting browsers */
}
.hero__subhead { color: var(--cream-muted); max-width: 38rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

/* Credibility strip */
.cred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 0.4rem;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream-muted);
}
.cred li { display: inline-flex; align-items: center; }
/* Bronze dot between items. The dot is a TRAILING pseudo-element, so a wrapped
   line never starts with a stray dot — it reads as one clean, anchored row. */
.cred li:not(:last-child)::after {
  content: "";
  flex: none;
  width: 4px; height: 4px;
  margin-inline: 0.8rem;
  border-radius: 50%;
  background: var(--bronze);
}

/* Hero brand mark figure */
.hero__figure { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute;
  inset: 0; margin: auto;                 /* center within the figure */
  width: 118%; aspect-ratio: 1;            /* larger, anchors the mark */
  background: radial-gradient(circle,
    rgba(184, 115, 51, 0.40) 0%,
    rgba(184, 115, 51, 0.14) 42%,
    transparent 72%);
  filter: blur(48px);                      /* softer */
}
.hero__mark {
  position: relative;
  width: min(100%, 560px);                 /* noticeably larger */
  height: auto;
  /* Transparent PNG — sits directly on the navy, anchored ONLY by .hero__glow. */
}


/* =================================================================
   07. SECTION 2 — SOUND FAMILIAR? (problem)
   ================================================================= */
.problem { background: var(--cream); }
.problem__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.problem__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.problem__card p { font-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--navy); }
.problem__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 0.7;
  color: var(--bronze);
  margin-top: 0.35rem;
}
.problem__bridge {
  max-width: 46rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}
.problem__bridge::before {
  content: "";
  display: block;
  width: 48px; height: 3px;
  margin: 0 auto 1.5rem;
  border-radius: 3px;
  background: var(--bronze);
}


/* =================================================================
   07. SECTION 3 — WHAT I DO (approach)
   ================================================================= */
.approach { background: var(--linen); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  color: var(--bronze-ink);
  background: color-mix(in srgb, var(--bronze) 14%, transparent);
}
.pillar__icon .ic { width: 1.6rem; height: 1.6rem; }
.pillar__title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.pillar p { color: var(--navy-muted); }

/* Model statement — dark callout */
.model {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.model__text { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem); font-weight: 500; line-height: 1.55; max-width: 60ch; }
.model .btn { justify-self: start; }


/* =================================================================
   07. SECTION 4 — WHY ME
   ================================================================= */
.why { background: var(--navy); color: var(--cream); }
.why .section__title { color: var(--cream); }
.why__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* Story timeline */
.story { list-style: none; }
.story__item {
  position: relative;
  margin-left: 0.5rem;
  padding: 0 0 1.85rem 2.1rem;
  border-left: 2px solid rgba(184, 115, 51, 0.4);
  color: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.story__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.story__item::before {
  content: "";
  position: absolute;
  left: -8px; top: 0.35rem;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px var(--navy);
}

/* Stat blocks */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1rem);
}
.stat {
  text-align: center;
  padding: clamp(1.25rem, 3vw, 1.75rem) 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(254, 253, 251, 0.035);
}
.stat__num {
  display: block;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1;
  color: var(--bronze);
  letter-spacing: -0.01em;
}
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}


/* =================================================================
   07. SECTION 5 — LET'S TALK (contact)
   ================================================================= */
.contact { background: var(--cream); }
.contact__inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.contact__subcopy {
  color: var(--navy-muted);
  max-width: 34rem;
  margin: 1rem auto 2.25rem;
  font-size: 1.0625rem;
}
/* Contact options: primary booking button, then a direct email below.
   Plain centered block flow (not a flex column) so the email line WRAPS
   instead of being forced to one line and overflowing narrow screens. */
.contact__email {
  margin-top: 1.25rem;
  color: var(--navy-muted);
  font-size: 1rem;
  overflow-wrap: break-word;
}


/* =================================================================
   08. FOOTER
   ================================================================= */
.footer { background: var(--navy-deep); color: var(--cream-muted); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2.75rem, 6vw, 4rem) 2rem;
}
.brand--footer .brand__name { color: var(--cream); font-size: 1.18rem; }
.brand--footer { margin-bottom: 1rem; }
.footer__tagline { max-width: 30rem; color: var(--cream-muted); margin-bottom: 0.85rem; }
.footer__loc { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--cream-muted); }
.footer__loc .ic { width: 1.1em; height: 1.1em; color: var(--brass); }

.footer__links { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brass);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t);
}
.footer__links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer__links .ic { width: 1.2em; height: 1.2em; }

.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; }
.footer__bottom p { font-size: 0.85rem; color: var(--cream-muted); }


/* =================================================================
   09. ACCESSIBILITY + MOTION
   ================================================================= */
/* Skip link */
.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform var(--t);
}
.skip-link:focus-visible { transform: none; }

/* Visible focus for keyboard users */
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 3px; }
.btn--primary:focus-visible { outline-color: var(--ink); }
.hero :focus-visible,
.why :focus-visible,
.footer :focus-visible { outline-color: var(--brass); }

/* Respect reduced-motion preferences */
@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;
  }
  .js .reveal { opacity: 1; transform: none; }
}


/* =================================================================
   10. RESPONSIVE
   ================================================================= */

/* Tablet ----------------------------------------------------------*/
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__mark { width: min(58%, 280px); }
  /* keep the glow a tight halo (not a wide panel) when the figure is full-width */
  .hero__glow { width: min(82%, 340px); filter: blur(34px); }
  .why__grid { grid-template-columns: 1fr; }
}

/* Mobile nav ------------------------------------------------------*/
@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem var(--pad-inline) 1.5rem;
    background: var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .nav__links[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 0.85rem 0.75rem; font-size: 1.05rem; border-radius: 10px; }
  .nav__cta { margin: 0.5rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* Small phones ----------------------------------------------------*/
@media (max-width: 560px) {
  .problem__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; gap: 1.5rem; }
}
