/* GrowWise Systems — main stylesheet
   Brand: Plus Jakarta Sans, teal family from the logo (#102327 / #1D444B),
   pale mint reverse colour, orange-red action accent (darkened for contrast). */

:root {
  /* REPLACEABLE IMAGES */
  --img-brandmark: url("../brandmark.svg");
  /* end REPLACEABLE IMAGES */

  /* Brand colours (from the logo and the original site) */
  --ink: #102327;          /* wordmark, body text */
  --teal-900: #1B3C43;     /* header / hero background, headings */
  --teal-800: #1D444B;     /* brandmark */
  --teal-600: #326E7B;     /* mid teal: links, icons */
  --teal-300: #8FB3B9;     /* light step of mid teal (on dark) */
  --teal-100: #DCE8EA;     /* pale step of mid teal */
  --mint: #D2E4C7;         /* reverse colour (LinkedIn badge) */
  --mint-50: #EEF5EA;      /* lighter step of mint */
  --grey: #E6E7E8;
  --grey-50: #F4F5F5;
  --white: #ffffff;
  --action: #C93A1F;       /* #EB4C30 darkened: 5.1:1 with white */
  --action-dark: #A93017;
  --action-on-dark: #F07A63; /* lighter step for small accents on teal */

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4rem, 3rem + 4vw, 7rem);

  --radius: 14px;
  --radius-lg: 24px;
  --wrap: 1180px;
  --shadow: 0 18px 40px -18px rgba(16, 35, 39, 0.35);
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .on-dark :focus-visible, .bg-dark :focus-visible { outline-color: var(--mint); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; color: var(--teal-900); margin: 0 0 var(--space-2); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.25rem; }
strong { font-weight: 800; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.center { text-align: center; margin-inline: auto; }
.lead { font-size: var(--step-1); line-height: 1.55; }
.muted { color: #4F6B70; }
.small { font-size: var(--step--1); }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons (one CTA style site-wide) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1.2 var(--font);
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--action); color: var(--white); }
.btn-primary:hover { background: var(--action-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal-900); border-color: currentColor; }
.btn-ghost:hover { background: var(--teal-900); color: var(--white); border-color: var(--teal-900); }
.on-dark .btn-ghost { color: var(--white); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--teal-900); border-color: var(--white); }
.btn-small { padding: .65rem 1.15rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: var(--space-3); }
.btn-note { font-size: var(--step--1); margin: .75rem 0 0; opacity: .85; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal-900); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; padding: .5rem 0; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.4rem; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--mint); color: var(--white); }
.site-nav .nav-cta a { border: 0; padding: .65rem 1.15rem; }
.site-nav .nav-cta a:hover { border: 0; }

