/* ==========================================================================
   AARABKHAN ELECTRONICS — "Precision Engineering, Human Care."
   Public-site design system. Admin keeps style.css + admin.css.
   Contents:
     01 Fonts            08 Hero               15 Gallery
     02 Tokens           09 Hero visual (TV)   16 About
     03 Base             10 Cards & icons      17 Contact & booking
     04 Layout           11 Process steps      18 Forms & alerts
     05 Type & links     12 Home sections      19 Footer & dock
     06 Buttons          13 Page heads         20 Cursor, curtain, reveals
     07 Header & menu    14 Services           21 Responsive & motion
   ========================================================================== */

/* ---------- 01 Fonts (self-hosted variable, swap, metric-matched fallbacks) ---------- */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fallbacks tuned to Inter metrics to keep CLS ~0 while fonts swap in. */
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 100%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }

/* ---------- 02 Tokens ---------- */
:root {
  /* Brand */
  --ink: #0B1B3A;
  --ink-2: #112650;
  --ink-3: #1A3266;
  --brand: #1E4D9B;
  --brand-2: #2459B0;
  --electric: #3B82F6;
  --electric-lite: #9CC2FF;
  --electric-soft: rgba(59, 130, 246, .12);
  --mist: #F4F7FB;
  --mist-2: #EAF0F8;
  --sun: #F2C98A;
  --sun-deep: #E0A65A;
  --live: #22C55E;
  --wa: #0E7A40;

  /* Text & lines (all text tokens pass WCAG AA on white and mist) */
  --text: #0B1B3A;
  --text-2: #3D4B66;
  --text-3: #55627E;
  --on-ink: #E3EBFA;
  --on-ink-2: #A9B9D6;
  --on-ink-3: #8094B9;
  --line: #E1E7F0;
  --line-2: #CCD6E5;
  --line-ink: rgba(167, 191, 235, .16);
  --success: #0F7B4B;
  --danger: #B42318;

  /* Type */
  --font-display: "Inter Tight", "Inter Tight Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h4: 1.0625rem;
  --fs-h3: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-page: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem);
  --fs-h1: clamp(2.75rem, 1.2rem + 4.6vw, 5.5rem);

  /* 8px spacing scale */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem;
  --s-7: 2.5rem; --s-8: 3rem; --s-9: 4rem; --s-10: 5rem; --s-11: 6rem; --s-12: 8rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);

  /* Shape & depth */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 27, 58, .06);
  --shadow-2: 0 18px 40px -18px rgba(11, 27, 58, .22), 0 2px 6px rgba(11, 27, 58, .04);
  --shadow-3: 0 40px 90px -30px rgba(11, 27, 58, .45);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 60px;
  --hdr-pad: 12px;
  --hdr-total: calc(var(--hdr-h) + var(--hdr-pad) * 2);

  /* Decorative circuit traces (light and dark variants) */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%231E4D9B' stroke-width='1'%3E%3Cpath d='M0 44h44l22 22h46M112 66v44l22 22h46M22 180v-44l22-22h24M134 0v24l-22 22M68 114h-28'/%3E%3Ccircle cx='112' cy='66' r='3'/%3E%3Ccircle cx='68' cy='114' r='3'/%3E%3Ccircle cx='134' cy='132' r='2.5'/%3E%3Ccircle cx='44' cy='44' r='2'/%3E%3C/svg%3E");
  --circuit-lite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%239DB8E6' stroke-width='1'%3E%3Cpath d='M0 44h44l22 22h46M112 66v44l22 22h46M22 180v-44l22-22h24M134 0v24l-22 22M68 114h-28'/%3E%3Ccircle cx='112' cy='66' r='3'/%3E%3Ccircle cx='68' cy='114' r='3'/%3E%3Ccircle cx='134' cy='132' r='2.5'/%3E%3Ccircle cx='44' cy='44' r='2'/%3E%3C/svg%3E");

  interpolate-size: allow-keywords;
  color-scheme: light;
}

/* ---------- 03 Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-total) + 16px); }
body {
  margin: 0; min-height: 100vh;
  font: 400 var(--fs-base)/1.6 var(--font-body);
  color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
img, svg, picture, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { text-wrap: pretty; }
strong { font-weight: 650; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.ae-skip {
  position: fixed; left: 16px; top: 12px; z-index: 10001;
  padding: 12px 18px; border-radius: var(--r-md);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.ae-skip:focus { transform: none; }

/* Lenis smooth-scroll helpers */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 04 Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ae-section { position: relative; padding-block: var(--section); }
.ae-section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.ae-section--flush-top { padding-top: 0; }
.ae-section--mist { background: var(--mist); }
.ae-section--mist::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--circuit); opacity: .045;
  -webkit-mask-image: radial-gradient(70% 60% at 100% 0%, #000, transparent 70%);
          mask-image: radial-gradient(70% 60% at 100% 0%, #000, transparent 70%);
}
.ae-section--mist > .container { position: relative; }
.ae-nowrap { white-space: nowrap; }

/* ---------- 05 Type & links ---------- */
.ae-h2, h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
.ae-h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

.ae-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .75rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.ae-eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .6; }
.ae-eyebrow--light { color: var(--sun); }

.ae-grad {
  background: linear-gradient(100deg, var(--brand) 0%, #2D6CD8 45%, var(--electric) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.ae-ico { width: 1.15em; height: 1.15em; flex: none; }

.ae-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--brand); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .45s var(--ease-out), color .2s;
}
.ae-link:hover { background-size: 100% 1.5px; }
.ae-link .ae-ico { transition: transform .45s var(--ease-out); }
.ae-link:hover .ae-ico { transform: translateX(3px); }

.ae-tag {
  align-self: flex-start; display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--electric-soft); color: var(--brand);
  font: 600 .6875rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- 06 Buttons ---------- */
