/*
 * edits.css — changes layered on TOP of the faithful live-CSS baseline.
 * Loaded last (precedence: edits) so rules here win the cascade. Two kinds of rules:
 *   (A) behavior shims that replace Enfold's JS (dropdowns, mobile menu), and
 *   (B) documented visual edits from docs/CHANGE-TRACKER.md.
 */

/* ── (A) Desktop dropdowns ────────────────────────────────────────────────
   Enfold hides .sub-menu with display:none and opens it via avia.js, which we
   don't load. The panel is already fully styled by the theme (white, 208px,
   shadow, positioned). We can't just toggle display:none↔block on hover because
   `display` can't be animated — that's why the menu used to snap open with no
   transition. Instead the panel stays in the DOM (display:block always) and is
   hidden via opacity/visibility, so it can FADE + drop in on hover. This also
   restores Enfold's original soft reveal. Applies to every nesting level. */
@media (min-width: 768px) {
  #header .av-main-nav li.menu-item-has-children > .sub-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 0.28s; /* delay the hide until the fade-out finishes */
  }
  #header .av-main-nav li.menu-item-has-children:hover > .sub-menu,
  #header .av-main-nav li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s; /* show immediately, then fade in */
  }
}
/* honor reduced-motion: instant show/hide, no fade or movement */
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  #header .av-main-nav li.menu-item-has-children > .sub-menu,
  #header .av-main-nav li.menu-item-has-children:hover > .sub-menu,
  #header .av-main-nav li.menu-item-has-children:focus-within > .sub-menu {
    transition: none;
    transform: none;
  }
}

/* ── (A) Icon glyphs ──────────────────────────────────────────────────────
   Enfold's avia.js injects each entypo-fontello glyph from the element's
   data-av_icon attribute into its ::before. Without that JS the ::before is
   generated (the theme already sets font-family: entypo-fontello on it) but its
   content is empty — so button icons, the [av_hr] separator icon, and the header
   search icon all render blank. Re-create the glyph in pure CSS from the attr.
   (The "Get in Touch" button is av-icon-on-hover: hidden at rest, slides in on
   hover — the glyph must exist for that reveal to show anything.) */
.avia_button_icon[data-av_icon]::before,
.av-seperator-icon[data-av_icon]::before,
#header .av-main-nav .menu-item > a[data-av_icon]::before {
  content: attr(data-av_icon) !important;
  font-family: "entypo-fontello" !important;
}

/* ── (A) Mobile menu ──────────────────────────────────────────────────────
   The React hamburger toggles `.av-mobile-open` on #header. The burger renders
   OUTSIDE the menu <ul> (it used to be a hidden <li> INSIDE it — so hiding the
   <ul> hid the only way to open the menu). At the phone breakpoint we let
   Enfold's right-aligned absolute menu wrappers fall back to normal flow so the
   open panel anchors to the full-width bar (.inner-container is position:relative),
   and the burger pins top-right, vertically centered on the logo. */
@media (max-width: 767px) {
  /* neutralize the collapsed, right-aligned menu wrappers as positioning/anchor
     parents so the open panel below anchors to .inner-container (the full bar).
     .main_menu is held `absolute` by a high-specificity live rule, so override
     with #header_main in the selector + !important. */
  #header #header_main .main_menu,
  #header .avia-menu.av-main-nav-wrap {
    position: static !important;
    float: none !important;
  }

  /* the search icon is desktop-only (.noMobile) — keep it out of the panel */
  #header .av-main-nav .menu-item-search-dropdown,
  #header .av-main-nav .noMobile {
    display: none !important;
  }

  /* hamburger: top-right of the bar, vertically centered on the logo (y≈40) */
  #header .av-burger-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    height: 88px;          /* = the header bar height → centers on the logo */
    width: 48px;
    z-index: 20;
  }
  /* hamburger bars: brand navy to match the logo (Enfold's default is grey) */
  #header .av-burger-menu-toggle .av-hamburger-inner,
  #header .av-burger-menu-toggle .av-hamburger-inner::before,
  #header .av-burger-menu-toggle .av-hamburger-inner::after {
    background-color: #2a314c !important;
  }

  /* menu hidden until the burger is tapped */
  #header .av-main-nav {
    display: none;
  }

  /* open: full-width dropdown panel dropping from the bottom of the header bar */
  #header.av-mobile-open .av-main-nav {
    display: block;
    position: absolute;
    top: 88px;             /* header bar height (.av-logo-container) */
    left: 50%;
    right: auto;
    width: 100vw;
    margin-left: -50vw;    /* full-bleed: escape the container's side gutters */
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    z-index: 15;
  }
  #header.av-mobile-open .av-main-nav .menu-item {
    display: block;
    width: 100%;
  }
  #header.av-mobile-open .av-main-nav .sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    width: 100%;
    padding-left: 16px;
  }
  #header.av-mobile-open .av-main-nav a {
    color: #2a314c;
    line-height: 1.6;
  }
}