@media (max-width: 959px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,.4); border-radius: 999px; padding: .5rem 1rem; font: 600 .9375rem var(--font); cursor: pointer;
  }
  .nav-toggle .bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
  .nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { width: 100%; padding-bottom: 1rem; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .nav-cta { margin-top: 1rem; }
  .site-nav .nav-cta a { display: flex; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 1.2rem; }
  .no-js .site-nav li a { border-bottom: 0; }
}
@media (min-width: 960px) and (max-width: 1099px) { .header-phone { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section-tight { padding-block: var(--space-5); }
.bg-dark { background: var(--teal-900); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark a:not(.btn), .on-dark a:not(.btn) { color: var(--mint); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-grey { background: var(--grey-50); }
.bg-mint { background: var(--mint-50); }
.section-head { max-width: 44rem; margin-bottom: var(--space-4); }
.section-head.center { text-align: center; }
.aside-note { font-style: italic; color: var(--teal-600); font-weight: 600; }
.bg-dark .aside-note { color: var(--mint); }

/* ---------- Hero ---------- */
.hero { background: var(--teal-900); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; padding-block: var(--space-5) var(--space-6); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { color: #E3EEEC; max-width: 38rem; }
.hero-audience { display: inline-block; color: var(--mint); font-weight: 600; margin-bottom: var(--space-2); }
.hero-figure { position: relative; margin: 0 auto; max-width: 420px; width: 100%; }
.hero-figure::before {
  /* the brandmark, echoed once behind Mike's photo */
  content: ""; position: absolute; inset: -6% -22% auto -30%; aspect-ratio: 378 / 264;
  background: var(--img-brandmark) no-repeat center / contain; opacity: .55; z-index: 0;
}
.hero-figure img { position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.hero-figure figcaption { position: relative; z-index: 1; margin-top: .9rem; font-size: var(--step--1); color: #CFE0DC; text-align: center; }
.hero-figure figcaption strong { color: var(--white); display: block; font-size: 1rem; }
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: var(--space-5); }
}
@media (max-width: 879px) {
  /* phone: Mike's photo becomes a byline above the headline, so it is in the first screen */
  .hero-grid { gap: var(--space-3); padding-top: var(--space-4); }
  .hero-figure { order: -1; display: flex; align-items: center; gap: 1rem; max-width: none; margin: 0; }
  .hero-figure::before { display: none; }
  .hero-figure picture { flex: 0 0 84px; }
  .hero-figure img { border-radius: 14px; box-shadow: none; border: 2px solid rgba(210,228,199,.5); }
  .hero-figure figcaption { margin: 0; text-align: left; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--teal-900); color: var(--white); }
.page-hero .wrap { padding-block: var(--space-5); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); max-width: 22ch; }
.page-hero .lead { color: #E3EEEC; max-width: 40rem; }
.page-hero-grid { display: grid; gap: var(--space-4); align-items: center; }
.page-hero-grid figure { margin: 0; }
.page-hero-grid figure img { border-radius: var(--radius-lg); }
@media (min-width: 880px) { .page-hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--space-5); } }
.page-hero-grid.portrait figure { max-width: 360px; width: 100%; justify-self: center; }

/* ---------- Structure (three shifts) ---------- */
.shifts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.shifts li { background: var(--white); border-radius: var(--radius); padding: var(--space-3); border-top: 4px solid var(--teal-600); }
.shifts h3 { margin-bottom: .4rem; }
.shifts p { margin: 0; }
@media (min-width: 760px) { .shifts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Split ---------- */
.split { display: grid; gap: var(--space-4); align-items: center; }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius-lg); }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .split.reverse figure { order: 2; }
  .split.top { align-items: start; }
}

/* ---------- Founder quote ---------- */
.quote-block { display: grid; gap: var(--space-4); align-items: center; }
.quote-block figure.portrait { margin: 0 auto; max-width: 300px; width: 100%; }
.quote-block figure.portrait img { border-radius: var(--radius-lg); border: 6px solid var(--white); box-shadow: var(--shadow); }
.quote-block figure.portrait figcaption { text-align: center; margin-top: 1rem; }
.quote-block figure.portrait figcaption strong { display: block; color: var(--teal-900); }
.pull { font-size: var(--step-3); font-weight: 800; line-height: 1.2; color: var(--teal-900); margin: 0 0 var(--space-3); letter-spacing: -0.015em; }
.pull::before { content: "\201C"; color: var(--teal-600); }
.pull::after { content: "\201D"; color: var(--teal-600); }
.signed { font-weight: 800; color: var(--teal-900); margin-top: var(--space-2); }
@media (min-width: 880px) { .quote-block { grid-template-columns: 300px 1fr; gap: var(--space-5); } }

/* ---------- Offer ladder ---------- */
.ladder { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.ladder::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--teal-100); }
.ladder-item { counter-increment: step; position: relative; padding-left: 72px; margin-bottom: var(--space-3); }
.ladder-item::before {
  content: counter(step); position: absolute; left: 0; top: 1.4rem; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-900); color: var(--mint); font-weight: 800; font-size: 1.1rem;
}
.ladder-card { background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius); padding: var(--space-3); display: grid; gap: .5rem 1.5rem; }
.ladder-card h3 { margin: 0; font-size: var(--step-1); }
.ladder-card p { margin: 0; }
.ladder-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; }
.price { font-weight: 800; color: var(--teal-900); font-size: var(--step-1); white-space: nowrap; }
.duration { font-size: var(--step--1); font-weight: 600; color: var(--teal-600); }
.ladder-item:first-child .ladder-card { border: 2px solid var(--teal-600); background: var(--mint-50); }
.ladder-item:first-child::before { background: var(--action); color: var(--white); }
.ladder-link { font-weight: 600; }
@media (min-width: 760px) {
  .ladder-card { grid-template-columns: 1fr auto; align-items: start; }
  .ladder-card .ladder-meta { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; text-align: right; }
}

