/*
Theme Name:  Access Aerial
Theme URI:   https://accessaerial.com
Author:      Kapeesh Enterprises
Author URI:  https://kapeesh.enterprises
Description: Custom theme for Access Aerial. Construction-first: drone progress documentation, timelapse camera systems and live jobsite cameras. Dark hi-vis look, built-in Projects, quote form and SEO tags. No page builder, no build step.
Version:     0.15.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     Proprietary
Text Domain: accessaerial
*/

/* ---------- Tokens ---------- */
:root {
  --aa-black:    #0B0B0C;
  --aa-charcoal: #1A1B1E;
  --aa-line:     #33363B;
  --aa-line-dim: #26282C;
  --aa-hivis:    #E6EE2E;
  --aa-crimson:  #D8103F;
  --aa-silver:   #B9BCC1;
  --aa-text:     #FFFFFF;
  --aa-text-2:   #C9CCD1;
  --aa-display:  'Saira Condensed', 'Arial Narrow', sans-serif;
  --aa-body:     'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --aa-wrap:     1240px;
  --aa-gutter:   24px;
  --aa-pad:      88px;
  --aa-radius:   4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--aa-black); color: var(--aa-text); font-family: var(--aa-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aa-hivis); }
a:hover { color: var(--aa-text); }
h1, h2, h3 { font-family: var(--aa-display); text-transform: uppercase; line-height: 1; margin: 0; font-weight: 800; }
h1 { font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: .01em; }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
h3 { font-size: 30px; font-weight: 700; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aa-hivis); outline-offset: 3px; }
[id] { scroll-margin-top: 90px; }

.aa-wrap { max-width: var(--aa-wrap); margin: 0 auto; padding: 0 var(--aa-gutter); }
.aa-wrap--narrow { max-width: 1000px; }
.aa-skip { position: absolute; left: -9999px; top: 0; background: var(--aa-hivis); color: var(--aa-black); padding: 12px 18px; z-index: 100; font-weight: 600; }
.aa-skip:focus { left: 8px; top: 8px; }
.aa-hi { color: var(--aa-hivis); }
.aa-h1--page { font-size: clamp(40px, 5.4vw, 72px); }
.aa-h2--sm { font-size: clamp(32px, 4vw, 48px); }

.aa-kicker { font-family: var(--aa-display); font-weight: 600; font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: var(--aa-hivis); }
.aa-kicker--sm { font-size: 16px; letter-spacing: .14em; }
.aa-kicker--muted { color: var(--aa-silver); font-size: 16px; }
.aa-lead { font-size: 19px; color: var(--aa-text-2); max-width: 640px; }

/* ---------- Buttons and links ---------- */
.aa-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; background: var(--aa-hivis); color: var(--aa-black); border: 2px solid var(--aa-hivis); border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.aa-btn:hover { background: var(--aa-text); border-color: var(--aa-text); color: var(--aa-black); }
.aa-btn--lg { min-height: 54px; padding: 12px 28px; font-size: 20px; }
.aa-btn--ghost { background: transparent; color: var(--aa-text); border-color: var(--aa-text); }
.aa-btn--ghost:hover { background: var(--aa-text); color: var(--aa-black); }
.aa-btn[disabled] { opacity: .6; cursor: default; }
.aa-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.aa-btns--top { margin-top: 40px; }
.aa-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--aa-display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

/* ---------- Header ---------- */
.aa-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .96); border-bottom: 1px solid var(--aa-line-dim); }
.aa-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; }
.aa-logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.aa-logo img { width: 210px; }
.aa-header__menu { display: flex; align-items: center; gap: 16px 28px; flex: 1 1 auto; min-width: 0; justify-content: space-between; }
.aa-nav__list { display: flex; flex-wrap: nowrap; gap: 4px 22px; font-family: var(--aa-display); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.aa-nav__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--aa-text); text-decoration: none; white-space: nowrap; }
.aa-nav__list a:hover { color: var(--aa-hivis); }
.aa-header__cta { display: flex; align-items: center; gap: 12px 20px; flex: 0 0 auto; }
.aa-header__cta .aa-btn { white-space: nowrap; }
.aa-phone { color: var(--aa-text); font-weight: 600; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.aa-menu-btn { display: none; min-height: 44px; padding: 8px 16px; background: transparent; color: var(--aa-text); border: 2px solid var(--aa-text); border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }

/* Dropdown */
.aa-nav__list > li { position: relative; }
.aa-nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.aa-nav__list .sub-menu { display: none; position: absolute; top: 100%; left: -18px; z-index: 60; min-width: 270px; padding: 8px 0; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-top: 3px solid var(--aa-hivis); border-radius: 0 0 var(--aa-radius) var(--aa-radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.aa-nav__list li:hover > .sub-menu, .aa-nav__list li:focus-within > .sub-menu { display: block; }
.aa-nav__list .sub-menu a { display: flex; width: 100%; padding: 6px 18px; font-size: 17px; letter-spacing: .05em; }
.aa-nav__list .sub-menu a:hover { background: var(--aa-black); }

@media (max-width: 1240px) {
  .aa-header__in { flex-wrap: wrap; }
  .aa-menu-btn { display: inline-flex; align-items: center; }
  .aa-header__menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; padding: 8px 0 12px; }
  .aa-header__menu.is-open { display: flex; }
  .aa-nav__list { flex-direction: column; gap: 0; }
  .aa-nav__list a { width: 100%; min-height: 48px; border-bottom: 1px solid var(--aa-line-dim); }
  .aa-header__cta { flex-wrap: wrap; padding-top: 8px; }
  .aa-nav__list .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 18px; background: none; border: 0; box-shadow: none; }
  .aa-nav__list .sub-menu a { padding: 0; font-size: 16px; }
  .aa-nav__list .menu-item-has-children > a::after { display: none; }
}

/* ---------- Hero ---------- */
.aa-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 64px; }
.aa-hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.aa-hero__copy .aa-lead { font-size: 20px; max-width: 560px; }
.aa-hero__media { flex: 1 1 480px; min-width: 0; }
.aa-hero__logo { aspect-ratio: 16 / 10; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); display: flex; align-items: center; justify-content: center; padding: 24px; }
.aa-hero__logo img { width: 62%; }

