/*
Theme Name: Wholesale Puffer
Theme URI: https://wholesalepufferjackets.us/
Author: Custom build
Description: Hand-coded WordPress theme for wholesalepufferjackets.us. No page builder, no bloat. Homepage, commercial landing template, blog index and post design.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: wholesale-puffer
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --midnight: #0D1626;
  --midnight-800: #142238;
  --navy: #1E3A5F;
  --navy-700: #17304F;
  --frost: #DCE6F0;
  --frost-50: #EEF3F8;
  --glacier: #2E9BD6;
  --glacier-600: #2280B5;
  --glacier-100: #E7F3FA;
  --page: #F8FAFC;
  --white: #FFFFFF;
  --ink: #14202E;
  --muted: #5C6E82;
  --line: #DEE6EE;
  --line-dark: #24344A;
  --wa: #25D366;
  --wa-dark: #1EB855;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1180px;
  --read: 748px;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(13,22,38,.05), 0 8px 24px rgba(13,22,38,.06);
  --shadow-lift: 0 2px 4px rgba(13,22,38,.06), 0 18px 40px rgba(13,22,38,.12);
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--glacier-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.16;
  color: var(--midnight);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15em; }

:focus-visible { outline: 3px solid var(--glacier); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--midnight); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-read { width: 100%; max-width: var(--read); margin-inline: auto; padding-inline: 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. Signature: eyebrow + spec strip (tech-sheet motif)
   ========================================================================== */

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--glacier-600);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--glacier); flex: none;
}
.eyebrow--light { color: var(--glacier); }

.specstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.specstrip__item { padding: 18px 20px 18px 0; border-right: 1px solid var(--line-dark); }
.specstrip__item:last-child { border-right: 0; }
.specstrip__k {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--glacier); margin: 0 0 4px;
}
.specstrip__v {
  font-family: var(--display); font-size: 1.28rem; font-weight: 700;
  color: var(--frost); letter-spacing: -.02em; line-height: 1.2;
}
.specstrip--light { border-color: var(--line); }
.specstrip--light .specstrip__item { border-color: var(--line); }
.specstrip--light .specstrip__k { color: var(--muted); }
.specstrip--light .specstrip__v { color: var(--midnight); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: .97rem;
  letter-spacing: -.01em; line-height: 1;
  padding: 16px 26px; border-radius: var(--r); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--glacier); color: #fff; }
.btn--primary:hover { background: var(--glacier-600); color: #fff; }

.btn--wa { background: var(--wa); color: #06331A; }
.btn--wa:hover { background: var(--wa-dark); color: #06331A; }

.btn--ghost { background: transparent; color: var(--frost); border-color: rgba(220,230,240,.32); }
.btn--ghost:hover { background: rgba(220,230,240,.1); border-color: var(--frost); color: #fff; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { background: var(--frost-50); border-color: var(--navy); color: var(--navy); }

.btn--dark { background: var(--midnight); color: #fff; }
.btn--dark:hover { background: var(--navy); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   5. Header
   ========================================================================== */

.topbar {
  background: var(--midnight); color: var(--frost);
  font-size: .82rem; font-family: var(--mono); letter-spacing: .01em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: center; padding-block: 9px; }
.topbar a { color: var(--frost); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--glacier); }
.topbar svg { width: 14px; height: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { max-height: 46px; width: auto; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--midnight);
  display: grid; place-items: center; flex: none;
}
.brand__mark span { font-family: var(--display); font-weight: 700; color: var(--glacier); font-size: 1rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.06rem; color: var(--midnight); letter-spacing: -.025em; }
.brand__sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: .93rem;
  color: var(--midnight); text-decoration: none; letter-spacing: -.01em;
  padding: 8px 0; display: inline-block; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--glacier); transition: right .2s ease;
}
.nav a:hover::after, .nav .current-menu-item > a::after { right: 0; }
.nav li { position: relative; }
.nav .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 226px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lift); padding: 8px; display: none; flex-direction: column; gap: 0;
}
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }
.nav .sub-menu a { padding: 9px 12px; border-radius: 7px; font-weight: 500; width: 100%; }
.nav .sub-menu a::after { display: none; }
.nav .sub-menu a:hover { background: var(--frost-50); color: var(--navy); }

