/* Awesome Cause — Civic Pop component styles. Every value is a token from tokens.css. */

/* ---------- Base ---------- */
.ac-page, .ac-page * { box-sizing: border-box; }
.ac-page {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.ac-page img, .ac-page svg { display: block; max-width: 100%; }
.ac-page a { color: inherit; }
.ac-page :focus-visible { outline: var(--line-3) solid var(--focus); outline-offset: 2px; }
.ac-page h1, .ac-page h2, .ac-page h3, .ac-page h4, .ac-page p, .ac-page ul { margin: 0; }
.ac-page ul, .ac-page ol { padding: 0; list-style: none; }
.ac-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
@media (min-width: 960px) { .ac-container { padding: 0 var(--space-7); } }

/* ---------- Type ---------- */
.ac-display-xl, .ac-display-lg, .ac-display-md, .ac-display-sm, .ac-h-lg, .ac-h-md, .ac-h-sm {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ac-display-xl { font-size: 72px; line-height: 1; letter-spacing: -0.025em; }
.ac-display-lg { font-size: 56px; line-height: 1.02; }
.ac-display-md { font-size: 44px; line-height: 1.05; }
.ac-display-sm { font-size: 32px; line-height: 1.1; letter-spacing: -0.015em; }
@media (max-width: 959px) { .ac-display-xl { font-size: 56px; line-height: 1.02; } .ac-display-lg { font-size: 48px; } }
@media (max-width: 639px) { .ac-display-xl { font-size: 42px; line-height: 1.05; } .ac-display-lg { font-size: 38px; } .ac-display-md { font-size: 34px; line-height: 1.08; } }
.ac-h-lg { font-size: 26px; line-height: 32px; letter-spacing: -0.015em; }
.ac-h-md { font-size: 21px; line-height: 27px; font-weight: 700; letter-spacing: -0.01em; }
.ac-h-sm { font-size: 17px; line-height: 23px; font-weight: 700; letter-spacing: -0.005em; }
.ac-eyebrow { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ac-body-lg { font-size: 19px; line-height: 30px; }
.ac-body { font-size: 17px; line-height: 27px; }
.ac-body-sm { font-size: 15px; line-height: 22px; }
.ac-caption { font-size: 13px; line-height: 18px; font-weight: 500; }
.ac-muted { color: var(--ink-muted); }
.ac-measure { max-width: var(--measure); }
.ac-link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ac-link:hover { text-decoration-thickness: 3px; }
.ac-pink { color: var(--pink); }
.ac-accent { color: var(--mustard); }

/* ---------- Glyphs ---------- */
.ac-glyph { width: 24px; height: 24px; flex: none; color: currentColor; }
.ac-glyph svg { width: 100%; height: 100%; }
.ac-glyph--32 { width: 32px; height: 32px; }
.ac-glyph-disc {
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  border: var(--line-2) solid var(--line); border-radius: var(--radius-pill);
  background: var(--mustard); color: var(--on-accent);
}
.ac-glyph-disc--pink { background: var(--pink); }
.ac-glyph-disc--mint { background: var(--mint); color: var(--ink); }
.ac-glyph-disc--paper { background: var(--paper-raised); color: var(--ink); }
.ac-glyph-disc--navy { background: var(--navy); color: var(--ink-on-space); }
.ac-glyph-disc .ac-glyph { width: 28px; height: 28px; }

/* ---------- Button ---------- */
.ac-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-5);
  font: inherit; font-size: 16px; line-height: 20px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--on-accent); background: var(--pink);
  border: var(--line-2) solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
.ac-btn:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-offset-sm); }
.ac-btn:active { transform: translate(6px, 6px); box-shadow: var(--shadow-none); }
.ac-btn--secondary { background: var(--mustard); }
.ac-btn--ghost { background: var(--paper-raised); color: var(--ink); }
.ac-btn--ghost:hover { background: var(--pink-tint); }
.ac-btn--on-dark { color: var(--ink); background: var(--paper-raised); }
.ac-btn--lg { min-height: 56px; padding: var(--space-4) var(--space-6); font-size: 18px; }
.ac-btn--sm { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: 15px; box-shadow: var(--shadow-offset-sm); }
.ac-btn--sm:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 var(--shadow-ink); }
.ac-btn[disabled], .ac-btn.is-disabled {
  background: transparent; color: var(--ink-muted); border-color: var(--line-soft);
  box-shadow: var(--shadow-none); transform: none; cursor: not-allowed;
}
.ac-btn .ac-glyph { width: 20px; height: 20px; }