/* the hamburger is mobile-only — hide it on desktop */
@media (min-width: 768px) {
  #header .av-burger-menu-toggle {
    display: none;
  }
}

/* ABG Connect tools grid — hover dim (mirrors Enfold's masonry hover overlay) */
.abg-tool-tile { transition: opacity 0.2s ease; }
.abg-tool-tile:hover { opacity: 0.85; }
/* Homepage ABG Connect tiles. Cleaned to 3 (configurator, dead "Where's My Truck", and
   the link-mismatched work-order tile removed) → a tidy single row, full-width on mobile. */
.abg-connect-tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .abg-connect-tiles { grid-template-columns: 1fr; } }

/* ── Tools & Forms (/tools) — the cleaned 3-tool card set. Card language mirrors the
   Our Portfolio cards (lift + red accent + sliding arrow) for cross-page consistency. */
.abg-tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
}
@media (max-width: 880px) { .abg-tools-grid { grid-template-columns: 1fr; max-width: 520px; } }
.abg-tool-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid #ececf0; border-radius: 8px; padding: 30px 28px 28px; overflow: hidden;
  text-decoration: none !important; box-shadow: 0 1px 2px rgba(20, 23, 40, 0.04);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.5s cubic-bezier(0.16,1,0.3,1);
}
.abg-tool-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #cf3339;
  transform: scaleX(0); transform-origin: left center; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.abg-tool-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,23,40,0.15); border-color: #dfe1ea; }
.abg-tool-card:hover::before { transform: scaleX(1); }
.abg-tool-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #cf3339; margin-bottom: 12px; }
.abg-tool-title { font-size: 20px; font-weight: 600; color: #2a314c; margin: 0 0 12px; }
.abg-tool-desc { font-size: 14.5px; line-height: 1.6; color: #5a5f72; margin: 0 0 22px; }
.abg-tool-cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #2a314c;
  transition: color 0.4s cubic-bezier(0.16,1,0.3,1);
}
.abg-tool-cta .abg-arrow { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.abg-tool-card:hover .abg-tool-cta { color: #cf3339; }
.abg-tool-card:hover .abg-tool-cta .abg-arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  .abg-tool-card, .abg-tool-card::before, .abg-tool-cta, .abg-tool-cta .abg-arrow { transition: none; }
  .abg-tool-card:hover { transform: none; }
  .abg-tool-card:hover::before { transform: scaleX(1); }
}

/* ══ (C) QUALITY-AUDIT FIXES (alignment / negative space / typography) ══════════

   1) Section vertical rhythm. Enfold's real per-section padding comes from ID-keyed
   dynamic CSS our rebuilt sections don't have, so .avia-section-large/-default
   computed to 0 padding (cramped). Restore consistent vertical breathing room.
   (PageTitle sets its own inline padding, so its inline value still wins.) */
.avia-section.avia-section-large { padding-top: 68px; padding-bottom: 68px; }
.avia-section.avia-section-default { padding-top: 46px; padding-bottom: 46px; }

/* 2) Typographic widow/orphan control — balance headings, tidy paragraph rag so no
   stray single word lands alone on the last line. */
.av-special-heading-tag,
.abg-brand-name,
.widgettitle,
#main h1, #main h2, #main h3 { text-wrap: balance; }
.avia_textblock p,
.abg-brand-tagline,
.abg-form-fine,
.abg-testimonial-card blockquote { text-wrap: pretty; }

/* 3) Homepage feature row (3 product-area spotlights: Swan Nature Color Series /
   Mr. Steam / Maidstone | DXV). Replaces Enfold's display:table cells (which had 0
   gutter and let the CTA float at different heights). CSS grid for a real gutter; flex
   cards so the title zone is uniform and every CTA pins to the same bottom line. */
.abg-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  clear: both; /* Enfold's [av_hr] separator floats left; a grid is a BFC and would
                  otherwise shrink to fit beside it (→ width 0). Drop below the float. */
}
@media (max-width: 900px) { .abg-feature-grid { grid-template-columns: 1fr; gap: 32px; max-width: 460px; } }
.abg-feature-card { display: flex; flex-direction: column; text-align: center; }
.abg-feature-media img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 6px; }
/* uniform 2-line title zone so the body copy starts at the same Y in every card */
.abg-feature-card .av-special-heading { margin: 16px 0 0; }
.abg-feature-card .av-special-heading-tag {
  min-height: 2.5em; display: flex; align-items: center; justify-content: center; margin: 0;
}
.abg-feature-card .avia_textblock { font-size: 16px; }
.abg-feature-cta { margin-top: auto; padding-top: 22px; } /* push every CTA to the bottom */