.header-cta { flex: none; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 11px; cursor: pointer; color: var(--midnight);
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .nav {
    order: 4; width: 100%; display: none;
    border-top: 1px solid var(--line); padding: 14px 0 20px;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 13px 2px; }
  .nav a::after { display: none; }
  .nav .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 10px 14px; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ==========================================================================
   6. Sections
   ========================================================================== */

.section { padding: clamp(56px, 7vw, 92px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--page { background: var(--page); }
.section--frost { background: var(--frost-50); }
.section--dark { background: var(--midnight); color: var(--frost); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(220,230,240,.82); }

.section__head { max-width: 720px; margin-bottom: 42px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section__head p { color: rgba(220,230,240,.78); }

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
  background: var(--midnight);
  color: var(--frost);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,155,214,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,155,214,.055) 1px, transparent 1px);
  background-size: 62px 62px;
  pointer-events: none;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--midnight) 30%, rgba(13,22,38,.72) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 118px); }
.hero__inner { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--glacier); }
.hero__lede { font-size: clamp(1.03rem, .98rem + .3vw, 1.16rem); color: rgba(220,230,240,.86); max-width: 620px; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 46px; }
.hero .specstrip { max-width: 900px; }

/* ==========================================================================
   8. Cards and grids
   ========================================================================== */

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--glacier); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }
.card__num {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  color: var(--glacier-600); margin-bottom: 14px; display: block;
}
.card__icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--glacier-100);
  color: var(--glacier-600); display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 21px; height: 21px; }

.card--dark { background: var(--midnight-800); border-color: var(--line-dark); }
.card--dark:hover { border-color: var(--glacier); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(220,230,240,.76); }
.card--dark .card__icon { background: rgba(46,155,214,.14); color: var(--glacier); }

/* Buyer / audience card with top rule */
.card--rule { border-top: 3px solid var(--glacier); border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); }

/* ==========================================================================
   9. Product gallery
   ========================================================================== */

.pgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.pgal__item {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; cursor: zoom-in; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  display: block; width: 100%; text-align: left; padding: 0; font: inherit; color: inherit;
}
.pgal__item:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--glacier); }
.pgal__img { aspect-ratio: 4 / 5; background: var(--frost-50); overflow: hidden; }
.pgal__img img { width: 100%; height: 100%; object-fit: cover; }
.pgal__body { padding: 15px 16px 17px; }
.pgal__name { font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--midnight); margin: 0 0 6px; letter-spacing: -.015em; }
.pgal__meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0; }

.pgal-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.pgal-filters button {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 40px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer; transition: all .16s ease;
}
.pgal-filters button:hover { border-color: var(--navy); color: var(--navy); }
.pgal-filters button[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: var(--frost); }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200; background: rgba(13,22,38,.93);
  display: none; align-items: center; justify-content: center; padding: 28px;
}
.lb.is-open { display: flex; }
.lb img { max-width: min(92vw, 900px); max-height: 86vh; width: auto; border-radius: var(--r); }
.lb__close {
  position: absolute; top: 20px; right: 22px; background: transparent; border: 0;
  color: var(--frost); font-size: 2.1rem; line-height: 1; cursor: pointer; padding: 8px;
}
.lb__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--frost); font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; }

/* ==========================================================================
   10. Spec table
   ========================================================================== */

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--midnight); color: var(--frost);
  font-family: var(--mono); font-size: .71rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 500; border-bottom: 0;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--page); }
td:first-child { font-weight: 600; color: var(--midnight); }

/* ==========================================================================
   11. FAQ accordion
   ========================================================================== */

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.06rem;
  color: var(--midnight); letter-spacing: -.015em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 30px;
  width: 11px; height: 11px; border-right: 2px solid var(--glacier);
  border-bottom: 2px solid var(--glacier); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq summary:hover { color: var(--glacier-600); }