/* ---------- Badge ---------- */
.ac-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px var(--space-3); min-height: 32px;
  font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--paper-raised);
  border: var(--line-2) solid var(--line); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-offset-sm);
}
.ac-badge--pink { background: var(--pink-tint); }
.ac-badge--mustard { background: var(--mustard); color: var(--on-accent); }
.ac-badge--mint { background: var(--mint); }
.ac-badge--solid { background: var(--pink); color: var(--on-accent); }
.ac-badge--on-dark { background: var(--space-raised); color: var(--ink-on-space); border-color: var(--ink-on-space); box-shadow: 3px 3px 0 0 var(--mustard); }
.ac-badge--flat { box-shadow: var(--shadow-none); }
.ac-badge .ac-glyph { width: 16px; height: 16px; }
.ac-badge-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: center; }

/* ---------- Window ---------- */
.ac-window {
  position: relative;
  background: var(--paper-raised); color: var(--ink);
  border: var(--line-2) solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset); overflow: hidden;
}
.ac-window__bar {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 40px; padding: var(--space-2) var(--space-4);
  background: var(--paper); border-bottom: var(--line-2) solid var(--line);
}
.ac-window__dots { display: inline-flex; gap: 6px; }
.ac-window__dots i { width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--line); display: block; }
.ac-window__dots--brand i:nth-child(1) { background: var(--pink); }
.ac-window__dots--brand i:nth-child(2) { background: var(--mustard); }
.ac-window__dots--brand i:nth-child(3) { background: var(--navy); }
.ac-window__title { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ac-window__body { padding: var(--space-5); }
.ac-window__body--lg { padding: var(--space-6); }
.ac-window--pink { background: var(--pink); color: var(--on-accent); }
.ac-window--pink .ac-window__bar { background: var(--pink); }
.ac-window--pink .ac-window__title { color: var(--on-accent); }
.ac-window--mustard { background: var(--mustard); color: var(--on-accent); }
.ac-window--mustard .ac-window__bar { background: var(--mustard); }
.ac-window--mustard .ac-window__title { color: var(--on-accent); }
.ac-window--mint { background: var(--mint); }
.ac-window--mint .ac-window__bar { background: var(--mint); }
.ac-window--space { background: var(--space-raised); color: var(--ink-on-space); border-color: var(--ink-on-space); box-shadow: 6px 6px 0 0 var(--mustard); }
.ac-window--space .ac-window__bar { background: var(--space); border-color: var(--ink-on-space); }
.ac-window--space .ac-window__dots i { background: var(--ink-on-space); }
.ac-window--space .ac-window__title { color: var(--ink-muted-on-space); }
.ac-window--lg { border-width: var(--line-3); border-radius: var(--radius-lg); box-shadow: var(--shadow-offset-lg); }
.ac-window--flat { box-shadow: var(--shadow-none); }
.ac-window--link { display: block; text-decoration: none; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }
.ac-window--link:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-offset-sm); }
.ac-window__fig { padding: var(--space-5); display: flex; align-items: center; justify-content: center; }
.ac-tint { background: var(--mint); border-radius: var(--radius-sm); }

/* ---------- Check list ---------- */
.ac-check-list { display: grid; gap: var(--space-3); }
.ac-check-list li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 15px; line-height: 22px; }
.ac-check-list .ac-glyph { width: 20px; height: 20px; margin-top: 1px; color: var(--pink-deep); }
.ac-window--space .ac-check-list .ac-glyph, .ac-on-space .ac-check-list .ac-glyph { color: var(--mustard); }

/* ---------- Header ---------- */
.ac-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: var(--line-2) solid var(--line); }
.ac-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 76px; }
.ac-header__logo img { height: 44px; width: auto; }
.ac-nav { display: none; align-items: center; gap: var(--space-6); }
.ac-nav a { font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; padding: var(--space-3) 0; border-bottom: 3px solid transparent; }
.ac-nav a:hover, .ac-nav a[aria-current="page"] { border-bottom-color: var(--pink); }
.ac-header__actions { display: flex; align-items: center; gap: var(--space-3); }
@media (min-width: 960px) { .ac-nav { display: flex; } .ac-header__menu { display: none; } }