/* Full-width video hero */
.aa-vhero { position: relative; overflow: hidden; min-height: 620px; height: min(90vh, 900px); display: flex; background: var(--aa-black); }
.aa-vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aa-vhero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .74) 24%, rgba(11, 11, 12, .38) 38%, rgba(11, 11, 12, 0) 52%), /* v0.12.0: deeper for the full-color film */
  linear-gradient(0deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .7) 22%, rgba(11, 11, 12, 0) 42%); }
.aa-vhero__in { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.aa-vhero__top { display: flex; flex-direction: column; gap: 14px; max-width: 1120px; }
.aa-vhero__top h1 { font-size: clamp(42px, 5vw, 76px); text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.aa-vhero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.aa-vhero__copy { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.aa-vhero__copy .aa-lead { font-size: 19px; color: #E4E6EA; max-width: 720px; }
.aa-vhero .aa-vhero__toggle { position: static; flex: 0 0 auto; }
.aa-btn svg { margin-right: 10px; }
.aa-br-lg { display: none; }
@media (min-width: 900px) { .aa-br-lg { display: inline; } }
.aa-film { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; color: var(--aa-text); }
.aa-film::backdrop { background: rgba(0, 0, 0, .88); }
.aa-film__box { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.aa-film__close { min-height: 44px; padding: 8px 16px; background: transparent; color: var(--aa-text); border: 2px solid var(--aa-text); border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.aa-film__close:hover { background: var(--aa-hivis); border-color: var(--aa-hivis); color: var(--aa-black); }
.aa-film__video { width: 100%; aspect-ratio: 16 / 9; background: var(--aa-black); border-radius: var(--aa-radius); }
@media (max-width: 700px) {
  /* Phones: the film plays as a 16:9 band on top, text sits below it on solid black. */
  .aa-vhero { display: block; height: auto; min-height: 0; }
  .aa-vhero__video { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 16 / 9; }
  .aa-vhero__scrim { display: none; }
  .aa-vhero__in { position: static; padding-top: 28px; padding-bottom: 36px; gap: 20px; }
  .aa-vhero__bottom { flex-direction: column; align-items: flex-start; }
  .aa-vhero .aa-vhero__toggle { position: absolute; top: 10px; right: 10px; bottom: auto; min-height: 40px; height: auto; padding: 4px 12px; font-size: 15px; }
}

/* ---------- Video ---------- */
.aa-video { position: relative; aspect-ratio: 16 / 9; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; }
.aa-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.aa-video__btn img { width: 100%; height: 100%; object-fit: cover; }
.aa-video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--aa-hivis); color: var(--aa-black); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.aa-video__btn:hover .aa-video__play { transform: scale(1.08); }
.aa-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.aa-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--aa-black); }
.aa-video__tag { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 11, 12, .82); color: var(--aa-hivis); padding: 4px 10px; border-radius: 3px; font-family: var(--aa-display); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.aa-loop__toggle { position: absolute; right: 12px; bottom: 12px; min-width: 72px; min-height: 44px; padding: 6px 14px; background: rgba(11, 11, 12, .82); color: var(--aa-text); border: 1px solid var(--aa-silver); border-radius: 3px; font-family: var(--aa-display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.aa-loop__toggle:hover { background: var(--aa-hivis); border-color: var(--aa-hivis); color: var(--aa-black); }

.aa-more-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; }

/* Samples and promo */
.aa-section--tight { padding-top: 0; }
.aa-samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.aa-sample { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.aa-sample figcaption { color: var(--aa-text-2); }
.aa-sample figcaption strong { display: block; font-family: var(--aa-display); font-weight: 700; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--aa-text); margin-bottom: 4px; }
.aa-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; margin-bottom: 72px; }
.aa-promo__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.aa-promo__media { flex: 2 1 460px; min-width: 0; }

/* ---------- Stripe, trust, clients ---------- */
.aa-stripe { height: 12px; background: repeating-linear-gradient(-45deg, var(--aa-hivis) 0 18px, var(--aa-black) 18px 36px); }
.aa-trust { background: var(--aa-charcoal); }
.aa-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.aa-trust__grid strong { display: block; font-family: var(--aa-display); font-weight: 700; font-size: 30px; line-height: 1.1; text-transform: uppercase; color: var(--aa-hivis); }
.aa-trust__grid span { color: var(--aa-text-2); font-size: 16px; }
.aa-clients { border-bottom: 1px solid var(--aa-line-dim); padding: 44px 0; }
.aa-clients__list { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 22px; font-family: var(--aa-display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }

/* ---------- Sections ---------- */
.aa-section { padding: var(--aa-pad) 0; }
.aa-section--alt { background: var(--aa-charcoal); border-top: 1px solid var(--aa-line-dim); border-bottom: 1px solid var(--aa-line-dim); }
.aa-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 44px; }
.aa-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.aa-head--row > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* Service cards */
.aa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.aa-card { background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-top: 4px solid var(--aa-hivis); border-radius: var(--aa-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aa-card__num { font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .14em; color: var(--aa-hivis); }
.aa-card h3 { font-size: 32px; }
.aa-card p { color: var(--aa-text-2); }
.aa-card ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.aa-card .aa-more { margin-top: auto; padding-top: 10px; }

/* Split layouts */
.aa-split { display: flex; flex-wrap: wrap; gap: 56px; }
.aa-split__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.aa-split__form { flex: 1 1 520px; min-width: 0; }
.aa-plus { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.aa-plus li { position: relative; padding-left: 26px; }
.aa-plus li::before { content: "+"; position: absolute; left: 0; color: var(--aa-hivis); font-weight: 600; }
.aa-steps { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.aa-steps li { background: var(--aa-black); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.aa-steps__n { font-family: var(--aa-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--aa-hivis); }
.aa-steps h3 { font-size: 26px; }
.aa-steps p { color: var(--aa-text-2); font-size: 16px; }
.aa-bigphone a { font-family: var(--aa-display); font-weight: 700; font-size: 40px; line-height: 1.2; text-decoration: none; color: var(--aa-text); }
.aa-bigphone a:hover { color: var(--aa-hivis); }

/* Projects */
.aa-feature { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 28px; margin-bottom: 36px; }
.aa-feature__media { flex: 3 1 460px; min-width: 0; }
.aa-feature__copy { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.aa-feature__copy h3 { font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; }
.aa-feature__copy h3 a { color: var(--aa-text); text-decoration: none; }
.aa-feature__copy h3 a:hover { color: var(--aa-hivis); }
.aa-feature__copy p { color: var(--aa-text-2); }
.aa-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-tags li { border: 1px solid var(--aa-hivis); color: var(--aa-hivis); border-radius: 3px; padding: 3px 10px; font-family: var(--aa-display); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.aa-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.aa-pgrid--3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.aa-pcard { display: flex; flex-direction: column; gap: 12px; }
.aa-pcard__media { display: block; aspect-ratio: 16 / 10; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; }
.aa-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.aa-pcard:hover .aa-pcard__media img { transform: scale(1.04); }
.aa-pcard__title a { color: var(--aa-text); text-decoration: none; }
.aa-pcard__title a:hover { color: var(--aa-hivis); }
.aa-pcard p { color: var(--aa-text-2); }

/* Testimonial band */
.aa-quote { background: var(--aa-hivis); color: var(--aa-black); padding: 72px 0; }
.aa-quote blockquote { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.aa-quote p { font-family: var(--aa-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; text-transform: uppercase; }
.aa-quote footer { font-weight: 600; }

/* Secondary services */
.aa-minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.aa-mini { background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.aa-mini h3 { font-size: 26px; color: var(--aa-hivis); }
.aa-mini p { color: var(--aa-text-2); font-size: 16px; }

/* ---------- Form ---------- */
.aa-form { background: var(--aa-black); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.aa-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.aa-field--full { grid-column: 1 / -1; }
.aa-field label, .aa-field legend { font-weight: 600; font-size: 15px; padding: 0; }
.aa-field legend { margin-bottom: 6px; }
.aa-field input[type="text"], .aa-field input[type="email"], .aa-field input[type="tel"], .aa-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--aa-charcoal); border: 1px solid #6B7078; border-radius: 3px; color: var(--aa-text); font: inherit; }
.aa-field textarea { resize: vertical; }
.aa-checks { display: flex; flex-wrap: wrap; gap: 0 28px; }
.aa-checks label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; font-size: 17px; }
.aa-checks input { width: 20px; height: 20px; accent-color: var(--aa-hivis); }
.aa-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aa-form__msg { margin-top: 12px; min-height: 1.6em; font-weight: 600; }
.aa-form__msg.is-ok { color: var(--aa-hivis); }
.aa-form__msg.is-err { color: #FF8A9B; }
/* Sent: the confirmation panel replaces the fields */
.aa-form.is-sent > :not(.aa-form__done) { display: none; }
.aa-form__done { display: none; grid-column: 1 / -1; text-align: center; padding: 28px 8px 12px; outline: none; }
.aa-form.is-sent .aa-form__done { display: block; animation: aa-done-in .35s ease-out; }
.aa-form__done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--aa-hivis); color: var(--aa-black); display: flex; align-items: center; justify-content: center; }
.aa-form__done-title { margin: 0 0 10px; font-family: var(--aa-display); font-size: 34px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--aa-text); }
.aa-form__done-text { max-width: 520px; margin: 0 auto 10px; color: var(--aa-text-2); font-size: 17px; line-height: 1.6; }
.aa-form__done-ref { margin: 0 0 22px; font-family: var(--aa-display); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aa-hivis); }
.aa-form__again { margin-top: 6px; }
@keyframes aa-done-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .aa-form.is-sent .aa-form__done { animation: none; } }

/* ---------- Project page ---------- */
.aa-crumb { margin-bottom: 28px; }
.aa-crumb a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; }
.aa-project__body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.aa-project__main { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.aa-facts { flex: 1 1 260px; min-width: 0; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.aa-facts h2 { font-size: 16px; font-weight: 600; letter-spacing: .14em; color: var(--aa-silver); margin-top: 10px; }
.aa-facts h2:first-child { margin-top: 0; }
.aa-facts .aa-btn { margin-top: 18px; }
.aa-prose { max-width: 720px; color: var(--aa-text-2); }
.aa-prose > * + * { margin-top: 1em; }
.aa-prose h2, .aa-prose h3 { color: var(--aa-text); margin-top: 1.4em; font-size: 32px; }
.aa-prose ul { list-style: disc; padding-left: 22px; }
.aa-prose ol { list-style: decimal; padding-left: 22px; }
.aa-entry + .aa-entry { margin-top: 48px; }

/* ---------- Service cards ---------- */
.aa-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.aa-svc { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--aa-charcoal); border: 1px solid var(--aa-line); border-top: 4px solid var(--aa-hivis); border-radius: var(--aa-radius); color: var(--aa-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.aa-svc:hover { color: var(--aa-text); border-color: var(--aa-hivis); transform: translateY(-2px); }
.aa-svc__title { font-family: var(--aa-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.aa-svc__text { color: var(--aa-text-2); }
.aa-svc .aa-more { margin-top: auto; color: var(--aa-hivis); min-height: 0; padding-top: 8px; }
@media (min-width: 900px) {
  .aa-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aa-svc--lead { grid-column: span 2; }
  .aa-svc--lead .aa-svc__title { font-size: 38px; }
}
.aa-addon { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-top: 28px; padding: 24px 26px; border: 1px dashed var(--aa-silver); border-radius: var(--aa-radius); color: var(--aa-text); text-decoration: none; }
.aa-addon:hover { border-color: var(--aa-hivis); color: var(--aa-text); }
.aa-addon__title { font-family: var(--aa-display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--aa-hivis); }
.aa-addon__text { flex: 1 1 100%; color: var(--aa-text-2); }

/* ---------- Inner pages ---------- */
.aa-pagehero { padding: 48px 0 56px; }
.aa-pagehero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 44px; }
.aa-pagehero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aa-pagehero__in--solo .aa-pagehero__copy { max-width: 880px; }
.aa-pagehero__media { flex: 1 1 460px; min-width: 0; }
.aa-crumbs { margin-bottom: 24px; font-size: 15px; }
.aa-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.aa-crumbs li { color: var(--aa-silver); }
.aa-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--aa-line); }
.aa-crumbs a { color: var(--aa-text-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.aa-crumbs a:hover { color: var(--aa-hivis); }
.aa-article { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.aa-article .aa-prose { flex: 3 1 520px; min-width: 0; }
.aa-article .aa-facts { flex: 1 1 260px; position: sticky; top: 110px; }
.aa-prose--page { color: var(--aa-text-2); font-size: 18px; }
.aa-prose--page h2 { font-size: clamp(28px, 3vw, 38px); color: var(--aa-text); margin-top: 1.6em; }
.aa-prose--page h2:first-child { margin-top: 0; }
.aa-prose--page h3 { font-size: 24px; font-weight: 700; color: var(--aa-text); margin-top: 1.4em; }
.aa-prose--page li + li { margin-top: 6px; }
.aa-prose--page strong { color: var(--aa-text); }
.aa-checklist { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 8px; }
.aa-checklist li { position: relative; padding-left: 26px; color: var(--aa-text); }
.aa-checklist li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--aa-hivis); border-bottom: 2px solid var(--aa-hivis); transform: rotate(-45deg); }
.aa-facts__phone { color: var(--aa-text-2); font-size: 16px; margin-top: 10px; }
.aa-ctaband { background: var(--aa-charcoal); padding: 64px 0; }
.aa-ctaband__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.aa-ctaband__in > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.aa-split--center { align-items: center; }
.aa-section--first { padding-top: 56px; }
.aa-section--tight-top { padding-top: 0; }
.aa-muted { color: var(--aa-silver); font-size: 16px; }
.aa-sample figcaption:only-child, .aa-split__form figcaption { color: var(--aa-silver); font-size: 15px; letter-spacing: .04em; }

/* ---------- Video galleries ---------- */
.aa-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.aa-gallery--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.aa-gallery__item { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.aa-gallery__item figcaption { font-family: var(--aa-display); font-weight: 600; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--aa-text); }
.aa-split-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; }
.aa-split-videos__col { display: flex; flex-direction: column; gap: 18px; }
.aa-split-videos__h { font-size: 28px; color: var(--aa-hivis); }

/* ---------- Photos ---------- */
.aa-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.aa-photos__item { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--aa-radius); background: var(--aa-charcoal); }
.aa-photos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.aa-photos__item:hover img { transform: scale(1.04); }
.aa-photo { margin: 1.6em 0; }
.aa-photo img { width: 100%; border-radius: var(--aa-radius); }
.aa-photo figcaption, .aa-gallery__item figcaption { margin-top: 8px; }
.aa-photo figcaption { color: var(--aa-silver); font-size: 15px; }
.aa-post-video { margin: 1.6em 0; }
.aa-sc-missing { border: 1px dashed var(--aa-hivis); padding: 10px 14px; color: var(--aa-hivis); font-size: 15px; }
.aa-project__main .aa-photos { margin-top: 4px; }

/* Wide panoramas span the row; "natural" grids show photos uncropped */
.aa-photos__item { position: relative; text-decoration: none; }
.aa-mosaic__item, .aa-sample__photo { text-decoration: none; }
.aa-photos__item--pano { grid-column: 1 / -1; aspect-ratio: auto; }
.aa-photos__item--pano img { height: auto; }
.aa-photos--4 { grid-template-columns: repeat(4, 1fr); }
.aa-photos--natural { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; }
.aa-photos--natural .aa-photos__item { aspect-ratio: auto; }
.aa-photos--natural .aa-photos__item img { height: auto; }
.aa-photos--natural .aa-photos__item:only-child { max-width: 860px; }
.aa-photos--natural .aa-cap { position: static; display: block; padding: 10px 2px 0; background: none; color: var(--aa-silver); font-family: var(--aa-body); font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
.aa-photos--natural .aa-photos__item:hover img { transform: none; }
.aa-photos--natural .aa-photos__item { overflow: visible; background: none; }
@media (max-width: 760px) { .aa-photos--4 { grid-template-columns: repeat(2, 1fr); } }

/* Captions laid over photos */
.aa-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: var(--aa-text); font-family: var(--aa-display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; pointer-events: none; }

/* Showcase mosaic (Scranton After Dark) */
.aa-wrap--wide { max-width: 1520px; }
.aa-night { padding: var(--aa-pad) 0; background: radial-gradient(ellipse at 50% 0%, #17191f 0%, var(--aa-black) 70%); border-top: 1px solid var(--aa-line-dim); }
.aa-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 250px); gap: 10px; }
.aa-mosaic__item { position: relative; display: block; overflow: hidden; border-radius: var(--aa-radius); background: var(--aa-charcoal); }
.aa-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.aa-mosaic__item:hover img { transform: scale(1.04); }
.aa-mosaic__item--lead { grid-column: span 2; grid-row: span 2; }
.aa-mosaic__item--lead .aa-cap { font-size: 22px; padding: 48px 20px 16px; }
.aa-mosaic--n4 .aa-mosaic__item:nth-child(4),
.aa-mosaic--n6 .aa-mosaic__item:nth-child(n+6),
.aa-mosaic--n7 .aa-mosaic__item:nth-child(n+6) { grid-column: span 2; }
.aa-mosaic--n6 .aa-mosaic__item:nth-child(6) { grid-column: span 4; }
.aa-mosaic--n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .aa-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 8px; }
  .aa-mosaic__item--lead { grid-column: span 2; grid-row: span 1; }
  .aa-mosaic--n6 .aa-mosaic__item:nth-child(6) { grid-column: span 2; }
  .aa-mosaic__item--lead .aa-cap { font-size: 18px; padding: 36px 14px 10px; }
  .aa-cap { font-size: 14px; padding: 24px 10px 8px; }
}

/* Home: events strip and map sample */
.aa-events { display: flex; flex-direction: column; gap: 18px; margin-top: 56px; }
.aa-sample__photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--aa-radius); background: var(--aa-charcoal); }
.aa-sample__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.aa-sample__photo:hover img { transform: scale(1.04); }

/* Photo viewer */
.aa-viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 6, .96); color: var(--aa-text); }
.aa-viewer::backdrop { background: rgba(0, 0, 0, .9); }
.aa-viewer[open] { display: flex; flex-direction: column; }
.aa-viewer__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 64px 72px 8px; }
.aa-viewer__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.aa-viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 24px 20px; }
.aa-viewer__cap { font-family: var(--aa-display); font-weight: 600; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.aa-viewer__count { color: var(--aa-silver); font-size: 15px; white-space: nowrap; }
.aa-viewer button { position: absolute; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; background: rgba(26, 27, 30, .85); color: var(--aa-text); border: 1px solid var(--aa-line); border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.aa-viewer button:hover { color: var(--aa-black); background: var(--aa-hivis); border-color: var(--aa-hivis); }
.aa-viewer__close { top: 12px; right: 12px; padding: 0 14px; }
.aa-viewer__prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.aa-viewer__next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.aa-viewer--single .aa-viewer__prev, .aa-viewer--single .aa-viewer__next, .aa-viewer--single .aa-viewer__count { display: none; }
@media (max-width: 700px) {
  .aa-viewer__stage { padding: 64px 8px 8px; }
  .aa-viewer__prev, .aa-viewer__next { top: auto; bottom: 14px; transform: none; }
  .aa-viewer__bar { padding: 12px 70px 22px; flex-direction: column; text-align: center; gap: 4px; }
  .aa-viewer__cap { font-size: 16px; }
}

/* ---------- v0.10.0: calls, contact notes, social, video covers, home trims ---------- */
/* Call button in the collapsed header (tablets and phones) */
.aa-callbtn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; margin-left: auto; color: var(--aa-black); background: var(--aa-hivis); border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 17px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.aa-callbtn:hover { background: var(--aa-text); color: var(--aa-black); }
@media (max-width: 1240px) { .aa-callbtn { display: inline-flex; } .aa-header__in { column-gap: 12px; } }
@media (max-width: 520px) { .aa-logo img { width: 160px; } .aa-menu-btn { padding: 8px 12px; } .aa-callbtn__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .aa-callbtn { padding: 8px 12px; } }

/* Call / quote bar pinned to the bottom of phone screens */
.aa-mbar { display: none; }
@media (max-width: 760px) {
  .aa-mbar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 11, 12, .97); border-top: 1px solid var(--aa-line); }
  .aa-mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
  .aa-mbar__call { color: var(--aa-text); border: 2px solid var(--aa-text); }
  .aa-mbar__quote { color: var(--aa-black); background: var(--aa-hivis); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Reply-time promise */
.aa-reply-note { display: flex; align-items: center; gap: 8px; color: var(--aa-hivis); font-weight: 600; }

/* Social links in the footer */
.aa-social { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 36px; }
.aa-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--aa-line); border-radius: 3px; color: var(--aa-text-2); text-decoration: none; font-family: var(--aa-display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.aa-social a:hover { color: var(--aa-black); background: var(--aa-hivis); border-color: var(--aa-hivis); }

/* Video files: cover image with the yellow play button */
.aa-video--native { position: relative; }
.aa-video__btn--native { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .35)); cursor: pointer; }
.aa-video__btn--native[hidden] { display: none; }

/* Home: samples sit inside the projects section */
.aa-samples-wrap { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--aa-line); }
.aa-head--sub { margin-bottom: 32px; }
@media (max-width: 760px) {
  .aa-home-projects .aa-pgrid > :nth-child(n+3) { display: none; }
  .aa-samples-wrap { margin-top: 48px; padding-top: 40px; }
  /* Client names: one swipeable row instead of a tall wall */
  .aa-clients { padding: 28px 0; }
  .aa-clients__list { flex-wrap: nowrap; overflow-x: auto; gap: 28px; font-size: 20px; padding-bottom: 8px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .aa-clients__list::-webkit-scrollbar { display: none; }
  .aa-clients__list li { white-space: nowrap; }
  /* Shorter home page on phones */
  .aa-trust__grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-top: 22px; padding-bottom: 22px; }
  .aa-trust__grid strong { font-size: 24px; }
  .aa-trust__grid span { font-size: 14px; }
  .aa-svc-grid { gap: 12px; }
  .aa-svc { padding: 18px 20px; gap: 6px; }
  .aa-svc .aa-more { display: none; }
  .aa-samples { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; margin-right: calc(-1 * var(--aa-gutter)); padding-right: var(--aa-gutter); }
  .aa-samples > .aa-sample { flex: 0 0 84%; scroll-snap-align: start; }
  .aa-split-videos { gap: 32px; }
  .aa-split-videos .aa-gallery__item:nth-child(n+2) { display: none; }
}

