/* ==========================================================================
   BlueFire Marketing & Consulting — bluefiremcf.com
   Shared stylesheet for every page.
   Colors pass WCAG AA when used as documented in the brand playbook.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #283f73;
  --royal: #283f73;
  --teal: #036898;
  --cyan: #059ec4;
  --cyan-light: #5cc6e2;   /* small text on navy/royal only */
  --night: #0f1d3a;
  --night-2: #0b162d;
  --white: #ffffff;

  /* Neutrals */
  --ink: var(--navy);
  --muted: #4a5b80;
  --muted-on-dark: #c9d4ea;
  --line: #e3e9f2;
  --line-strong: #7d8db0;
  --mist: #f3f6fb;
  --mist-2: #e6eef8;

  /* Type & layout */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -24px rgba(15, 29, 58, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--royal); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--cyan-light);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--night);
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--night); color: var(--white); padding: 12px 18px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Network bar (shared across all BlueFire sites) ---------- */
.network-bar { background: var(--night); color: var(--muted-on-dark); font-size: 13px; }
.network-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 20px; min-height: 44px; flex-wrap: wrap;
}
.network-bar__brand { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 800; text-decoration: none; }
.network-bar__brand img { height: 20px; width: auto; }
.network-bar nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.network-bar a { color: var(--muted-on-dark); text-decoration: none; font-weight: 600; padding: 12px 0; }
.network-bar a:hover { color: var(--white); }
.network-bar a[aria-current="true"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--cyan-light); }
.network-bar__login { color: var(--cyan-light) !important; font-weight: 700 !important; }
.network-bar__sites { display: flex; gap: 4px 18px; flex-wrap: wrap; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(15, 29, 58, 0.5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; transition: min-height 0.3s var(--ease); }
.site-header.is-scrolled .container { min-height: 68px; }
.site-header__logo img { height: 60px; width: auto; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .site-header__logo img { height: 48px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--royal); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 24px; border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(13, 68, 140, 0.7); }
.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover { background: #0a3a78; color: var(--white); }
.btn-outline { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn-outline:hover { background: var(--royal); color: var(--white); }
.btn-light { background: var(--white); color: var(--royal); }
.btn-light:hover { color: var(--royal); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--royal); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--navy); color: var(--white); }
.section--royal { background: var(--royal); color: var(--white); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal);
}
.section--dark .eyebrow, .section--royal .eyebrow, .page-hero--dark .eyebrow { color: var(--cyan-light); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 440px; }
.section--dark .section-head p, .section--royal .section-head p { color: var(--muted-on-dark); }
.h2 { font-size: clamp(32px, 4vw, 48px); }
.h3 { font-size: 22px; }
.lead { font-size: 19px; color: var(--muted); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 112px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.03; }
.hero h1 .accent { color: var(--teal); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 6px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--teal); }

/* Animated flame visual */
.hero__visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center;
  border-radius: 28px; background: var(--navy); overflow: hidden; isolation: isolate;
}
.hero__visual::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(5, 158, 196, 0.55), transparent 70%),
    radial-gradient(closest-side at 75% 70%, rgba(13, 68, 140, 0.9), transparent 70%),
    radial-gradient(closest-side at 70% 20%, rgba(3, 104, 152, 0.7), transparent 70%);
  animation: drift 18s var(--ease) infinite alternate;
}
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(92, 198, 226, 0.35); transform: translate(-50%, -50%); }
.ring--1 { width: 46%; height: 46%; animation: pulse 6s ease-in-out infinite; }
.ring--2 { width: 68%; height: 68%; border-style: dashed; border-color: rgba(92, 198, 226, 0.25); animation: spin 60s linear infinite; }
.ring--3 { width: 90%; height: 90%; border-color: rgba(255, 255, 255, 0.12); animation: pulse 8s ease-in-out infinite 1s; }
.hero__flame {
  position: absolute; left: 50%; top: 46%; width: 30%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 16px 30px rgba(5, 158, 196, 0.45));
  animation: float 6s ease-in-out infinite;
}
.hero__chip {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 12px; padding: 12px 16px;
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  animation: float 7s ease-in-out infinite;
}
.hero__chip svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.hero__visual .hero__flame { width: 22%; top: 27%; }
/* Hero: a live feed of what we do for clients. One new card slides in at a time (main.js); without JS it shows three. */
.hero__feed { position: absolute; left: 7%; right: 7%; bottom: 7%; height: 224px; }
.feed-card { position: absolute; left: 0; right: 0; bottom: 0; height: 68px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 0 14px; box-shadow: 0 14px 30px -18px rgba(5, 15, 40, 0.6);
  opacity: 0; transform: translateY(40px) scale(0.98); transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); transform-origin: 50% 100%; }
