/* Agile Luxe: white, quiet, precise. One ink, one plum accent, one champagne hairline. */
:root {
  --ink: #15121c; --ink-2: #3b3644; --muted: #6c6676;
  --bg: #ffffff; --tint: #faf8fb; --line: #ebe6ef; --line-2: #ddd5e3;
  --plum: #813d85; --plum-deep: #5c2a60; --gold: #b8975f; --gold-soft: #e9dcc4;
  --wa: #1c8f4e; --ok: #1c7a43; --err: #b3261e;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px; --gutter: max(16px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fs-hero: clamp(2.5rem, 6.2vw, 5.2rem); --fs-h1: clamp(2.2rem, 4.6vw, 3.6rem); --fs-h2: clamp(1.75rem, 3.2vw, 2.6rem); --fs-h3: 1.2rem;
  --fs-body: 1.0625rem; --fs-lead: clamp(1.1rem, 1.5vw, 1.25rem); --fs-sm: .875rem;
}

/* ---------- base + Divi neutralisation ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.agl { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.agl #page-container { padding-top: 0 !important; background: var(--bg); overflow: clip; }
body.agl #et-main-area, body.agl .agl-main { background: transparent; }
body.agl h1, body.agl h2, body.agl h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; padding: 0; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 144; }
body.agl h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; font-variation-settings: "opsz" 24; font-weight: 500; }
body.agl p { padding: 0; margin: 0 0 1em; color: var(--ink-2); }
body.agl a { color: inherit; }
body.agl :focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
body.agl ul, body.agl ol { padding: 0; margin: 0; }
body.agl address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agl-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.agl-skip:focus { left: 16px; }

.agl-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.agl-narrow { max-width: 820px; }
.agl-sec { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.agl-sec--tint { background: var(--tint); }
.agl-sec--flush { padding-top: 0; }
.agl-sec + .agl-sec:not(.agl-sec--tint)::before, .agl-sec--tint + .agl-sec:not(.agl-sec--tint)::before { content: ""; }
.agl-grid-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.agl-grid-2--form { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.agl-sechead { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.agl-sechead h2, .agl-grid-2 h2 { font-size: var(--fs-h2); }
.agl-sechead .agl-lead { margin-top: 20px; }

.agl-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 .75rem/1 var(--sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--plum) !important; margin: 0 0 22px !important; }
.agl-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.agl-lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink) !important; }
.agl-link { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; color: var(--ink) !important; padding-bottom: 4px; }
.agl-link::after { content: "→"; transition: transform .35s var(--ease); }
.agl-link::before { content: ""; position: absolute; left: 0; right: 1.4em; bottom: 0; height: 1px; background: var(--gold); transform-origin: left; transition: transform .45s var(--ease); }
.agl-link:hover::after { transform: translateX(4px); }
.agl-link:hover::before { transform: scaleX(.4); }
.agl-more { margin-top: 32px; }

/* ---------- buttons ---------- */
.agl-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.agl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.7); color: var(--ink) !important; font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); backdrop-filter: blur(6px); }
.agl-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.agl-btn--dark { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.agl-btn--dark:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.agl-btn--light { background: #fff; border-color: #fff; color: var(--ink) !important; }
.agl-btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff !important; }
.agl-btn--ghost:hover { border-color: #fff; }
.agl-btn--sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }

/* ---------- header ---------- */
.agl-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
body.admin-bar .agl-header { top: 32px; }
.agl-header.is-scrolled { border-color: var(--line); }
.agl-header__in { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 32px; box-sizing: content-box; }
.agl-logo img { display: block; height: 42px; width: auto; }
.agl-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.agl-nav ul { display: flex; gap: 32px; list-style: none; }
.agl-nav ul a { position: relative; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 6px 0; transition: color .3s; }
.agl-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.agl-nav ul a:hover, .agl-nav ul a[aria-current] { color: var(--ink); }
.agl-nav ul a:hover::after, .agl-nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.agl-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.agl-burger span:not(.screen-reader-text) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.agl-burger span:nth-child(1) { top: 18px; } .agl-burger span:nth-child(2) { top: 25px; }
.agl-burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.agl-burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Solutions mega-menu ---------- */
.agl-has-mega { display: flex; align-items: center; gap: 2px; }
.agl-mega-tg { width: 22px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; color: var(--ink-2); }
.agl-mega-tg::before { content: ""; position: absolute; left: 7px; top: 9px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease), top .3s var(--ease); }
.agl-has-mega.is-open .agl-mega-tg::before { transform: rotate(-135deg); top: 12px; }
.agl-nav .agl-mega ul { display: block; }
.agl-nav .agl-mega a::after { display: none; }
.agl-mega__h { font: 600 .72rem/1.2 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--plum) !important; margin: 0 0 12px !important; }
.agl-mega__sub { font: 600 .78rem/1.2 var(--sans) !important; color: var(--muted) !important; margin: 14px 0 6px !important; }
.agl-mega__sub:first-of-type { margin-top: 0 !important; }
.agl-nav .agl-mega ul a { display: block; padding: 5px 0; font: 400 .88rem/1.35 var(--sans); color: var(--ink-2); border: 0; }
.agl-nav .agl-mega ul a:hover { color: var(--plum); }
.agl-ext { font-size: .75em; margin-left: 4px; color: var(--muted); }
.agl-mega__foot { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.agl-mega__foot a { font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.agl-mega__foot a:hover { color: var(--plum); }
@media (min-width: 981px) {
  .agl-mega { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(21,18,28,.45); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .agl-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; } /* hover bridge from the link to the panel */
  .agl-has-mega.is-open .agl-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .agl-mega__in { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 22px; box-sizing: content-box; }
  .agl-mega__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 981px) and (hover: hover) {
  .agl-has-mega:hover .agl-mega { visibility: visible; opacity: 1; transform: none; transition-delay: .08s; }
  .agl-has-mega:hover .agl-mega-tg::before { transform: rotate(-135deg); top: 12px; }
}
@media (min-width: 981px) and (max-width: 1180px) { .agl-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* "Browse by brand" grid on /solutions/ */
.agl-brandgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.agl-brandcard { border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 22px; background: #fff; }
.agl-brandcard h3 { margin-bottom: 6px !important; }
.agl-brandcard > p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 14px; }
.agl-brandcard__sub { font-size: .78rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; margin: 14px 0 4px !important; }
.agl-brandcard ul { list-style: none; }
.agl-brandcard li { border-top: 1px solid var(--line); }
.agl-brandcard li a { display: block; padding: 9px 0; font-size: .95rem; text-decoration: none; color: var(--ink-2); }
.agl-brandcard li a:hover { color: var(--plum); }
@media (max-width: 980px) { .agl-brandgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .agl-brandgrid { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
/* Hero fills one laptop screen below the ~72px header (tested 1366×650 and 1280×600 viewports). */
.agl-hero { position: relative; min-height: calc(100svh - 72px); max-height: 980px; box-sizing: border-box; display: flex; align-items: center; padding: clamp(20px, 4vh, 48px) 0 clamp(56px, 8vh, 88px); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 70% at 80% 30%, rgba(129,61,133,.07), transparent 70%), radial-gradient(50% 50% at 95% 90%, rgba(184,151,95,.08), transparent 70%), #fff; }
.agl-hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s var(--ease); }
.agl-hero__gl.is-on { opacity: 1; }
.agl-hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.6) 38%, rgba(255,255,255,0) 62%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 18%); }
.agl-hero__in { position: relative; width: 100%; }
.agl-hero__eyebrow { flex-wrap: wrap; row-gap: 8px; }
.agl-hero__eyebrow span { white-space: nowrap; }
.agl-hero__eyebrow span + span::before { content: "·"; margin-right: 12px; color: var(--gold); }
.agl-hero__h1 { font-size: clamp(2.5rem, min(6vw, 9.2vh), 5.2rem) !important; line-height: 1.02 !important; letter-spacing: -.035em !important; max-width: 15ch; font-weight: 300 !important; }
.agl-hero__h1 em { font-style: italic; color: var(--plum); font-weight: 300; }
.agl-hero__lede { max-width: 58ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); margin: clamp(16px, 3vh, 32px) 0 clamp(20px, 3.5vh, 40px) !important; }
.agl-hero .agl-eyebrow { margin-bottom: clamp(14px, 2.5vh, 22px) !important; }
.agl-hero__chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(20px, 4vh, 48px) !important; list-style: none; }
.agl-hero__chips a { white-space: nowrap; }
@media (min-width: 1080px) { .agl-hero__chips { flex-wrap: nowrap; } }
.agl-hero__chips a { font-size: .82rem; letter-spacing: .04em; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.agl-hero__chips a:hover { color: var(--ink); border-color: var(--gold); }
.agl-hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.agl-hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--plum); transform: translateY(-100%); animation: agl-drip 2.4s var(--ease) 1.5s infinite; will-change: transform; }
@keyframes agl-drip { to { transform: translateY(250%); } }
/* H1 and lede are never hidden (they are the LCP); the rest settles in softly. */
.agl-hero__h1, .agl-hero__lede { animation: agl-settle 1.4s var(--ease) both; }
.agl-hero .agl-ctas { animation: agl-rise .6s .1s var(--ease) both; }
.agl-hero__chips { animation: agl-rise .6s .2s var(--ease) both; }
@keyframes agl-settle { from { transform: translateY(10px); } }
@keyframes agl-rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- brand logos: one row ---------- */
.agl-brands { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.agl-brands .agl-wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.agl-brands__h { flex: 0 0 auto; font: 500 .72rem/1.4 var(--sans) !important; letter-spacing: .22em !important; text-transform: uppercase; color: var(--plum) !important; max-width: 9em; }
/* One row that glides slowly left (seamless: the row is printed twice), pauses on hover/focus. */
.agl-brands__view { flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 24px 0; margin: -24px 0; /* room for the Ecoleave leaves and tagline */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.agl-brands__track { display: flex; width: max-content; animation: agl-marquee 60s linear infinite; }
.agl-brands__view:hover .agl-brands__track, .agl-brands__view:focus-within .agl-brands__track { animation-play-state: paused; }
@keyframes agl-marquee { to { transform: translateX(-50%); } }
.agl-brands__row { flex: none; display: flex; align-items: center; gap: 56px; list-style: none; }
/* Space after the last logo = the gap between logos, so the loop seam looks like every other gap. */
body.agl .agl-brands__row { padding-right: 56px; }
.agl-brands__row li { flex: none; }
.agl-brands__row a { display: flex; align-items: center; height: 52px; text-decoration: none; transition: transform .4s var(--ease); }
.agl-brands__row a:hover { transform: scale(1.05); }
/* Optical balance: compact marks 44px tall, long wordmarks (Access UBS, Hikvision, FingerTec) 28px tall. */
.agl-brands__row img { display: block; width: auto; height: 44px; }
.agl-brands__row img.is-wide { height: 28px; }
/* Ecoleave: leaves above + tagline below the word. The word "ecoleave" spans 44–73% of the image height (centre 59%),
   so the image is made taller and shifted up 9% so the word sits on the row's centre line, leaves above, tagline below.
   Negative margins keep its layout box the same height as the other logos. */
.agl-brands__row img[src*="ecoleave"] { height: 80px; margin: -11px 0; transform: translateY(-7.2px); }
.agl-brands__row a { min-height: 58px; height: auto; }
/* Product wordmarks, recreated in each product's own colours */
.wm { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-family: Inter, system-ui, sans-serif; color: #17223b; line-height: 1; }
.wm b { font-weight: 800; }
.wm__txt { display: flex; flex-direction: column; gap: 4px; }
.wm__txt b { font-size: 19px; letter-spacing: -.02em; }
.wm__txt small { font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #60708d; }
.wm--dinn { display: inline-block; font-size: 27px; font-weight: 800; letter-spacing: -2px; color: #173248; }
.wm--dinn span { color: #0eaaa4; }
.wm__tile { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #7037d8, #9b5af2); color: #fff; font-weight: 800; font-size: 16px; }
.wm--idi b { font-size: 22px; letter-spacing: -.03em; color: #17324d; }
.wm--cheq { color: #122b48; }
.wm--cheq .wm__txt b { font-weight: 700; letter-spacing: -.045em; }
.wm__grid { display: grid; grid-template-columns: 13px 13px; gap: 3px; }
.wm__grid i { width: 13px; height: 13px; border-radius: 3px; }
.wm__grid i:nth-child(1) { background: #159bda; } .wm__grid i:nth-child(2) { background: #3dbda9; } .wm__grid i:nth-child(3) { background: #5664e4; } .wm__grid i:nth-child(4) { background: #158bd0; }
.wm--isch b { font-size: 21px; letter-spacing: -.03em; color: #0f1f3d; }
.wm--mail img { height: 34px !important; }
@media (max-width: 980px) {
  .agl-brands .agl-wrap { flex-direction: column; align-items: stretch; gap: 16px; }
  .agl-brands__h { max-width: none; text-align: center; }
  .agl-brands__row { gap: 40px; } body.agl .agl-brands__row { padding-right: 40px; }
  .agl-brands__row img { height: 36px; } .agl-brands__row img.is-wide { height: 22px; } .agl-brands__row img[src*="ecoleave"] { height: 66px; margin: -4px 0; transform: translateY(-5.9px); }
}
@media (max-width: 640px) { /* phones: about 20% smaller logos and tighter spacing */
  .agl-brands { padding: 22px 0; }
  .agl-brands__row { gap: 32px; } body.agl .agl-brands__row { padding-right: 32px; }
  .agl-brands__row a { min-height: 46px; }
  .agl-brands__row img { height: 28px; } .agl-brands__row img.is-wide { height: 17px; } .agl-brands__row img[src*="ecoleave"] { height: 52px; margin: -3px 0; transform: translateY(-4.7px); }
  .agl-brands__row .wm { zoom: .78; }
  .agl-brands__row .wm--mail img { height: 34px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .agl-brands__view { -webkit-mask-image: none; mask-image: none; }
  .agl-brands__track { width: auto; }
  .agl-brands__row { flex-wrap: wrap; justify-content: center; row-gap: 20px; } body.agl .agl-brands__row { padding-right: 0; }
  .agl-brands__row--clone { display: none; }
}

/* ---------- page head (inner pages) ---------- */
/* Same top gap as the home hero (clamp(20px, 4vh, 48px) below the header). */
.agl-pagehead { position: relative; overflow: hidden; padding: clamp(28px, 6.2vh, 56px) 0 clamp(40px, 6vh, 72px); border-bottom: 1px solid var(--line); }
.agl-pagehead .agl-eyebrow { margin-bottom: clamp(14px, 2.5vh, 22px) !important; }
.agl-404.agl-sec { padding-top: clamp(20px, 4vh, 48px); }
.agl-pagehead__glow { position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(129,61,133,.09), rgba(184,151,95,.06) 55%, transparent 72%); z-index: -1; pointer-events: none; }
.agl-pagehead h1 { font-size: var(--fs-h1) !important; font-weight: 300 !important; max-width: 18ch; }
.agl-pagehead .agl-lead { max-width: 60ch; margin-top: 24px; }
.agl-crumbs { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: clamp(18px, 3vh, 32px); }
.agl-crumbs a { color: var(--muted); text-decoration: none; } .agl-crumbs a:hover { color: var(--ink); }

/* ---------- answer block + facts ---------- */
.agl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 40px !important; list-style: none; border-top: 1px solid var(--line); }
.agl-facts li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.agl-facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.agl-facts li:nth-child(even) { padding-left: 24px; }
.agl-facts strong { display: block; font: 300 2rem/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.agl-facts span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- solutions grid ---------- */
.agl-solgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.agl-solgrid > li { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.agl-sol-card { position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 36px 30px 34px; text-decoration: none; background: transparent; transition: background .5s var(--ease); overflow: hidden; }
.agl-sol-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--plum), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.agl-sol-card:hover { background: #fff; }
.agl-sol-card:hover::after { transform: scaleX(1); }
.agl-sol-card .agl-ico { color: var(--plum); margin-bottom: 40px; transition: transform .6s var(--ease); }
.agl-sol-card:hover .agl-ico { transform: translateY(-3px); }
.agl-sol-card__n { position: absolute; top: 34px; right: 30px; font: 400 .75rem/1 var(--sans); letter-spacing: .12em; color: var(--gold); }
.agl-sol-card h3 { margin-bottom: 12px !important; }
.agl-sol-card p { font-size: .94rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; }
.agl-sol-card__tags { margin-top: auto !important; margin-bottom: 0 !important; font-size: .76rem !important; letter-spacing: .04em; color: var(--muted) !important; }
.agl-solgrid--index { grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); }
.agl-solgrid--index .agl-sol-card { padding: 22px 18px; }
.agl-solgrid--index .agl-sol-card .agl-ico { margin-bottom: 22px; width: 24px; height: 24px; }
.agl-solgrid--index .agl-sol-card__n { top: 22px; right: 18px; }
.agl-solgrid--index h3 { font-size: .98rem; margin: 0 !important; }

.agl-list { list-style: none; margin: 8px 0 28px !important; border-top: 1px solid var(--line); }
.agl-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.agl-list a { color: var(--plum); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.agl-list a:hover { border-color: var(--plum); }
.agl-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 1px; background: var(--gold); }

/* ---------- steps ---------- */
.agl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); list-style: none; counter-reset: s; }
.agl-steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.agl-steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 1px; background: var(--plum); }
.agl-steps__n { display: block; font: 300 3rem/1 var(--serif); color: var(--gold); margin-bottom: 20px; letter-spacing: -.03em; }
.agl-steps h3 { margin-bottom: 10px !important; }
.agl-steps p { font-size: .95rem; }

/* ---------- why ---------- */
.agl-why { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.agl-why li { padding: 28px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.agl-why p { margin: 0; }

/* ---------- cards (services) ---------- */
.agl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.agl-card { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background .5s var(--ease); }
.agl-card:hover { background: var(--tint); }
.agl-card__n { font: 400 .75rem/1 var(--sans) !important; letter-spacing: .14em; color: var(--gold) !important; margin-bottom: 36px !important; }
.agl-card h3 { margin-bottom: 12px !important; }

/* ---------- timeline ---------- */
.agl-timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.agl-timeline li { border-top: 1px solid var(--line-2); padding-top: 24px; }
.agl-timeline span { display: block; font: 300 2.6rem/1 var(--serif); color: var(--plum); margin-bottom: 18px; letter-spacing: -.03em; }
.agl-timeline h3 { margin-bottom: 8px !important; }

/* ---------- FAQ ---------- */
.agl-faq { border-top: 1px solid var(--line-2); }
.agl-faq details { border-bottom: 1px solid var(--line-2); }
.agl-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; }
.agl-faq summary::-webkit-details-marker { display: none; }
.agl-faq summary h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important; transition: color .3s; }
.agl-faq summary:hover h3 { color: var(--plum); }
.agl-faq__x { position: relative; flex: 0 0 18px; height: 18px; }
.agl-faq__x::before, .agl-faq__x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
.agl-faq__x::after { transform: rotate(90deg); }
.agl-faq details[open] .agl-faq__x::after { transform: rotate(0); }
.agl-faq details p { max-width: 68ch; padding-bottom: 26px; margin: 0; }

/* ---------- offices ---------- */
.agl-offices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.agl-office { border: 1px solid var(--line-2); border-radius: 2px; padding: clamp(28px, 3.5vw, 48px); background: #fff; position: relative; }
.agl-office::before { content: ""; position: absolute; top: -1px; left: -1px; width: 56px; height: 1px; background: var(--gold); }
.agl-office__tag { font-size: .72rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--muted) !important; }
.agl-office h3 { font-size: 1.45rem !important; margin-bottom: 16px !important; }
.agl-office address { color: var(--ink-2); line-height: 1.7; margin-bottom: 24px; }
.agl-office__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 !important; }
.agl-office__links a { font-size: .92rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; }
.agl-office__links a:hover { border-color: var(--plum); }

/* ---------- CTA band ---------- */
.agl-cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 120px) 0; isolation: isolate; }
.agl-cta::before { content: ""; position: absolute; inset: -50% -20% auto auto; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(129,61,133,.55), rgba(184,151,95,.18) 50%, transparent 72%); z-index: -1; }
.agl-cta__in { text-align: center; }
.agl-cta h2 { color: #fff !important; font-size: var(--fs-h2); font-weight: 300 !important; }
.agl-cta p { color: rgba(255,255,255,.78) !important; margin: 18px auto 36px; max-width: 52ch; }
.agl-cta .agl-ctas { justify-content: center; }

/* ---------- contact ---------- */
.agl-contactlist { list-style: none; margin-top: 32px !important; border-top: 1px solid var(--line); }
.agl-contactlist li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.agl-contactlist span { color: var(--muted); font-size: .9rem; }
.agl-contactlist a { text-decoration: none; font-weight: 500; }
.agl-form { display: grid; gap: 20px; }
.agl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.agl-form label { display: grid; gap: 8px; font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }
.agl-form input:not([type="checkbox"]), .agl-form select, .agl-form textarea { width: 100%; box-sizing: border-box; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.agl-form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315121c' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.agl-form textarea { resize: vertical; min-height: 110px; }
.agl-form input:focus, .agl-form select:focus, .agl-form textarea:focus { outline: none; border-color: var(--plum); }
.agl-form [aria-invalid="true"] { border-color: var(--err) !important; }
.agl-form__row--check { align-items: end; }
.agl-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; line-height: 1.5; }
.agl-check input { margin-top: 3px; accent-color: var(--plum); width: 16px; height: 16px; }
.agl-captcha span { color: var(--plum); font-weight: 600; }
.agl-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.agl-form button { justify-self: start; }
.agl-form button[disabled] { opacity: .6; cursor: wait; }
.agl-form__msg { min-height: 1.5em; margin: 0 !important; font-size: .95rem; }
.agl-form__msg.is-ok { color: var(--ok) !important; } .agl-form__msg.is-err { color: var(--err) !important; }

/* ---------- prose (privacy) ---------- */
.agl-prose h2 { font-size: 1.6rem !important; margin: 48px 0 14px !important; }
.agl-prose h2:first-child { margin-top: 0 !important; }
.agl-prose a, .agl-steps-list a { color: var(--plum); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.agl-prose a:hover, .agl-steps-list a:hover { border-color: var(--plum); }
.agl-prose strong, .agl-steps-list strong { color: var(--ink); font-weight: 600; }
/* articles */
.agl-byline { font-size: .85rem !important; color: var(--muted) !important; margin-top: 20px !important; }
.agl-sec--article { padding-top: clamp(40px, 6vw, 72px); }
.agl-post .agl-article { font-size: 1.0625rem; }
.agl-post .agl-article h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important; margin: 56px 0 16px !important; }
.agl-post .agl-article h3 { margin: 32px 0 10px !important; }
.agl-post .agl-article ul, .agl-post .agl-article ol { margin: 0 0 20px 1.3em !important; }
.agl-post .agl-article li { margin-bottom: 8px; color: var(--ink-2); }
.agl-post .agl-article ul li::marker { color: var(--gold); }
.agl-answerbox { border: 1px solid var(--line-2); border-left: 2px solid var(--plum); background: var(--tint); padding: 24px 28px; margin: 0 0 32px; }
.agl-answerbox p { margin: 0 !important; color: var(--ink) !important; }
.agl-answerbox strong { display: block; font: 500 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--plum); margin-bottom: 8px; }
.agl-note { font-size: .88rem !important; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 48px !important; }
.agl-guides { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.agl-guides > li { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.agl-guide { display: flex; flex-direction: column; gap: 12px; height: 100%; box-sizing: border-box; padding: clamp(28px, 3vw, 44px); text-decoration: none; transition: background .5s var(--ease); }
.agl-guide:hover { background: var(--tint); }
.agl-guide time { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.agl-guide h2 { font-size: 1.5rem !important; }
.agl-guide p { margin: 0 0 8px; }
.agl-guide .agl-link { margin-top: auto; }
@media (max-width: 640px) { .agl-guides { grid-template-columns: 1fr; } }
/* numbered steps inside copy */
.agl-steps-list { list-style: none; counter-reset: st; border-top: 1px solid var(--line); margin: 8px 0 28px !important; }
.agl-steps-list li { counter-increment: st; position: relative; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.agl-steps-list li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 400 .8rem/1.7 var(--sans); letter-spacing: .1em; color: var(--gold); }
/* comparison tables */
.agl-table { overflow-x: auto; margin: 4px 0 22px; border-top: 1px solid var(--line-2); }
.agl-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.agl-table th, .agl-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.agl-table th { font: 500 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.agl-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
/* related solutions: 3 across */
.agl-solgrid--rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .agl-solgrid--rel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .agl-solgrid--rel { grid-template-columns: 1fr; } }

/* ---------- WooCommerce shop (luxe) ---------- */
body.agl.woocommerce-page #main-content, body.agl.woocommerce #main-content { background: #fff; }
body.agl.woocommerce-page #main-content .container, body.agl.woocommerce #main-content .container { max-width: var(--wrap); width: auto; padding: clamp(28px, 6.2vh, 56px) var(--gutter) clamp(56px, 8vw, 96px); }
body.agl.woocommerce-page #main-content .container::before, body.agl.woocommerce #main-content .container::before { display: none; }
body.agl.woocommerce-page #sidebar, body.agl.woocommerce #sidebar { display: none !important; }
body.agl.woocommerce-page #left-area, body.agl.woocommerce #left-area { width: 100% !important; padding: 0 !important; float: none; }
body.agl .woocommerce-breadcrumb { font-size: .8rem !important; color: var(--muted) !important; margin-bottom: 28px !important; }
body.agl .woocommerce-breadcrumb a { color: var(--muted) !important; text-decoration: none; }
body.agl .woocommerce-products-header__title, body.agl.woocommerce-page h1.entry-title, body.agl .product_title { font: 300 var(--fs-h1)/1.08 var(--serif) !important; letter-spacing: -.03em; color: var(--ink) !important; }
body.agl .woocommerce-products-header { margin-bottom: 24px; }
body.agl .term-description p, body.agl .woocommerce-result-count { color: var(--ink-2) !important; font-size: .95rem; }
body.agl .term-description { max-width: 72ch; }
/* category buying guide, below the products */
.agl-catmore { max-width: 72ch; margin: clamp(48px, 7vw, 80px) 0 0; padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line); }
body.agl .agl-catmore h2 { font: 400 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--serif) !important; letter-spacing: -.01em; color: var(--ink) !important; margin: 32px 0 12px !important; padding: 0; }
body.agl .agl-catmore h2:first-child { margin-top: 0 !important; }
body.agl .agl-catmore p { color: var(--ink-2) !important; font-size: 1rem; line-height: 1.7; margin: 0 0 14px; padding: 0; }
body.agl .agl-catmore a { color: var(--plum) !important; text-decoration: underline; text-underline-offset: 3px; }
body.agl .woocommerce-ordering select { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font: 400 .9rem var(--sans); background: #fff; }
/* category pills */
body.agl .agl-shopcats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none !important; margin: 24px 0 32px !important; padding: 0 !important; }
body.agl .agl-shopcats li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
body.agl .agl-shopcats li::before, body.agl .agl-shopcats li::marker { content: none; display: none; }
.agl-shopcats a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--ink-2) !important; transition: border-color .3s, color .3s; }
.agl-shopcats a:hover, .agl-shopcats a.is-on { border-color: var(--plum); color: var(--plum) !important; }
/* Brand + Products filters, one row */
.agl-shopfilter { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px 24px; margin: 24px 0 32px; }
.agl-shopfilter__f { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.agl-shopfilter__f span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); white-space: nowrap; }
body.agl .agl-shopfilter select { appearance: none; -webkit-appearance: none; min-width: 220px; max-width: 100%; height: 44px; padding: 0 40px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233b3644' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; font: 500 .92rem/1 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .3s; }
body.agl .agl-shopfilter select:hover, body.agl .agl-shopfilter select:focus-visible { border-color: var(--plum); }
.agl-shopfilter__clear { font-size: .88rem; color: var(--muted) !important; }
.agl-shopempty { max-width: 680px; margin: 8px 0 48px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--tint); }
.agl-shopempty h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important; margin-bottom: 12px !important; }
.agl-shopempty .agl-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
@media (max-width: 640px) {
  .agl-shopfilter { gap: 10px; }
  .agl-shopfilter__f { flex: 1 1 0; flex-direction: column; align-items: stretch; gap: 6px; }
  body.agl .agl-shopfilter select { min-width: 0; width: 100%; font-size: .88rem; padding: 0 32px 0 12px; background-position: right 12px center; }
  .agl-shopfilter__clear { align-self: flex-end; padding-bottom: 12px; }
}
/* product grid */
body.agl ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; margin: 0 !important; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
body.agl ul.products::before, body.agl ul.products::after { display: none !important; }
/* Divi forces `.woocommerce-page ul.products li.product:nth-child(n) { width: 28.333% !important }`: out-rank it. */
body.agl.agl.agl ul.products li.product:nth-child(n), body.agl ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 24px !important; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; transition: background .4s var(--ease); }
body.agl ul.products li.product:hover { background: var(--tint); }
body.agl ul.products li.product a img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; box-sizing: border-box; padding: clamp(12px, 1.5vw, 22px); background: var(--tint); border: 1px solid var(--line) !important; border-radius: 6px; margin: 0 0 18px !important; box-shadow: none !important; } /* even margin on all four sides, any image shape */
/* designed product cards (SQL *-card, brand *-v4/-v5) carry their own margins: show them like dinnovia.com, white, full tile, hairline border */
body.agl ul.products li.product a img:is([src*="-card"], [src*="-v4"], [src*="-v5"], [src*="/dinnovia-"]), body.agl div.product div.images img:is([src*="-card"], [src*="-v4"], [src*="-v5"], [src*="/dinnovia-"]) { padding: 0 !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 4px; }
body.agl ul.products li.product .woocommerce-loop-product__title { font: 500 1.05rem/1.3 var(--serif) !important; color: var(--ink) !important; padding: 0 !important; margin-bottom: 8px; }
body.agl ul.products li.product .price { color: var(--ink) !important; font: 500 .95rem var(--sans) !important; margin-top: auto; }
body.agl .price small, body.agl .woocommerce-price-suffix { color: var(--muted); font-size: .75rem; font-weight: 400; }
body.agl ul.products li.product .button { margin-top: 14px; }
body.agl .et_overlay, body.agl .et_shop_image .et_overlay { display: none !important; }
/* buttons */
body.agl .woocommerce a.button, body.agl .woocommerce button.button, body.agl .woocommerce input.button, body.agl a.button, body.agl button.single_add_to_cart_button, body.agl .wc-block-components-button:not(.is-link), body.agl .wp-element-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px !important; border-radius: 999px !important; border: 1px solid var(--ink) !important; background: var(--ink) !important; color: #fff !important; font: 500 .9rem/1 var(--sans) !important; letter-spacing: .01em; text-decoration: none; transition: background .3s var(--ease); }
body.agl .woocommerce a.button:hover, body.agl button.single_add_to_cart_button:hover, body.agl .wc-block-components-button:not(.is-link):hover { background: var(--plum-deep) !important; border-color: var(--plum-deep) !important; }
body.agl .woocommerce a.button::after, body.agl button.button::after { display: none !important; }
/* single product */
body.agl div.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
body.agl div.product div.images, body.agl div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
body.agl div.product div.images img { border: 1px solid var(--line); border-radius: 2px; }
body.agl div.product .summary .price { font: 400 1.6rem var(--serif) !important; color: var(--ink) !important; margin: 14px 0 18px !important; }
body.agl div.product .woocommerce-product-details__short-description p { color: var(--ink-2); }
body.agl .agl-incl { list-style: none; margin: 8px 0 24px !important; padding: 0 !important; border-top: 1px solid var(--line); }
body.agl .agl-incl li::marker { content: none; }
body.agl .agl-incl li { list-style: none !important; position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
body.agl .agl-incl li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 5px; border-left: 1.5px solid var(--plum); border-bottom: 1.5px solid var(--plum); transform: rotate(-45deg); }
body.agl div.product form.cart { display: flex; gap: 12px; align-items: center; margin: 8px 0 24px !important; }
body.agl div.product form.cart .quantity input { width: 64px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 999px; text-align: center; font: 400 1rem var(--sans); }
body.agl div.product .product_meta { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
body.agl div.product .product_meta a { color: var(--ink-2); }
body.agl div.product .woocommerce-tabs, body.agl div.product .related, body.agl div.product .up-sells { grid-column: 1 / -1; }
/* variable products: option, quantity and Add to cart on one row; the chosen price replaces the range above (luxe.js) */
body.agl div.product form.variations_form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
body.agl div.product form.variations_form table.variations { width: auto; margin: 0 !important; border: 0 !important; }
body.agl div.product form.variations_form table.variations tbody, body.agl div.product form.variations_form table.variations tr { display: flex; align-items: center; gap: 12px; }
body.agl div.product form.variations_form table.variations th, body.agl div.product form.variations_form table.variations td { padding: 0 !important; border: 0 !important; background: none !important; line-height: 1; }
body.agl div.product form.variations_form table.variations th.label label { margin: 0; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); white-space: nowrap; }
body.agl div.product form.variations_form table.variations select { appearance: none; -webkit-appearance: none; height: 46px; min-width: 210px; max-width: 250px; text-overflow: ellipsis; margin: 0; padding: 0 44px 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233b3644' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center; font: 500 1rem/1 var(--sans); color: var(--ink); cursor: pointer; }
body.agl div.product form.variations_form table.variations select:hover, body.agl div.product form.variations_form table.variations select:focus-visible { border-color: var(--plum); }
body.agl div.product form.variations_form .reset_variations, body.agl div.product form.variations_form .single_variation { display: none !important; }
body.agl div.product form.variations_form .single_variation_wrap, body.agl div.product form.variations_form .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; margin: 0 !important; }
body.agl div.product form.variations_form .quantity input { height: 46px; min-height: 46px; }
body.agl div.product form.variations_form button.single_add_to_cart_button { min-height: 46px; }
/* per-user support plans: "Users" number box on the same row as Add to cart */
body.agl div.product form.cart:has(.agl-users) { flex-wrap: wrap; row-gap: 8px; }
body.agl .agl-users { display: flex; align-items: center; gap: 12px; margin: 0; }
body.agl .agl-users span { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
body.agl .agl-users input { width: 110px; height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 1rem/1 var(--sans); color: var(--ink); text-align: center; background: #fff; }
body.agl .agl-users input:focus { border-color: var(--plum); outline: 0; box-shadow: 0 0 0 1px var(--plum); }
body.agl div.product form.cart:has(.agl-addons), body.agl .woocommerce-variation-add-to-cart:has(.agl-addons) { flex-wrap: wrap; row-gap: 12px; }
body.agl .agl-addons { flex-basis: 100%; order: -1; margin: 0 0 6px; padding: 0; border: 0; }
body.agl .agl-addons legend { margin-bottom: 10px; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
body.agl .agl-addons label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .95rem; color: var(--ink); cursor: pointer; }
body.agl .agl-addons input { width: 18px; height: 18px; accent-color: var(--plum); flex: none; }
body.agl .agl-addons b { margin-left: auto; font-weight: 600; white-space: nowrap; }
body.agl .agl-addons__total { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
/* cart / checkout totals: label left, amount right on the same row, even for long labels */
body.agl .wc-block-components-totals-item { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
body.agl .wc-block-components-totals-item__label { flex: 1 1 0; min-width: 0; }
body.agl .wc-block-components-totals-item__description { flex-basis: 100%; }
body.agl .wc-block-components-totals-item__value { flex: none; margin-left: auto; white-space: nowrap; }
body.agl .agl-users__note { flex-basis: 100%; order: 9; margin: 0 !important; font-size: .82rem; color: var(--muted); }
/* Divi wraps gallery + summary in div.clearfix: that wrapper is the two-column row (image left, details right, one 14" screen) */
body.agl div.product > div.clearfix { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
body.agl div.product > div.clearfix::before, body.agl div.product > div.clearfix::after { display: none; }
@media (min-width: 981px) {
  body.agl.single-product #main-content .container { padding-top: clamp(16px, 3vh, 32px); }
  body.agl.single-product .woocommerce-breadcrumb { margin-bottom: 18px !important; }
  body.agl div.product > div.clearfix div.images { max-width: min(100%, calc(100vh - 220px)); }
  body.agl div.product > div.clearfix div.images img { width: auto !important; max-width: 100%; max-height: calc(100vh - 165px); } /* portrait (4:5) images too */
  body.agl div.product .summary .product_title { font-size: clamp(1.7rem, 2.3vw, 2.3rem) !important; line-height: 1.12 !important; margin: 0 !important; }
  body.agl div.product .summary .price { font-size: 1.45rem !important; margin: 8px 0 12px !important; }
  body.agl div.product .woocommerce-product-details__short-description p { font-size: .95rem; line-height: 1.55; margin-bottom: 10px; }
  body.agl div.product .summary .agl-incl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin: 4px 0 14px !important; }
  body.agl div.product .summary .agl-incl li { padding: 7px 0 7px 24px; font-size: .88rem; line-height: 1.4; }
  body.agl div.product .summary .agl-incl li::before { top: 12px; }
  body.agl div.product .summary form.cart { margin: 4px 0 14px !important; }
  body.agl div.product .summary .variations { margin-bottom: 8px !important; }
  body.agl div.product .product_meta { padding-top: 10px; }
}
body.agl .woocommerce-tabs ul.tabs { display: none !important; }
body.agl .woocommerce-tabs .panel { margin: 0 !important; padding: clamp(32px, 4vw, 56px) 24px 24px !important; border-top: 1px solid var(--line-2); max-width: 868px; box-sizing: border-box; } /* 24px left/right breathing room inside the box */
body.agl .woocommerce-tabs .panel > h2:first-child { display: none; }
body.agl .woocommerce-tabs .panel h2 { font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--serif) !important; margin: 40px 0 12px !important; color: var(--ink); }
body.agl .woocommerce-tabs .panel h3 { margin: 24px 0 8px !important; }
body.agl .woocommerce-tabs .panel ul { margin: 0 0 16px 1.2em !important; }
body.agl .woocommerce-tabs .panel li { margin-bottom: 6px; color: var(--ink-2); }
body.agl .woocommerce-tabs .panel a { color: var(--plum); }
body.agl div.product .related > h2 { font: 300 var(--fs-h2)/1.1 var(--serif) !important; margin: clamp(48px, 6vw, 80px) 0 24px !important; }
body.agl .woocommerce-message, body.agl .woocommerce-info { border-top-color: var(--plum) !important; background: var(--tint) !important; color: var(--ink) !important; }
/* ---------- checkout & cart: fit one 14" laptop screen (1366x650 / 1280x600) ---------- */
body.agl-checkout-slim .agl-header__in { padding-top: 6px; padding-bottom: 6px; }
body.agl-checkout-slim .agl-logo img { height: 34px; }
body.agl-checkout-slim .agl-pagehead--compact { padding: 14px 0 6px !important; border-bottom: 0; }
body.agl-checkout-slim .agl-pagehead--compact h1 { font-size: 1.6rem !important; }
body.agl-checkout-slim .agl-article { padding-bottom: 24px; }
body.agl-checkout-slim .wp-block-woocommerce-checkout, body.agl-checkout-slim .wp-block-woocommerce-cart { max-width: var(--wrap); margin: 0 auto !important; padding: 0 var(--gutter) !important; box-sizing: content-box; }
body.agl-checkout-slim .wc-block-components-sidebar-layout { margin-bottom: 0 !important; }
body.agl-checkout-slim .wc-block-components-main { padding-right: 32px !important; }
body.agl-checkout-slim .wc-block-components-checkout-step { margin: 0 0 10px !important; padding: 0 !important; }
body.agl-checkout-slim .wc-block-components-checkout-step__heading { margin: 0 0 6px !important; }
body.agl-checkout-slim .wc-block-components-checkout-step__title { font: 500 .95rem/1.3 var(--sans) !important; letter-spacing: .02em; }
body.agl-checkout-slim .wc-block-components-checkout-step__description { display: none; }
body.agl-checkout-slim .wc-block-components-checkout-step__container::after, body.agl-checkout-slim .wc-block-components-checkout-step::after { display: none !important; }
body.agl-checkout-slim .wc-block-components-checkout-step__content > * { margin-bottom: 0 !important; }
body.agl-checkout-slim .wc-block-components-text-input, body.agl-checkout-slim .wc-block-components-combobox, body.agl-checkout-slim .wc-block-components-country-input, body.agl-checkout-slim .wc-block-components-state-input { margin-top: 8px !important; }
body.agl-checkout-slim .wc-block-components-text-input input, body.agl-checkout-slim .wc-block-components-combobox .components-combobox-control__input, body.agl-checkout-slim .wc-blocks-components-select__select { min-height: 42px !important; height: 42px !important; padding-top: 14px !important; padding-bottom: 2px !important; }
/* address form in 3 rows: first | last | company / address (wide) | city / state | postcode | phone */
body.agl-checkout-slim .wc-block-components-address-form { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; }
body.agl-checkout-slim .wc-block-components-address-form > * { grid-column: span 2; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
body.agl-checkout-slim .wc-block-components-address-form__address_1 { grid-column: span 4 !important; }
body.agl-checkout-slim #contact-fields .wc-block-components-checkout-step__heading { display: none !important; } /* the email field label says enough */
body.agl-checkout-slim #contact-fields .wc-block-components-text-input { margin-top: 0 !important; }
body.agl-checkout-slim .agl-pagehead--compact { padding: 8px 0 2px !important; }
body.agl-checkout-slim .agl-pagehead--compact h1 { font-size: 1.35rem !important; }
@media (max-width: 782px) {
  body.agl-checkout-slim .wc-block-components-address-form > * { grid-column: span 3; }
  body.agl-checkout-slim .wc-block-components-address-form__address_1 { grid-column: span 6 !important; }
}
body.agl-checkout-slim .wc-block-components-address-form__country { display: none !important; } /* Malaysia only */
body.agl-checkout-slim .wc-block-components-address-form__address_2-toggle, body.agl-checkout-slim .wc-block-components-address-form__address_2-hidden-input { display: none !important; }
body.agl-checkout-slim .wc-block-checkout__use-address-for-billing, body.agl-checkout-slim .wc-block-checkout__guest-checkout-notice { display: none; }
body.agl-checkout-slim .wc-block-checkout__add-note { margin: 4px 0 !important; }
body.agl-checkout-slim .wc-block-checkout__terms { margin: 6px 0 !important; padding: 0 !important; font-size: .8rem; border: 0 !important; }
body.agl-checkout-slim .wc-block-checkout__actions { padding: 6px 0 0 !important; }
body.agl-checkout-slim .wc-block-checkout__actions_row { gap: 12px; }
body.agl-checkout-slim .wc-block-components-radio-control__option { padding-top: 10px !important; padding-bottom: 10px !important; }
body.agl-checkout-slim .wc-block-components-sidebar { padding-left: 0 !important; }
body.agl-checkout-slim .wc-block-components-sidebar .wc-block-components-panel, body.agl-checkout-slim .wc-block-components-totals-wrapper { padding-top: 8px !important; padding-bottom: 8px !important; }
body.agl-checkout-slim .wc-block-components-order-summary-item { padding: 8px 0 !important; }
body.agl-checkout-slim .wc-block-components-order-summary-item__image img { max-width: 44px; }
@media (max-width: 782px) { body.agl-checkout-slim .wc-block-components-main { padding-right: 0 !important; } }
/* ---- cart & checkout: same look as the product page (framed images, serif names, plum labels, rounded fields) ---- */
body.agl-checkout-slim .agl-pagehead--compact h1 { font-family: var(--serif) !important; font-weight: 300 !important; letter-spacing: -.02em; }
body.agl-checkout-slim .wc-block-cart-items__header th, body.agl-checkout-slim .wc-block-cart__totals-title, body.agl-checkout-slim .wc-block-components-checkout-step__title, body.agl-checkout-slim .wc-block-components-checkout-order-summary__title-text { font: 600 .72rem/1.2 var(--sans) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--plum) !important; }
body.agl-checkout-slim .wc-block-cart-item__image img, body.agl-checkout-slim .wc-block-components-order-summary-item__image img { box-sizing: border-box; aspect-ratio: 1 / 1; object-fit: contain; padding: 4px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; }
body.agl-checkout-slim .wc-block-cart-item__image img { width: 88px !important; max-width: 88px; }
body.agl-checkout-slim .wc-block-components-order-summary-item__image img { width: 52px !important; max-width: 52px; }
body.agl-checkout-slim .wc-block-components-order-summary-item__image { width: 52px !important; }
body.agl-checkout-slim .wc-block-components-order-summary-item__quantity { background: var(--plum) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
body.agl-checkout-slim .wc-block-components-product-name { font: 400 1.08rem/1.3 var(--serif) !important; color: var(--ink) !important; text-decoration: none !important; }
body.agl-checkout-slim .wc-block-components-order-summary-item .wc-block-components-product-name { font-size: .95rem !important; line-height: 1.25 !important; }
body.agl-checkout-slim .wc-block-components-product-metadata__description { display: none !important; } /* the product page already explains it */
body.agl-checkout-slim .wc-block-components-product-details { margin: 4px 0 0 !important; padding: 0 !important; list-style: none; }
body.agl-checkout-slim .wc-block-components-product-details__name { font: 600 .68rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }
body.agl-checkout-slim .wc-block-components-product-details__value { font-size: .85rem; color: var(--ink-2); }
body.agl-checkout-slim .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
body.agl-checkout-slim .wc-block-components-quantity-selector { height: 40px; border: 1px solid var(--line-2) !important; border-radius: 999px !important; overflow: hidden; margin: 0 !important; }
body.agl-checkout-slim .wc-block-components-quantity-selector::after { display: none !important; }
body.agl-checkout-slim .wc-block-components-quantity-selector input { font: 500 .95rem var(--sans) !important; }
body.agl-checkout-slim .wc-block-components-quantity-selector__button { color: var(--ink-2) !important; }
body.agl-checkout-slim .wc-block-cart-item__remove-link { color: var(--muted) !important; }
body.agl-checkout-slim .wc-block-cart-item__remove-link:hover { color: var(--err) !important; }
body.agl-checkout-slim .wc-block-cart-item__total .price, body.agl-checkout-slim .wc-block-components-order-summary-item__total-price { font: 400 1.05rem var(--serif) !important; color: var(--ink) !important; }
body.agl-checkout-slim .wc-block-cart__sidebar, body.agl-checkout-slim .wp-block-woocommerce-checkout-order-summary-block { border: 1px solid var(--line) !important; border-radius: 14px; padding: 6px 20px 18px !important; background: #fff; }
body.agl-checkout-slim .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, body.agl-checkout-slim .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 400 1.35rem var(--serif) !important; color: var(--ink) !important; }
body.agl-checkout-slim .wc-block-components-text-input input, body.agl-checkout-slim .wc-blocks-components-select__select, body.agl-checkout-slim .wc-block-components-combobox .components-combobox-control__input, body.agl-checkout-slim .wc-block-components-textarea { border: 1px solid var(--line-2) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; }
body.agl-checkout-slim .wc-block-components-text-input input:focus, body.agl-checkout-slim .wc-blocks-components-select__select:focus { border-color: var(--plum) !important; outline: 0 !important; box-shadow: 0 0 0 1px var(--plum) !important; }
body.agl-checkout-slim .wc-block-components-address-card, body.agl-checkout-slim .wc-block-components-radio-control__option, body.agl-checkout-slim .wc-block-components-radio-control--highlight-checked { border-radius: 12px !important; }
body.agl-checkout-slim .wc-block-components-radio-control--highlight-checked::after, body.agl-checkout-slim .wc-block-components-radio-control__option-checked::after { border-radius: 12px !important; border-color: var(--plum) !important; }
body.agl-checkout-slim .wc-block-components-radio-control__input:checked { border-color: var(--plum) !important; }
body.agl-checkout-slim .wc-block-components-radio-control__input:checked::before { background: var(--plum) !important; }
body.agl-checkout-slim .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--plum) !important; border-color: var(--plum) !important; }
/* checkout rows (as dinnovia.com): Company | Email · Name | Phone · Address | Address 2 · City | Postcode · State | Country */
body.agl.agl-checkout-slim .wc-block-components-checkout-step__title { font: 400 1.15rem/1.2 var(--serif) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink) !important; }
body.agl.agl-checkout-slim #contact-fields .wc-block-components-checkout-step__heading { display: flex !important; }
body.agl.agl-checkout-slim .wc-block-components-checkout-step__heading-container { margin: 0 0 8px !important; padding: 0 !important; min-height: 0 !important; }
body.agl.agl-checkout-slim .wc-block-components-address-form { display: grid !important; grid-template-columns: 1fr 1fr !important; column-gap: 12px !important; row-gap: 10px !important; margin-top: 0 !important; }
body.agl.agl-checkout-slim .wc-block-components-address-form::before, body.agl.agl-checkout-slim .wc-block-components-address-form::after { display: none !important; }
body.agl.agl-checkout-slim .wc-block-components-address-form > * { grid-column: auto !important; margin-top: 0 !important; }
body.agl.agl-checkout-slim .wc-block-components-address-form > * .wc-block-components-text-input, body.agl.agl-checkout-slim .wc-block-components-address-form > * .wc-blocks-components-select { margin-top: 0 !important; }
body.agl.agl-checkout-slim .wc-block-components-address-form__agilegroup-company { order: -1; }
body.agl.agl-checkout-slim .wc-block-components-address-form__first_name { order: 1; }
body.agl.agl-checkout-slim .wc-block-components-address-form__phone { order: 2; }
body.agl.agl-checkout-slim .wc-block-components-address-form__address_1 { order: 3; }
body.agl.agl-checkout-slim .wc-block-components-address-form__agilegroup-address-2 { order: 4; }
body.agl.agl-checkout-slim .wc-block-components-address-form__city { order: 5; }
body.agl.agl-checkout-slim .wc-block-components-address-form__postcode { order: 6; }
body.agl.agl-checkout-slim .wc-block-components-address-form__state { order: 7; }
body.agl.agl-checkout-slim .wc-block-components-address-form__country { order: 8; display: block !important; }
body.agl.agl-checkout-slim .wc-block-components-radio-control-accordion-content { display: none !important; } /* "Pay with Fiuu" repeats the option */
@media (max-width: 480px) { body.agl.agl-checkout-slim .wc-block-components-address-form { grid-template-columns: 1fr !important; } }
/* shop cards: "(1-Year Subscription)" etc. always on its own second line */
.agl-title-sub { display: block; white-space: nowrap; }

/* cart & checkout blocks */
body.agl .wp-block-woocommerce-cart, body.agl .wp-block-woocommerce-checkout { font-family: var(--sans); }
body.agl .wc-block-components-title, body.agl .wc-block-cart__totals-title { font-family: var(--serif) !important; font-weight: 400 !important; }
@media (max-width: 980px) {
  body.agl ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.agl div.product, body.agl div.product > div.clearfix { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { body.agl ul.products li.product { padding: 16px !important; } }

/* ---------- footer ---------- */
.agl-footer { background: var(--tint); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 0; font-size: .92rem; }
.agl-footer__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 56px; display: grid; grid-template-columns: 2.2fr 1.2fr 1fr 1.3fr 1.3fr; gap: 40px; box-sizing: content-box; }
.agl-footer__name { font: 400 1.5rem/1.2 var(--serif) !important; color: var(--ink) !important; letter-spacing: -.01em; }
.agl-footer__h { font-size: .72rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--plum) !important; margin-bottom: 18px !important; }
.agl-footer ul { list-style: none; display: grid; gap: 10px; }
.agl-footer a { text-decoration: none; color: var(--ink-2); transition: color .3s; }
.agl-footer a:hover { color: var(--plum); }
.agl-footer p { color: var(--ink-2); }
.agl-footer__bar { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter) 28px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; box-sizing: content-box; }
.agl-footer__bar p { margin: 0; font-size: .82rem; color: var(--muted); }
.agl-footer__bar a { color: var(--ink); border-bottom: 1px solid var(--gold-soft); }