.faq__a { padding: 0 44px 24px 0; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   12. Inline CTA (used inside posts and landing pages)
   ========================================================================== */

.ctabox {
  background: var(--midnight); border-radius: var(--r-lg); padding: 34px 32px;
  margin: 40px 0; position: relative; overflow: hidden;
  border-left: 4px solid var(--glacier);
}
.ctabox__k {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--glacier); margin: 0 0 10px;
}
.ctabox h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.ctabox p { color: rgba(220,230,240,.8); font-size: .98rem; margin-bottom: 22px; }
.ctabox .btn-row { margin: 0; }

.ctabox--light { background: var(--glacier-100); border-left-color: var(--glacier); }
.ctabox--light h3 { color: var(--midnight); }
.ctabox--light p { color: var(--muted); }
.ctabox--light .ctabox__k { color: var(--glacier-600); }

/* Full-width closing CTA band */
.ctaband { background: var(--navy); color: var(--frost); text-align: center; }
.ctaband h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.ctaband p { color: rgba(220,230,240,.84); max-width: 600px; margin-inline: auto 0; margin-inline: auto; margin-bottom: 28px; }
.ctaband .btn-row { justify-content: center; }

/* ==========================================================================
   13. Blog index
   ========================================================================== */

.pagehead { background: var(--midnight); color: var(--frost); padding: clamp(46px, 6vw, 78px) 0 clamp(40px, 5vw, 62px); }
.pagehead h1 { color: #fff; margin-bottom: 14px; }
.pagehead p { color: rgba(220,230,240,.8); max-width: 620px; margin-bottom: 0; }

.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; color: rgba(220,230,240,.6); }
.crumbs a { color: var(--glacier); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs--light { color: var(--muted); }
.crumbs--light a { color: var(--glacier-600); }

.postlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(324px, 1fr)); gap: 28px; }

.pcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--glacier); }
.pcard__thumb { aspect-ratio: 16 / 9; background: var(--frost-50); overflow: hidden; display: block; }
.pcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard__thumb img { transform: scale(1.04); }
.pcard__thumb--empty { background: linear-gradient(135deg, var(--midnight), var(--navy)); }
.pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat {
  font-family: var(--mono); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--glacier-600); margin-bottom: 11px; text-decoration: none; display: inline-block;
}
.pcard__cat:hover { color: var(--navy); }
.pcard h2, .pcard h3 { font-size: 1.16rem; line-height: 1.34; margin-bottom: 10px; }
.pcard h2 a, .pcard h3 a { color: var(--midnight); text-decoration: none; }
.pcard h2 a:hover, .pcard h3 a:hover { color: var(--glacier-600); }
.pcard__ex { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__date { font-family: var(--mono); font-size: .71rem; color: var(--muted); letter-spacing: .04em; }
.pcard__more {
  font-family: var(--display); font-weight: 600; font-size: .9rem;
  color: var(--glacier-600); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.pcard__more:hover { color: var(--navy); gap: 10px; }
.pcard__more svg { width: 15px; height: 15px; transition: transform .18s ease; }

/* Pagination */
.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-family: var(--mono); font-size: .85rem; color: var(--midnight); text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--navy); }
.pagination .page-numbers.current { background: var(--midnight); border-color: var(--midnight); color: var(--frost); }

/* ==========================================================================
   14. Single post
   ========================================================================== */

.post-hero { background: var(--midnight); color: var(--frost); padding: clamp(40px, 5vw, 62px) 0 clamp(44px, 5.5vw, 70px); }
.post-hero h1 { color: #fff; max-width: 860px; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 22px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(220,230,240,.68);
}
.post-meta a { color: var(--glacier); text-decoration: none; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 14px; height: 14px; }

.post-figure { max-width: 1000px; margin: -40px auto 0; padding-inline: 22px; position: relative; z-index: 3; }
.post-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }

.entry { padding: clamp(44px, 5vw, 68px) 0 clamp(50px, 6vw, 80px); }