.feed-card[data-slot="0"] { opacity: 1; transform: none; }
.feed-card[data-slot="1"] { opacity: 0.9; transform: translateY(calc(-100% - 10px)) scale(0.96); }
.feed-card[data-slot="2"] { opacity: 0.55; transform: translateY(calc(-200% - 20px)) scale(0.92); }
.feed-card[data-slot="out"] { opacity: 0; transform: translateY(calc(-300% - 30px)) scale(0.88); }
.feed-card__ic { width: 40px; height: 40px; border-radius: 10px; background: #e2f0f7; display: grid; place-items: center; color: var(--teal); }
.feed-card__ic svg { width: 20px; height: 20px; }
.feed-card__t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.feed-card__t b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-card__t small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-card em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--teal); background: #eef6fa; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 600px) { .hero__feed { height: 206px; left: 5%; right: 5%; } .feed-card { height: 62px; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 0 12px; }
  .feed-card__ic { width: 34px; height: 34px; } .feed-card em { display: none; } .feed-card__t b { font-size: 14px; } .feed-card__t small { font-size: 12.5px; }
  .hero__feed { height: 134px; } .feed-card[data-slot="2"] { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .feed-card { transition: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.6; scale: 1; } 50% { opacity: 1; scale: 1.04; } }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(6%, -4%) rotate(20deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 88px 0 72px; position: relative; overflow: hidden; }
.page-hero .container { display: flex; flex-direction: column; gap: 20px; position: relative; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); max-width: 860px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 660px; }
.page-hero__flame { position: absolute; right: 4%; top: 50%; width: 140px; translate: 0 -50%; opacity: 0.12; animation: float 7s ease-in-out infinite; }
.page-hero--dark { background: var(--navy); color: var(--white); border-bottom: 0; }
.page-hero--dark p { color: var(--muted-on-dark); }
.page-hero--dark .page-hero__flame { opacity: 0.25; }