.ae-btn {
  --h: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: 0 22px; border-radius: var(--r-pill);
  border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  font: 600 .9375rem/1 var(--font-body); letter-spacing: -.005em;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease-out), transform .5s var(--ease-out);
  will-change: transform;
}
.ae-btn--sm { --h: 40px; padding: 0 16px; font-size: .875rem; }
.ae-btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.ae-btn--block { width: 100%; }
.ae-btn::after { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.ae-btn:hover::after { transform: translateX(120%); }

.ae-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px -10px rgba(30,77,155,.7);
}
.ae-btn--primary:hover { background: linear-gradient(180deg, #2B66C6, #2158AE); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 34px -12px rgba(30,77,155,.75); }
.ae-btn--ghost { color: var(--ink); background: rgba(255,255,255,.85); border-color: var(--line-2); }
.ae-btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.ae-btn--light { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.ae-btn--light:hover { background: var(--sun); }
.ae-btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.ae-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.ae-btn--wa { color: #fff; background: var(--wa); box-shadow: 0 10px 26px -10px rgba(14,122,64,.6); }
.ae-btn--wa:hover { background: #0B6A37; }
.ae-btn:not([data-magnetic]):hover { transform: translateY(-1px); }
.ae-btn:disabled, .ae-btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Arrow that slides through on hover */
.ae-btn__arrow { position: relative; width: 18px; height: 18px; overflow: hidden; flex: none; }
.ae-btn__arrow .ae-ico { position: absolute; inset: 0; width: 18px; height: 18px; transition: transform .55s var(--ease-out); }
.ae-btn__arrow .ae-ico:last-child { transform: translateX(-140%); }
.ae-btn:hover .ae-btn__arrow .ae-ico:first-child { transform: translateX(140%); }
.ae-btn:hover .ae-btn__arrow .ae-ico:last-child { transform: none; }

.ae-icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 0; background: transparent; color: inherit;
  transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--ease-out);
}
.ae-icon-btn .ae-ico { width: 20px; height: 20px; }
.ae-icon-btn:hover { background: var(--mist-2); }
.ae-icon-btn--line { border: 1px solid var(--line-2); background: #fff; }
.ae-icon-btn--line:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.ae-icon-btn:disabled { opacity: .35; cursor: default; }

/* Live / available dot */
.ae-live { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.ae-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: ae-ping 2.4s var(--ease-out) infinite; }
@keyframes ae-ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- 07 Header & menu ---------- */
.ae-header { position: sticky; top: 0; z-index: 60; padding: var(--hdr-pad) var(--gutter); transition: padding .5s var(--ease-out); }
.ae-header .ae-header__inner {
  position: relative; display: flex; align-items: center; gap: 20px;
  max-width: calc(var(--container) - 2 * var(--gutter)); height: var(--hdr-h);
  padding: 0 8px 0 10px; border-radius: 20px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.75);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: 0 1px 0 rgba(11,27,58,.04), 0 8px 30px -18px rgba(11,27,58,.25);
  transition: height .5s var(--ease-out), background-color .4s, box-shadow .4s, border-radius .5s var(--ease-out);
}
.ae-header.is-scrolled { --hdr-pad: 8px; }
.ae-header.is-scrolled .ae-header__inner { height: 54px; background: rgba(255,255,255,.82); box-shadow: 0 1px 0 rgba(11,27,58,.05), 0 14px 40px -18px rgba(11,27,58,.32); }

.ae-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.ae-brand__badge { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 1px var(--line), 0 4px 12px -6px rgba(11,27,58,.3); transition: transform .5s var(--ease-out); }
.ae-brand__badge img { width: 34px; height: 34px; }
.ae-header.is-scrolled .ae-brand__badge { transform: scale(.9); }
.ae-brand:hover .ae-brand__badge { transform: rotate(-12deg); }
.ae-brand__text { display: grid; gap: 2px; min-width: 0; }
.ae-brand__name { font: 700 .9375rem/1.1 var(--font-display); letter-spacing: .02em; white-space: nowrap; }
.ae-brand__name span { color: var(--brand); }
.ae-brand__tag { display: inline-flex; align-items: center; gap: 6px; font: 600 .625rem/1.1 var(--font-body); letter-spacing: .16em; color: var(--text-3); white-space: nowrap; }

.ae-nav { position: relative; display: none; align-items: center; gap: 2px; margin-left: auto; }
.ae-nav a { position: relative; padding: 10px 14px; font-size: .9375rem; font-weight: 500; color: var(--text-2); text-decoration: none; border-radius: 10px; transition: color .25s; }
.ae-nav a:hover, .ae-nav a[aria-current="page"] { color: var(--ink); }
.ae-nav__indicator {
  position: absolute; left: 0; bottom: 4px; height: 2px; width: var(--w, 0px);
  border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--electric));
  transform: translateX(var(--x, 0px)); opacity: var(--o, 0);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}
.ae-header__cta { display: none; margin-left: 8px; }
.ae-menu-toggle {
  margin-left: auto; width: 44px; height: 44px; border-radius: 14px; border: 0;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.ae-menu-toggle:hover { background: var(--brand); }
.ae-menu-toggle .ae-ico { width: 22px; height: 22px; }

/* Mobile menu (native <dialog>) */
.ae-menu {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  width: min(100%, 460px); max-width: 100%; height: 100%; max-height: 100%;
  border: 0; background: var(--ink); color: var(--on-ink);
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
}
.ae-menu:not([open]) { display: none; }
.ae-menu[open] { animation: ae-menu-in .6s var(--ease-out); }
.ae-menu::backdrop { background: rgba(11,27,58,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes ae-menu-in { from { transform: translateX(100%); } }
.ae-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.ae-menu__head strong { font: 600 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-2); }
.ae-menu__head .ae-icon-btn { color: #fff; border: 1px solid var(--line-ink); }
.ae-menu__head .ae-icon-btn:hover { background: rgba(255,255,255,.08); }
.ae-menu__nav { display: grid; }
.ae-menu__nav a {
  display: flex; align-items: center; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line-ink); text-decoration: none; color: #fff;
  font: 600 clamp(1.625rem, 1.2rem + 2vw, 2.125rem)/1.1 var(--font-display); letter-spacing: -.03em;
}
.ae-menu[open] .ae-menu__nav a { animation: ae-fade-up .7s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms + 120ms); }
.ae-menu__nav a[aria-current="page"] { color: var(--sun); }
.ae-menu__num { font: 500 .75rem/1 var(--font-body); letter-spacing: .1em; color: var(--on-ink-3); width: 22px; }
.ae-menu__arrow { margin-left: auto; font-size: 1.25rem; color: var(--on-ink-2); transition: transform .4s var(--ease-out); }
.ae-menu__nav a:hover .ae-menu__arrow { transform: translate(3px, -3px); color: #fff; }
.ae-menu__bottom { margin-top: auto; display: grid; gap: 10px; }
.ae-menu__bottom p { color: var(--on-ink-2); margin-bottom: 4px; }
.ae-menu__bottom small { color: var(--on-ink-3); text-align: center; margin-top: 6px; }
body.ae-menu-open { overflow: hidden; }

/* ---------- 08 Hero ---------- */
.ae-hero {
  position: relative; isolation: isolate; overflow: clip;
  margin-top: calc(-1 * var(--hdr-total));
  padding: calc(var(--hdr-total) + clamp(2rem, 1rem + 4vw, 4.5rem)) 0 clamp(3.5rem, 2rem + 5vw, 7rem);
}
.ae-hero__bg, .ae-page-head__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(55% 55% at 88% 18%, rgba(59,130,246,.20), transparent 70%),
    radial-gradient(40% 45% at 6% 4%, rgba(242,201,138,.30), transparent 70%),
    radial-gradient(60% 60% at 45% 110%, rgba(30,77,155,.12), transparent 70%),
    linear-gradient(180deg, #F8FAFE 0%, var(--mist) 100%);
}
.ae-hero__bg::before, .ae-page-head__bg::before { /* circuit traces */
  content: ""; position: absolute; inset: 0; background-image: var(--circuit); opacity: .075;
  -webkit-mask-image: radial-gradient(75% 70% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(75% 70% at 60% 40%, #000 20%, transparent 75%);
}
.ae-hero__bg::after { /* slow aurora drift */
  content: ""; position: absolute; width: 70vmax; height: 70vmax; left: 40%; top: -30vmax;
  background: radial-gradient(closest-side, rgba(59,130,246,.14), transparent);
  animation: ae-drift 24s ease-in-out infinite alternate;
}
@keyframes ae-drift { to { transform: translate3d(-18vmax, 12vmax, 0) scale(1.15); } }
.ae-hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.ae-hero__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
.ae-hero__copy { max-width: 46rem; }
.ae-hero__eyebrow {
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  letter-spacing: .08em; text-transform: none; font-size: .8125rem; color: var(--ink);
  box-shadow: var(--shadow-1);
  animation: ae-fade-up .9s var(--ease-out) both;
}
.ae-hero__eyebrow::before { display: none; }
.ae-hero__eyebrow .ae-ico { color: var(--brand); }
.ae-hero__title { font-size: var(--fs-h1); font-weight: 600; line-height: .98; letter-spacing: -.045em; margin: 22px 0 24px; text-wrap: balance; }

/* Masked line reveal (CSS-only so it never waits on JS → fast LCP) */
.ae-line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.ae-line > * { display: block; animation: ae-rise 1.05s var(--ease-out) both; animation-delay: calc(100ms + var(--i, 0) * 80ms); }
@keyframes ae-rise { from { transform: translate3d(0, 105%, 0); } }
@keyframes ae-fade-up { from { opacity: 0; transform: translate3d(0, 16px, 0); } }

.ae-hero__intro-mask > * { --i: 4; }
.ae-hero__intro { font-size: var(--fs-lg); line-height: 1.6; color: var(--text-2); max-width: 34rem; }
.ae-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: ae-fade-up .9s var(--ease-out) .5s both; }
.ae-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; animation: ae-fade-up .9s var(--ease-out) .6s both; }
.ae-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.72); border: 1px solid var(--line);
  font-size: .875rem; font-weight: 500; color: var(--ink);
}
.ae-chip__check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.15); color: #15803D; }
.ae-chip__check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: ae-draw .7s var(--ease-out) 1s forwards; }
.ae-chip + .ae-chip .ae-chip__check svg { animation-delay: 1.15s; }
@keyframes ae-draw { to { stroke-dashoffset: 0; } }