/* ---------- Sections ---------- */
.ac-section { padding: var(--space-8) 0; background: var(--paper); color: var(--ink); }
@media (min-width: 960px) { .ac-section { padding: var(--space-9) 0; } }
.ac-section--mint { background: var(--mint); }
.ac-section--butter { background: var(--butter); }
.ac-section--mustard { background: var(--mustard); color: var(--on-accent); }
.ac-section--space, .ac-on-space { background: var(--space); color: var(--ink-on-space); }
.ac-section--space .ac-muted, .ac-on-space .ac-muted { color: var(--ink-muted-on-space); }
.ac-section--space .ac-link { color: var(--mustard); }
.ac-section--pattern { position: relative; isolation: isolate; }
.ac-section--pattern > .ac-pattern { position: absolute; inset: 0; z-index: -1; background-size: 1400px auto; background-position: center top; background-repeat: repeat; opacity: 0.4; }
.ac-section--tight { padding: var(--space-6) 0; }
.ac-section--strip { border-top: var(--line-2) solid var(--line); border-bottom: var(--line-2) solid var(--line); padding: var(--space-7) 0; }
.ac-section__head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); max-width: 760px; }
.ac-section__head .ac-badge { justify-self: start; }
.ac-rule { height: 2px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- Grids ---------- */
.ac-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .ac-grid { gap: var(--space-6); } .ac-grid--2, .ac-grid--4 { grid-template-columns: repeat(2, 1fr); } .ac-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .ac-grid--4 { grid-template-columns: repeat(4, 1fr); } .ac-grid--split { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

/* ---------- Hero ---------- */
.ac-hero { padding: var(--space-8) 0; overflow: hidden; }
@media (min-width: 960px) { .ac-hero { padding: var(--space-9) 0 var(--space-10); } }
.ac-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .ac-hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-8); } }
.ac-hero__copy { display: grid; gap: var(--space-5); justify-items: start; }
.ac-hero__copy h1 { max-width: 13ch; }
.ac-hero__copy h1 em { font-style: normal; color: var(--pink); }
.ac-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.ac-hero__art { position: relative; min-height: 470px; }
.ac-hero__art .ac-window { position: absolute; }
.ac-hero__art .ac-art-main { left: 0; top: 28px; width: 72%; }
.ac-hero__art .ac-art-stat { left: 52%; top: 48%; width: 44%; }
.ac-hero__art .ac-art-mark { left: 66%; top: 0; width: 30%; }
@media (max-width: 959px) { .ac-hero__art { min-height: 380px; } }
@media (max-width: 639px) { .ac-hero__art { min-height: 440px; } .ac-hero__art .ac-art-main { width: 78%; } .ac-hero__art .ac-art-stat { width: 48%; top: 46%; } }
.ac-stat-num { font-family: var(--font-display); font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }

/* ---------- Service card ---------- */
.ac-service .ac-window__body { display: grid; gap: var(--space-4); }
.ac-service__title { font-family: var(--font-display); font-size: 21px; line-height: 27px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Process steps ---------- */
.ac-steps { display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 640px) { .ac-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ac-steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); } }
.ac-step { display: grid; gap: var(--space-3); padding-top: var(--space-5); border-top: var(--line-2) solid var(--line); align-content: start; }
.ac-step__art { height: 104px; display: flex; align-items: center; margin-bottom: var(--space-2); }
.ac-step__art img { max-height: 104px; max-width: 170px; width: auto; height: auto; }
.ac-step__num { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--pink); }
.ac-step__title { font-family: var(--font-display); font-size: 21px; line-height: 27px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Work card ---------- */
.ac-work .ac-window__body { display: grid; gap: var(--space-3); }
.ac-work__thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); border: var(--line-2) solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ac-work__thumb--pink { background: var(--pink); }
.ac-work__thumb--mustard { background: var(--mustard); }
.ac-work__thumb--navy { background: var(--navy); }
.ac-work__thumb--space { background: var(--space); }
.ac-work__thumb--mint { background: var(--mint); }
.ac-work__thumb img { width: 62%; height: auto; }
.ac-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ac-tag { font-size: 13px; line-height: 18px; font-weight: 500; padding: 2px var(--space-2); border: var(--line-2) solid var(--line-soft); border-radius: var(--radius-sm); color: var(--ink-muted); }

