/* SprinkleASpark website — Grove brand */
:root {
  --forest: #0E3B36; --deep: #082724; --gold: #F2C14E; --amber: #E2A62A; --bronze: #9A6A0E;
  --mint: #9FE3C1; --chalk: #F1F6F2; --moss: #4F7A70; --ink: #12201D; --line: #D8E1DC; --white: #FFFFFF;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--forest); }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.lede { font-size: 19px; max-width: 60ch; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; color: var(--deep); }
.pill.digital { background: var(--gold); } .pill.training { background: var(--mint); }
.btn { display: inline-block; font-weight: 700; font-size: 16px; padding: 13px 24px; border-radius: 99px; text-decoration: none; background: var(--gold); color: var(--deep); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.site-header .logo img { height: 30px; width: auto; }
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--forest); box-shadow: inset 0 -2px 0 var(--amber); }

/* Hero */
.hero { background: var(--forest); color: var(--chalk); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding-block: clamp(56px, 9vw, 110px); }
.hero h1 { color: var(--chalk); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 20px; color: var(--chalk); opacity: .9; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero .eyebrow { color: var(--mint); margin-bottom: 14px; }
.hero .art img { width: min(340px, 100%); height: auto; margin-inline: auto; }

/* Sections */
section.band { padding-block: clamp(56px, 8vw, 96px); }
section.band.chalk { background: var(--chalk); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 > *, .grid-3 > * { min-width: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.card .btn { justify-self: start; margin-top: 6px; }

/* Course page */
.course { border-top: 1px solid var(--line); padding-block: 48px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.course:first-of-type { border-top: 0; }
.course > * { min-width: 0; }
.course .body { display: grid; gap: 16px; }
.facts { background: var(--chalk); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; position: sticky; top: 90px; }
.facts dl { margin: 0; display: grid; gap: 10px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.facts dd { margin: 0; font-weight: 600; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--forest); }
details[open] summary { border-bottom: 1px solid var(--line); }
details ol, details ul { margin: 0; padding: 14px 18px 16px 40px; display: grid; gap: 4px; }
.course-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.course-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); }
.notice { font-size: 14px; color: var(--moss); }

/* Contact strip */
.cta { background: var(--forest); color: var(--chalk); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 56px; }
.cta h2 { color: var(--chalk); }
.cta p { opacity: .9; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--deep); color: var(--chalk); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.site-footer .wrap > * { min-width: 0; }
.site-footer img { height: 26px; width: auto; margin-bottom: 14px; }
.site-footer a { color: var(--chalk); }
.site-footer h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(241,246,242,.15); padding-top: 18px; opacity: .75; font-size: 13px; }

@media (max-width: 860px) {
  .hero .wrap, .grid-2, .grid-3, .course, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero .art img { width: 200px; }
  .facts { position: static; }
}

/* Fixes after review */
.hero .wrap > * { min-width: 0; }
.card .pill { justify-self: start; }
.facts { align-self: start; }
@media (max-width: 860px) {
  .hero .art img { width: 140px; height: auto; margin-inline: 0; }
  .hero .wrap { gap: 28px; }
}