.ae-hero__more { margin-top: 22px; max-width: 34rem; animation: ae-fade-up .9s var(--ease-out) .7s both; }
.ae-hero__more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: .875rem; font-weight: 600; color: var(--text-2); }
.ae-hero__more summary::-webkit-details-marker { display: none; }
.ae-hero__more summary .ae-ico { width: 16px; height: 16px; color: var(--brand); transition: transform .4s var(--ease-out); }
.ae-hero__more[open] summary .ae-ico { transform: rotate(45deg); }
.ae-hero__more summary:hover { color: var(--ink); }
.ae-hero__more p { margin-top: 10px; padding-left: 24px; font-size: .9375rem; color: var(--text-3); }

/* Arriving through the curtain: hold the entrance until it clears */
.is-arriving .ae-line > * { animation-delay: calc(560ms + var(--i, 0) * 80ms); }
.is-arriving .ae-hero__actions, .is-arriving .ae-chips, .is-arriving .ae-hero__more, .is-arriving .ae-hero__eyebrow, .is-arriving .ae-hero__visual { animation-delay: .75s; }

/* ---------- 09 Hero visual (TV) ---------- */
.ae-hero__visual { perspective: 1400px; animation: ae-fade-up 1.1s var(--ease-out) .25s both; }
.ae-hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 20px; border-radius: 28px; color: var(--on-ink);
  background: radial-gradient(120% 90% at 75% 0%, #1D3D7A 0%, var(--ink-2) 40%, var(--ink) 75%);
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(157,184,230,.12);
  --sy: 0px;
  transform: translate3d(0, var(--sy), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d; will-change: transform;
}
.ae-hero-card__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(157,184,230,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(157,184,230,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 80%);
}
.ae-hero-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 0; }
.ae-hero-card__caption { display: inline-flex; align-items: center; gap: 8px; font: 600 .6875rem/1.3 var(--font-body); letter-spacing: .18em; color: var(--on-ink-2); }
.ae-hero-card__mark { font: 700 1.375rem/1 var(--font-display); letter-spacing: -.05em; color: #fff; }

.ae-stage { position: relative; aspect-ratio: 600 / 430; margin: 6px 0 10px; --px: 0; --py: 0; }
.ae-stage::before { /* screen glow spill (static radial, no blur filter) */
  content: ""; position: absolute; left: 10%; right: 6%; top: 4%; bottom: 14%;
  background: radial-gradient(closest-side, rgba(126,166,229,.32), rgba(126,166,229,.08) 60%, transparent);
  animation: ae-glow 1.6s ease-out .4s both;
}
@keyframes ae-glow { 0%, 40% { opacity: 0; } }
.ae-stage__floor { position: absolute; left: 6%; right: 6%; bottom: 3%; height: 16%; background: radial-gradient(closest-side, rgba(59,130,246,.3), transparent); }
.ae-stage__layer { position: absolute; transform: translate3d(calc(var(--px) * var(--depth) * 1px), calc(var(--py) * var(--depth) * 1px), 0); }
.ae-stage__layer svg { width: 100%; height: auto; overflow: visible; }
.ae-stage__layer--tv { --depth: 6; left: 9%; right: 6%; top: 6%; }
.ae-stage__layer--speaker { --depth: 15; left: 0; bottom: 3%; width: 17%; }
.ae-stage__layer--tool { --depth: 22; right: -1%; bottom: 0; width: 23%; }
.ae-stage__layer--speaker svg { animation: ae-float 7s ease-in-out infinite; }
.ae-stage__layer--tool svg { animation: ae-float 6s ease-in-out -2s infinite; }
@keyframes ae-float { 50% { transform: translate3d(0, -7px, 0); } }

/* TV screen: HTML layers placed over the SVG bezel (screen = 472×262 at 24,22 of 520×340) */
.ae-screen { position: absolute; left: 4.615%; top: 6.471%; width: 90.769%; height: 77.059%; border-radius: 1.2%; overflow: hidden; isolation: isolate; background: #050a14; }
.ae-screen > *, .ae-screen__scene > * { position: absolute; }
.ae-screen__scene { position: absolute; inset: 0; background: linear-gradient(to bottom right, #eef5ff 0%, #a3bfe6 50%, #4c6fa6 100%); }
.ae-screen__glow { left: 75.4%; top: 28.2%; width: 33%; aspect-ratio: 1; margin: -16.5% 0 0 -16.5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,201,138,.75), rgba(242,201,138,0)); animation: ae-sunglow 6s ease-in-out infinite; }
.ae-screen__sun { left: 75.4%; top: 28.2%; width: 16.1%; aspect-ratio: 1; margin: -8.05% 0 0 -8.05%; border-radius: 50%; background: #F2C98A; animation: ae-sun 9s ease-in-out infinite; }
.ae-screen__wave { left: 0; top: 0; width: 200%; height: 100%; animation: ae-wave 22s linear infinite; will-change: transform; }
.ae-screen__wave svg { width: 100%; height: 100%; }
.ae-screen__wave--2 { animation-duration: 15s; }
.ae-screen__wave--3 { animation-duration: 10s; }
.ae-screen__scan { inset: 0; background: repeating-linear-gradient(to bottom, rgba(11,27,58,.08) 0 1px, transparent 1px 3px); pointer-events: none; }
.ae-screen__glass { inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.24), rgba(255,255,255,0) 60%); clip-path: polygon(7.6% 0, 28% 0, 64% 100%, 43.6% 100%); }
/* CRT power-on: a beam stretches open, the black overlay flickers away */
.ae-screen__off { inset: 0; background: #050a14; animation: ae-tv-off 1.6s linear .35s both; }
.ae-screen__beam { left: 0; right: 0; top: 49.4%; height: 1.2%; background: #eaf2ff; box-shadow: 0 0 18px 4px rgba(200,220,255,.6); animation: ae-beam 1.25s var(--ease-in-out) .35s both; }
.ae-tv__led { animation: ae-led 1.6s steps(1) .35s both; }
@keyframes ae-beam { 0% { transform: scale(0, 1); opacity: 1; } 28% { transform: scale(1, 1); opacity: 1; } 58% { transform: scale(1, 60); opacity: 0; } 100% { transform: scale(1, 60); opacity: 0; } }
@keyframes ae-tv-off { 0%, 34% { opacity: 1; } 40% { opacity: .15; } 44% { opacity: .55; } 50% { opacity: 0; } 55% { opacity: .25; } 62%, 100% { opacity: 0; } }
@keyframes ae-led { 0% { opacity: .2; } 30%, 100% { opacity: 1; } }
@keyframes ae-wave { to { transform: translate3d(-50%, 0, 0); } }
@keyframes ae-sun { 50% { transform: translate3d(0, -4%, 0); } }
@keyframes ae-sunglow { 50% { transform: scale(1.12); opacity: .8; } }
.ae-stage.is-paused *, .ae-stage.is-paused::before, .ae-hero__bg.is-paused::after { animation-play-state: paused !important; }
.ae-hero-card__foot { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-ink); }
.ae-hero-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--sun); background: rgba(242,201,138,.1); border: 1px solid rgba(242,201,138,.2); }
.ae-hero-card__icon .ae-ico { width: 22px; height: 22px; }
.ae-hero-card__foot strong { display: block; font: 600 .9375rem/1.3 var(--font-display); color: #fff; letter-spacing: -.01em; }
.ae-hero-card__foot span:not(.ae-hero-card__icon) { display: block; margin-top: 2px; font-size: .8125rem; color: var(--on-ink-2); }

/* ---------- 10 Cards, glow border & animated icons ---------- */
[data-glow] { position: relative; isolation: isolate; }
[data-glow]::before { /* border light that follows the pointer */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 1; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(59,130,246,.95), rgba(59,130,246,.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .45s;
}
[data-glow]::after { /* soft inner spotlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59,130,246,.07), transparent 60%);
  opacity: 0; transition: opacity .45s;
}
[data-glow]:hover::before, [data-glow]:hover::after, [data-glow]:focus-visible::before { opacity: 1; }

.ae-card-base, .ae-cat, .ae-tile, .ae-feature, .ae-svc, .ae-pillar, .ae-area, .ae-work {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.ae-cat:hover, .ae-tile:hover, .ae-feature:hover, .ae-svc:hover, .ae-pillar:hover, .ae-area:hover, .ae-work:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent;
}

/* Animated category icons */
.ae-anim-ico { width: 40px; height: 40px; overflow: visible; }
.ae-anim-tv .ai-screen { opacity: .1; transition: opacity .4s; }
.ae-anim-tv .ai-scan { opacity: 0; }
.ae-anim-tv .ai-led { color: var(--sun-deep); }
.ae-anim-microwave .ai-window { fill: transparent; transition: fill .5s; }
.ae-anim-microwave .ai-plate circle { transition: transform .4s; }
.ae-anim-microwave .ai-knob { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease-out); }
.ae-anim-audio .ai-cone { transform-box: fill-box; transform-origin: center; }
.ae-anim-audio .ai-wave { opacity: 0; }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-tv .ai-screen, .ae-empty .ae-anim-tv .ai-screen { animation: ai-flicker .9s steps(1) both; opacity: .22; }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-tv .ai-scan, .ae-empty .ae-anim-tv .ai-scan { animation: ai-scan 1.6s linear .3s infinite; }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-microwave .ai-window { fill: rgba(242,201,138,.45); }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-microwave .ai-plate circle { animation: ai-orbit 1.8s ease-in-out infinite; }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-microwave .ai-knob { transform: rotate(140deg); }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-audio .ai-cone { animation: ai-thump .5s ease-in-out infinite; }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-audio .ai-wave-1 { animation: ai-wave 1s ease-out infinite; }
.ae-icon-host:is(:hover, :focus-visible) .ae-anim-audio .ai-wave-2 { animation: ai-wave 1s ease-out .2s infinite; }
@keyframes ai-flicker { 0% { opacity: .1; } 15% { opacity: .5; } 25% { opacity: .1; } 40% { opacity: .35; } 55%, 100% { opacity: .22; } }
@keyframes ai-scan { 0% { transform: translateY(-8px); opacity: 0; } 20%, 80% { opacity: .8; } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes ai-orbit { 50% { transform: translateX(8px); } }
@keyframes ai-thump { 50% { transform: scale(1.1); } }
@keyframes ai-wave { 0% { opacity: 0; transform: translateX(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(3px); } }

/* ---------- 11 Process steps (scroll-scrubbed progress line) ---------- */
.ae-steps { position: relative; }
.ae-steps ol { list-style: none; display: grid; gap: 40px; }
.ae-steps__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.ae-steps__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand), var(--electric)); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.ae-step { position: relative; padding-left: 84px; }
.ae-step__num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2);
  font: 600 1.0625rem/1 var(--font-display); color: var(--brand); letter-spacing: -.02em;
  transition: background-color .5s, color .5s, border-color .5s, box-shadow .6s var(--ease-out);
}
.ae-step.is-lit .ae-step__num { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 6px var(--electric-soft); }
.ae-step h3 { margin: 12px 0 8px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.ae-step p { color: var(--text-2); max-width: 30rem; }
.ae-steps:not([data-steps-live]) .ae-steps__fill { transform: none; } /* full line when JS/motion is off */

/* ---------- 12 Home sections ---------- */
.ae-sec-head { display: grid; gap: 14px; max-width: 48rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.ae-sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.ae-sec-head--row > div { display: grid; gap: 14px; max-width: 46rem; }
.ae-sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.ae-sec-head__lead { font-size: var(--fs-lg); color: var(--text-2); max-width: 40rem; }
.ae-sec-head__aside { color: var(--text-3); font-size: 1.0625rem; line-height: 1.5; }

/* Categories */
.ae-cat-grid { display: grid; gap: 16px; }
.ae-cat { display: flex; align-items: center; gap: 18px; padding: 18px; text-decoration: none; color: inherit; border-radius: 22px; }
.ae-cat__icon { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--mist); color: var(--brand); transition: background-color .4s, color .4s; }
.ae-cat:hover .ae-cat__icon { background: var(--ink); color: #fff; }
.ae-cat__text { display: grid; gap: 2px; min-width: 0; }
.ae-cat__text strong { font: 600 1.125rem/1.25 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.ae-cat__text small { font-size: .875rem; color: var(--text-3); }
.ae-cat__go { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .35s, color .35s, border-color .35s; }
.ae-cat__go .ae-ico { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.ae-cat:hover .ae-cat__go { background: var(--brand); border-color: var(--brand); color: #fff; }
.ae-cat:hover .ae-cat__go .ae-ico { transform: rotate(-45deg); }

/* Quick request */
.ae-quick__panel { border-radius: var(--r-xl); background: var(--ink); color: var(--on-ink); overflow: hidden; position: relative; isolation: isolate; box-shadow: var(--shadow-2); }
.ae-quick__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--circuit-lite); opacity: .07; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.ae-quick__panel summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 20px 24px; cursor: pointer; list-style: none; }
.ae-quick__panel summary::-webkit-details-marker { display: none; }
.ae-quick__summary { display: grid; gap: 4px; }
.ae-quick__summary span { font-size: .875rem; color: var(--on-ink-2); }
.ae-quick__summary strong { font: 600 clamp(1.25rem, 1.1rem + .6vw, 1.625rem)/1.2 var(--font-display); color: #fff; letter-spacing: -.02em; }
.ae-quick__toggle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--ink); transition: transform .5s var(--ease-out), background-color .3s; }
.ae-quick__panel summary:hover .ae-quick__toggle { background: var(--sun); }
.ae-quick__panel[open] .ae-quick__toggle { transform: rotate(45deg); }
.ae-quick__form { display: grid; gap: 14px; padding: 4px 24px 24px; }
.ae-quick__form .form-group { margin: 0; }
.ae-quick__form .form-label { color: var(--on-ink); }
.ae-quick__form .form-control, .ae-quick__form .form-select { background-color: rgba(255,255,255,.06); border-color: rgba(167,191,235,.28); color: #fff; }
.ae-quick__form .form-select option { color: var(--ink); }
.ae-quick__form .form-control::placeholder { color: var(--on-ink-3); }
.ae-quick__form .form-control:focus, .ae-quick__form .form-select:focus { background-color: rgba(255,255,255,.1); border-color: var(--electric-lite); }
.ae-quick__form .form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23E3EBFA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); }
.ae-quick__form .ae-btn { align-self: end; }
.ae-quick__form .ae-btn--primary { background: #fff; color: var(--ink); box-shadow: none; }
.ae-quick__form .ae-btn--primary:hover { background: var(--sun); }

/* Featured tiles */
.ae-tile-grid { display: grid; gap: 16px; }
.ae-tile { display: flex; flex-direction: column; gap: 12px; padding: 26px; min-height: 300px; overflow: hidden; }
.ae-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ae-tile__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--brand); transition: background-color .4s, color .4s; }
.ae-tile__icon .ae-anim-ico { width: 34px; height: 34px; }
.ae-tile:hover .ae-tile__icon { background: var(--ink); color: #fff; }
.ae-tile__cat { padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font: 600 .6875rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ae-tile h3 { font-size: 1.25rem; }
.ae-tile p { font-size: .9375rem; color: var(--text-2); }
.ae-tile__index { position: absolute; right: 22px; bottom: 6px; font: 600 4.5rem/1 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; transition: -webkit-text-stroke-color .4s; }
.ae-tile:hover .ae-tile__index { -webkit-text-stroke-color: rgba(59,130,246,.45); }
.ae-tile > :not(.ae-tile__index) { position: relative; }

/* Workshop split */
.ae-workshop.container { max-width: calc(var(--container) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding: 0; }
.ae-workshop { display: grid; border-radius: var(--r-2xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ae-workshop__address { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 48px); min-height: 340px; background: radial-gradient(90% 80% at 0% 0%, #1C3C78, var(--ink) 70%); color: var(--on-ink); }
.ae-workshop__circuit, .ae-desk__circuit, .ae-info-card__circuit, .ae-cta__circuit { position: absolute; inset: 0; z-index: -1; background-image: var(--circuit-lite); opacity: .08; pointer-events: none; -webkit-mask-image: radial-gradient(80% 80% at 100% 100%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 100% 100%, #000, transparent 75%); }
.ae-workshop__art { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--sun); border: 1px solid rgba(242,201,138,.3); background: rgba(242,201,138,.08); }
.ae-workshop__art .ae-ico { width: 28px; height: 28px; }
.ae-workshop__address strong { margin-top: auto; font: 600 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.08 var(--font-display); letter-spacing: -.035em; color: #fff; }
.ae-workshop__pin { display: inline-flex; align-items: center; gap: 8px; color: var(--on-ink-2); font-size: .9375rem; }
.ae-workshop__pin .ae-ico { color: var(--sun); }
.ae-workshop__copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.ae-workshop__copy p { font-size: var(--fs-lg); color: var(--text-2); max-width: 36rem; }
.ae-workshop__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 6px; }

/* Features & stats */
.ae-features, .ae-standards { display: grid; gap: 16px; }
.ae-feature, .ae-pillar { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.ae-feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; background: var(--electric-soft); color: var(--brand); transition: background-color .4s, color .4s, transform .6s var(--ease-out); }
.ae-feature__icon .ae-ico { width: 24px; height: 24px; }
.ae-feature:hover .ae-feature__icon, .ae-pillar:hover .ae-feature__icon { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.ae-feature h3, .ae-pillar h3 { font-size: 1.125rem; }
.ae-feature p, .ae-pillar p { font-size: .9375rem; color: var(--text-2); }
.ae-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line-2); }
.ae-stats > div { display: grid; gap: 4px; padding: 28px 20px 4px 0; }
.ae-stats strong { font: 600 clamp(2.25rem, 1.8rem + 2vw, 3.5rem)/1 var(--font-display); letter-spacing: -.045em; background: linear-gradient(100deg, var(--ink), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ae-stats span { font-weight: 600; color: var(--ink); margin-top: 8px; }
.ae-stats small { font-size: .875rem; color: var(--text-3); }

/* Reviews */
.ae-carousel-controls { display: flex; align-items: center; gap: 10px; }
.ae-swipe-hint { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--text-3); margin-right: 6px; }
.ae-review-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 20px; scrollbar-width: none; cursor: grab; }
.ae-review-track::-webkit-scrollbar { display: none; }
.ae-review-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ae-review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.ae-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ae-review__stars { color: var(--sun-deep); letter-spacing: 2px; }
.ae-review__badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--success); }
.ae-review blockquote { flex: 1; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.ae-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.ae-review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ae-review__user { display: grid; }
.ae-review__user strong { font-size: .9375rem; }
.ae-review__user small, .ae-review__model { font-size: .8125rem; color: var(--text-3); }
.ae-carousel__dots { display: flex; justify-content: center; gap: 8px; }
.ae-dot { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.ae-dot::before { content: ""; width: 8px; height: 8px; border-radius: 8px; background: var(--line-2); transition: width .4s var(--ease-out), background-color .3s; }
.ae-dot.is-active::before { width: 22px; background: var(--brand); }

/* FAQ */
.ae-faq__layout { display: grid; gap: 32px; }
.ae-faq__intro { display: grid; gap: 14px; align-content: start; }
.ae-faq__intro p { color: var(--text-2); }
.ae-faq__list details { border-bottom: 1px solid var(--line-2); }
.ae-faq__list details:first-child { border-top: 1px solid var(--line-2); }
.ae-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(1.0625rem, 1rem + .4vw, 1.3125rem)/1.35 var(--font-display); letter-spacing: -.015em; color: var(--ink); transition: color .25s; }
.ae-faq__list summary::-webkit-details-marker { display: none; }
.ae-faq__list summary:hover { color: var(--brand); }
.ae-faq__icon { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.ae-faq__icon .ae-ico { width: 16px; height: 16px; }
.ae-faq__list details[open] .ae-faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.ae-faq__list details p { padding: 0 56px 24px 0; color: var(--text-2); max-width: 62ch; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Final CTA */
.ae-cta.container { max-width: calc(var(--container) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.ae-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
  margin-bottom: var(--section); padding: clamp(36px, 6vw, 80px) !important; border-radius: var(--r-2xl);
  background: radial-gradient(70% 120% at 100% 0%, #24509D 0%, transparent 60%), radial-gradient(50% 90% at 0% 100%, rgba(242,201,138,.18), transparent 70%), var(--ink);
  color: #fff; box-shadow: var(--shadow-3);
}
.ae-cta > div { display: grid; gap: 14px; }
.ae-cta .ae-h2 { color: #fff; }

/* ---------- 13 Page heads (inner pages) ---------- */
.ae-page-head { position: relative; isolation: isolate; overflow: clip; margin-top: calc(-1 * var(--hdr-total)); padding: calc(var(--hdr-total) + clamp(3rem, 2rem + 4vw, 6rem)) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.ae-page-head__inner { display: grid; gap: 18px; max-width: 58rem; }
.ae-page-title { font-size: var(--fs-page); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.ae-page-lead { font-size: var(--fs-lg); color: var(--text-2); max-width: 40rem; animation: ae-fade-up .9s var(--ease-out) .35s both; }
.ae-page-head--story, .ae-page-head--form { padding-bottom: var(--section); }

/* ---------- 14 Services ---------- */
.ae-svc-grid { display: grid; gap: 18px; }
.ae-svc { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.ae-svc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ae-svc__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--brand); transition: background-color .4s, color .4s; }
.ae-svc__icon .ae-ico { width: 24px; height: 24px; }
.ae-svc:hover .ae-svc__icon { background: var(--ink); color: #fff; }
.ae-svc__price { padding: 8px 14px; border-radius: var(--r-pill); background: var(--mist); border: 1px solid var(--line); font: 600 .9375rem/1 var(--font-display); color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ae-svc__title { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.ae-svc__desc { flex: 1; font-size: .9375rem; color: var(--text-2); }
.ae-svc__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 0 6px; border-top: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--text-2); }
.ae-svc__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ae-svc__meta .ae-ico { color: var(--brand); width: 16px; height: 16px; }
.ae-pillars { display: grid; gap: 16px; }

/* ---------- 15 Gallery ---------- */
.ae-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: .875rem; font-weight: 600; color: var(--text-2); transition: background-color .3s, color .3s, border-color .3s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ae-empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-xl); background: var(--mist); color: var(--text-2); }
.ae-empty__icon { width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-2); }
.ae-empty__icon .ae-anim-ico { width: 48px; height: 48px; }
.ae-work-grid { display: grid; gap: 22px; }
.ae-work { overflow: hidden; }
.ae-compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); touch-action: pan-y; --pos: 50%; }
.ae-compare__img { position: absolute; inset: 0; }
.ae-compare__img picture, .ae-compare__img img { width: 100%; height: 100%; }
.ae-compare__img img { object-fit: cover; }
.ae-compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ae-compare__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ae-compare__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .4s var(--ease-out); }
.ae-compare:hover .ae-compare__knob { transform: scale(1.08); }
.ae-compare__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ae-compare:has(.ae-compare__range:focus-visible) .ae-compare__knob { outline: 3px solid var(--electric); outline-offset: 3px; }
.ae-compare__tag { position: absolute; top: 14px; z-index: 1; padding: 6px 10px; border-radius: var(--r-pill); font: 700 .6875rem/1 var(--font-body); letter-spacing: .14em; pointer-events: none; }
.ae-compare__tag--before { left: 14px; background: rgba(11,27,58,.78); color: #fff; }
.ae-compare__tag--after { right: 14px; background: var(--sun); color: var(--ink); }
.ae-work__expand { position: absolute; right: 14px; bottom: 14px; z-index: 3; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ae-work__expand:hover { background: #fff; transform: scale(1.06); }
.ae-work__info { display: grid; gap: 8px; padding: 22px 24px 26px; }
.ae-work__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--text-3); }
.ae-work__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.ae-work__note { font-size: .9375rem; color: var(--text-2); }
.ae-work__note--fix { color: var(--success); }

.ae-lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--ink); overflow: auto; box-shadow: var(--shadow-3); }
.ae-lightbox[open] { animation: ae-pop .5s var(--ease-out); }
.ae-lightbox::backdrop { background: rgba(11,27,58,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes ae-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ae-lightbox__content { position: relative; }
.ae-lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ae-lightbox__grid { display: grid; gap: 8px; padding: 10px; background: var(--ink); }
.ae-lightbox__pane { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.ae-lightbox__pane img { width: 100%; height: 100%; object-fit: cover; }
.ae-lightbox__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px 28px; }
.ae-lightbox__body h2 { font-size: 1.375rem; width: 100%; }
.ae-lightbox__body p { flex: 1 1 320px; color: var(--text-2); }

/* ---------- 16 About ---------- */
.ae-story { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: start; }
.ae-story__copy { display: grid; gap: 22px; }
.ae-prose { display: grid; gap: 16px; font-size: var(--fs-lg); color: var(--text-2); max-width: 42rem; animation: ae-fade-up .9s var(--ease-out) .35s both; }
.ae-prose strong { color: var(--ink); }
.ae-spec-list { display: grid; gap: 12px; margin-top: 8px; }
.ae-spec { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: rgba(255,255,255,.85); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease-out); }
.ae-spec:hover { border-color: rgba(59,130,246,.45); transform: translateX(4px); }
.ae-spec__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--electric-soft); color: var(--brand); }
.ae-spec__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; line-height: 1.3; }
.ae-spec p { font-size: .9375rem; color: var(--text-2); }
.ae-mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ae-mini-stats > div { padding: 18px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.ae-mini-stats h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.04em; background: linear-gradient(100deg, var(--ink), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ae-mini-stats p { margin-top: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

.ae-desk, .ae-info-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 36px); border-radius: 28px; color: var(--on-ink); background: radial-gradient(100% 70% at 100% 0%, #1D3D7A, var(--ink) 65%); box-shadow: var(--shadow-3); }
.ae-desk__head { display: grid; gap: 10px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line-ink); }
.ae-desk__head h3 { color: #fff; font-size: 1.5rem; letter-spacing: -.025em; }
.ae-desk__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; }
.ae-desk__icon, .ae-info-item__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--sun); background: rgba(255,255,255,.05); border: 1px solid var(--line-ink); }
.ae-desk__icon .ae-ico, .ae-info-item__icon .ae-ico { width: 20px; height: 20px; }
.ae-desk__item h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.ae-desk__item p { font-size: .875rem; color: var(--on-ink-2); }
.ae-desk__actions { display: grid; gap: 10px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line-ink); }
.ae-desk__actions .ae-btn { white-space: normal; text-align: center; line-height: 1.2; }
.ae-coverage { display: grid; gap: 14px; }
.ae-area { display: grid; gap: 6px; padding: 22px; }
.ae-area__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: var(--electric-soft); color: var(--brand); }
.ae-area h3 { font-size: 1.0625rem; }
.ae-area p { font-size: .875rem; color: var(--text-3); }

/* ---------- 17 Contact & booking ---------- */
.ae-contact { display: grid; gap: 24px; align-items: start; }
.ae-form-card { position: relative; padding: clamp(22px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ae-form-card__intro { margin-bottom: 8px; }
.ae-form-card__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.ae-form-card__lead { margin: 12px 0 28px; color: var(--text-2); max-width: 38rem; }
.ae-info-card__head { padding-bottom: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--line-ink); }
.ae-info-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ae-open { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: #6EE7A0; }
.ae-info-card__head h2 { margin-top: 14px; color: #fff; font-size: 1.5rem; letter-spacing: -.02em; }
.ae-info-card__head p { color: var(--on-ink-2); font-size: .9375rem; margin-top: 4px; }
.ae-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-ink); }
.ae-info-item--last { border-bottom: 0; padding-bottom: 0; }
.ae-info-item__icon--wa { color: #6EE7A0; }
.ae-info-item__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 4px; }
.ae-info-item__big { display: block; font: 600 1.375rem/1.3 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -.02em; }
.ae-info-item__alt { display: block; margin-top: 2px; font-weight: 600; color: var(--on-ink); text-decoration: none; }
.ae-info-item__big:hover, .ae-info-item__alt:hover { color: var(--sun); }
.ae-info-item__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 600; color: var(--electric-lite); text-decoration: none; }
.ae-info-item__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ae-info-item p { color: var(--on-ink); font-size: .9375rem; margin-bottom: 4px; }

.ae-book { max-width: 880px; margin-inline: auto; }
.ae-form-step { display: flex; align-items: center; gap: 12px; margin: 34px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; }
form > .ae-form-step:first-of-type { margin-top: 4px; }
.ae-form-step--sub { margin-top: 22px; font-size: 1.0625rem; }
.ae-form-step__num { width: 10px; height: 10px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 5px var(--electric-soft); flex: none; }
.ae-form-help { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); font-size: .875rem; color: var(--text-2); }
.ae-form-help .ae-ico { color: var(--brand); margin-top: 2px; }
.ae-form-submit { margin: 24px 0 14px; }
.ae-form-assure { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: .8125rem; color: var(--text-3); }
.ae-form-assure .ae-ico { color: var(--success); }