/* ---------- Proof bar ---------- */
.ac-proof { display: grid; }
@media (min-width: 640px) { .ac-proof { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ac-proof { grid-template-columns: repeat(4, 1fr); } }
.ac-proof__cell { padding: var(--space-5); display: grid; gap: var(--space-2); border-top: var(--line-2) solid var(--line); }
@media (min-width: 640px) { .ac-proof__cell:nth-child(odd) { border-right: var(--line-2) solid var(--line); } }
@media (min-width: 960px) { .ac-proof__cell { border-top: 0; border-right: var(--line-2) solid var(--line); } .ac-proof__cell:last-child { border-right: 0; } }
.ac-proof__num { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.ac-proof__label { font-size: 15px; line-height: 22px; font-weight: 600; }

/* ---------- Testimonial ---------- */
.ac-quote__body { display: grid; gap: var(--space-5); padding: var(--space-6); }
@media (min-width: 640px) { .ac-quote__body { grid-template-columns: 96px 1fr; gap: var(--space-6); align-items: start; } }
.ac-quote__avatar { width: 96px; height: 96px; border-radius: var(--radius-pill); border: var(--line-2) solid var(--line); background: var(--mint); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ac-quote__avatar img { width: 100%; height: 100%; }
.ac-quote__text { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -0.015em; }
.ac-quote__who { display: grid; gap: 2px; }

/* ---------- CTA band ---------- */
.ac-cta { background: var(--mustard); color: var(--on-accent); border-top: var(--line-2) solid var(--line); border-bottom: var(--line-2) solid var(--line); }
.ac-cta__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .ac-cta__grid { grid-template-columns: 1fr auto; gap: var(--space-8); } }
.ac-cta__copy { display: grid; gap: var(--space-4); justify-items: start; }
.ac-cta__art { width: 260px; max-width: 100%; }
@media (min-width: 960px) { .ac-cta__art { width: 340px; } }

/* ---------- Footer ---------- */
.ac-footer { background: var(--space); color: var(--ink-on-space); padding: var(--space-8) 0 var(--space-6); }
.ac-footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .ac-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ac-footer__logo img { height: 40px; width: auto; }
.ac-footer h3 { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mustard); margin-bottom: var(--space-3); }
.ac-footer ul { display: grid; gap: var(--space-2); }
.ac-footer a { text-decoration: none; font-size: 15px; line-height: 22px; }
.ac-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-footer__legal { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 2px solid var(--navy); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; color: var(--ink-muted-on-space); font-size: 13px; line-height: 18px; }

/* ---------- Placeholder marker (never ships) ---------- */
.ac-placeholder { margin-left: auto; min-height: 24px; padding: 2px var(--space-2); font-size: 11px; letter-spacing: 0.12em; box-shadow: var(--shadow-none); flex: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ac-btn, .ac-window--link { transition: none; }
  .ac-btn:hover, .ac-btn:active, .ac-window--link:hover { transform: none; }
}

/* ---------- Fields (also the skin for a raw-HTML HubSpot form inside .ac-embed) ---------- */
.ac-form { display: grid; gap: var(--space-4); }
.ac-form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .ac-form__row--2 { grid-template-columns: 1fr 1fr; } }
.ac-field { display: grid; gap: var(--space-2); }
.ac-label, .ac-embed .hs-form label:not(.hs-form-booleancheckbox-display):not(.hs-form-radio-display) { font-size: 15px; line-height: 20px; font-weight: 700; }
.ac-label .ac-req, .ac-embed .hs-form .hs-form-required { color: var(--pink-deep); margin-left: 2px; }
.ac-help { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.ac-input, .ac-select, .ac-textarea,
.ac-embed .hs-form input[type="text"], .ac-embed .hs-form input[type="email"], .ac-embed .hs-form input[type="tel"], .ac-embed .hs-form input[type="number"],
.ac-embed .hs-form select, .ac-embed .hs-form textarea {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  font: inherit; font-size: 16px; line-height: 22px; color: var(--ink);
  background: var(--paper-raised); border: var(--line-2) solid var(--line); border-radius: var(--radius-sm);
  box-shadow: none; transition: box-shadow 120ms ease-out, transform 120ms ease-out;
}
.ac-textarea, .ac-embed .hs-form textarea { min-height: 120px; resize: vertical; }
.ac-select, .ac-embed .hs-form select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.ac-input:focus, .ac-select:focus, .ac-textarea:focus,
.ac-embed .hs-form input:focus, .ac-embed .hs-form select:focus, .ac-embed .hs-form textarea:focus {
  outline: var(--line-3) solid var(--focus); outline-offset: 2px; box-shadow: var(--shadow-offset-sm);
}
.ac-input::placeholder, .ac-textarea::placeholder, .ac-embed .hs-form ::placeholder { color: var(--ink-muted); opacity: 1; }
.ac-field.is-error .ac-input, .ac-field.is-error .ac-select, .ac-field.is-error .ac-textarea, .ac-embed .hs-form .hs-input.error { border-color: var(--pink-deep); }
.ac-error, .ac-embed .hs-form .hs-error-msg { display: flex; gap: var(--space-2); align-items: center; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--pink-deep); }
.ac-embed .hs-form .hs-error-msgs { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.ac-embed .hs-form .hs-form-field { margin-bottom: var(--space-4); }
.ac-embed .hs-form .hs-button, .ac-embed .hs-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-3) var(--space-5);
  font: inherit; font-size: 16px; line-height: 20px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--on-accent); background: var(--pink); border: var(--line-2) solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset); cursor: pointer; transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