/* ---------- Session cards (bookable) ---------- */
.sessions { display: grid; gap: var(--space-3); }
.session { background: var(--white); border-radius: var(--radius); padding: var(--space-3); border: 1px solid var(--grey); display: flex; flex-direction: column; gap: .5rem; }
.session h3 { margin: 0; }
.session p { margin: 0; }
.session .btn-row { margin-top: auto; padding-top: var(--space-2); }
@media (min-width: 880px) { .sessions { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Checklist / targets ---------- */
.targets { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: var(--space-2); }
.targets li { padding: var(--space-2) var(--space-3); background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--teal-600); }
.targets strong { color: var(--teal-900); display: block; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 3.25rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal-900); font-weight: 800; }
.steps h3 { margin-bottom: .35rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.facts { display: grid; gap: var(--space-2); margin: 0; }
.facts div { background: var(--grey-50); border-radius: var(--radius); padding: var(--space-2) var(--space-3); border-left: 4px solid var(--mint); }
.bg-grey .facts div, .bg-mint .facts div { background: var(--white); }
.facts dt { font-size: var(--step--1); font-weight: 600; color: var(--teal-600); }
.facts dd { margin: 0; font-weight: 800; color: var(--teal-900); font-size: var(--step-1); }
.bg-dark .facts div { background: rgba(255,255,255,.07); }
.bg-dark .facts dt { color: var(--teal-300); }
.bg-dark .facts dd { color: var(--white); }
@media (min-width: 640px) { .facts.cols-3 { grid-template-columns: repeat(3, 1fr); } .facts.cols-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Values ---------- */
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.values li { background: var(--teal-900); color: var(--mint); font-weight: 800; padding: .7rem 1.3rem; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius); padding: 0 var(--space-3); }
.faq summary { cursor: pointer; font-weight: 800; color: var(--teal-900); padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .9rem; font-size: 1.4rem; color: var(--teal-600); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.1rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 30ch; margin-inline: auto; }
.cta-band p { max-width: 40rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: var(--space-5); } }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: var(--space-2); }
.contact-list li { background: var(--white); border-radius: var(--radius); padding: var(--space-2) var(--space-3); }
.contact-list span { display: block; font-size: var(--step--1); font-weight: 600; color: var(--teal-600); }
.contact-list a, .contact-list strong { font-weight: 800; color: var(--teal-900); font-size: var(--step-1); text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-3); box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: var(--space-4); } }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--teal-900); }
.field .opt { font-weight: 400; color: #4F6B70; font-size: var(--step--1); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--font); color: var(--ink); background: var(--grey-50);
  border: 1.5px solid #B9C4C6; border-radius: 10px; padding: .8rem .9rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(50,110,123,.25); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; gap: 0 var(--space-3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: var(--space-2); padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: var(--mint-50); color: var(--teal-900); border: 1px solid var(--mint); }
.form-status.err { background: #FBEDEA; color: #7A2413; border: 1px solid #F2C3B8; }
.cf-turnstile { margin-bottom: var(--space-3); min-height: 65px; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFDCDB; font-size: .9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-top { display: grid; gap: var(--space-4); padding-block: var(--space-5) var(--space-4); }
.footer-brand img { width: 150px; margin-bottom: var(--space-2); }
.footer-brand p { max-width: 22rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: .8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-contact strong { color: var(--white); font-weight: 600; }
.socials { display: flex; gap: .6rem; margin-top: var(--space-2); }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.socials a:hover { background: var(--teal-600); border-color: var(--teal-600); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--space-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: var(--step--1); color: #A9BDBD; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { color: #CFDCDB; }
.site-footer [data-ss-credit] { width: 100%; color: #8FA5A6; }
.site-footer [data-ss-credit] a { color: #A9BDBD; text-decoration: underline; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .btn-row { justify-content: center; }
.notfound img.mark { width: 120px; margin: 0 auto var(--space-3); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer .socials, .nav-toggle, .btn-row { display: none; }
  .hero, .page-hero, .bg-dark { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