/* ---------- Blog ---------- */
.aa-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.aa-postcard { display: flex; flex-direction: column; gap: 12px; }
.aa-postcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--aa-radius); background: var(--aa-charcoal); border: 1px solid var(--aa-line); }
.aa-postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.aa-postcard:hover .aa-postcard__media img { transform: scale(1.04); }
.aa-postcard__date { color: var(--aa-silver); font-size: 15px; }
.aa-postcard h2 { font-size: 30px; line-height: 1.05; }
.aa-postcard h2 a { color: var(--aa-text); text-decoration: none; }
.aa-postcard h2 a:hover { color: var(--aa-hivis); }
.aa-postcard p { color: var(--aa-text-2); }
.aa-article-hero { max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.aa-article-hero__img { margin-top: 32px; border-radius: var(--aa-radius); overflow: hidden; }
.aa-article-hero__img img { width: 100%; max-height: 640px; object-fit: cover; }
.aa-post-body { max-width: 780px; margin-top: 40px; }
.aa-post-body .aa-photos { margin: 1.6em 0; }
.aa-pagination { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.aa-pagination a, .aa-pagination span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--aa-line); border-radius: 3px; text-decoration: none; }

/* ---------- Footer ---------- */
.aa-footer { border-top: 1px solid var(--aa-line-dim); padding: 56px 0 32px; font-size: 16px; color: var(--aa-text-2); }
.aa-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.aa-footer__logo { width: 220px; margin-bottom: 14px; }
.aa-footer__tag { font-family: var(--aa-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--aa-silver); }
.aa-footer__h { font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--aa-text); margin-bottom: 8px; }
.aa-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--aa-text-2); text-decoration: none; }
.aa-footer li a:hover { color: var(--aa-hivis); }
.aa-footer__base { border-top: 1px solid var(--aa-line-dim); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--aa-silver); }

