/* Duran Fun Lab: light, bright, traditional local-business visual system, built after studying
   Face Paint and Balloons, Paint the Town, Venture, BIG Texas Custom Events and Crafts & Confetti.
   White is the dominant background. Duran Fun Lab's purple/magenta/blue brand colors are used as
   bright accents (headings, buttons, links, occasional light tinted section backgrounds) — never as
   large dark fields. Text is clean near-black. No dark charcoal bands, no decorative ring/outline
   graphics: real event photography carries the visual interest instead.

   Palette: purple #6E4FA6, magenta #C4408F, blue #3B7DD8 (brand accents),
   white #FFFFFF (dominant background), light tints of each accent for alternating sections,
   ink #1A1A1A (headings/body text), secondary gray #5B5B5B, neutral border #E6E6E6.
   Fonts: Poppins (headings), Inter (body).

   Contrast notes (WCAG 2.1): white text on purple/magenta/blue solid fills is 4.5:1+ (checked below);
   purple/magenta text on white is used at heading/label sizes or is bold+large enough to clear 3:1,
   and body copy always stays in ink or secondary gray, never in a brand color. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --purple: #6E4FA6;
  --purple-dark: #573D87;
  --magenta: #C4408F;
  --blue: #3B7DD8;

  --surface-purple: #F3EEFA;
  --surface-magenta: #FCEEF6;
  --surface-blue: #EBF3FC;

  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #5B5B5B;
  --border: #E6E6E6;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: 20px;
  --container-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, picture { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--ink); text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Netlify spam honeypot field (see contact.njk): unlike .visually-hidden above, this must be hidden
   from assistive technology too, not just sighted users -- a screen reader has no reason to announce
   a spam trap. display: none removes it from the accessibility tree entirely (paired with aria-hidden
   as a belt-and-suspenders measure); the field itself is still present in the DOM and still submitted
   normally, so Netlify's bot detection is unaffected. */
.hp-field { display: none; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--purple); color: var(--white); padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 8px; }