/* ---------- Trust strip ---------- */
.trust { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.trust__label { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.trust__items { display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 700; color: var(--muted); font-size: 15px; }
.trust__items span { display: inline-flex; align-items: center; gap: 8px; }
.trust__items svg { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d4ea; }
.card p { color: var(--muted); font-size: 16px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--mist-2); color: var(--teal);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s, color 0.3s;
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--royal); color: var(--white); }
.card__link { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: 15px; color: var(--teal); display: inline-flex; gap: 6px; align-items: center; }
.card__link .arrow { transition: transform 0.25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }
.card--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card--dark p { color: var(--muted-on-dark); }
.card--dark .card__icon { background: rgba(255, 255, 255, 0.1); color: var(--cyan-light); }
.card--dark .card__link { color: var(--cyan-light); }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .checklist li::before, .card--dark .checklist li::before { background-color: var(--cyan-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: var(--mist-2); color: var(--royal); }

/* ---------- Signature offer (Brand Launch Kit) ---------- */
.kit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.kit__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kit__item {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  padding: 18px; display: flex; gap: 12px; align-items: center; font-weight: 700;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.kit__item:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.kit__item svg { width: 24px; height: 24px; color: var(--cyan-light); flex: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 3px solid var(--line); position: relative; }
.step::before {
  content: ""; position: absolute; top: -3px; left: 0; height: 3px; width: 0; background: var(--cyan);
  transition: width 1.1s var(--ease);
}
.step.is-visible::before { width: 100%; }
.step__num { font-size: 15px; font-weight: 800; color: var(--teal); }
.section--dark .step { border-top-color: rgba(255, 255, 255, 0.18); }
.section--dark .step__num { color: var(--cyan-light); }
.section--dark .step p { color: var(--muted-on-dark); }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Industries ---------- */
.industry { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; padding: 56px 0; border-bottom: 1px solid var(--line); }
.industry:last-child { border-bottom: 0; }
.industry__media {
  border-radius: var(--radius); min-height: 280px; background: var(--navy); color: var(--muted-on-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; position: relative; overflow: hidden;
}
.industry__media svg { width: 72px; height: 72px; color: var(--cyan-light); opacity: 0.9; }
.industry__body { display: flex; flex-direction: column; gap: 18px; }
.industry__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.industry__cols h3 { font-size: 15px; letter-spacing: 0; margin-bottom: 10px; }

/* ---------- Packages ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 18px; background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan__name { font-size: 24px; }
.plan__price { font-size: 38px; font-weight: 800; color: var(--royal); letter-spacing: -0.02em; line-height: 1; }
.plan__price small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 8px; }
.plan__for { color: var(--muted); font-size: 16px; }
.plan .checklist { border-top: 1px solid var(--line); padding-top: 20px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--navy); color: var(--white); border-color: var(--navy); position: relative; }
.plan--featured .plan__price { color: var(--white); }
.plan--featured .plan__price small, .plan--featured .plan__for { color: var(--muted-on-dark); }
.plan--featured .checklist { border-top-color: rgba(255, 255, 255, 0.18); }
.plan__badge { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--cyan-light); color: var(--night); padding: 6px 10px; border-radius: 6px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--mist); border-top: 0; font-weight: 800; }
.table tbody th { font-weight: 700; }
.table td { color: var(--muted); }

/* ---------- Brands (department storefronts) ---------- */
.brand-card { padding: 0; overflow: hidden; gap: 0; }
.brand-card__top { padding: 28px 32px; color: var(--white); display: flex; align-items: center; gap: 12px; min-height: 104px; }
.brand-card__top img { height: 34px; width: auto; }
.brand-card__top strong { font-size: 22px; letter-spacing: -0.01em; }
.brand-card__top span { font-weight: 600; opacity: 0.85; }
.brand-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.brand-card__domain { font-size: 14px; font-weight: 700; color: var(--muted); }
.bg-web { background: var(--night); }
.bg-promos { background: var(--teal); }
.bg-logos { background: var(--cyan); color: var(--night) !important; }
.bg-print { background: var(--royal); }
.bg-mail { background: var(--navy); }
.soon { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Work / portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter-btn:hover { border-color: var(--royal); }
.filter-btn[aria-pressed="true"] { background: var(--royal); color: var(--white); border-color: var(--royal); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 24px; }
.work-item { display: flex; flex-direction: column; gap: 14px; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.work-item[hidden] { display: none; }
.work-item__media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 14px; overflow: hidden; position: relative;
}
.work-item__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 29, 58, 0.35)); opacity: 0; transition: opacity 0.35s; }
.work-item:hover .work-item__media::after { opacity: 1; }
.work-item__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.work-item__meta strong { font-size: 18px; }
.work-item__meta span { font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---------- Placeholders ---------- */
.placeholder {
  border: 1.5px dashed var(--line-strong); background: var(--mist); color: var(--muted); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 15px; padding: 24px;
}

/* ---------- Team ---------- */
.person { display: flex; flex-direction: column; gap: 10px; }
.person .placeholder { aspect-ratio: 1 / 1; }
.person strong { font-size: 19px; }
.person span { color: var(--muted); font-size: 15px; margin-top: -6px; }

/* ---------- Quote ---------- */
.quote { margin: 0; padding: 32px; border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 700; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.section--dark .quote { background: rgba(255, 255, 255, 0.06); }
.section--dark .quote figcaption { color: var(--muted-on-dark); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 760px; }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 40px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 13px 14px; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--royal); }
.field .req { color: #a3341c; }
.form__note { font-size: 14px; color: var(--muted); }
.form__status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 700; }
.form__status.is-shown { display: block; }
.form__status--ok { background: #e6f4ea; color: #1f6b3a; }
.form__status--warn { background: #fdf0e1; color: #6b3a00; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.checks legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--royal); }

.contact-card { background: var(--navy); color: var(--white); border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-card h2 { font-size: 22px; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-card dt { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-light); }
.contact-card dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.contact-card a { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--royal); color: var(--white); padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(92, 198, 226, 0.35), transparent); animation: drift 14s var(--ease) infinite alternate;
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; position: relative; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 680px; }
.cta-band p { color: #d4def0; font-size: 18px; margin-top: 12px; max-width: 600px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-2); color: #b8c6e0; font-size: 15px; }
.site-footer a { color: #b8c6e0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 72px 0 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo img { height: 40px; width: auto; }
.footer__logo strong { font-size: 22px; color: var(--white); }
.footer__col h2 { font-size: 15px; letter-spacing: 0; color: var(--white); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__bottom { border-top: 1px solid #22386a; padding: 24px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .kit, .industry { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
  .hero__visual { max-width: 440px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(15, 29, 58, 0.45); display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .main-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav li a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 16px; width: 100%; }
  .network-bar__sites { display: none; }
  .site-header__logo img { height: 50px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 64px 0 56px; }
  .page-hero__flame { display: none; }
  .form, .plan, .card { padding: 26px; }
  .kit__list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cta-band { padding: 64px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .step::before { width: 100%; }
}

/* ---------- Audit page layout ---------- */
.audit-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .audit-grid { grid-template-columns: 1fr; } }

/* ---------- Specificity fixes ---------- */
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: var(--white); }
a.card.card--dark { color: var(--white); }
.tag { align-self: flex-start; }
.bg-logos img { filter: brightness(0); opacity: 0.8; }
/* Light cards keep dark text even inside dark sections */
.card { color: var(--ink); }
.card--dark, a.card.card--dark { color: var(--white); }

/* ---------- Industry pages ---------- */
.cat-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--royal); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 26px; height: 26px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }
.page-hero .hero__actions { padding-top: 8px; }
.checklist--muted li::before {
  background: var(--mist-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23283f73' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.product-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.product-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d4ea; }
.product-chip svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.related-list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list a { display: block; padding: 16px 0; font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; transition: color 0.2s, padding-left 0.3s var(--ease); }
.related-list a:hover { color: var(--royal); padding-left: 6px; }
.card--dark .h2, .card--dark h2 { color: var(--white); }

/* ---------- Legal pages (terms, privacy) ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__toc { position: sticky; top: 110px; font-size: 14px; }
.legal__toc strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-left: 2px solid var(--line); }
.legal__toc a { display: block; padding-left: 14px; color: var(--ink, #0f1d3a); text-decoration: none; line-height: 1.35; }
.legal__toc a:hover { color: var(--cyan, #059ec4); }
.legal__body { max-width: 760px; font-size: 17px; line-height: 1.7; }
.legal__meta { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.legal__section { padding-top: 28px; scroll-margin-top: 100px; }
.legal__section h2 { font-size: 24px; margin: 0 0 12px; }
.legal__section p { margin: 0 0 14px; }
.legal__section ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal__section a { color: var(--blue, #283f73); }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: static; }
}

/* ---------- About: founder photo ---------- */
.founder { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius, 16px); box-shadow: var(--shadow); display: block; }
.founder figcaption { display: flex; flex-direction: column; gap: 2px; }
.founder figcaption strong { font-size: 18px; }
.founder figcaption span { font-size: 14px; color: var(--muted); }
.plan__price--quote { font-size: 30px; }
a.work-item { color: inherit; text-decoration: none; }

/* Packages (bundles) */
.plan__sep { font-size: 14px; color: var(--muted); margin-top: auto; }
.plan--featured .plan__sep { color: var(--muted-on-dark); }
.plan__only { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.plan__only a { font-weight: 700; }
.plan--featured .plan__only { color: var(--muted-on-dark); border-top-color: rgba(255,255,255,.18); }
.plan--featured .plan__only a { color: var(--cyan-light); }
.pkg-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 18px; }

/* ---------- Home: sell-first layout ---------- */
.hero--sell { padding: 80px 0 88px; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.hero--sell h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; }
.hero__proof { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.hero__proof li { display: flex; gap: 10px; align-items: center; }
.hero__proof svg { width: 18px; height: 18px; color: var(--teal); flex: none; stroke: currentColor; fill: none; stroke-width: 2.4; }

.needs { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px -36px rgba(15, 29, 58, .45); }
.needs__q { font-size: 21px; font-weight: 800; color: var(--night); margin: 0 0 16px; letter-spacing: -0.01em; }
.need-in { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.need-chip { cursor: pointer; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 14.5px; color: var(--navy); background: #fff; transition: background .15s, color .15s, border-color .15s; user-select: none; }
.need-chip:hover { border-color: var(--night); }
.need-panels { min-height: 300px; }
.need-panel { display: none; flex-direction: column; gap: 8px; animation: needIn .28s var(--ease); }
@keyframes needIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.need-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; background: var(--mist); text-decoration: none; color: var(--ink); transition: background .15s; }
.need-row:hover, .need-row:focus-visible { background: var(--mist-2); }
.need-row__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.need-row__t b { font-size: 16px; color: var(--night); }
.need-row__t small { font-size: 14px; color: var(--muted); line-height: 1.35; }
.need-row__p { font-weight: 800; font-size: 14.5px; color: var(--teal); white-space: nowrap; text-align: right; }
.need-pkg { margin-top: 8px; padding: 14px 16px; border-radius: 12px; background: var(--night); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.need-pkg b { color: var(--cyan-light); }
.need-pkg:hover { background: var(--royal); }

.sell-strip { background: var(--night); color: #fff; padding: 26px 0; }
.sell-strip__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sell-strip__in div { display: flex; flex-direction: column; gap: 4px; }
.sell-strip__in b { font-size: 17px; }
.sell-strip__in span { font-size: 14px; color: var(--muted-on-dark); line-height: 1.4; }

.pain__text { display: flex; flex-direction: column; gap: 18px; }
.vs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.vs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-top: 1px solid var(--line); }
.vs li:first-child { border-top: 0; }
.vs__bad { padding: 16px 18px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(74, 91, 128, .45); font-size: 15px; background: var(--mist); }
.vs__good { padding: 16px 18px; display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--night); font-size: 15px; }
.vs__good svg { width: 20px; height: 20px; color: var(--teal); flex: none; stroke: currentColor; fill: none; stroke-width: 2; }

.h2 { text-wrap: balance; }
.svc-card__price { margin-top: auto; font-weight: 800; color: var(--teal); font-size: 15px; }
.spot__quote { font-size: 19px; font-style: italic; color: #fff; border-left: 3px solid var(--cyan-light); padding-left: 16px; margin: 0; }
.card .pk-tease__price { font-size: 30px; font-weight: 800; color: var(--night); line-height: 1.1; }
.card .pk-tease__price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.pk-tease--pop { border: 2px solid var(--teal); }

@media (max-width: 980px) {
  .hero--sell h1 { max-width: none; }
  .sell-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .needs { padding: 20px; }
  .need-panels { min-height: 0; }
  .need-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .need-row__p { text-align: left; }
  .vs li { grid-template-columns: 1fr; }
  .vs__bad { padding-bottom: 6px; }
  .vs__good { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .need-panel { animation: none; } }

/* ---------- Footer: same layout as every BlueFire Marketing studio site ---------- */
.site-footer { border-top: 1px solid #22386a; background: #0b1631; color: #b8c6e0; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; color: #b8c6e0; max-width: 340px; }
.foot-logo { display: inline-flex; align-self: flex-start; }
.foot-logo img { height: 86px; width: auto; margin: -10px 0 -6px -2px; }
.site-footer h2 { font: 500 12.5px "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--cyan-light); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li { line-height: 1.6; }
.site-footer a { color: #b8c6e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #22386a; color: #8fa2c7; font-size: 13.5px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Packages: paid ads ---------- */
.ads-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ads-card__main { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.ads-card__side { padding: 36px; background: var(--mist); display: flex; flex-direction: column; gap: 20px; }
.ads-terms { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ads-terms div { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.ads-terms dt { font-weight: 800; color: var(--night); font-size: 15px; }
.ads-terms dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.ads-quote { font-size: 14.5px; color: var(--muted); margin: 0; }
.ads-quote strong { color: var(--night); }
@media (max-width: 860px) { .ads-card { grid-template-columns: 1fr; } .ads-card__main, .ads-card__side { padding: 24px; } }

/* ---------- Marketing tools page ---------- */
.tool-card { display: flex; flex-direction: column; gap: 12px; }
.tool-card .checklist { font-size: 15px; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }
.card .tool-card__price { font-size: 28px; font-weight: 800; color: var(--royal); line-height: 1; margin: 0; }
.card .tool-card__price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.tools-order { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.tool-opts { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.tool-opts legend { font-size: 15px; font-weight: 800; margin-bottom: 8px; padding: 0; color: var(--ink); }
.tool-opt { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.tool-opt:hover { border-color: var(--royal); }
.tool-opt:has(input:checked) { border-color: var(--royal); background: var(--mist); }
.tool-opt input { width: 18px; height: 18px; accent-color: var(--royal); margin: 0; }
.tool-opt span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-opt b { font-size: 15px; color: var(--ink); }
.tool-opt small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.tool-opt em { font-style: normal; font-weight: 800; color: var(--royal); white-space: nowrap; font-size: 15px; }
.tool-opt.is-covered { opacity: .55; cursor: default; }
.tool-opt.is-covered em::after { content: " · included"; font-weight: 600; color: var(--muted); }
.tools-terms { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; align-items: start; }
.tools-terms input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--royal); }
.tools-total { font-size: 17px; color: var(--muted); }
.tools-total b { color: var(--ink); font-size: 20px; }
.tools-note { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; }
.tools-note--err { background: #fdecea; color: #8a1c12; border: 1px solid #f3b7ae; }
.tools-note--ok { background: #e8f6ef; color: #135c3a; border: 1px solid #b5e2c8; }
.tools-flash { padding-top: 24px; }
@media (max-width: 900px) { .tools-order { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tool-opt { grid-template-columns: 20px minmax(0, 1fr); } .tool-opt em { grid-column: 2; } }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.founders .founder:nth-child(2) { margin-top: 48px; }
@media (max-width: 480px) { .founders { gap: 12px; } .founders .founder:nth-child(2) { margin-top: 32px; } .founder figcaption strong { font-size: 16px; } .founder figcaption span { font-size: 13px; } }
.sms-consent { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0; display: grid; gap: 10px; }
.sms-consent legend { font-size: 15px; font-weight: 700; padding: 0 6px; }
.sms-consent .muted-s { font-weight: 500; color: var(--muted); }
.sms-consent label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; font-weight: 600; align-items: start; cursor: pointer; }
.sms-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--royal); }
.sms-consent .form__note { margin: 0; }

/* ---------- Plumber offer (unlisted /plumbers/) ---------- */
.pl-hero { background: var(--night); color: #fff; padding: 88px 0 80px; }
.pl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pl-hero__text { display: flex; flex-direction: column; gap: 20px; }
.pl-hero .eyebrow { color: var(--cyan-light); }
.pl-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
.pl-hero__lead { color: var(--muted-on-dark); font-size: 19px; max-width: 34em; margin: 0; }
.pl-hero__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.pl-hero__badge { margin: 0; font-weight: 800; color: var(--night); background: var(--cyan-light); border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.pl-hero__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; font-weight: 600; }
.pl-hero__list li { display: flex; gap: 12px; align-items: center; }
.pl-hero__list svg { width: 22px; height: 22px; color: var(--cyan-light); flex: none; }
.pl-calc, .pl-cmp, .pl-claim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.pl-calc__text, .pl-cmp__text, .pl-claim__text { display: flex; flex-direction: column; gap: 16px; }
.pl-calc__box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.pl-calc__out { background: var(--night); color: #fff; border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.pl-calc__out span { color: var(--muted-on-dark); font-size: 14px; font-weight: 600; }
.pl-calc__out b { font-size: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pl-calc__out small { color: var(--cyan-light); font-size: 14px; font-weight: 600; }
.plan__lead { font-weight: 800; margin: 0; }
.plan--featured .plan__lead { color: #fff; }
.pl-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-table__sum th, .pl-table__sum td { font-weight: 800; }
.pl-table__us th, .pl-table__us td { background: var(--night); color: #fff; font-weight: 800; }
.pl-promise p { color: var(--muted-on-dark); }
@media (max-width: 900px) { .pl-hero__grid, .pl-calc, .pl-cmp, .pl-claim { grid-template-columns: 1fr; gap: 28px; } .pl-hero { padding: 64px 0 56px; } }
@media (max-width: 480px) { .pl-table td { white-space: normal; } }
.pl-cmp .table-wrap { overflow-x: visible; }
.pl-table { min-width: 0; width: 100%; table-layout: auto; }
.pl-table th[scope="row"] { white-space: normal; }
.pl-table td { white-space: normal; min-width: 8.5em; }
.pl-table thead th:last-child { text-align: right; }
.field .muted-s { font-weight: 500; color: var(--muted); }

/* brand guidelines page */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.brand-grid--no { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); max-width: 560px; }
.swatch { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 4px; }
.swatch__chip { height: 72px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 6px; }
.swatch b { font-size: 15px; }
.swatch code { font: 600 13px "JetBrains Mono", ui-monospace, monospace; color: var(--teal); }
.swatch small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.swatch--no .swatch__chip { position: relative; }
.swatch--no .swatch__chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%); border-radius: 10px; }
.brand-h3 { font-size: 20px; margin: 40px 0 6px; }
.brand-note { color: var(--muted); margin: 0 0 16px; }
.brand-fonts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.brand-font { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.brand-font b { display: block; font-size: 30px; letter-spacing: -0.02em; margin-bottom: 8px; }
.brand-font p { margin: 0; color: var(--muted); }
.brand-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 22px; }
.brand-logo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; justify-items: center; text-align: center; background: var(--white); }
.brand-logo img { width: 100%; max-width: 260px; height: auto; }
.brand-logo--dark { background: var(--night); color: var(--muted-on-dark); }
.brand-logo--dark a { color: var(--cyan-light); }
.brand-logo figcaption { font-size: 14px; }
.brand-rules { margin: 0; padding-left: 20px; display: grid; gap: 8px; max-width: 720px; }
.brand-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brand-table th, .brand-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.brand-table th { background: var(--mist-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand-plain { white-space: pre-wrap; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font: 500 15px/1.5 var(--font); margin: 0 0 16px; }
/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 40px; align-items: start; }
.contact-nap h2 { font-size: 26px; margin: 0 0 18px; }
.nap { display: grid; gap: 14px; margin: 0 0 26px; }
.nap div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.nap dt { font-weight: 700; color: var(--muted); }
.nap dd { margin: 0; font-size: 17px; }
.nap address { font-style: normal; }
.nap .muted { color: var(--muted); font-size: 14px; margin-left: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.muted-on-dark { color: var(--muted-on-dark); font-size: 14px; margin: 0; }
footer address { font-style: normal; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } .nap div { grid-template-columns: 1fr; gap: 2px; } }
