/* Inflatables Boss — public site
   Tokens: paper (cool white), ink, boss orange (vinyl), sky blue (pump), tint.
   Type: Unbounded for display, DM Sans for body, DM Mono for dimensions/labels. */

:root {
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --ink: #0E1220;
  --ink-2: #4A5164;
  --line: #DCE1EC;
  --boss: #FF4D1C;
  --boss-deep: #D93A0E;
  --boss-tint: #FFE6DD;
  --sky: #1E5BFF;
  --tint: #E9EFFF;
  --dark: #0E1220;
  --dark-2: #171C2E;

  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --gutter: 16px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(14, 18, 32, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: uppercase; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.01em;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { padding: 10px 16px; font-size: 0.75rem; }
.btn--lg { padding: 18px 28px; font-size: 0.95rem; }
.btn--boss { background: var(--boss); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 77, 28, 0.7); }
.btn--boss:hover { background: var(--boss-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--boss-tint); }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 250, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.brand b { color: var(--boss); font-weight: 900; }
.brand__mark { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--boss) 13% 100%); box-shadow: inset -4px -6px 10px rgba(0,0,0,0.25); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav__phone { font-family: var(--mono); font-size: 0.8rem; }
.nav .btn { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }
.mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 6px; padding: 12px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a { padding: 12px 8px; text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.mobile-nav .btn { margin-top: 8px; color: #fff; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
}

.flash { padding: 12px 0; font-weight: 500; }
.flash--ok { background: #E4F7EA; color: #145A2B; }
.flash--error { background: var(--boss-tint); color: var(--boss-deep); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero::before {
  content: ''; position: absolute; inset: auto -10% -30% auto; width: 60vw; max-width: 820px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9) 0 8%, rgba(255, 77, 28, 0.22) 12%, rgba(30, 91, 255, 0.10) 55%, transparent 72%);
  filter: blur(2px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { color: var(--ink-2); margin-bottom: 18px; }
.hero__title { font-size: clamp(2.4rem, 6.4vw, 5.4rem); line-height: 1; display: flex; flex-direction: column; gap: 0.05em; }
.hero__title > span:first-child { font-weight: 700; }
.inflated {
  font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FF9A7A 0%, var(--boss) 38%, var(--boss-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 18px rgba(217, 58, 14, 0.25));
  animation: bob 5s ease-in-out infinite;
  transform-origin: left bottom;
}
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.hero__lead { font-size: 1.18rem; max-width: 34em; margin-top: 22px; color: var(--ink-2); }
.hero__facts { list-style: none; padding: 0; margin: 18px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink); }
.hero__facts li::before { content: '●'; color: var(--boss); margin-right: 8px; font-size: 0.6em; vertical-align: middle; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card--form { padding: clamp(20px, 3vw, 32px); }
.card__title { font-size: 1.3rem; }
.card__sub { color: var(--ink-2); margin: 8px 0 18px; font-size: 0.95rem; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero::before { display: none; }
}

/* ---------- forms ---------- */
.qform__hp { position: absolute; left: -9999px; }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 0.9rem; font-weight: 500; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.field--error input, .field--error textarea { border-color: var(--boss); }
.field em { font-style: normal; color: var(--boss-deep); font-size: 0.82rem; }
.qform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.qform__note { color: var(--ink-2); }
@media (max-width: 560px) { .qform__row { grid-template-columns: 1fr; } }

/* ---------- clients marquee ---------- */
.clients { padding: 10px 0 40px; border-top: 1px solid var(--line); }
.clients__label { color: var(--ink-2); padding: 18px 0 6px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 40s linear infinite; padding: 8px 0; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink); opacity: 0.85; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--flush { padding-top: 24px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .eyebrow { color: rgba(255,255,255,0.65); }
.section__head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row > div, .section__head--row > h2 { max-width: 40em; flex: 1 1 24em; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* category tiles */
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.tile__size { color: var(--sky); }
.tile p { color: var(--ink-2); margin: 0; flex: 1; }
.tile__go { font-family: var(--display); font-weight: 700; font-size: 0.8rem; color: var(--boss); }

/* project cards */
.pcard { display: block; text-decoration: none; color: inherit; }
.pcard__img {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #333), var(--c2, #111));
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.chip { position: absolute; left: 14px; bottom: 14px; background: rgba(14,18,32,0.75); color: #fff; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.pcard__body { padding: 14px 4px 0; }
.pcard__client { font-family: var(--display); font-weight: 900; font-size: 0.8rem; color: var(--boss); }
.pcard__body h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.pcard__body p { margin: 0; opacity: 0.65; }

/* process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 0 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--boss); z-index: 1; }
.step__img { width: calc(100% + 52px); margin: 0 -26px 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.step__n { color: var(--boss); display: block; margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* why */
.why__item h3 { margin-bottom: 8px; }
.why__item p { color: var(--ink-2); margin: 0; }

/* testimonials */
.tq { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tq p { font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.4; }
.tq footer { display: flex; flex-direction: column; gap: 2px; color: var(--ink-2); font-size: 0.95rem; }

/* industries */
.section--industries { padding-top: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; font-weight: 500; font-size: 0.92rem; transition: background .15s, border-color .15s; }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill--static { cursor: default; }
.pill--static:hover { border-color: var(--line); }
.footer span { display: block; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.pills--filter { margin-top: 24px; }

/* notes */
.note { display: block; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.note:hover { border-color: var(--ink); }
.note .mono { color: var(--ink-2); }
.note h3, .note h2 { margin: 8px 0 8px; }
.note h2 { font-size: 1.35rem; }
.note p { color: var(--ink-2); margin: 0; }
.note--row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.post-list { display: grid; gap: 14px; }
.tags { display: inline-block; margin-top: 12px; color: var(--sky); }
@media (max-width: 600px) { .note--row { grid-template-columns: 1fr; gap: 4px; } }

/* cta band */
.cta-band { background: var(--boss); color: #fff; padding: clamp(56px, 8vw, 100px) 0; }
.cta-band__in { text-align: center; max-width: 40em; margin-inline: auto; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; }
.cta-band p { margin: 14px 0 26px; font-size: 1.1rem; opacity: 0.9; }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 16em; }
.page-head .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin-top: 18px; }
.page-head--thanks { padding-bottom: clamp(80px, 10vw, 140px); }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.back { display: inline-block; margin-bottom: 20px; text-decoration: none; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.empty { color: var(--ink-2); }

.project__head { padding: clamp(32px, 5vw, 64px) 0 32px; max-width: 820px; }
.project__head .lead { margin-top: 18px; }
.specs { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 22px 0 0; }
.specs div { display: flex; flex-direction: column; gap: 2px; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 600; }
.specs--stack { flex-direction: column; gap: 18px; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--c1, #333), var(--c2, #111)); }
.gallery--1 .gallery__item { aspect-ratio: 3 / 2; max-height: 720px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.project__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(32px, 5vw, 64px) 0; align-items: start; }
.prose { font-size: 1.08rem; }
.prose p { margin-bottom: 1.2em; }
.project__aside { position: sticky; top: 90px; }
@media (max-width: 900px) { .project__body { grid-template-columns: 1fr; } .project__aside { position: static; } }

.post { padding: clamp(32px, 5vw, 64px) 0; }
.post h1 { margin-bottom: 18px; }
.post .prose { margin-top: 28px; }

.studio { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.studio__photo { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.studio__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .studio { grid-template-columns: 1fr; } }

.quote-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.quote-aside { padding-top: 12px; }
.quote-aside h2 { font-size: 1.2rem; margin-bottom: 14px; }
.checklist { padding-left: 1.2em; color: var(--ink-2); }
.checklist li { margin-bottom: 8px; }
.quote-aside .mono { margin-top: 20px; color: var(--ink-2); }
@media (max-width: 800px) { .quote-layout { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #fff; padding: 64px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer a { display: block; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; display: inline-flex; margin-bottom: 14px; }
.footer__brand p { color: rgba(255,255,255,0.7); max-width: 28em; }
.footer h4 { color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer__hours { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin: 6px 0 16px; }
.footer .btn { display: inline-flex; color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer__legal a { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .inflated, .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .pcard__img img { transition: none; }
}