/* ---------- floating WhatsApp ---------- */
.agl-wa { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wa) !important; border: 1px solid var(--line-2); box-shadow: 0 10px 30px -12px rgba(21,18,28,.35); transition: transform .35s var(--ease), background .35s, color .35s; }
.agl-wa:hover { transform: translateY(-3px); background: var(--wa); color: #fff !important; }

/* ---------- scroll reveal (JS adds .rv-ready on <html>) ---------- */
.rv-ready .rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv-ready .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .agl-solgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agl-solgrid--index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .agl-footer__in { grid-template-columns: 1fr 1fr 1fr; }
  .agl-footer__brand { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 980px) {
  .agl-burger { display: block; }
  .agl-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) 32px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(21,18,28,.4); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
  .agl-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .agl-nav ul { flex-direction: column; gap: 0; }
  .agl-nav ul a { display: block; padding: 14px 0; font: 400 1.4rem/1.2 var(--serif); border-bottom: 1px solid var(--line); }
  .agl-nav ul a::after { display: none; }
  .agl-nav { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .agl-has-mega { flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
  .agl-has-mega > a { flex: 1; border-bottom: 0 !important; }
  .agl-mega-tg { width: 48px; height: 48px; }
  .agl-mega-tg::before { left: 19px; top: 18px; width: 8px; height: 8px; }
  .agl-has-mega.is-open .agl-mega-tg::before { top: 23px; }
  .agl-mega { display: none; flex-basis: 100%; padding: 4px 0 18px; }
  .agl-has-mega.is-open .agl-mega { display: block; }
  .agl-mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .agl-nav .agl-mega ul a { padding: 7px 0; font-size: .92rem; }
  .agl-mega__foot { flex-direction: column; gap: 10px; }
  .agl-grid-2, .agl-grid-2--form { grid-template-columns: 1fr; }
  .agl-steps, .agl-timeline { grid-template-columns: 1fr 1fr; }
  .agl-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { body.admin-bar .agl-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .agl-header { top: 0; } } /* WP admin bar scrolls away on phones */
@media (max-width: 640px) {
  .agl-hero { min-height: auto; padding-top: 40px; }
  .agl-hero__veil { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,.2) 100%); }
  .agl-hero__h1 { max-width: none; }
  .agl-hero__scroll { display: none; }
  .agl-solgrid, .agl-cards, .agl-steps, .agl-timeline, .agl-offices__grid, .agl-form__row { grid-template-columns: 1fr; }
  .agl-solgrid--index { grid-template-columns: 1fr 1fr; }
  .agl-facts { grid-template-columns: 1fr; }
  .agl-facts li:nth-child(odd) { border-right: 0; }
  .agl-facts li:nth-child(even) { padding-left: 0; }
  .agl-why li { grid-template-columns: 1fr; gap: 8px; }
  .agl-footer__in { grid-template-columns: 1fr 1fr; }
  .agl-ctas .agl-btn { flex: 1 1 100%; }
  .agl-logo img { height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-ready .rv { opacity: 1; transform: none; }
}
