/* =====================================================================
   AUTUMN ADS — PORTFOLIO UNIVERSE
   Liquid-glass interface matched to the autumnads.in global header/footer.
   Every selector is prefixed .aa- and scoped to .aa-universe. Resets use
   :where() so nothing here out-ranks Elementor or the theme.
   The site's own header (#av-glass-header) and footer (#autumnAdsGlobalFooter)
   are NOT part of this file — the universe simply leaves room for them.
   ===================================================================== */

.aa-universe {
  /* palette — shared with the global header & footer */
  --aa-orange: #FF6A00;
  --aa-orange-2: #F47A35;
  --aa-space: #02030A;
  --aa-navy: #07111F;
  --aa-blue: #4DCBFF;
  --aa-white: #F5F8FF;
  --aa-ivory: #F2EDE4;
  --aa-dim: rgba(242, 237, 228, 0.72);
  --aa-faint: rgba(242, 237, 228, 0.46);
  --aa-line: rgba(255, 255, 255, 0.14);
  --aa-line-strong: rgba(255, 255, 255, 0.27);

  /* liquid glass (same recipe as .av-glass-pill in the site header) */
  --aa-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  --aa-glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  --aa-glass-border: 1px solid rgba(255, 255, 255, 0.27);
  --aa-glass-shadow: 0 12px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.045);
  --aa-glass-blur: blur(26px) saturate(145%);

  /* DIN only: the site's own DIN webfont first (whatever name the theme loads it under),
     then the bundled D-DIN-PRO. Override with  .aa-universe { --aa-font: 'Your DIN name', sans-serif; } */
  --aa-font: 'DIN', 'DIN Pro', 'DINPro', 'DIN Next LT Pro', 'DIN Next', 'DIN 2014', 'din-2014', 'ff-din', 'D-DIN-PRO', 'D-DIN', sans-serif;
  --aa-font-display: var(--aa-font);
  --aa-font-body: var(--aa-font);
  --aa-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --aa-gutter: clamp(18px, 4vw, 64px);

  /* room for the site header (desktop: floating top pill) / tab bar (mobile: bottom) */
  --aa-top: 108px;
  --aa-bottom: 26px;

  position: relative;
  background: var(--aa-space);
  color: var(--aa-ivory);
  font-family: var(--aa-font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
/* full-bleed even inside a boxed Elementor container or a block theme's constrained layout
   (JS fine-tunes the offset if the container is not centred) */
.aa-universe.aa-universe {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .aa-universe { --aa-top: calc(18px + env(safe-area-inset-top, 0px)); --aa-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
.aa-universe *, .aa-universe *::before, .aa-universe *::after { box-sizing: border-box; }
.aa-universe :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; }
.aa-universe :where(a) { color: inherit; text-decoration: none; }
.aa-universe :where(ul) { list-style: none; margin: 0; padding: 0; }
.aa-universe :where(h1, h2, h3, p, figure) { margin: 0; font-weight: inherit; }
.aa-universe :focus-visible { outline: 1px solid var(--aa-orange-2); outline-offset: 3px; }

html.aa-lock, html.aa-lock body { overflow: hidden !important; }

/* ---------- stage (pinned) ---------- */
.aa-stage { position: relative; width: 100%; height: 100vh; height: 100lvh; overflow: hidden; background: var(--aa-space); }
.aa-canvas-wrap { position: absolute; inset: 0; }
.aa-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
/* photographic grade: soft vignette + lifted blacks + fine grain */
.aa-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 95% at 55% 45%, transparent 50%, rgba(2, 3, 10, 0.72) 100%),
    linear-gradient(to bottom, rgba(2, 3, 10, 0.5), transparent 20%, transparent 78%, rgba(2, 3, 10, 0.55));
}
.aa-grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: aa-grain 1.2s steps(4) infinite;
}
@keyframes aa-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); } }
.aa-cut { position: absolute; inset: 0; background: var(--aa-space); opacity: 0; pointer-events: none; z-index: 30; }

/* ---------- liquid glass ---------- */
.aa-glass {
  background: var(--aa-glass-bg);
  border: var(--aa-glass-border);
  box-shadow: var(--aa-glass-shadow);
  -webkit-backdrop-filter: var(--aa-glass-blur);
  backdrop-filter: var(--aa-glass-blur);
  border-radius: 30px;
  position: relative;
}
/* the reflective top edge + a soft caustic highlight, like light through a lens */
.aa-glass::before {
  content: ''; position: absolute; top: 1px; left: 10%; width: 80%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}