/* Article typography — the readable core */
.prose { font-size: 1.06rem; line-height: 1.78; color: #223243; }
.prose > * { margin-inline: auto; }
.prose p { margin: 0 0 1.35em; }
.prose h2 {
  font-size: clamp(1.42rem, 1.2rem + .85vw, 1.82rem);
  margin: 2.1em 0 .55em; padding-left: 16px; border-left: 3px solid var(--glacier);
  scroll-margin-top: 100px;
}
.prose h3 { font-size: clamp(1.14rem, 1.05rem + .4vw, 1.3rem); margin: 1.85em 0 .5em; scroll-margin-top: 100px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--midnight); font-weight: 600; }
.prose a { color: var(--glacier-600); text-decoration: underline; }
.prose a:hover { color: var(--navy); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--glacier); }
.prose img { border-radius: var(--r); margin: 2em auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--mono); font-size: .76rem; color: var(--muted); text-align: center; margin-top: 10px; letter-spacing: .04em; }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--glacier);
  font-size: 1.14rem; line-height: 1.6; color: var(--navy); font-weight: 500;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose .tablewrap { margin: 2em 0; }
.prose code {
  font-family: var(--mono); font-size: .88em; background: var(--frost-50);
  padding: 2px 6px; border-radius: 5px; color: var(--navy);
}

/* Key takeaway callout */
.callout {
  background: var(--frost-50); border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 4px var(--r) var(--r) 4px; padding: 24px 26px; margin: 2.1em 0;
}
.callout__k {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 9px;
}
.callout p:last-child { margin-bottom: 0; }
.callout--tip { border-left-color: var(--glacier); background: var(--glacier-100); }
.callout--tip .callout__k { color: var(--glacier-600); }

/* Author box + related */
.postfoot { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 40px; }
.related h2 { font-size: 1.5rem; margin-bottom: 26px; }

/* ==========================================================================
   15. Landing page template
   ========================================================================== */

.lhero { background: var(--midnight); color: var(--frost); position: relative; overflow: hidden; }
.lhero__media { position: absolute; inset: 0; }
.lhero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.lhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(96deg, var(--midnight) 26%, rgba(13,22,38,.6) 100%); }
.lhero .wrap { position: relative; z-index: 2; padding-block: clamp(58px, 7.5vw, 104px); }
.lhero__inner { max-width: 760px; }
.lhero h1 { color: #fff; margin-bottom: 18px; }
.lhero__lede { font-size: 1.09rem; color: rgba(220,230,240,.86); margin-bottom: 30px; max-width: 600px; }
.lhero .btn-row { margin-bottom: 40px; }
.lhero .specstrip { max-width: 880px; }

.trustbar { background: var(--page); border-bottom: 1px solid var(--line); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding-block: 18px; }
.trustbar span {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 9px;
}
.trustbar svg { width: 15px; height: 15px; color: var(--glacier-600); }

/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer { background: var(--midnight); color: rgba(220,230,240,.74); padding: clamp(52px, 6vw, 76px) 0 0; font-size: .94rem; }
.site-footer h4 {
  font-family: var(--mono); font-size: .71rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--glacier); margin-bottom: 18px; font-weight: 500;
}
.site-footer a { color: rgba(220,230,240,.74); text-decoration: none; }
.site-footer a:hover { color: var(--glacier); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 32px; padding-bottom: 46px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand p { max-width: 340px; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: rgba(220,230,240,.5);
}

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 6px 22px rgba(37,211,102,.4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 29px; height: 29px; color: #fff; }

/* ==========================================================================
   17. Forms
   ========================================================================== */

.quoteform { display: grid; gap: 14px; }
.quoteform label { font-family: var(--mono); font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.quoteform input, .quoteform select, .quoteform textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--body); font-size: .97rem; background: #fff; color: var(--ink);
}
.quoteform input:focus, .quoteform select:focus, .quoteform textarea:focus { border-color: var(--glacier); outline: none; box-shadow: 0 0 0 3px var(--glacier-100); }
.quoteform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .quoteform .row2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   18. Misc
   ========================================================================== */

.notfound { padding: 100px 0; text-align: center; }
.notfound .eyebrow { justify-content: center; }

/* ==========================================================================
   19. Block editor layer
   Styles for pages built with drag-and-drop blocks. Everything below maps
   core WordPress blocks onto the design system above.
   ========================================================================== */

/* Full-bleed sections built as group blocks */
.section.alignfull { padding-inline: 22px; }
.wp-block-group.section > .wp-block-group__inner-container,
.wp-block-group.section { position: relative; }

/* Block page body (canvas template) */
.blockpage > .alignfull { margin-inline: 0; }
.blockpage h2 { margin-top: 0; }

/* Cover-based hero */
.wpuf-hero { position: relative; }
.wpuf-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(46,155,214,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,155,214,.055) 1px, transparent 1px);
  background-size: 62px 62px;
}
.wpuf-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.wpuf-hero__inner { margin-inline: 0 auto; }
.wpuf-hero h1 { color: #fff; }
.wpuf-hero p { color: rgba(220,230,240,.86); }

/* Paragraph styles */
.is-style-eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--glacier-600);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.is-style-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.is-style-eyebrow.has-text-align-center { justify-content: center; }
.section--dark .is-style-eyebrow, .wpuf-hero .is-style-eyebrow { color: var(--glacier); }