/* Buttons — friendly rounded pills, one solid brand style + one outline style */
.btn {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 28px;
  border: 2px solid var(--purple);
  border-radius: 999px;
  cursor: pointer;
}
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn--outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--small { font-size: .88rem; padding: 10px 18px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn:disabled:hover { background: var(--purple); border-color: var(--purple); }
.coming-soon { text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Header — white, simple, traditional */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 46px; height: 46px; flex: none; object-fit: contain; }
.brand__mark--empty {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1.5px dashed var(--border); background: var(--surface-purple); color: var(--ink-2);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.21rem;
  background-image: linear-gradient(90deg, var(--blue), var(--purple), var(--magenta));
  background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.brand__subtitle { font-family: var(--font-head); font-weight: 500; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink);
  border-radius: var(--radius-sm);
}
.nav a:not(.btn):hover { color: var(--purple); }
.nav a[aria-current="page"] { color: var(--purple); font-weight: 700; }
.nav__cta { margin-left: 8px; }
.header-cta, .nav-toggle { display: none; }
.nav-toggle {
  font: inherit; font-weight: 600; font-size: .85rem;
  background: transparent; color: var(--ink); border: 2px solid var(--border);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
}

@media (max-width: 860px) {
  .header-cta { display: inline-block; }
  .nav__cta { display: none; }
  .js .nav-toggle { display: inline-block; }
  .nav { flex-basis: 100%; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; padding-bottom: 12px; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .header-row { padding-block: 10px; }
}

@media (max-width: 560px) {
  /* Below this width, brand + persistent header CTA + menu toggle no longer fit on one line.
     Drop the persistent CTA and rely on the menu instead, where Check Availability still appears. */
  .header-cta { display: none; }
  .nav__cta { display: block; margin-left: 0; }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--white { background: var(--white); }
.section--tint-purple { background: var(--surface-purple); }
.section--tint-blue { background: var(--surface-blue); }
.section--tint-magenta { background: var(--surface-magenta); }
.section--compact { padding-block: clamp(40px, 5vw, 64px); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); margin-bottom: .7rem; }
.lead { font-size: clamp(1.0625rem, 1.8vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.section-lead { color: var(--ink-2); max-width: 62ch; margin-bottom: 2rem; }
.section-more { margin: 2rem 0 0; }
/* Homepage-only "special request" secondary CTA under the activities grid. Scoped separately from
   .section-more so its styling doesn't affect that class's other use (the "See all services and
   pricing" link on service pages). */
.activities-more { margin-top: 28px; text-align: center; font-size: 17px; font-weight: 600; }
.activities-more a { color: var(--purple); text-decoration-color: var(--purple); }
.activities-more a:hover { text-decoration-color: var(--purple-dark); }
.text-link { font-weight: 700; color: var(--purple); text-decoration-color: var(--purple); }
.note { color: var(--ink-2); font-size: .95rem; max-width: 70ch; }
.check-list + .note { margin-top: 1rem; }
.form .btn { margin-top: 4px; }
.form .btn + .note { margin-top: 14px; }
.accent { color: var(--purple); }

/* Page-title band used on interior utility pages: light tint, no photo, no decoration */
.page-head { background: var(--surface-purple); padding-block: clamp(48px, 7vw, 80px); }
.page-head .lead { margin-bottom: 0; }

/* Homepage hero: light background, headline + copy, buttons, real-photo strip beneath */
.hero { background: var(--surface-purple); padding-block: clamp(48px, 7vw, 80px) 0; overflow: hidden; }
.hero__text { max-width: 680px; }
.hero__kicker { font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin-bottom: .8rem; }
.hero__title { font-size: clamp(2.25rem, 5.5vw, 3.25rem); line-height: 1.08; margin-bottom: .35em; font-weight: 600; }
.hero__subtitle { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.125rem, 2.2vw, 1.375rem); color: var(--ink); margin: 0 0 .7em; }
.hero .lead { margin-bottom: 1.75rem; max-width: 54ch; }

/* Alternating square/circle/square/circle/square real-photo strip (Venture-inspired) */
.photo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 18px; padding-block: 40px 44px; }
.photo-strip__item { width: clamp(122px, 17vw, 215px); flex: none; overflow: hidden; box-shadow: 0 12px 26px rgba(26, 26, 26, .14); background: var(--surface-blue); }
.photo-strip__item .frame, .photo-strip__item .ph { width: 100%; height: 100%; }
.photo-strip__item--square { border-radius: 0; }
.photo-strip__item--square.photo-strip__item--tilt-l { transform: rotate(-4deg); }
.photo-strip__item--square.photo-strip__item--tilt-r { transform: rotate(4deg); }
.photo-strip__item--circle { border-radius: 50%; }

/* Service page hero: light background, two columns, real photo in a rounded frame (no dark scrim) */
.service-hero { background: var(--surface-blue); padding-block: clamp(48px, 7vw, 80px); }
.service-hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .service-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.service-hero .frame, .service-hero .ph { border-radius: 0; box-shadow: 0 16px 34px rgba(26, 26, 26, .12); }
.service-hero .from-line { margin: -.5rem 0 1.25rem; font-size: 1.05rem; color: var(--ink-2); }
.service-hero .from-line .price-tag { margin-right: .4em; }

/* Images and thumbnail placeholders */
.frame { aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background: var(--border); border-radius: 0; }
/* object-position defaults to centered (50% 50%), identical to plain "cover", unless a photo opts into
   a --pos value via {% image ..., { position: "50% 30%" } %} to bias which part stays in frame. */
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ph {
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-2); font-size: .82rem; line-height: 1.5; padding: 16px;
  background: var(--surface-purple); border: 1px dashed #D8CCE8; border-radius: 0;
}
.ph code { font-size: .76rem; word-break: break-all; }

/* Grids and cards */
.grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--white); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(26, 26, 26, .08); }
.card .frame { border-radius: 0; }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { margin-bottom: .35em; font-size: 1.15rem; }
.card__body p { color: var(--ink-2); margin-bottom: .9em; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 .6em; font-size: .92rem; color: var(--ink-2); }
.card__cta { margin: 0; font-weight: 700; font-size: .92rem; color: var(--purple); }
.price-tag {
  display: inline-block; background: var(--purple); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  padding: 3px 10px; border-radius: 999px;
}

/* Split layout and lists */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.check-list { list-style: none; }
.check-list li { position: relative; padding: 6px 0 6px 30px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (min-width: 560px) { .check-list--cols { columns: 2; column-gap: 32px; } .check-list--cols li { break-inside: avoid; } }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list a { display: inline-block; padding: 9px 18px; border: 2px solid var(--purple); color: var(--purple); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.pill-list a:hover { background: var(--purple); color: var(--white); }
.gallery-links { margin-top: 44px; }

/* Pricing */
.price-grid { display: grid; gap: 24px; margin-bottom: 26px; }
@media (min-width: 900px) { .price-grid--2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 0; overflow: hidden; }
.price-card__head { padding: 20px 24px 8px; }
.price-card__head h3 { margin-bottom: .2em; }
.price-card__head p { color: var(--ink-2); margin: 0 0 .25em; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 13px 24px; text-align: left; border-top: 1px solid var(--border); font-weight: 400; }
.price-table thead th { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table td { color: var(--ink-2); }
.price-table .num { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--purple); white-space: nowrap; }
.price-table thead .num { font-family: inherit; font-weight: 700; font-size: .76rem; color: var(--ink-2); }
.price-table__addl th, .price-table__addl td { color: var(--ink-2); }
.capacity { margin: 0 0 .75em; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 24px; margin-bottom: 26px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 3px solid var(--purple); padding-top: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--purple); margin-bottom: 6px; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-2); margin: 0; }
.notice { background: var(--surface-purple); border-radius: 0; padding: 14px 18px; margin: 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--border); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--purple); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-2); margin: 0 0 16px; }