/* 4) Homepage testimonials. Enfold's testimonial slider positions cards via avia.js
   (not loaded), so they overlapped. Render as a plain equal-height card grid. */
.abg-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  clear: both; /* clears the float:left [av_hr] separator above it (see note on .abg-feature-grid) */
}
@media (max-width: 900px) { .abg-testimonial-grid { grid-template-columns: 1fr; max-width: 560px; } }
.abg-testimonial-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #ececf0;
  border-radius: 8px; padding: 28px 26px; box-shadow: 0 1px 2px rgba(20, 23, 40, 0.04);
}
.abg-testimonial-stars { color: #e0a200; letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.abg-testimonial-card blockquote { margin: 0 0 20px; font-size: 15px; line-height: 1.62; color: #4a4f63; }
/* brand wordmark as a clean left-aligned attribution (cover-cropping a circle clipped the logos) */
.abg-testimonial-thumb { margin-top: auto; width: 120px; height: 38px; background-size: contain; background-position: left center; background-repeat: no-repeat; }

/* 5) Contact: align the left column's section heading with the form's first field
   (the SpecialHeading top-margin was dropping it ~50px below the form row). */
.abg-contact-grid .av-special-heading { margin-top: 0; }
.abg-contact-grid .av-special-heading-tag { margin-top: 0; }

/* ── Our Portfolio redesign — Masco/Fortune-Brands-style brand grid ───────────
   The /our-portfolio page is a redesign (whole page is an "edit"), so its card
   styling lives here. Real brand-card images + name + clamped tagline + link. */
.abg-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 980px) { .abg-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 600px) { .abg-portfolio-grid { grid-template-columns: 1fr; } }

.abg-brand-card {
  position: relative; /* for the accent bar */
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important; /* beat Enfold's global a:hover underline — no text underline, any state */
  box-shadow: 0 1px 2px rgba(20, 23, 40, 0.04);
  /* expo-out easing (no default ease/linear) for a premium, weighted feel */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.abg-brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(20, 23, 40, 0.15);
  border-color: #dfe1ea;
}