.ac-embed .hs-form .hs-button:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-offset-sm); }
.ac-embed .hs-form .legal-consent-container, .ac-embed .hs-form .hs-richtext { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
/* Choice chips: a checkbox or radio styled as a sticker that fills pink when selected */
.ac-chips { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.ac-chip { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: var(--space-2) var(--space-4); font-size: 15px; line-height: 20px; font-weight: 600; background: var(--paper-raised); border: var(--line-2) solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-offset-sm); cursor: pointer; user-select: none; }
.ac-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ac-chip:has(input:checked) { background: var(--pink); color: var(--on-accent); }
.ac-chip:has(input:focus-visible) { outline: var(--line-3) solid var(--focus); outline-offset: 2px; }
.ac-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 22px; cursor: pointer; }
.ac-check input { width: 22px; height: 22px; margin: 0; flex: none; appearance: none; background: var(--paper-raised); border: var(--line-2) solid var(--line); border-radius: var(--radius-sm); cursor: pointer; display: grid; place-content: center; }
.ac-check input:checked { background: var(--pink); }
.ac-check input:checked::after { content: ""; width: 12px; height: 7px; border: 0 solid var(--on-accent); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.ac-check input:focus-visible { outline: var(--line-3) solid var(--focus); outline-offset: 2px; }

/* ---------- Modal ---------- */
.ac-modal { padding: 0; border: 0; background: transparent; max-width: min(640px, calc(100vw - 32px)); width: 100%; margin: auto; overflow: visible; }
.ac-modal::backdrop { background: rgba(15, 19, 54, 0.78); }
.ac-modal .ac-window { border-width: var(--line-3); border-radius: var(--radius-lg); box-shadow: var(--shadow-offset-lg); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
.ac-modal .ac-window__bar { gap: var(--space-3); flex: none; }
.ac-modal__close { margin-left: auto; width: 36px; height: 36px; min-height: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 22px; line-height: 1; font-weight: 700; color: var(--ink); background: var(--paper-raised); border: var(--line-2) solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-offset-sm); cursor: pointer; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }
.ac-modal__close:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 var(--shadow-ink); }
.ac-modal .ac-window__body { overflow: auto; min-height: 0; display: block; }
.ac-modal__intro { margin-bottom: var(--space-5); }
.ac-modal .ac-embed { margin-bottom: var(--space-5); }
.ac-modal__intro > * + * { margin-top: var(--space-2); }
.ac-embed { min-height: 160px; }
.ac-embed__loading { display: grid; place-items: center; min-height: 160px; border: var(--line-2) dashed var(--line-soft); border-radius: var(--radius-sm); color: var(--ink-muted); font-size: 15px; }
.ac-modal__foot { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.ac-modal[open] { animation: ac-modal-in 160ms ease-out; }
@keyframes ac-modal-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ac-modal[open] { animation: none; } }
/* Static demo of an open modal inside a preview (no <dialog> top layer) */
.ac-modal-demo { position: relative; min-height: 900px; overflow: hidden; background: var(--paper); }
.ac-modal-demo .ac-modal .ac-window { max-height: 820px; }
.ac-modal-demo__backdrop { position: absolute; inset: 0; background: rgba(15, 19, 54, 0.78); }
.ac-modal-demo .ac-modal { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); display: block; }