.ae-success { max-width: 700px; margin-inline: auto; text-align: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-2xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.ae-success__check { width: 88px; height: 88px; margin: 0 auto 20px; color: var(--success); }
.ae-success__check svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ae-success__check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: ae-draw 1s var(--ease-out) .2s forwards; opacity: .35; }
.ae-success__check path { stroke-width: 3.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ae-draw .7s var(--ease-out) .8s forwards; }
.ae-success__title { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.ae-success__lead { margin-top: 12px; font-size: 1.0625rem; color: var(--text-2); }
.ae-success__id { display: inline-block; margin: 22px 0 6px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--mist); border: 1px solid var(--line-2); font: 600 .9375rem/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink); }
.ae-success__summary { display: grid; gap: 10px; margin: 20px 0 28px; padding: 20px; border-radius: var(--r-lg); background: var(--mist); text-align: left; font-size: .9375rem; }
.ae-success__summary dt, .ae-success__summary dd { display: inline; }
.ae-success__summary dd { color: var(--text-2); }
.ae-success__actions { display: grid; gap: 12px; max-width: 440px; margin-inline: auto; }
.ae-success__note { font-size: .8125rem; color: var(--text-3); }
.ae-success__home { justify-self: center; margin-top: 4px; }

/* ---------- 18 Forms & alerts ---------- */
.form-row { display: grid; gap: 0 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.required { color: #C2410C; }
.form-control, .form-select, .form-textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background-color: #FBFCFE; color: var(--ink);
  font-size: 1rem; line-height: 1.4; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .3s, background-color .25s;
}
.form-control::placeholder, .form-textarea::placeholder { color: #66728B; }
.form-control:hover, .form-select:hover, .form-textarea:hover { border-color: #AFBED5; }
.form-control:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--electric); background-color: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.form-select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231E4D9B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.form-textarea { min-height: 150px; resize: vertical; }
.form-textarea--short { min-height: 92px; }
input[type="date"].form-control { min-height: 52px; }
.has-error .form-control, .has-error .form-select, .has-error .form-textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180,35,24,.1); }
.field-error-text { font-size: .8125rem; font-weight: 500; color: var(--danger); }
.field-error-text:empty { display: none; }