.abg-brand-media { position: relative; aspect-ratio: 3 / 2; background: #f2f2f5; overflow: hidden; }
/* Reusable fallback panel for any brand card lacking an image (set `placeholder:true`).
   Currently unused — California Faucets now has a real logo — kept for future brands. */
.abg-brand-media.is-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(135deg, #2a314c 0%, #434c6e 100%); text-align: center; padding: 16px;
}
.abg-brand-ph-name { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.abg-brand-ph-note { color: rgba(255, 255, 255, 0.58); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.abg-brand-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.abg-brand-card:hover .abg-brand-media img { transform: scale(1.06); } /* zoom retained */
/* signature accent: an ABG-red bar wipes in from the left under the logo (not a text underline) */
.abg-brand-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: #cf3339; transform: scaleX(0); transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.abg-brand-card:hover .abg-brand-media::after { transform: scaleX(1); }

.abg-brand-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.abg-brand-name {
  font-size: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #2a314c; margin: 0 0 8px;
}
.abg-brand-tagline {
  font-size: 14px; line-height: 1.55; color: #5a5f72; margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.abg-brand-link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #cf3339;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.abg-brand-link .abg-arrow { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.abg-brand-card:hover .abg-brand-link { color: #a8272c; }
.abg-brand-card:hover .abg-brand-link .abg-arrow { transform: translateX(6px); }

/* accessibility: honor reduced-motion (skill ethical boundary) — keep the accent bar, drop the movement */
@media (prefers-reduced-motion: reduce) {
  .abg-brand-card,
  .abg-brand-media img,
  .abg-brand-media::after,
  .abg-brand-link,
  .abg-brand-link .abg-arrow { transition: none; }
  .abg-brand-card:hover,
  .abg-brand-card:hover .abg-brand-media img,
  .abg-brand-card:hover .abg-brand-link .abg-arrow { transform: none; }
  .abg-brand-card:hover .abg-brand-media::after { transform: scaleX(1); }
}

/* ── Contact page — details + form layout (components/ContactForm.jsx) ─────────── */
.abg-contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .abg-contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.abg-contact-form { display: flex; flex-direction: column; gap: 18px; }
.abg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .abg-form-row { grid-template-columns: 1fr; } }
.abg-contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #2a314c; font-weight: 600; }
.abg-contact-form label em { color: #cf3339; font-style: normal; font-weight: 400; }
.abg-contact-form input,
.abg-contact-form textarea {
  font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid #d4d6e0; border-radius: 5px;
  background: #fff; color: #2a314c; width: 100%; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.abg-contact-form input:focus,
.abg-contact-form textarea:focus { outline: none; border-color: #2a314c; box-shadow: 0 0 0 3px rgba(42, 49, 76, 0.12); }
.abg-form-fine { font-size: 11.5px; line-height: 1.55; color: #8a8f9f; margin: 0; }
.abg-form-err { color: #cf3339; font-size: 13px; margin: 0; }
.abg-form-submit {
  align-self: flex-start; background: #2a314c; color: #fff; border: none; border-radius: 5px;
  font: inherit; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; padding: 13px 38px; cursor: pointer;
  transition: background 0.15s ease;
}
.abg-form-submit:hover { background: #1d2238; }
.abg-form-success { background: #f1f6f1; border: 1px solid #cfe3cf; border-radius: 8px; padding: 28px 30px; }

/* ── Commercial Channels — vertical quick-link pills ──────────────────────────── */
.abg-vertical-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 10px; }
.abg-vertical-link {
  display: inline-block; padding: 10px 22px; border: 1px solid #d4d6e0; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: #2a314c; text-decoration: none; transition: all 0.15s ease;
}
.abg-vertical-link:hover { background: #2a314c; border-color: #2a314c; color: #fff; }

/* ── About — Origin Story DRAFT box ───────────────────────────────────────────
   Real copy (George pulled Mary's slide) shown as clearly provisional, pending
   Rick's review: dashed border + a red corner label straddling the top edge. */
.abg-origin-draft {
  position: relative; max-width: 820px; margin: 20px auto 0;
  border: 2px dashed #c4c8d6; border-radius: 8px; padding: 40px 42px 34px; background: #fcfcfd;
}
.abg-origin-label {
  position: absolute; top: -11px; left: 28px; background: #cf3339; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 3px;
}
.abg-origin-draft p { font-size: 16px; line-height: 1.72; color: #3a3f52; margin: 0 0 16px; text-wrap: pretty; }
.abg-origin-draft p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .abg-origin-draft { padding: 34px 22px 26px; } }

/* ── (B) Documented visual edits ──────────────────────────────────────────

   EDIT: "logo too small" (George, Jun 4) + blue-wordmark swap & alignment fix
   (Jun 17). The client asked ONLY to enlarge the logo — NOT to grow the header.
   So the bar is kept at the live site's ORIGINAL ~88px height; only the logo is
   bumped (locked to 215px wide, vs. the live ~170px). The new blue wordmark is a
   SINGLE-LINE mark (≈215×18 at this width) where the old one was a stacked
   ~78px-tall mark — so the slim logo is vertically CENTERED in the bar (it was
   pinned to the top via Enfold's absolute `top:0`), and the nav fills the full
   88px bar height so the menu text shares the logo's centerline and the dropdown
   opens flush at the hero top (≈88px). */
#header .logo {
  height: 88px !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;   /* center the slim wordmark in the bar */
}
#header .logo a {
  display: flex;
  align-items: center;
}
#header .logo img {
  width: 215px !important;
  height: auto !important;
  max-height: none !important;
}
#header #header_main .container.av-logo-container {
  min-height: 88px;
}
/* Nav fills the full bar height (desktop only — the mobile stacked menu in
   block A keeps its own line-height) so the menu text lands on the SAME
   centerline as the logo and the dropdown opens flush at the hero top. */
@media (min-width: 768px) {
  #header .av-main-nav-wrap,
  #header .av-main-nav > li.menu-item-top-level,
  #header .av-main-nav > li.menu-item-top-level > a,
  #header .av-main-nav > li.menu-item-search-dropdown,
  #header .av-main-nav > li.menu-item-search-dropdown > a {
    height: 88px !important;
    line-height: 88px !important;
  }
  /* dropdown opens at the bottom of the full-height bar = the hero top */
  #header .av-main-nav > li.menu-item-top-level > .sub-menu {
    top: 88px !important;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   MADE IN USA / MADE IN CANADA — bespoke design-forward landing pages (George's
   brief: add to the ABG menu). Built to the top-design bar within the faithful
   shell: serif display = Georgia stack (zero-cost, no FOUT), body = the site's
   Open Sans; navy #2a314c + ABG red #cf3339; full-bleed via container_wrap. */
.abg-madein { --navy: #2a314c; --red: #cf3339; --serif: Georgia, "Times New Roman", serif; }
.abg-madein-hero, .abg-madein-statement, .abg-madein-pillars-wrap, .abg-madein-closing { border: 0; }

/* HERO — full-bleed image, navy gradient, asymmetric bottom-left content */
.abg-madein-hero { position: relative; width: 100%; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.abg-madein-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.abg-madein-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,40,0.28) 0%, rgba(20,23,40,0.18) 38%, rgba(20,23,40,0.86) 100%); }
.abg-madein-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 40px 64px; }
.abg-madein-kicker { display: block; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.86; margin-bottom: 18px; }
#main .abg-madein-title { font-family: var(--serif); color: #fff; font-weight: 600; font-size: clamp(44px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.abg-madein-rule { display: block; width: 64px; height: 3px; background: var(--red); margin: 26px 0 22px; }
.abg-madein-lede { color: rgba(255,255,255,0.9); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.5; max-width: 540px; margin: 0; text-wrap: pretty; }
@media (max-width: 600px) { .abg-madein-hero-inner { padding: 0 22px 44px; } }

/* HERO load-in choreography (CSS-only) — staggered fade-up; reduced-motion → static */
@media (prefers-reduced-motion: no-preference) {
  .abg-madein-kicker, #main .abg-madein-title, .abg-madein-rule, .abg-madein-lede { opacity: 0; transform: translateY(22px); animation: abgMadeinUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .abg-madein-kicker { animation-delay: 0.05s; }
  #main .abg-madein-title { animation-delay: 0.16s; }
  .abg-madein-rule { animation-delay: 0.30s; }
  .abg-madein-lede { animation-delay: 0.40s; }
  @keyframes abgMadeinUp { to { opacity: 1; transform: none; } }
}

/* STATEMENT — asymmetric two-column: big serif headline + body */
.abg-madein-statement { width: 100%; background: #fff; }
.abg-madein-statement-grid { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 40px; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 6vw, 92px); align-items: start; }
#main .abg-madein-statement-title { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.abg-madein-statement-body { padding-top: 4px; }
.abg-madein-statement-body p { color: #4a4f63; font-size: 17px; line-height: 1.72; margin: 0 0 18px; text-wrap: pretty; }
.abg-madein-statement-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .abg-madein-statement-grid { grid-template-columns: 1fr; gap: 22px; } }

/* PILLARS — 3-up, serif numerals, hairline navy top borders */
.abg-madein-pillars-wrap { width: 100%; background: #f6f6f8; }
.abg-madein-pillars { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) 40px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.abg-madein-pillar { padding-top: 22px; border-top: 2px solid var(--navy); }
.abg-madein-pillar-num { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--red); line-height: 1; margin-bottom: 14px; }
#main .abg-madein-pillar-title { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: 0.01em; margin: 0 0 10px; }
.abg-madein-pillar-body { color: #5a5f72; font-size: 15px; line-height: 1.62; margin: 0; text-wrap: pretty; }
@media (max-width: 820px) {
  .abg-madein-pillars { grid-template-columns: 1fr; gap: 0; }
  .abg-madein-pillar { padding: 24px 0; border-top: 1px solid #dcdde4; }
  .abg-madein-pillar:first-child { border-top: 2px solid var(--navy); }
}

/* CLOSING — navy band: badge + serif pull-quote + CTA */
.abg-madein-closing { width: 100%; background: var(--navy); }
.abg-madein-closing-inner { max-width: 820px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.abg-madein-badge { width: clamp(220px, 32vw, 320px); height: auto; margin-bottom: 32px; }
#main .abg-madein-quote { font-family: var(--serif); color: #fff; font-size: clamp(22px, 3vw, 34px); line-height: 1.3; font-style: italic; margin: 0 0 34px; max-width: 18ch; text-wrap: balance; }
.abg-madein-closing .avia-button-wrap { margin: 0; }
.abg-madein-closing .avia-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
