/* Inspired Youth Foundation, shared styles for every page.
   Colors come from the logo: the blue figure and wordmark, and the lime swoosh.
   The logo blue is too light for white text, so buttons and links use a deeper
   blue; lime is only ever paired with navy text. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0a88e8;        /* logo blue: accents, icons, large shapes */
  --blue-ink: #0a5fa8;    /* text-safe blue: links, buttons with white text */
  --lime: #dde600;        /* logo swoosh: highlights, the Donate button */
  --lime-soft: #f4f8c4;
  --navy: #0d2340;        /* body text and dark sections */
  --ink-2: #44546b;       /* secondary text */
  --line: #dfe6ee;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --tbd: #fff4d6;
  --tbd-line: #e0a800;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 35, 64, .06), 0 8px 28px rgba(13, 35, 64, .08);
  --wrap: 1160px;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--navy); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-inline: auto; }
.lede { font-size: 1.2rem; color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: .9rem; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 750; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(13, 35, 64, .14); }
.btn-donate { background: var(--lime); color: var(--navy); }
.btn-donate:hover { color: var(--navy); background: #e8f01f; }
.btn-primary { background: var(--blue-ink); color: #fff; }
.btn-primary:hover { color: #fff; background: #084f8c; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { color: var(--navy); background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }

/* draft markers: everything still waiting on the founders or ACC.
   Remove every .tbd before launch. */
.tbd { display: block; background: var(--tbd); border: 2px dashed var(--tbd-line); border-radius: var(--radius-sm); padding: 12px 16px; margin: 1rem 0; font-size: .95rem; color: #5a4300; }
.tbd::before { content: "Waiting on: "; font-weight: 800; }
span.tbd { display: inline; padding: 1px 8px; margin: 0; }
span.tbd::before { content: ""; }

/* event banner (replaces the old popup) */
.banner { background: var(--navy); color: #fff; font-size: .95rem; }
.banner .wrap { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.banner p { margin: 0; flex: 1; text-align: center; padding-left: 56px; } /* left padding matches the close button plus gap, so the text sits in the true center */
.banner a { color: var(--lime); font-weight: 750; }
.banner a:hover { color: #fff; }
.banner .x { background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; flex: none; }
.banner[hidden] { display: none; }
@media (max-width: 600px) { .banner { font-size: .875rem; } .banner p { padding-left: 0; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(13, 35, 64, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 190px; height: auto; }
.navlinks { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.navlinks a:not(.btn) { display: block; padding: 10px 12px; color: var(--navy); text-decoration: none; font-weight: 650; border-radius: 8px; }
.navlinks a:not(.btn):hover { background: var(--bg-soft); }
.navlinks a[aria-current="page"] { color: var(--blue-ink); box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
.navlinks .btn { margin-left: 10px; min-height: 44px; padding: 10px 22px; }
.burger { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 10px; cursor: pointer; color: var(--navy); }
.burger svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .navlinks { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(13, 35, 64, .08); }
  .nav.open .navlinks { display: flex; }
  .navlinks a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .navlinks a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--lime); padding-left: 16px; }
  .navlinks .btn { margin: 14px 0 0; }
  .brand img { width: 160px; }
}

/* sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--navy); color: #fff; }
.dark .eyebrow { color: var(--lime); }
.dark .lede, .dark p { color: #d5deea; }
.dark a:not(.btn) { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }

/* home hero */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .08em; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: -6% -10% 12% 18%; background: var(--lime); border-radius: 48% 52% 40% 60% / 55% 40% 60% 45%; z-index: -1; opacity: .9; }
.hero-art img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-art .badge { position: absolute; left: -18px; bottom: -22px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; max-width: 290px; font-size: .95rem; line-height: 1.35; }
.badge .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); flex: none; display: grid; place-items: center; color: #fff; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 12px; }
  .hero-art .badge { left: 12px; }
}

/* page hero for inner pages */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); background: var(--bg-soft); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 56px solid var(--lime); opacity: .45; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero.has-img { padding: 0; background: var(--navy); color: #fff; }
.page-hero.has-img::after { display: none; }
.page-hero.has-img .media { position: relative; min-height: clamp(340px, 46vw, 520px); display: flex; align-items: flex-end; }
.page-hero.has-img .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img .media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 35, 64, .05) 20%, rgba(13, 35, 64, .88) 100%); z-index: 1; }
.page-hero.has-img .wrap { padding: 48px 0; }
.page-hero.has-img .lede { color: #e4ebf3; }
.page-hero.has-img .eyebrow { color: var(--lime); }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: var(--ink-2); }
.crumbs a { color: inherit; }
.page-hero.has-img .crumbs { color: #d5deea; }

/* cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(13, 35, 64, .04); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lime-soft); display: grid; place-items: center; margin-bottom: 18px; color: var(--blue-ink); }
.card .icon svg { width: 28px; height: 28px; }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* event cards */
.event-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.event-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-card:hover .thumb img { transform: scale(1.03); }
.event-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-card .when { font-weight: 750; color: var(--blue-ink); font-size: .95rem; }
.event-card .btn-row { margin-top: auto; padding-top: 12px; }

/* facts list for events */
.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.facts svg { width: 24px; height: 24px; color: var(--blue-ink); margin-top: 3px; }
.facts strong { display: block; }

/* memorial / scholarship feature */
.memorial { background: linear-gradient(135deg, var(--navy) 0%, #12345e 100%); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.memorial p { color: #d5deea; }
.memorial .photo-slot { width: clamp(140px, 18vw, 200px); aspect-ratio: 4 / 5; border-radius: 20px; border: 2px dashed rgba(255, 255, 255, .45); display: grid; place-items: center; text-align: center; font-size: .85rem; color: #d5deea; padding: 12px; }
@media (max-width: 700px) { .memorial { grid-template-columns: 1fr; } }
.memorial img.julia { width: clamp(170px, 22vw, 260px); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 20px; }
.memorial.light { background: var(--bg-soft); color: var(--navy); }
.memorial.light p { color: var(--navy); }
.memorial.light .eyebrow { color: var(--blue-ink); }
blockquote.pull { margin: 2rem 0; padding: 0 0 0 22px; border-left: 4px solid var(--lime); font-size: 1.2rem; font-style: italic; }
blockquote.pull cite { display: block; margin-top: .5rem; font-style: normal; font-size: .95rem; color: var(--ink-2); }

/* gallery */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery img { width: 100%; margin-bottom: 16px; border-radius: 14px; break-inside: avoid; }

/* founders */

/* ticket and sponsor levels */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.tier { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--lime); border-radius: var(--radius); padding: 24px; }
.tier h3 { margin-bottom: .25em; }
.tier .price { font-size: 2rem; font-weight: 800; color: var(--blue-ink); line-height: 1.2; margin-bottom: .4em; }
.tier p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font-size: 1.2rem; margin: 0; font-weight: 750; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--blue-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* forms (placeholders until the GHL forms exist) */
.form { display: grid; gap: 16px; }
.form label { font-weight: 650; font-size: .95rem; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--navy); padding: 12px 14px; border: 1.5px solid #b9c6d6; border-radius: 10px; background: #fff; min-height: 48px; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid rgba(10, 136, 232, .35); border-color: var(--blue); }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }
.form .consent { font-size: .85rem; color: var(--ink-2); margin: 0; }
.form-note { font-size: .9rem; color: var(--ink-2); }
.form-status { font-weight: 650; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }
.dark .form input { border-color: transparent; }
.dark .form label, .dark .form .consent { color: #d5deea; }

/* contact details list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--lime-soft); display: grid; place-items: center; color: var(--blue-ink); }
.contact-list svg { width: 22px; height: 22px; }

/* CTA band */
.cta-band { background: var(--lime); color: var(--navy); border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 .25em; }
.cta-band p { margin: 0; }
.cta-band .btn-primary { background: var(--navy); }

/* prose pages (privacy, terms) */
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }

/* footer */
.site-footer { background: var(--navy); color: #d5deea; padding: 64px 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { background: #fff; border-radius: 14px; padding: 14px 18px; display: inline-block; margin-bottom: 18px; }
.foot-logo img { width: 190px; }
.site-footer h2 { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.disclosure { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
.disclosure img { width: 96px; height: 96px; }
.disclosure p { margin: 0; font-size: .92rem; }
@media (max-width: 600px) { .disclosure { grid-template-columns: 1fr; } }
.legal { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; color: #a9b7c9; }
.legal a { color: #d5deea; }

/* scroll reveal (only when JS is on and motion is allowed) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* GoHighLevel form embeds (2026-11-13) */
.ghl-slot iframe { display: block; width: 100%; }
.ghl-slot .slot-fallback { margin: 0; }
/* the form has 16px of its own padding; pull it out so fields line up with the page text */
.ghl-slot.live { margin: -8px -16px 0; }
.dark .ghl-slot.live { margin: 0; background: #fff; border-radius: var(--radius-sm); }