.is-style-lede { font-size: 1.12rem; line-height: 1.68; max-width: 620px; }

.is-style-statelist {
  font-family: var(--mono); font-size: .83rem; line-height: 2.1;
  letter-spacing: .05em; color: var(--muted); max-width: 900px; margin-inline: auto;
}
.section--dark .is-style-statelist { color: rgba(220,230,240,.6); }

/* Buttons */
.wp-block-button__link, .wp-element-button {
  font-family: var(--display); font-weight: 600; font-size: .97rem;
  letter-spacing: -.01em; line-height: 1;
  padding: 16px 26px; border-radius: var(--r);
  background: var(--glacier); color: #fff; border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.wp-block-button__link:hover { background: var(--glacier-600); color: #fff; }
.is-style-wa .wp-block-button__link { background: var(--wa); color: #06331A; }
.is-style-wa .wp-block-button__link:hover { background: var(--wa-dark); color: #06331A; }
.is-style-midnight .wp-block-button__link { background: var(--midnight); color: #fff; }
.is-style-midnight .wp-block-button__link:hover { background: var(--navy); }
.is-style-outline-dark .wp-block-button__link { background: transparent; color: var(--navy); border-color: var(--line); }
.is-style-outline-dark .wp-block-button__link:hover { background: var(--frost-50); border-color: var(--navy); color: var(--navy); }
.section--dark .is-style-outline-dark .wp-block-button__link,
.wpuf-hero .is-style-outline-dark .wp-block-button__link { color: var(--frost); border-color: rgba(220,230,240,.32); }
.wp-block-buttons { gap: 12px; margin-top: 8px; }

/* Columns rendered as cards */
.wp-block-column.card, .wp-block-group.is-style-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px;
}
.section--page .wp-block-column.card { background: #fff; }
.section--dark .wp-block-column.card { background: var(--midnight-800); border-color: var(--line-dark); }
.section--dark .wp-block-column.card h3 { color: #fff; }
.section--dark .wp-block-column.card p { color: rgba(220,230,240,.76); }
.wp-block-column.card p:last-child { margin-bottom: 0; }
.wp-block-columns { gap: 22px; margin-bottom: 22px; }
.wp-block-columns:last-child { margin-bottom: 0; }
@media (max-width: 781px) { .wp-block-columns { gap: 18px; } }

/* Split section spacing */
.wpuf-split { gap: 44px; }

/* Images */
.wp-block-image.is-style-framed img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.wp-block-image figcaption {
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  text-align: center; letter-spacing: .04em;
}

/* Core table inherits the spec table look */
.wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.wp-block-table table { margin: 0; }
.wp-block-table td, .wp-block-table th { border-color: var(--line); }

/* Cover block defaults */
.wp-block-cover { padding-block: clamp(64px, 9vw, 118px); }
.wp-block-cover .wp-block-cover__inner-container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* Section head inside blocks */
.wp-block-group.section__head { max-width: 720px; margin-bottom: 42px; }
.wp-block-group.section__head p:last-child { margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; }

/* Editor-only safety: keep alignfull from overflowing in the canvas */
.editor-styles-wrapper .alignfull { max-width: 100%; }