.aa-glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 60% at 12% -10%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(80% 50% at 100% 110%, rgba(255, 150, 80, 0.06), transparent 60%);
}
.aa-glass > * { position: relative; z-index: 1; }

/* small pill label — "01 / INDUSTRY" (same language as the About page card) */
.aa-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 7px 13px; border-radius: 999px;
  background: var(--aa-glass-bg); border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-family: var(--aa-font-display); font-weight: 800;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}
.aa-pill--sm { padding: 5px 10px; font-size: 9px; letter-spacing: 0.18em; }
.aa-kicker { font-family: var(--aa-font-display); font-weight: 800; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aa-faint); display: inline-flex; align-items: center; gap: 10px; }
.aa-kicker--accent { color: var(--aa-orange-2); }
.aa-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); flex: none; }

/* buttons — glass pills */
.aa-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--aa-font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.08em; text-transform: none;
  padding: 14px 20px; border-radius: 999px; white-space: nowrap; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.4s var(--aa-ease), border-color 0.4s var(--aa-ease), transform 0.45s var(--aa-ease), box-shadow 0.4s var(--aa-ease);
}
.aa-btn--glass {
  background: rgba(10, 12, 18, 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.aa-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12); }
.aa-btn--primary, .aa-btn--cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)); border-color: rgba(255, 255, 255, 0.34); color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
}
.aa-btn--primary:hover, .aa-btn--cta:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)); border-color: rgba(255, 255, 255, 0.6); }
.aa-btn--ghost { border-color: transparent; padding-left: 4px; padding-right: 4px; color: var(--aa-dim); }
.aa-btn--ghost:hover { background: none; border-color: transparent; color: #fff; }
.aa-btn .aa-arrow { font-style: normal; transition: transform 0.4s var(--aa-ease); }
.aa-btn:hover .aa-arrow { transform: translate(2px, -2px); }
.aa-btn:hover .aa-arrow--back { transform: translateX(-3px); }

/* optional standalone header (off by default — the site's header is used) */
.aa-header { position: fixed; z-index: 60; top: 14px; left: 50%; transform: translateX(-50%); width: min(1190px, calc(100% - 50px)); height: 64px; padding: 0 10px 0 24px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; }
.aa-logo { font-family: var(--aa-font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.14em; display: inline-flex; align-items: center; gap: 10px; }
.aa-logo-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--aa-orange); }
.aa-header-nav { display: flex; gap: 4px; }
.aa-header-link { font-size: 9px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; padding: 12px 16px; border-radius: 999px; color: #fff; }
.aa-header-link.is-active { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.aa-menu-btn { display: none; }

/* ---------- hero ---------- */
.aa-hero { position: absolute; z-index: 10; left: calc(var(--aa-gutter) + 2vw); bottom: calc(var(--aa-bottom) + clamp(40px, 9vh, 110px)); max-width: 760px; pointer-events: none; }
.aa-hero > * { pointer-events: auto; }
.aa-hero-brand { margin-bottom: 26px; }
.aa-hero-title {
  font-family: var(--aa-font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 118px); line-height: 0.88; letter-spacing: -0.03em; word-spacing: 0.06em; color: #fff;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.35);
}
.aa-hero-title .aa-line { display: block; overflow: hidden; padding-bottom: 0.02em; }
.aa-hero-title .aa-line > span { display: inline-block; }
.aa-hero-copy { margin-top: 26px; max-width: 470px; color: rgba(255, 255, 255, 0.86); font-size: 14.5px; line-height: 1.7; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }
.aa-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.aa-scroll-hint { position: absolute; z-index: 10; left: 50%; bottom: calc(var(--aa-bottom) + 6px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.aa-scroll-line { width: 1px; height: 42px; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.55)); position: relative; overflow: hidden; }
.aa-scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: aa-scroll 2.2s var(--aa-ease) infinite; }
@keyframes aa-scroll { to { top: 110%; } }

/* ---------- world + client labels ---------- */
.aa-labels { position: absolute; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.aa-world-label {
  position: absolute; left: 0; top: 0; transform: translate3d(-9999px, 0, 0); white-space: nowrap;
  font-family: var(--aa-font-display); font-weight: 800; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; gap: 8px; opacity: 0; will-change: transform, opacity; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.aa-world-label b { color: var(--aa-orange-2); font-weight: 800; }
.aa-world-label::before { content: ''; width: 18px; height: 1px; background: rgba(255, 255, 255, 0.4); }

.aa-client-node {
  position: absolute; left: 0; top: 0; pointer-events: auto; transform: translate3d(-9999px, 0, 0);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; opacity: 0; border-radius: 999px;
  font-family: var(--aa-font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; white-space: nowrap; color: #fff;
  background: rgba(8, 10, 16, 0.32); border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: border-color 0.35s, background 0.35s;
  will-change: transform, opacity;
}
.aa-client-node .aa-node-idx { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: var(--aa-font-display); font-weight: 800; font-size: 9px; background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85); }
.aa-client-node .aa-node-name { max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
.aa-client-node .aa-node-logo { height: 20px; width: auto; max-width: 90px; object-fit: contain; }
.aa-client-node .aa-node-cta { font-family: var(--aa-font-display); font-weight: 800; color: var(--aa-orange-2); max-width: 0; overflow: hidden; transition: max-width 0.45s var(--aa-ease); }
.aa-client-node.is-hl { border-color: rgba(255, 140, 70, 0.7); background: rgba(40, 18, 8, 0.45); }
.aa-client-node.is-hl .aa-node-idx { background: var(--aa-orange); color: #fff; }
.aa-client-node.is-hl .aa-node-cta { max-width: 80px; }
.aa-client-node.is-behind { opacity: 0.3 !important; }
.aa-client-node .aa-node-thumb { display: none; width: 56px; height: 36px; object-fit: cover; border-radius: 10px; }
.aa-client-node.is-selected .aa-node-thumb { display: block; }
.aa-client-node::before { content: ''; position: absolute; left: -24px; top: 50%; width: 20px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5)); }
.aa-client-node.is-flipped::before { left: auto; right: -24px; background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.5)); }

/* ---------- industry panel ---------- */
.aa-industry {
  position: absolute; z-index: 12; left: var(--aa-gutter); top: var(--aa-top); bottom: calc(var(--aa-bottom) + 72px); margin: auto 0;
  height: fit-content; max-height: calc(100% - var(--aa-top) - var(--aa-bottom) - 72px); overflow-y: auto; scrollbar-width: none;
  width: min(430px, calc(100vw - 2 * var(--aa-gutter))); padding: 28px 30px 26px;
  opacity: 0; visibility: hidden; will-change: opacity, transform;
}
.aa-industry-head { display: flex; justify-content: space-between; align-items: center; }
.aa-industry-title { font-family: var(--aa-font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 52px); line-height: 0.9; letter-spacing: -0.04em; margin: 20px 0 14px; color: #fff; }
.aa-industry-tagline { color: rgba(255, 255, 255, 0.8); font-size: 13.5px; line-height: 1.65; }
.aa-industry-rule { height: 1px; background: rgba(255, 255, 255, 0.14); margin: 22px 0 14px; }
.aa-industry-count { font-family: var(--aa-font-display); font-weight: 800; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }
.aa-client-list { margin: 8px 0 20px; }
.aa-client-list li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.aa-client-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 6px; text-align: left; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.72); border-radius: 14px; transition: color 0.3s, background 0.4s var(--aa-ease), padding 0.4s var(--aa-ease); }
.aa-client-item .aa-ci-idx { font-family: var(--aa-font-display); font-weight: 800; font-size: 10px; color: rgba(255, 255, 255, 0.4); width: 22px; flex: none; }
.aa-client-item .aa-ci-name { flex: 1; }
.aa-client-item .aa-ci-arrow { color: var(--aa-orange-2); opacity: 0; transform: translate(-4px, 4px); transition: all 0.4s var(--aa-ease); }
.aa-client-item:hover, .aa-client-item.is-hl { color: #fff; background: rgba(255, 255, 255, 0.07); padding-left: 12px; }
.aa-client-item:hover .aa-ci-arrow, .aa-client-item.is-hl .aa-ci-arrow { opacity: 1; transform: none; }
.aa-client-item.is-hl .aa-ci-idx { color: var(--aa-orange-2); }
.aa-soon { margin: 16px 0 6px; padding: 20px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.03); }
.aa-soon-title { font-family: var(--aa-font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; line-height: 0.95; text-transform: uppercase; color: #fff; }
.aa-soon-title span { display: block; color: var(--aa-orange-2); }
.aa-soon p { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.aa-industry-hint { margin-top: 16px; font-family: var(--aa-font-display); font-weight: 800; font-size: 9px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; }

/* ---------- project interface ---------- */
.aa-project {
  position: absolute; z-index: 20; right: var(--aa-gutter); top: var(--aa-top); bottom: calc(var(--aa-bottom) + 10px);
  width: min(470px, calc(100vw - 2 * var(--aa-gutter)));
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; overflow: hidden;
}
.aa-project-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 26px 28px 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; }
.aa-project-top { display: flex; align-items: center; justify-content: space-between; }
.aa-project-close, .aa-pager-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #fff; transition: all 0.3s; }
.aa-project-close { margin-left: 4px; }
.aa-project-close:hover, .aa-pager-btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.aa-pager-btn[disabled] { opacity: 0.3; pointer-events: none; }
.aa-project-pager { display: flex; align-items: center; gap: 6px; }
.aa-project-logo { margin: 22px 0 4px; height: 44px; display: flex; align-items: center; }
.aa-project-logo img { max-height: 44px; max-width: 180px; object-fit: contain; }
.aa-project-logo:empty { display: none; }
.aa-project-name { font-family: var(--aa-font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 0.92; margin: 20px 0 16px; letter-spacing: -0.035em; color: #fff; }
.aa-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-tag { font-family: var(--aa-font-display); font-weight: 800; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.72); }
.aa-tag.is-current { border-color: rgba(255, 140, 70, 0.7); color: #fff; background: rgba(255, 106, 0, 0.12); }
.aa-project-block { margin-top: 26px; }
.aa-project-block > .aa-kicker { margin-bottom: 12px; }
.aa-services li { font-size: 13px; font-weight: 600; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; gap: 12px; color: #fff; }
.aa-services li::before { content: '+'; color: var(--aa-orange-2); }
.aa-project-desc { color: rgba(255, 255, 255, 0.8); font-size: 14px; line-height: 1.75; }
.aa-pending { position: relative; padding: 22px 20px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.aa-pending-title { font-family: var(--aa-font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }
.aa-pending p { margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.aa-pending::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent); animation: aa-sweep 3.2s ease-in-out infinite; }
@keyframes aa-sweep { to { left: 110%; } }
.aa-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aa-gallery > :first-child { grid-column: 1 / -1; }
.aa-media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; }
.aa-media img, .aa-media video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.8s var(--aa-ease), transform 1.2s var(--aa-ease); transform: scale(1.04); }
.aa-media.is-loaded img, .aa-media.is-loaded video { opacity: 1; transform: none; }
.aa-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%); background-size: 200% 100%; animation: aa-shimmer 1.6s linear infinite; }
.aa-media.is-loaded::after { display: none; }
@keyframes aa-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.aa-project-view { margin-top: 26px; width: 100%; }
.aa-project-foot { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 12px 14px 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.aa-project-foot .aa-btn { padding: 12px 16px; font-size: 10.5px; }

/* ---------- final CTA ---------- */
.aa-final { position: absolute; z-index: 14; inset: var(--aa-top) 0 var(--aa-bottom); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--aa-gutter); opacity: 0; visibility: hidden; }
.aa-final-title { font-family: var(--aa-font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8vw, 136px); line-height: 0.86; letter-spacing: -0.045em; margin: 24px 0; color: #fff; text-shadow: 0 12px 70px rgba(0, 0, 0, 0.45); }
.aa-final-title span { display: block; }
.aa-final-copy { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; max-width: 440px; }
.aa-final-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.aa-final-email { font-family: var(--aa-font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.75); border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 4px; transition: color 0.3s, border-color 0.3s; }
.aa-final-email:hover { color: #fff; border-color: var(--aa-orange-2); }
.aa-final .aa-btn--cta { padding: 18px 32px; font-size: 12px; }

/* ---------- vertical navigation (same language as the home page rail) ---------- */
.aa-nav { position: absolute; z-index: 16; right: calc(var(--aa-gutter) * 0.6); top: var(--aa-top); bottom: var(--aa-bottom); margin: auto 0; height: fit-content; display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity 0.6s var(--aa-ease); }
.aa-universe.aa-entered .aa-nav { opacity: 1; }
.aa-universe.aa-focused .aa-nav { opacity: 0; pointer-events: none; }
.aa-nav-item { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 9px 0; font-family: var(--aa-font-display); font-weight: 800; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); transition: color 0.35s; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.aa-nav-item .aa-nav-label { opacity: 0; transform: translateX(6px); transition: all 0.45s var(--aa-ease); }
.aa-nav:hover .aa-nav-label, .aa-nav-item.is-active .aa-nav-label, .aa-nav-item:focus-visible .aa-nav-label { opacity: 1; transform: none; }
.aa-nav-item:hover, .aa-nav-item.is-active { color: #fff; }
.aa-nav-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); flex: none; position: relative; background: rgba(0, 0, 0, 0.3); transition: all 0.35s; }
.aa-nav-item.is-active .aa-nav-dot { width: 14px; height: 14px; margin-right: -2px; background: #fff; border-color: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, 0.8); }
.aa-nav-item.is-visited .aa-nav-dot { border-color: rgba(255, 255, 255, 0.8); }
.aa-nav-track { position: absolute; right: 4.5px; top: 14px; bottom: 14px; width: 1px; background: rgba(255, 255, 255, 0.2); z-index: -1; }
.aa-nav-track i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: #fff; }

/* ---------- indicator / progress / sound ---------- */
.aa-indicator { position: absolute; z-index: 16; left: var(--aa-gutter); bottom: calc(var(--aa-bottom) + 12px); display: flex; flex-direction: column; gap: 6px; opacity: 0; transition: opacity 0.6s; }
.aa-universe.aa-entered .aa-indicator { opacity: 1; }
.aa-indicator-value { font-family: var(--aa-font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; min-height: 1.2em; }
.aa-indicator-value .aa-ind-num { color: var(--aa-orange-2); margin-right: 10px; }
.aa-progress { position: absolute; z-index: 16; left: var(--aa-gutter); right: var(--aa-gutter); bottom: var(--aa-bottom); height: 1px; background: rgba(255, 255, 255, 0.14); }
.aa-progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: #fff; }
.aa-pct { position: absolute; z-index: 16; right: var(--aa-gutter); bottom: calc(var(--aa-bottom) + 10px); font-family: var(--aa-font-display); font-weight: 800; font-size: 10px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 0.6s; }
.aa-universe.aa-entered .aa-pct { opacity: 1; }
.aa-sound { text-transform: uppercase; position: absolute; z-index: 16; right: calc(var(--aa-gutter) + 60px); bottom: calc(var(--aa-bottom) + 4px); display: flex; align-items: center; gap: 10px; font-family: var(--aa-font-display); font-weight: 800; font-size: 9.5px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.55); padding: 6px 0; opacity: 0; transition: opacity 0.6s, color 0.3s; }
.aa-universe.aa-entered .aa-sound { opacity: 1; }
.aa-sound:hover, .aa-sound.is-on { color: #fff; }
.aa-sound-bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.aa-sound-bars i { width: 2px; height: 3px; background: currentColor; }
.aa-sound.is-on .aa-sound-bars i { background: var(--aa-orange-2); animation: aa-eq 1s ease-in-out infinite alternate; }
.aa-sound.is-on .aa-sound-bars i:nth-child(2) { animation-delay: -0.3s; } .aa-sound.is-on .aa-sound-bars i:nth-child(3) { animation-delay: -0.6s; } .aa-sound.is-on .aa-sound-bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes aa-eq { from { height: 3px; } to { height: 12px; } }

/* ---------- loader (covers the whole page, header included, until entry) ---------- */
.aa-loader { position: fixed; inset: 0; z-index: 2147483600; background: radial-gradient(120% 80% at 50% 110%, #1a0e06 0%, #05060b 55%, var(--aa-space) 100%); display: grid; place-items: center; color: #fff; font-family: var(--aa-font-body); overflow: hidden; padding: 0 16px; }
.aa-loader-stars { position: absolute; inset: 0; opacity: 0.55; background-image:
  radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 12%, #cfe9ff 50%, transparent 51%),
  radial-gradient(1px 1px at 42% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 64%, #ffd9b8 50%, transparent 51%),
  radial-gradient(1px 1px at 22% 58%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 58% 36%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 92% 88%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 90%, #bfe9ff 50%, transparent 51%);
  background-size: 420px 420px; animation: aa-drift 60s linear infinite; }
@keyframes aa-drift { to { background-position: -420px 210px; } }
.aa-loader-inner { position: relative; width: min(420px, 100%); }
.aa-loader-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 34px 30px; }
.aa-loader-orbit { position: relative; width: 96px; height: 96px; margin-bottom: 28px; }
.aa-loader-orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); }
.aa-loader-orbit::after { content: ''; position: absolute; inset: 20px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.14); }
.aa-loader-core { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4dd, #ff9a4a 60%, #ff6a00); box-shadow: 0 0 24px rgba(255, 140, 60, 0.9), 0 0 60px rgba(255, 106, 0, 0.4); }
.aa-loader-sat { position: absolute; inset: 0; animation: aa-spin 3.6s linear infinite; }
.aa-loader-sat::after { content: ''; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #cfe6ff; box-shadow: 0 0 10px #9fd4ff; }
.aa-loader-sat--2 { inset: 20px; animation-duration: 2.2s; animation-direction: reverse; }
.aa-loader-sat--2::after { background: #fff; width: 4px; height: 4px; top: -2px; margin-left: -2px; }
@keyframes aa-spin { to { transform: rotate(360deg); } }
.aa-loader-logo { display: block; width: 170px; height: auto; margin-bottom: 16px; }
.aa-loader-mark { font-family: var(--aa-font-display); font-weight: 900; letter-spacing: 0.12em; font-size: 22px; margin-bottom: 16px; }
.aa-loader-status { margin-top: 28px; font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, 0.75); display: flex; gap: 14px; justify-content: space-between; width: 100%; }
.aa-loader-pct { font-family: var(--aa-font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.aa-loader-bar { margin-top: 10px; width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; }
.aa-loader-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), #fff); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.5s var(--aa-ease); }
.aa-loader-note { margin-top: 14px; font-size: 11px; color: rgba(255, 255, 255, 0.5); min-height: 1em; }

/* ---------- accessible list / no-WebGL fallback ---------- */
.aa-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.aa-fallback { padding: 140px var(--aa-gutter) 80px; max-width: 1100px; margin: 0 auto; }
.aa-fallback h2 { font-family: var(--aa-font-display); font-weight: 900; font-size: 30px; text-transform: uppercase; margin: 40px 0 12px; }
.aa-fallback li { padding: 10px 0; border-top: 1px solid var(--aa-line); color: var(--aa-dim); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .aa-nav-item .aa-nav-label { display: none; }
  .aa-project { width: min(430px, calc(100vw - 2 * var(--aa-gutter))); }
  .aa-sound { right: calc(var(--aa-gutter) + 56px); }
}
@media (max-width: 768px), (orientation: portrait) and (max-width: 900px) {
  .aa-hero { left: var(--aa-gutter); right: var(--aa-gutter); bottom: calc(var(--aa-bottom) + 56px); }
  .aa-hero-title { font-size: clamp(40px, 12.5vw, 64px); }
  .aa-hero-copy { font-size: 13.5px; margin-top: 18px; }
  .aa-hero-actions { margin-top: 20px; }
  .aa-hero-actions .aa-btn { padding: 12px 16px; font-size: 10.5px; }
  .aa-scroll-hint { display: none; }
  .aa-industry { top: auto; bottom: calc(var(--aa-bottom) + 34px); margin: 0; padding: 20px 20px 16px; width: calc(100vw - 2 * var(--aa-gutter)); max-height: 46vh; border-radius: 24px; }
  .aa-industry-title { font-size: 32px; margin: 14px 0 8px; }
  .aa-industry-tagline { font-size: 12.5px; }
  .aa-industry-rule { margin: 14px 0 8px; }
  .aa-client-list { margin: 4px 0 12px; }
  .aa-client-item { padding: 9px 6px; font-size: 13px; }
  .aa-industry-hint { display: none; }
  .aa-project { left: 10px; right: 10px; top: auto; bottom: calc(var(--aa-bottom) + 6px); width: auto; max-height: calc(100% - var(--aa-bottom) - 90px); border-radius: 24px; }
  .aa-project-scroll { padding: 20px 20px 6px; }
  .aa-project-foot { padding: 10px 12px 10px 18px; }
  .aa-project-foot .aa-btn { padding: 11px 13px; font-size: 10px; }
  .aa-nav { right: 8px; top: var(--aa-top); bottom: auto; margin: 0; gap: 0; }
  .aa-nav-item { padding: 5px 0; }
  .aa-client-node { padding: 6px 10px 6px 6px; font-size: 9.5px; }
  .aa-client-node .aa-node-name { max-width: 150px; }
  .aa-client-node::before { display: none; }
  .aa-indicator { top: var(--aa-top); bottom: auto; left: var(--aa-gutter); }
  .aa-progress { bottom: calc(var(--aa-bottom) + 12px); }
  .aa-pct { bottom: calc(var(--aa-bottom) + 18px); }
  .aa-sound { right: auto; left: var(--aa-gutter); bottom: calc(var(--aa-bottom) + 14px); min-height: 32px; }
  .aa-world-label { font-size: 8.5px; }
  .aa-final-title { font-size: clamp(38px, 12vw, 64px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .aa-grain, .aa-loader-stars, .aa-loader-sat, .aa-scroll-line::after, .aa-pending::after, .aa-media::after, .aa-sound.is-on .aa-sound-bars i { animation: none !important; }
  .aa-universe * { transition-duration: 0.01ms !important; }
}

/* ---------- v2: timelines, drafts ---------- */
.aa-client-item .aa-ci-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aa-client-item .aa-ci-time { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.5); }
.aa-client-item.is-hl .aa-ci-time, .aa-client-item:hover .aa-ci-time { color: rgba(255, 255, 255, 0.72); }
.aa-draft { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.45); color: rgba(255, 255, 255, 0.8); margin-left: 6px; vertical-align: middle; }
.aa-draft-note { margin: -6px 0 14px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.aa-timeline-value { display: flex; align-items: center; gap: 10px; font-family: var(--aa-font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; color: #fff; }
.aa-live { width: 8px; height: 8px; border-radius: 50%; background: #7fe3a8; box-shadow: 0 0 0 4px rgba(127, 227, 168, 0.18); flex: none; }
.aa-client-list { max-height: min(46vh, 520px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
@media (max-width: 768px), (orientation: portrait) and (max-width: 900px) {
  .aa-client-list { max-height: none; }
}

/* ---- 2.1: brand links (website / Instagram / Facebook / YouTube) ---- */
.aa-universe .aa-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.aa-universe .aa-link {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 14px;
  font-family: var(--aa-font); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.1;
  color: #fff; text-decoration: none;
  background: var(--aa-glass-bg); border: var(--aa-glass-border); box-shadow: var(--aa-glass-shadow);
  -webkit-backdrop-filter: var(--aa-glass-blur); backdrop-filter: var(--aa-glass-blur);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--aa-ease);
}
.aa-universe .aa-link span:not(.aa-arrow) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aa-universe .aa-link .aa-arrow { opacity: 0.6; transition: transform 0.3s var(--aa-ease), opacity 0.3s; }
.aa-universe .aa-link-ico { flex: 0 0 auto; opacity: 0.92; }
.aa-universe .aa-link:hover, .aa-universe .aa-link:focus-visible { background: var(--aa-glass-bg-strong); border-color: rgba(255, 255, 255, 0.45); transform: translateY(-1px); color: #fff; }
.aa-universe .aa-link:hover .aa-arrow, .aa-universe .aa-link:focus-visible .aa-arrow { opacity: 1; transform: translate(2px, -2px); }
.aa-universe .aa-link:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.8); outline-offset: 2px; }
.aa-universe .aa-links .aa-link:only-child { grid-column: 1 / -1; }
@media (max-width: 380px) { .aa-universe .aa-links { grid-template-columns: 1fr; } }
.aa-universe img.aa-link-ico { width: 18px; height: 18px; object-fit: contain; display: block; }
.aa-universe .aa-links--icons { display: flex; flex-wrap: wrap; gap: 10px; }
.aa-universe .aa-links--icons .aa-link { width: 48px; height: 48px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
.aa-universe .aa-links--icons .aa-link-ico { width: 20px; height: 20px; }
.aa-universe .aa-sound:focus:not(:focus-visible) { outline: none; }