/* CTA band — a bright solid-color block (Paint the Town-style), simple and traditional */
.cta-band { background: var(--purple); color: var(--white); padding-block: clamp(48px, 7vw, 72px); }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p.cta-band__text { color: rgba(255, 255, 255, .88); margin: 0; max-width: 56ch; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band .btn { background: var(--white); border-color: var(--white); color: var(--purple); }
.cta-band .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Who We Are */
.about-block { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-block { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-block .frame { border-radius: 0; box-shadow: 0 14px 30px rgba(26, 26, 26, .1); }

/* Testimonials — plain, traditional cards, no glass/gradient effects */
.testimonial { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: 0; padding: 26px; height: 100%; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 1em; color: var(--ink); flex: 1; }
.testimonial figcaption { color: var(--ink-2); font-size: .92rem; }
.testimonial figcaption strong { color: var(--ink); font-weight: 700; }
.section--tight { padding-block: clamp(28px, 3.5vw, 44px); }
.section--extra-tight { padding-block: clamp(16px, 2vw, 24px); }
/* Compact testimonials block: this section needs to sit noticeably shorter than every other section
   on the site, so it gets its own (tighter than .section--extra-tight) padding instead of reusing a
   shared tier -- .section--extra-tight itself is untouched and still used as-is elsewhere. */
.testimonials-section { padding-block: clamp(12px, 1.4vw, 18px); }
.testimonials-heading { margin-bottom: 6px; }
.testimonials-grid { gap: 10px; }
.testimonial--compact { padding: 10px 12px; }
.testimonial--compact blockquote { font-size: .74rem; line-height: 1.22; margin-bottom: 5px; }
.testimonial--compact figcaption { font-size: .74rem; line-height: 1.2; }

/* Organization/community logo slots -- kept small and simple so the section stays compact and more
   logos can be dropped in later without changing this layout. Below 640px this still wraps/centers
   exactly as before; at 640px+ (comfortably wide enough for 3 fixed-width logos in one row) it spreads
   them across the full container width instead of bunching them in the middle. */
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; margin-top: 8px; }
.logo-card { width: 120px; flex: none; text-align: center; }
@media (min-width: 640px) { .logos-row { justify-content: space-between; flex-wrap: nowrap; } }
.logo-card .frame, .logo-card .ph { background: var(--white); }
.logo-card .frame img { object-fit: contain; }
.logo-card p { margin: .4em 0 0; font-weight: 600; color: var(--ink-2); font-size: .82rem; line-height: 1.3; }

/* Instagram callout */
.instagram-callout { text-align: center; }
.instagram-callout .lead { margin-inline: auto; }
.instagram-callout .btn { margin-top: 6px; }
.instagram-callout__icon { display: inline-flex; margin-bottom: .5rem; color: var(--magenta); }

/* Contact form */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }
.form .field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--border); border-radius: 0; padding: 12px 14px;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--purple); }
.form textarea { resize: vertical; }
.aside { background: var(--surface-purple); border-radius: 0; padding: 28px; }
.aside h2 { font-size: 1.3rem; }
.aside h3 { margin-top: 1.5rem; }
.mini-steps { padding-left: 1.2rem; }
.mini-steps li { padding-bottom: 6px; }

/* Footer — plain and light, traditional local-business footer */
.site-footer { background: var(--white); color: var(--ink-2); padding-top: 56px; font-size: .95rem; border-top: 1px solid var(--border); }
.site-footer a { color: var(--ink-2); text-decoration-color: var(--border); }
.site-footer a:hover { color: var(--purple); text-decoration-color: var(--purple); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: .4em; }
.footer-heading { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink); margin-bottom: .8em; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1.5px solid var(--border); color: var(--ink);
}
.footer-social a:hover { border-color: var(--purple); color: var(--purple); }
.footer-base { border-top: 1px solid var(--border); padding-block: 20px; font-size: .86rem; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