.ae-optional { margin: 2px 0 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: rgba(244,247,251,.6); transition: border-color .3s, background-color .3s; }
.ae-optional[open] { border-style: solid; background: #fff; }
.ae-optional summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 600; color: var(--brand); }
.ae-optional summary::-webkit-details-marker { display: none; }
.ae-optional summary .ae-ico { transition: transform .45s var(--ease-out); }
.ae-optional[open] summary .ae-ico { transform: rotate(45deg); }
.ae-optional__body { padding: 4px 16px 4px; }

.file-upload-box { display: grid; justify-items: center; gap: 4px; padding: 28px 20px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); background: #fff; text-align: center; cursor: pointer; transition: border-color .3s, background-color .3s; }
.file-upload-box:hover, .file-upload-box:focus-visible { border-color: var(--electric); background: rgba(59,130,246,.05); }
.file-upload-box__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--electric-soft); color: var(--brand); }
.file-upload-box__icon .ae-ico { width: 22px; height: 22px; }
.file-upload-box__label { font-weight: 600; color: var(--brand); }
.file-upload-box__hint { font-size: .8125rem; color: var(--text-3); }

.ae-flash { position: relative; z-index: 5; padding-top: 12px; }
.alert-banner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 16px; border-radius: 14px; border: 1px solid; font-size: .9375rem; line-height: 1.5; }
.alert-banner ul { margin-top: 6px; padding-left: 1.2rem; }
.alert-success { background: #ECFDF3; border-color: #ABEFC6; color: #067647; }
.alert-error { background: #FEF3F2; border-color: #FECDCA; color: #B42318; }
.alert-warning { background: #FFFAEB; border-color: #FEDF89; color: #93370D; }
.alert-info { background: #EFF8FF; border-color: #B2DDFF; color: #175CD3; }
.alert-icon { font-weight: 700; }
.alert-text { flex: 1; }
.alert-close { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 1.25rem; line-height: 1; }
.alert-close:hover { background: rgba(0,0,0,.06); }

/* ---------- 19 Footer & mobile dock ---------- */
.ae-footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(4rem, 3rem + 5vw, 7rem); background: var(--ink); color: var(--on-ink-2); }
.ae-footer__glow { position: absolute; z-index: -1; left: 50%; top: -40%; width: 90%; height: 80%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(59,130,246,.16), transparent); }
.ae-footer__grid { display: grid; gap: 40px; }
.ae-footer__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.ae-footer__brand-text strong { display: block; font: 700 1rem/1.2 var(--font-display); letter-spacing: .02em; color: #fff; }
.ae-footer__brand-text strong span { color: var(--electric-lite); }
.ae-footer__brand-text small { display: block; margin-top: 2px; font-size: .75rem; color: var(--on-ink-3); }
.ae-footer__desc { margin: 20px 0; max-width: 36ch; font-size: .9375rem; line-height: 1.65; }
.ae-footer__loc { display: grid; gap: 12px; font-size: .9375rem; color: var(--on-ink); }
.ae-footer__loc > div { display: flex; gap: 10px; align-items: flex-start; }
.ae-footer__loc .ae-ico { color: var(--sun); margin-top: 3px; }
.ae-footer .ae-link { color: var(--electric-lite); }
.ae-footer h3 { margin-bottom: 18px; font: 600 .75rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-3); }
.ae-footer__links { display: grid; gap: 12px; justify-items: start; }
.ae-footer__links a { font-size: .9375rem; color: var(--on-ink); text-decoration: none; transition: color .25s, transform .45s var(--ease-out); }
.ae-footer__links a:hover { color: #fff; transform: translateX(4px); }
.ae-footer__contact { display: grid; gap: 22px; }
.ae-footer__item { display: grid; gap: 4px; justify-items: start; }
.ae-footer__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
.ae-footer__phone { font: 600 1.375rem/1.25 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -.02em; }
.ae-footer__phone-alt { color: var(--on-ink); text-decoration: none; }
.ae-footer__phone:hover, .ae-footer__phone-alt:hover { color: var(--sun); }
.ae-footer__hours { color: var(--on-ink); }
.ae-footer__hours small { display: block; color: var(--on-ink-2); font-size: .875rem; }
.ae-footer__mark {
  margin-top: clamp(3rem, 2rem + 4vw, 5rem); user-select: none; pointer-events: none;
  font: 700 clamp(6rem, 4rem + 18vw, 21rem)/.78 var(--font-display); letter-spacing: -.07em;
  background: linear-gradient(180deg, rgba(157,184,230,.16), rgba(157,184,230,.06));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ae-footer__mark i, .ae-curtain__mark i { font-style: normal; color: var(--sun); -webkit-text-fill-color: var(--sun); }
.ae-footer__mark i { opacity: .55; }
.ae-footer__bottom { padding: 22px 0 28px; border-top: 1px solid var(--line-ink); font-size: .8125rem; color: var(--on-ink-2); }
.ae-footer__copy { color: inherit; text-decoration: none; cursor: default; }

.ae-dock { display: none; }

/* ---------- 20 Cursor, curtain, reveals ---------- */
.ae-cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.ae-cursor__dot, .ae-cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.ae-cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.ae-cursor__ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid rgba(255,255,255,.85); transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s, background-color .3s; }
.ae-cursor.is-hover .ae-cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.15); }
.ae-cursor.is-down .ae-cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.ae-cursor.is-hidden { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label, html.has-cursor [role="button"], html.has-cursor .ae-compare__range { cursor: none; }
html.has-cursor input:not([type="range"]), html.has-cursor textarea, html.has-cursor select { cursor: auto; }

.ae-curtain { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--ink); pointer-events: none; visibility: hidden; transform: translate3d(0, 100%, 0); }
.ae-curtain__mark { font: 700 clamp(3rem, 2rem + 6vw, 6.5rem)/1 var(--font-display); letter-spacing: -.06em; color: #fff; }
.is-leaving .ae-curtain { visibility: visible; pointer-events: auto; animation: ae-curtain-in .5s var(--ease-in-out) forwards; }
.is-leaving .ae-curtain__mark { animation: ae-fade-up .5s var(--ease-out) .12s both; }
.is-arriving .ae-curtain { visibility: visible; transform: none; animation: ae-curtain-out .75s var(--ease-in-out) .12s forwards; }
@keyframes ae-curtain-in { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes ae-curtain-out { to { transform: translate3d(0, -100%, 0); visibility: hidden; } }

/* Scroll reveals (hidden state only once site.js has armed them) */
html.reveal-on [data-reveal]:not(.is-in) { opacity: 0; }

/* ---------- 21 Responsive ---------- */
@media (min-width: 560px) {
  .ae-coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .ae-tile-grid, .ae-features, .ae-standards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-header__cta { display: inline-flex; margin-left: auto; }
  .ae-menu-toggle { margin-left: 0; }
  .ae-quick__form { grid-template-columns: 1fr 1fr; }
  .ae-quick__form .ae-btn { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .ae-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-cat { flex-direction: column; align-items: flex-start; padding: 22px; gap: 22px; min-height: 230px; }
  .ae-cat__go { position: absolute; right: 22px; top: 22px; }
  .ae-cat__text { margin-top: auto; }
  .ae-cat__text strong { font-size: 1.25rem; }
  .ae-svc-grid, .ae-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-lightbox__grid { grid-template-columns: 1fr 1fr; }
  .ae-coverage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
  .ae-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .ae-steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .ae-steps__rail { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .ae-steps__fill { transform-origin: left; transform: scaleX(var(--progress, 0)); }
  .ae-steps:not([data-steps-live]) .ae-steps__fill { transform: none; }
  .ae-step { padding: 84px 24px 0 0; }
  .ae-workshop { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ae-faq__layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
  .ae-faq__intro { position: sticky; top: calc(var(--hdr-total) + 24px); }
}
@media (min-width: 1024px) {
  :root { --hdr-h: 64px; }
  .ae-nav { display: flex; }
  .ae-header__cta { margin-left: 8px; }
  .ae-menu-toggle { display: none; }
  .ae-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .ae-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .ae-story__aside { position: sticky; top: calc(var(--hdr-total) + 24px); }
  .ae-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
  .ae-info-card { position: sticky; top: calc(var(--hdr-total) + 24px); }
  .ae-quick__form { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; }
  .ae-quick__form .ae-btn { grid-column: auto; }
}
@media (min-width: 1100px) {
  .ae-tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-standards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-coverage { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ae-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 48px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .ae-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ae-brand__badge { width: 36px; height: 36px; }
  .ae-brand__badge img { width: 30px; height: 30px; }
  .ae-brand__name { font-size: .875rem; }
  .ae-sec-head__aside { display: none; }
  .ae-swipe-hint { display: none; }
  .ae-faq__list details p { padding-right: 0; }
  .ae-hero__actions .ae-btn { flex: 1 1 auto; }
  .ae-mini-stats { gap: 8px; }
  .ae-mini-stats > div { padding: 14px 12px; }

  /* Floating quick-contact dock */
  .ae-dock {
    position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: auto auto 1fr; gap: 6px; padding: 6px; border-radius: 20px;
    background: rgba(11,27,58,.88); border: 1px solid var(--line-ink);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 18px 40px -12px rgba(11,27,58,.55);
    animation: ae-dock-in .8s var(--ease-out) .9s backwards;
    transition: transform .5s var(--ease-out), opacity .3s;
  }
  .ae-dock.is-tucked { transform: translateY(140%); opacity: 0; }
  .ae-dock a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-size: .875rem; font-weight: 600; color: #fff; white-space: nowrap; }
  .ae-dock .ae-ico { width: 18px; height: 18px; }
  .ae-dock__call { background: rgba(255,255,255,.08); }
  .ae-dock__wa { background: var(--wa); }
  .ae-dock__book { background: #fff; color: var(--ink) !important; }
  body:not(.ae-booking-page) .ae-footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.ae-menu-open .ae-dock { opacity: 0; pointer-events: none; }
}
@keyframes ae-dock-in { from { transform: translateY(140%); } }
@media (max-width: 380px) {
  .ae-brand__tag { display: none; }
  .ae-dock a { padding: 0 10px; font-size: .8125rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important;
    animation-iteration-count: 1 !important; transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ae-curtain { display: none; }
  .ae-hero__dust, .ae-hero__bg::after { display: none; }
  .ae-stage__layer, .ae-hero-card { transform: none !important; }
}