/* =====================================================================
   Production additions. Everything above this line is
   design-system/components/bundle.css verbatim; keep it that way so the
   file can be re-synced from a new export. Values below are tokens only.
   ===================================================================== */

/* The reference page set this inline in its <head>. */
html, body { margin: 0; background: var(--paper); }

/* ---------- Mobile navigation ----------
   Under 960px the header's Menu button discloses #ac-menu: a Window (keyline, title bar,
   offset shadow) dropped just below the header's keyline, holding the four nav links and
   the "Book a call" button. js/site.js toggles [hidden] and aria-expanded. */
.ac-menu { position: absolute; left: 0; right: 0; top: calc(100% + var(--line-2) + var(--space-3)); }
.ac-menu__body { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); overflow-y: auto; }
.ac-menu__links { display: grid; margin-bottom: var(--space-5); }
.ac-menu__links li + li { border-top: var(--line-2) solid var(--line-soft); }
.ac-menu__links a { display: flex; align-items: center; min-height: 48px; font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; }
.ac-menu__links a:hover, .ac-menu__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ac-menu .ac-btn { width: 100%; }
.ac-header__menu[aria-expanded="true"] { transform: translate(3px, 3px); box-shadow: var(--shadow-none); }
@media (min-width: 960px) { .ac-menu { display: none; } }

/* ---------- Accessibility ---------- */
/* Skip link: the first stop for keyboard users, shown over the header only while focused. */
.ac-skip { position: absolute; z-index: 20; left: var(--space-5); top: -100px; }
.ac-skip:focus { top: var(--space-3); }

/* Anchor jumps and focus scrolling stop below the sticky header (76px min-height plus its keyline),
   so it never covers a section's top or a focused control (WCAG 2.2 2.4.11). */
html { scroll-padding-top: calc(76px + var(--line-2)); }

/* The footer sits on space but is not .ac-section--space, so .ac-muted fell back to ink-muted
   (2.8:1 on space). The Footer guideline sets the blurb in ink-muted-on-space (9.6:1). */
.ac-footer .ac-muted { color: var(--ink-muted-on-space); }

/* The light theme's focus ring is navy, which nearly disappears on space (1.7:1). On space grounds
   use Theme Space's focus value, mustard (10.9:1), as the system does for its dark theme. */
.ac-footer, .ac-section--space { --focus: var(--mustard); }

/* Footer column titles are h2s (top-level groups, not subsections of the CTA band); same look as the bundle's h3. */
.ac-footer h2 { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mustard); margin-bottom: var(--space-3); }

/* Reduced motion: remove the hover and press movement the bundle's own block does not cover. */
@media (prefers-reduced-motion: reduce) {
  .ac-modal__close, .ac-embed .hs-form .hs-button,
  .ac-input, .ac-select, .ac-textarea, .ac-embed .hs-form input, .ac-embed .hs-form select, .ac-embed .hs-form textarea { transition: none; }
  .ac-modal__close:hover, .ac-embed .hs-form .hs-button:hover, .ac-header__menu[aria-expanded="true"] { transform: none; }
}

/* ---------- Contact form (posted to the Worker; see js/site.js) ---------- */
/* [hidden] has to beat the components' own display values (.ac-form is a grid, .ac-error a flex row). */
.ac-page [hidden] { display: none !important; }
/* The honeypot field: off-screen and out of the accessibility tree, so only bots fill it in. */
.ac-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile stays invisible unless it needs the visitor; then it gets room above the button. */
.ac-turnstile.is-interactive { margin-bottom: var(--space-4); }
.ac-form__done { display: grid; gap: var(--space-2); }
/* With the budget field gone, the project textarea takes its 92px (label, gap, select and row gap): 120px + 92px. */
.ac-textarea--tall { min-height: 212px; }

/* ---------- Privacy and accessibility dialogs ---------- */
.ac-modal .ac-legal { display: grid; gap: var(--space-3); align-content: start; }
.ac-legal p:not(.ac-caption), .ac-legal li { font-size: 15px; line-height: 22px; }
.ac-legal h3 { margin-top: var(--space-3); }
.ac-legal ul { list-style: disc; padding-left: var(--space-5); display: grid; gap: var(--space-2); }

/* ---------- CTA band ---------- */
/* The ship's width/height attributes pinned it at 106px tall, so it filled only 208px of its 340px column
   (260px on phones). height: auto lets it take the column's full width, as the CTABand guideline intends. */
.ac-cta__art { height: auto; }