@media (max-width: 700px) {
  :root { --aa-pad: 60px; }
  .aa-hero__in { padding-top: 44px; padding-bottom: 44px; gap: 32px; }
  .aa-form { padding: 22px; }
  .aa-feature { padding: 18px; }
  .aa-logo img { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- v0.11.0: site chat (styles in assets/css/aa-chat.css); "Ask" button in the phone bar ---------- */
@media (max-width: 760px) {
  .aa-mbar--chat { grid-template-columns: 1fr 1fr 1.5fr; }
  .aa-mbar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 3px; font-family: var(--aa-display); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
  .aa-mbar__chat { color: var(--aa-hivis); background: transparent; border: 2px solid var(--aa-hivis); }
}
@media (max-width: 360px) {
  .aa-mbar a, .aa-mbar button { font-size: 16px; gap: 6px; }
}

/* ---------- Timelapse reel (v0.13.0) ---------- */
.aa-reel { padding-bottom: 24px; }
.aa-reel__group + .aa-reel__group { margin-top: 56px; }
.aa-reel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--aa-line); }
.aa-reel__head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.aa-reel__head p { margin: 0; color: var(--aa-text-2); max-width: 560px; }
.aa-reel__grid { display: grid; gap: 16px; }
.aa-reel__grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aa-reel__grid--feature .is-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.aa-reel__grid--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.aa-reel__item { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--aa-radius); background: var(--aa-charcoal); border: 1px solid var(--aa-line); color: var(--aa-text); text-decoration: none; isolation: isolate; }
.aa-reel__item video, .aa-reel__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.aa-reel__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(11, 11, 12, 0) 50%, rgba(11, 11, 12, .85) 100%); pointer-events: none; } /* captions sit on top: the footage carries burned-in dates and logos along the bottom */
.aa-reel__cap { position: absolute; left: 16px; right: 74px; top: 14px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.aa-reel__title { font-family: var(--aa-display); font-weight: 800; font-size: 21px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.aa-reel__meta { font-size: 14px; color: var(--aa-text-2); }
.is-feature .aa-reel__title { font-size: clamp(24px, 2.6vw, 34px); }
.is-feature .aa-reel__meta { font-size: 16px; }
.is-feature .aa-reel__cap { left: 22px; right: 100px; top: 20px; }
.aa-reel__play { position: absolute; right: 14px; top: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: var(--aa-hivis); color: var(--aa-black); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.is-feature .aa-reel__play { width: 60px; height: 60px; right: 20px; top: 20px; }
.aa-reel__item:hover video, .aa-reel__item:hover img { transform: scale(1.03); }
.aa-reel__item:hover .aa-reel__play, .aa-reel__item:focus-visible .aa-reel__play { transform: scale(1.1); }
.aa-reel__item:focus-visible { outline: 3px solid var(--aa-hivis); outline-offset: 3px; }
@media (max-width: 900px) {
  .aa-reel__grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-reel__grid--feature .is-feature { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .is-feature .aa-reel__title { font-size: 19px; }
  .is-feature .aa-reel__meta { font-size: 14px; }
  .is-feature .aa-reel__cap { left: 16px; right: 74px; top: 14px; }
  .is-feature .aa-reel__play { width: 46px; height: 46px; right: 14px; top: 14px; }
}
@media (max-width: 560px) {
  .aa-reel__grid--feature { grid-template-columns: 1fr; }
  .aa-reel__title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .aa-reel__item video, .aa-reel__item img { transition: none; } .aa-reel__item:hover video, .aa-reel__item:hover img { transform: none; } }
/* Video player dialog: reuses the photo viewer frame */
.aa-viewer--video .aa-viewer__stage { padding: 64px 72px 8px; }
.aa-player { width: min(100%, calc((100vh - 170px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 2px; overflow: hidden; }
.aa-player video, .aa-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.aa-viewer__meta { display: block; margin-top: 2px; font-family: var(--aa-body); font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--aa-silver); }
@media (max-width: 700px) { .aa-viewer--video .aa-viewer__stage { padding: 64px 8px 8px; } }
/* Self-playing timelapse (v0.14.0) */
.aa-video--auto video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ---------- Service showcases (v0.15.0) ---------- */
.aa-show .aa-head--row > div { max-width: 760px; }
.aa-show__note { max-width: 360px; padding: 12px 14px; border: 1px dashed var(--aa-hivis); border-radius: var(--aa-radius); font-size: 14px; line-height: 1.45; color: var(--aa-text-2); }
.aa-show__note strong { display: block; color: var(--aa-hivis); font-family: var(--aa-display); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.aa-show__note a { white-space: nowrap; }
.aa-show__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 14.5vw, 220px); grid-auto-flow: dense; gap: 12px; }
.aa-show__item { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: var(--aa-radius); background: var(--aa-charcoal); text-decoration: none; color: var(--aa-text); }
.aa-show__grid .aa-reel__item { aspect-ratio: auto; }
.aa-show__item--lg { grid-column: span 2; grid-row: span 2; }
.aa-show__item--wide { grid-column: span 2; }
.aa-show__item--tall { grid-row: span 2; }
.aa-show__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.aa-show__photo:hover img { transform: scale(1.04); }
.aa-show__photo:focus-visible { outline: 3px solid var(--aa-hivis); outline-offset: 3px; }
.aa-cap__meta { display: block; margin-top: 3px; font-family: var(--aa-body); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--aa-text-2); }
.aa-show__item--lg .aa-cap { font-size: 22px; padding: 48px 20px 16px; }
.aa-show__item--lg .aa-reel__title { font-size: clamp(24px, 2.6vw, 34px); }
.aa-show__item--lg .aa-reel__meta { font-size: 16px; }
.aa-show__item--lg .aa-reel__cap { left: 22px; right: 100px; top: 20px; }
.aa-show__item--lg .aa-reel__play { width: 60px; height: 60px; right: 20px; top: 20px; }
/* Empty slot (editors only) */
.aa-show__ph { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 18px 20px; border: 2px dashed rgba(230, 238, 46, .55); background: repeating-linear-gradient(135deg, rgba(230, 238, 46, .04) 0 14px, transparent 14px 28px), var(--aa-charcoal); }
.aa-show__ph-icon { color: var(--aa-hivis); opacity: .85; margin-bottom: 4px; }
.aa-show__ph-kind { font-family: var(--aa-display); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--aa-hivis); }
.aa-show__ph-title { font-family: var(--aa-display); font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.aa-show__ph-want { font-size: 14px; line-height: 1.4; color: var(--aa-text-2); max-width: 46ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aa-show__ph-file { margin-top: 4px; font-size: 13px; color: var(--aa-silver); }
.aa-show__ph-file code { font-size: 13px; color: var(--aa-text); background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 3px; word-break: break-all; }
.aa-show__item--lg.aa-show__ph { align-items: center; text-align: center; }
.aa-show__item--lg .aa-show__ph-title { font-size: 30px; }
@media (max-width: 900px) {
  .aa-show__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; gap: 8px; }
  .aa-show__item--lg .aa-reel__cap { left: 16px; right: 74px; top: 14px; }
  .aa-show__item--lg .aa-reel__play { width: 46px; height: 46px; right: 14px; top: 14px; }
  .aa-show__item--lg .aa-reel__title { font-size: 21px; }
}
@media (max-width: 560px) {
  .aa-show__grid .aa-reel__title { font-size: 16px; }
  .aa-show__grid .aa-reel__meta { display: none; }
  .aa-show__grid .aa-reel__cap { left: 12px; right: 58px; top: 10px; }
  .aa-show__grid .aa-reel__play { width: 38px; height: 38px; right: 10px; top: 10px; }
  .aa-show__item--lg .aa-reel__meta { display: block; }
  .aa-show__ph { padding: 12px; }
  .aa-show__ph-want { display: none; }
  .aa-show__ph-title { font-size: 17px; }
  .aa-show__note { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .aa-show__photo img { transition: none; } .aa-show__photo:hover img { transform: none; } }

/* Before/after slider */
.aa-compare-block { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 48px; }
.aa-compare { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--aa-radius); border: 1px solid var(--aa-line); background: var(--aa-charcoal); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.aa-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aa-compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.aa-compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--aa-hivis); box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.aa-compare__handle { position: absolute; top: 50%; left: var(--pos, 50%); z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--aa-hivis); color: var(--aa-black); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 14px rgba(0, 0, 0, .5); pointer-events: none; }
.aa-compare__tag { position: absolute; top: 14px; z-index: 2; padding: 5px 10px; border-radius: 3px; background: rgba(11, 11, 12, .78); font-family: var(--aa-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.aa-compare__tag--before { left: 14px; }
.aa-compare__tag--after { right: 14px; color: var(--aa-hivis); }
.aa-compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.aa-compare:not(.is-ready) .aa-compare__range { display: none; }
.aa-compare:focus-within { outline: 3px solid var(--aa-hivis); outline-offset: 3px; }
.aa-compare-block__copy { display: flex; flex-direction: column; gap: 12px; }
.aa-compare-block__copy h3 { font-size: clamp(26px, 2.6vw, 34px); }
.aa-compare-block__copy p { color: var(--aa-text-2); }
@media (max-width: 900px) { .aa-compare-block { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; } }
@media (max-width: 560px) { .aa-compare__tag { font-size: 13px; top: 8px; } .aa-compare__tag--before { left: 8px; } .aa-compare__tag--after { right: 8px; } .aa-compare__handle { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }

/* Service cards with media */
.aa-svc--media { padding: 0; gap: 0; overflow: hidden; }
.aa-svc__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--aa-black); }
.aa-svc__media video, .aa-svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.aa-svc--media:hover .aa-svc__media video, .aa-svc--media:hover .aa-svc__media img { transform: scale(1.04); }
.aa-svc__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 26px 26px; }
@media (min-width: 900px) {
  .aa-svc--lead.aa-svc--media { position: relative; min-height: 440px; justify-content: flex-end; }
  .aa-svc--lead .aa-svc__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .aa-svc--lead .aa-svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 35%, rgba(11, 11, 12, .92) 100%); }
  .aa-svc--lead .aa-svc__body { position: relative; z-index: 1; flex: 0 0 auto; padding: 30px 32px; max-width: 640px; }
  .aa-svc--lead .aa-svc__text { color: var(--aa-text); }
}
@media (max-width: 760px) {
  .aa-svc--media { padding: 0; gap: 0; }
  .aa-svc__body { padding: 16px 18px 18px; gap: 6px; }
  .aa-svc__media { aspect-ratio: 16 / 9; }
}
.aa-addon--media { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 26px; align-items: center; padding: 14px; }
.aa-addon--media .aa-svc__media { aspect-ratio: 16 / 9; border-radius: 2px; }
.aa-addon__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 6px 8px 6px 0; }
@media (max-width: 600px) { .aa-addon--media { grid-template-columns: 1fr; gap: 14px; } .aa-addon__body { padding: 0 6px 6px; } }
@media (prefers-reduced-motion: reduce) { .aa-svc__media video, .aa-svc__media img { transition: none; } .aa-svc--media:hover .aa-svc__media video, .aa-svc--media:hover .aa-svc__media img { transform: none; } }
.aa-show__ph:not(.aa-show__item--lg):not(.aa-show__item--wide) .aa-show__ph-want { -webkit-line-clamp: 2; }
