/* it's Maddie — site styles. Mobile-first. Approved palette & fonts per Blueprint §11. */

@font-face { font-family: "League Spartan"; src: url("/assets/fonts/LeagueSpartan-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  /* Approved brand palette */
  --cobalt: #2D4BFF;
  --aqua: #38C6C6;
  --lilac: #B69CFF;
  --sky: #A7E3F5;
  --ivory: #F8F8FF;
  --gold: #FFD23F;   /* tiny accents only */
  --pink: #FF3E8E;   /* tiny accents only */
  /* Neutral added for readable text (derived from cobalt; needs Maddie's OK) */
  --ink: #1A1F4D;
  --white: #FFFFFF;
  --danger: #B0124F;

  --font-head: "League Spartan", "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --radius: 28px;
  --shadow-aqua: 8px 8px 0 var(--aqua);
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2 { font-family: var(--font-head); font-weight: 700; color: var(--cobalt); line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.35rem; line-height: 1.25; color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: var(--white); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section.tight { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.section-title { margin-bottom: 1.75rem; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.7rem; border-radius: 999px; border: 3px solid var(--cobalt); font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn-primary { background: var(--cobalt); color: var(--white); box-shadow: 5px 5px 0 var(--aqua); }
.btn-ghost { background: var(--white); color: var(--cobalt); box-shadow: 5px 5px 0 var(--sky); }
.btn-light { background: var(--white); color: var(--cobalt); border-color: var(--white); box-shadow: 5px 5px 0 var(--lilac); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--aqua); text-decoration: none; }
.btn-ghost:hover { box-shadow: 8px 8px 0 var(--sky); }
.btn-light:hover { box-shadow: 8px 8px 0 var(--lilac); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--aqua); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 2rem; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 248, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(45, 75, 255, .14); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; }
.brand img { height: 52px; width: auto; }
.nav-toggle { display: none; align-items: center; gap: .6rem; min-height: 48px; padding: .4rem 1rem; border: 3px solid var(--cobalt); border-radius: 999px; background: var(--white); color: var(--cobalt); font: 600 1rem var(--font-body); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 3px; border-radius: 3px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.js .nav-toggle { display: inline-flex; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { width: 100%; }
.js .site-nav { display: none; }
.js .nav-open .site-nav { display: block; padding-bottom: 1rem; }
.site-nav ul { display: flex; flex-direction: column; gap: .35rem; }
.site-nav a { display: block; padding: .7rem 1.1rem; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--sky); }
.site-nav a[aria-current="page"] { background: var(--sky); color: var(--ink); }
.site-nav a.nav-cta { background: var(--cobalt); color: var(--white); text-align: center; }
.site-nav a.nav-cta:hover { background: var(--ink); }
.site-nav a.nav-cta[aria-current="page"] { background: var(--ink); color: var(--white); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.lede { margin-top: 1.25rem; font-size: clamp(1.15rem, 2.6vw, 1.4rem); line-height: 1.55; max-width: 36rem; }
.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.blob { position: absolute; width: min(88%, 420px); aspect-ratio: 1; background: var(--sky); border-radius: 58% 42% 55% 45% / 50% 56% 44% 50%; }
.phone { position: relative; width: min(54%, 230px); transform: rotate(4deg); border: 6px solid var(--cobalt); border-radius: 38px; background: var(--white); padding: 8px; box-shadow: 10px 10px 0 var(--aqua); }
.phone .ph { border-radius: 26px; }
.chip { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border: 3px solid var(--cobalt); border-radius: 50% 50% 50% 8px; background: var(--white); color: var(--cobalt); animation: float 6s ease-in-out infinite; }
.chip .icon { width: 28px; height: 28px; }
.chip-a { left: 6%; top: 18%; box-shadow: 4px 4px 0 var(--lilac); }
.chip-b { right: 4%; bottom: 14%; border-radius: 50% 50% 8px 50%; box-shadow: 4px 4px 0 var(--aqua); animation-delay: -3s; }
.talk { position: absolute; width: 64px; height: 64px; color: var(--pink); }
.talk-hero { right: 3%; top: 8%; }
.sparkle { width: 40px; height: 40px; color: var(--gold); }
.sp-hero { position: absolute; z-index: 2; left: 12%; bottom: 10%; width: 34px; height: 34px; animation: twinkle 3.2s ease-in-out infinite; }

/* ── Band ────────────────────────────────────────────────────────────────── */
.band { padding-inline: var(--gutter); }
.band-in { max-width: 1120px; margin-inline: auto; padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 4rem); background: var(--cobalt); color: var(--white); border-radius: 40px; text-align: center; box-shadow: 10px 10px 0 var(--aqua); }
.band-kicker { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1.1; text-wrap: balance; }
.band-text { margin-top: 1rem; font-size: clamp(1.1rem, 2.6vw, 1.35rem); max-width: 40rem; margin-inline: auto; }

/* ── Cards & grids ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; gap: 1.75rem; }
.card { background: var(--white); border: 3px solid var(--cobalt); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-aqua); }
.pillar { display: flex; flex-direction: column; gap: .75rem; }
.pillars { margin-bottom: 2.5rem; }
.pillar-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--sky); color: var(--cobalt); }
.pillar-ic .icon { width: 30px; height: 30px; }
.pillar:nth-child(2) .pillar-ic { background: var(--lilac); }
.pillar:nth-child(3) .pillar-ic { background: var(--aqua); color: var(--ink); }

/* ── Intro ───────────────────────────────────────────────────────────────── */
.intro-grid { display: grid; gap: 2.25rem; align-items: center; }
.intro-copy h2 { margin-bottom: 1.25rem; }
.intro-copy p { max-width: 36rem; }
.intro-close { margin: 1.25rem 0 1.75rem; font-weight: 600; color: var(--cobalt); font-size: 1.2rem; }

/* ── Placeholders ────────────────────────────────────────────────────────── */
.ph { aspect-ratio: var(--ratio, 4 / 5); width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1.25rem; text-align: center; background: linear-gradient(145deg, var(--sky), #E9F8FD 70%); border: 3px dashed rgba(45, 75, 255, .55); border-radius: var(--radius); color: var(--ink); }
.ph-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--white); color: var(--cobalt); box-shadow: 4px 4px 0 var(--lilac); }
.ph-badge .icon { width: 28px; height: 28px; }
.ph-label { font-weight: 600; font-size: .98rem; line-height: 1.3; max-width: 14rem; }
.work-grid .ph { border-radius: var(--radius); }

/* ── Final CTA bubble ────────────────────────────────────────────────────── */
.final { padding-block: 1rem clamp(3.5rem, 9vw, 6rem); }
.final-bubble { position: relative; padding: clamp(3.5rem, 8vw, 4.5rem) clamp(1.5rem, 6vw, 4rem); background: var(--cobalt); color: var(--white); border-radius: clamp(36px, 8vw, 72px); text-align: center; box-shadow: 10px 10px 0 var(--aqua); display: grid; gap: 1.75rem; justify-items: center; }
.final-bubble::after { content: ""; position: absolute; left: 12%; bottom: -34px; width: 56px; height: 46px; background: var(--cobalt); clip-path: polygon(0 0, 100% 0, 18% 100%); }
.final-bubble h2 { color: var(--white); max-width: 18ch; }
.sp-final { position: absolute; right: 7%; top: 9%; width: 30px; height: 30px; animation: twinkle 3.2s ease-in-out infinite; }

/* ── Page heads ──────────────────────────────────────────────────────────── */
.page-head { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
.page-head .lede { max-width: 38rem; }
.page-head:not(.about-head) .narrow { max-width: 1120px; }
.note { margin-top: 1rem; display: inline-block; padding: .35rem 1rem; border-radius: 999px; background: var(--sky); font-weight: 600; font-size: .98rem; }

/* ── About ───────────────────────────────────────────────────────────────── */
.pair { max-width: 720px; margin-inline: auto; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pair-item { position: relative; }
.pair-item:first-child { transform: rotate(-2deg); }
.pair-item:last-child { transform: rotate(2deg); margin-top: 1.25rem; }
.pair-item .ph { border-radius: 24px; padding: .75rem; }
.pair-item .ph-badge { width: 48px; height: 48px; }
.pair-item .ph-label { font-size: .88rem; }
.pair-tag { position: absolute; left: 12px; top: 12px; padding: .2rem .8rem; border-radius: 999px; background: var(--aqua); color: var(--ink); font-weight: 600; font-size: .9rem; }
.pair figcaption { margin-top: 1.75rem; text-align: center; font-weight: 600; font-size: 1.15rem; color: var(--cobalt); text-wrap: balance; }
.prose p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 1.35rem; }
.prose .pull { position: relative; margin: 2.25rem 0 2.5rem; padding: 1.5rem 1.75rem; background: var(--sky); border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.55rem, 4.6vw, 2.2rem); line-height: 1.15; color: var(--cobalt); text-wrap: balance; }
.prose .pull::after { content: ""; position: absolute; left: 2rem; bottom: -22px; width: 34px; height: 26px; background: var(--sky); clip-path: polygon(0 0, 100% 0, 20% 100%); }
.prose .story-cta { margin: 2.5rem 0 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.1; color: var(--cobalt); }

/* ── Services ────────────────────────────────────────────────────────────── */
.pkg { display: flex; flex-direction: column; gap: 1rem; }
.pkg:nth-child(2) { box-shadow: 8px 8px 0 var(--lilac); }
.pkg:nth-child(3) { box-shadow: 8px 8px 0 var(--sky); }
.price { font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--cobalt); }
.checks { display: grid; gap: .7rem; align-content: start; flex: 1; margin-bottom: .75rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231A1F4D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.partner { display: grid; border: 3px solid var(--cobalt); border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--white); box-shadow: 10px 10px 0 var(--lilac); }
.partner-head { padding: clamp(1.75rem, 5vw, 2.75rem); background: var(--cobalt); color: var(--white); display: flex; flex-direction: column; gap: .9rem; justify-content: center; }
.partner-head h2 { color: var(--white); }
.kicker { font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.partner-price { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; }
.partner-body { padding: clamp(1.75rem, 5vw, 2.75rem); display: grid; gap: 1rem; align-content: start; }
.partner-lead { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1.15; color: var(--cobalt); }
.includes-label { margin-top: .5rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .4rem 1rem; border-radius: 999px; background: var(--lilac); color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.35; }
.partner-close { margin: .5rem 0 .75rem; font-weight: 600; }
.partner-body .btn { justify-self: start; }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 2.25rem; align-items: start; }
.form-card { background: var(--white); border: 3px solid var(--cobalt); border-radius: calc(var(--radius) + 8px); padding: clamp(1.5rem, 5vw, 2.5rem); box-shadow: 10px 10px 0 var(--aqua); }
.form-card h2 { margin-bottom: 1.25rem; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.form { display: grid; gap: 1.35rem; }
.form[hidden] { display: none; }
.req-note { font-size: .92rem; }
.req { color: var(--danger); font-weight: 700; }
.opt { font-weight: 400; font-size: .92rem; }
.field label, .field legend { display: block; margin-bottom: .45rem; font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; padding: .85rem 1rem; border: 2px solid var(--cobalt); border-radius: 16px; background: var(--ivory); color: var(--ink); font: 400 1rem/1.5 var(--font-body); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { margin-top: .4rem; color: var(--danger); font-weight: 600; font-size: .95rem; }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: .55rem 1.1rem; border: 2px solid var(--cobalt); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .98rem; line-height: 1.3; transition: background-color .15s, color .15s; }
.choice:hover span { background: var(--sky); }
.choice input:checked + span { background: var(--cobalt); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .92rem; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.is-error { color: var(--danger); }
.form-success { position: relative; padding: 1.5rem 0 .5rem; }
.form-success p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.2; color: var(--cobalt); }
.sp-success { width: 44px; height: 44px; margin-bottom: 1rem; animation: twinkle 3.2s ease-in-out infinite; }
.form-success:target, .form-fallback-error:target { display: block; }
.form-card:has(#sent:target) .form, .form-card:has(#sent:target) h2 { display: none; }
.form-fallback-error { color: var(--danger); font-weight: 600; margin-bottom: 1rem; }
.side { position: relative; padding-bottom: 3rem; }
.side-bubble { position: relative; padding: 1.75rem; background: var(--sky); border-radius: var(--radius); display: grid; gap: .75rem; }
.side-bubble h2 { font-size: 1.7rem; }
.side-bubble::after { content: ""; position: absolute; left: 2.25rem; bottom: -24px; width: 36px; height: 28px; background: var(--sky); clip-path: polygon(0 0, 100% 0, 20% 100%); }
.talk-side { right: 1rem; bottom: -12px; width: 56px; height: 56px; transform: scaleX(-1) rotate(8deg); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--ivory); padding-block: 3rem 2rem; }
.site-footer a { color: var(--ivory); }
.foot { display: grid; gap: 2rem; }
.foot-brand { display: grid; gap: 1rem; justify-items: start; }
.foot-brand img { height: 64px; width: auto; }
.foot-nav, .foot-social { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }
.legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(248, 248, 255, .25); font-size: .92rem; }

/* ── Motion ──────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.25) rotate(14deg); opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── ≥ 640px ─────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pair-grid { gap: 1.75rem; }
  .btn-block { width: auto; min-width: 260px; }
  .foot { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

/* ── ≥ 860px ─────────────────────────────────────────────────────────────── */
@media (min-width: 860px) {
  .js .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block !important; width: auto; padding: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: .25rem; }
  .site-nav a.nav-cta { margin-left: .5rem; padding-inline: 1.4rem; }
  .bar { flex-wrap: nowrap; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
  .hero-art { min-height: 540px; }
  .phone { width: min(60%, 270px); }
  .chip { width: 76px; height: 76px; }
  .talk { width: 84px; height: 84px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .intro-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .partner { grid-template-columns: 5fr 7fr; }
  .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 3rem; }
  .side { position: sticky; top: 110px; }
  .foot { grid-template-columns: 1.4fr 1fr; }
}
