/*
 * AVA Access introduction deck — this deck's own slides.
 * Loaded after the CAS deck's deck.css (served as shared/deck.css), which supplies the shared family: the 1600×900
 * canvas, controls, voice captions, More detail, text version, and the
 * Aurora look (dark navy / deep teal, luminous blue, restrained gold,
 * Fraunces headlines). Everything here is scoped to .intro-slide so nothing
 * leaks back into the CAS deck's own class names.
 */

.intro-slide { padding: 56px 72px; }

/* Shared: a top row with the act, headline and More detail button. */
.intro-slide .s-top { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
.intro-slide .s-top .s-act { grid-column: 1 / -1; }
.intro-slide .s-top .s-headline { margin: 0; }
.intro-slide .s-top .more-btn { grid-column: 2; grid-row: 2; margin: 0 0 6px; }
.intro-slide .s-body p { font-size: calc(25px * var(--ts) * var(--fit)); }
.is-fresh { animation: detail-in 0.4s ease both; }

/* ------------------------------------------------ 1 · opening */
.slide-opening { grid-template-columns: 620px 1fr; }
.slide-opening .s-text { position: relative; z-index: 1; }
.hero-logo { width: calc(360px * var(--fit)); margin-bottom: calc(34px * var(--fit)); }
.slide-opening .s-act { font-size: calc(19px * var(--ts) * var(--fit)); }
.slide-opening .s-headline { font-size: calc(52px * var(--ts) * var(--fit)); margin-bottom: calc(18px * var(--fit)); }
.slide-opening .s-body p { font-size: calc(23px * var(--ts) * var(--fit)); }
.slide-opening .cta { margin-top: calc(20px * var(--fit)); }
.hero {
  position: absolute; top: 0; right: 0; bottom: 0; width: 1240px;
  z-index: 0;
  /* The picture fades into the slide behind the words. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 22%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 22%, #000 46%);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.72);
  transform: scale(1.04);
  transition: filter 2.4s ease 0.4s, transform 6s ease;
}
.slide-opening.is-built .hero-img { filter: saturate(0.6) brightness(0.5) hue-rotate(-8deg); transform: none; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 32, 0.35), transparent 30%, transparent 70%, rgba(10, 21, 32, 0.6));
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.net-link {
  stroke: #8fd0ff; stroke-width: 2.4; stroke-linecap: round; opacity: 0.75;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.3, 0.6, 0.2, 1);
  transition-delay: calc(0.8s + var(--i) * 70ms);
}
.net-node {
  fill: #dff2ff; stroke: #2b8f97; stroke-width: 3;
  opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.5s ease;
  transition-delay: calc(0.6s + var(--i) * 70ms);
}
.net-label { opacity: 0; transition: opacity 0.6s ease; transition-delay: calc(2.6s + var(--i) * 350ms); }
.net-label-pill { fill: rgba(10, 21, 32, 0.86); stroke: var(--gold-light); stroke-width: 2; }
.net-label-text { fill: #fff; font: 700 21px var(--font); }
.slide-opening.is-built .net-link { stroke-dashoffset: 0; }
.slide-opening.is-built .net-node { opacity: 1; transform: none; }
.slide-opening.is-built .net-label { opacity: 1; }

/* ------------------------------------------------ 2 · the accessibility anchor */
.slide-avt .s-act { color: var(--gold-light); }
.slide-avt .s-headline { font-size: calc(54px * var(--ts) * var(--fit)); }
.slide-avt .s-body p { color: #e6eef3; }
.avt-pic {
  position: relative; margin: 0; height: 470px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #12283a, #0b1622);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.8);
}
.avt-img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 64px 18px 18px; }
.avt-tag {
  position: absolute; left: 18px; top: 18px; margin: 0;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(10, 21, 32, 0.88); color: var(--gold-light);
  font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.avt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 20px 0 0; padding: 0; }
.avt-feature {
  padding: 16px 20px 18px;
  border-top: 3px solid var(--gold-light);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-radius: 0 0 14px 14px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(0.4s + var(--i) * 220ms);
}
.slide-avt.is-built .avt-feature { opacity: 1; transform: none; }
.avt-feature-label { margin: 0 0 6px; font-family: var(--hfont, var(--font)); font-size: calc(26px * var(--ts)); font-weight: 600; color: #fff; }
.avt-feature-line { margin: 0; font-size: calc(18px * var(--ts)); line-height: 1.4; color: #c3d1db; }

/* ------------------------------------------------ 3 · the shift */
.slide-shift .s-headline { font-size: calc(56px * var(--ts) * var(--fit)); }
.slide-shift .s-body p:last-child { color: #fff; }
.use-case {
  margin-top: calc(14px * var(--fit));
  padding: calc(14px * var(--fit)) 20px;
  border-left: 4px solid var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 12px 12px 0;
}
.use-case-label { margin: 0 0 4px; font-size: calc(16px * var(--ts) * var(--fit)); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.use-case-line { margin: 0; font-size: calc(22px * var(--ts) * var(--fit)); line-height: 1.4; color: #e6eef3; }
.promise {
  margin: calc(12px * var(--fit)) 0 0;
  font-family: var(--hfont, var(--font)); font-size: calc(26px * var(--ts) * var(--fit)); line-height: 1.3;
  color: var(--gold-light);
}
.stage-tabs { align-items: center; gap: 10px; margin-bottom: 16px; }
.stage-tabs .tab { padding: 10px 26px; }
.stage-tabs .tab-label { font-size: calc(22px * var(--ts)); letter-spacing: 0.1em; text-transform: uppercase; }
.stage-arrow { font-size: 28px; color: var(--gold-light); }
.shift-figure .simple-frame { aspect-ratio: 16 / 9; }
.chat { position: absolute; left: 24px; top: 24px; width: 440px; display: flex; flex-direction: column; gap: 10px; }
.chat[hidden] { display: none; }
.chat p { margin: 0; padding: 12px 18px; border-radius: 16px; font-size: 21px; line-height: 1.35; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.7); animation: mark-in-flat 0.45s ease both; }
.chat-q { align-self: flex-start; background: var(--gold-light); color: #1c1a0e; font-weight: 700; border-bottom-left-radius: 4px; }
.chat-a { align-self: flex-end; background: rgba(10, 21, 32, 0.92); color: #fff; border: 2px solid #4f8fbd; border-bottom-right-radius: 4px; animation-delay: 0.6s !important; }
@keyframes mark-in-flat { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stage-caption { margin: 14px 0 0; font-size: 21px; line-height: 1.4; color: var(--ink-2); }

/* ------------------------------------------------ 4 · platform */
/* safe center: with Larger text the slide overflowed off its top edge, which
   fitText's scrollHeight check cannot see, so it never shrank (headline and
   More detail cut off). Downward overflow is seen and fitted. */
.slide-platform { display: flex; flex-direction: column; justify-content: center; justify-content: safe center; gap: 0; }
.slide-platform .s-headline { font-size: calc(58px * var(--ts) * var(--fit)); }
.arch { display: flex; flex-direction: column; align-items: center; margin-top: calc(18px * var(--fit)); }
.arch-company {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 40px 14px; min-width: 720px;
  border: 1px solid #4f8fbd; border-radius: 18px;
  background: linear-gradient(180deg, rgba(27, 94, 140, 0.32), rgba(27, 94, 140, 0.12));
  box-shadow: 0 0 60px -20px rgba(111, 182, 230, 0.55);
}
.arch-logo { width: 220px; margin: 0 0 8px; }
.arch-company-line { margin: 0 0 10px; font-size: calc(23px * var(--ts) * var(--fit)); color: #e6eef3; }
.arch-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: calc(16px * var(--ts) * var(--fit)); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.arch-seal { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold-light); box-shadow: inset 0 0 0 3px #0a1520, inset 0 0 0 9px var(--gold-light); }
.arch-links { display: block; width: 1000px; height: 44px; overflow: visible; }
.arch-link { fill: none; stroke: #6fb6e6; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease 0.3s; }
.slide-platform.is-built .arch-link { stroke-dashoffset: 0; }
.arch-techs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 1080px; list-style: none; margin: 0; padding: 0; }
.arch-tech {
  padding: 18px 30px 20px;
  border: 1px solid #3e6280; border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(0.8s + var(--i) * 250ms);
}
.slide-platform.is-built .arch-tech { opacity: 1; transform: none; }
.arch-status { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; font-size: calc(15px * var(--ts) * var(--fit)); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.arch-avt .arch-status { background: var(--gold-light); color: #1c1a0e; }
.arch-cas .arch-status { background: #1B5E8C; color: #fff; }
.arch-name { margin: 0 0 4px; font-family: var(--hfont, var(--font)); font-size: calc(54px * var(--ts) * var(--fit)); font-weight: 600; color: #fff; line-height: 1.05; }
.arch-line { margin: 0 0 14px; font-size: calc(22px * var(--ts) * var(--fit)); line-height: 1.4; color: #c3d1db; }
.arch-points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.arch-points li { padding: 6px 14px; border-radius: 999px; border: 1px solid #5a83a3; font-size: calc(18px * var(--ts) * var(--fit)); color: #e6eef3; }
.arch-atlas {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #3e6280;
  font-size: calc(18px * var(--ts) * var(--fit)); line-height: 1.4; color: #8cc6ee;
}
.arch-atlas-mark {
  flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  border: 2px solid #8fd0ff; box-shadow: inset 0 0 0 4px #0a1520, inset 0 0 0 9px #8fd0ff;
}
.arch-foundation {
  width: 1080px; margin: 16px 0 0; padding-top: 12px;
  border-top: 2px dashed #3e7299;
  text-align: center; font-size: calc(17px * var(--ts) * var(--fit)); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8cc6ee;
}

/* ------------------------------------------------ 5 · capabilities */
.slide-capabilities .s-headline { font-size: calc(54px * var(--ts) * var(--fit)); }
.cap-tabs .tab { padding: 12px 18px; }
.cap-tabs .tab-label { font-size: calc(23px * var(--ts) * var(--fit)); }
.cap-tabs .tab-summary { font-size: calc(18px * var(--ts) * var(--fit)); line-height: 1.3; }
.cap-figure { margin: 0; }
.cap-frame {
  position: relative; height: 540px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #12283a, #0b1622);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.8);
}
.cap-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cap-frame.is-contain .cap-img { object-fit: contain; padding: 18px; }
.cap-img[hidden] { display: none; }
.cap-clip { width: 100%; }
.cap-tags { position: absolute; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; pointer-events: none; }
.cap-tag {
  margin: 0; padding: 6px 14px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.8);
}
.cap-tag-avt { background: var(--gold-light); color: #1c1a0e; }
.cap-tag-cas { background: #1B5E8C; color: #fff; }
.cap-caption { margin-top: 14px; font-size: 21px; line-height: 1.4; color: var(--ink-2); }

/* ------------------------------------------------ 6 · sectors */
.slide-sectors .s-headline { font-size: calc(54px * var(--ts) * var(--fit)); }
.slide-sectors .s-body p { font-size: calc(22px * var(--ts) * var(--fit)); }
.slide-sectors .s-body p:last-child { color: #8cc6ee; }
.org { margin-top: calc(12px * var(--fit)); }
.org-label { margin: 0 0 8px; font-size: calc(16px * var(--ts) * var(--fit)); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.org-values { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 calc(10px * var(--fit)); padding: 0; }
.org-values li { padding: 5px 13px; border-radius: 999px; border: 1px solid #5a83a3; font-size: calc(17px * var(--ts) * var(--fit)); color: #e6eef3; }
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: calc(10px * var(--fit)); }
.sector-grid .tab {
  grid-template-columns: 36px 1fr; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 14px;
  border: 2px solid var(--control-border);
  background: rgba(255, 255, 255, 0.04);
}
.sector-grid .tab-label { font-size: calc(19px * var(--ts) * var(--fit)); line-height: 1.2; }
.tab-icon svg, .sec-icon svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sec-panel { border-radius: 4px; }
.sec-panel:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 8px; }
.sec-pic, .sec-icon, .sec-plan {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.8);
}
.sec-pic[hidden], .sec-icon[hidden], .sec-plan[hidden] { display: none; }
.sec-plan { background: linear-gradient(180deg, #10263a, #0b1622); border: 1px solid #2a4d68; }
.plan { display: block; width: 100%; height: 100%; }
.plan-floor { fill: rgba(143, 208, 255, 0.04); stroke: #35597a; stroke-width: 3; }
.plan-room { fill: rgba(143, 208, 255, 0.07); stroke: #4f7fa6; stroke-width: 3; }
.plan-stairs, .plan-ramp { fill: rgba(143, 208, 255, 0.03); }
.plan-tread { stroke: #4f7fa6; stroke-width: 3; }
.plan-tread-ramp { stroke-dasharray: 14 10; }
.plan-label { fill: #9fc3dd; font: 700 32px var(--font); }
.plan-route-glow { fill: none; stroke: rgba(111, 182, 230, 0.35); stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.plan-route { fill: none; stroke: #8fd0ff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: plan-draw 1.4s ease 0.2s backwards; }
/* Drawn FROM hidden, so under reduced motion (animations off) the route is
   simply shown. */
@keyframes plan-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.plan-dot { fill: #dff2ff; stroke: #2b8f97; stroke-width: 5; }
.plan-pin-goal .plan-dot { fill: var(--gold-light); stroke: #1c1a0e; }
.plan-pill { fill: rgba(10, 21, 32, 0.9); stroke: #4f8fbd; stroke-width: 2; }
.plan-pin-goal .plan-pill { stroke: var(--gold-light); stroke-width: 3; }
.plan-pill-text { fill: #fff; font: 700 26px var(--font); }
.sec-tag-illustration { color: #8cc6ee; }
.sec-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec-tag {
  position: absolute; left: 18px; top: 18px; margin: 0;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(10, 21, 32, 0.88); color: var(--gold-light);
  font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.sec-icon {
  display: grid; place-items: center;
  background:
    radial-gradient(40% 55% at 50% 50%, rgba(43, 143, 151, 0.35), transparent 70%),
    linear-gradient(180deg, #10263a, #0b1622);
  border: 1px solid #2a4d68;
  color: #8fd0ff;
}
.sec-icon svg { width: 220px; stroke-width: 1.6; filter: drop-shadow(0 0 18px rgba(111, 182, 230, 0.45)); }
.sec-words { padding-top: 18px; }
.sec-name { margin: 0 0 6px; font-family: var(--hfont, var(--font)); font-size: 34px; font-weight: 600; color: #fff; }
.sec-line { margin: 0 0 6px; font-size: calc(23px * var(--ts)); line-height: 1.4; color: #dfe8ee; }
.sec-ask { margin: 0; font-size: calc(23px * var(--ts)); line-height: 1.4; color: var(--gold-light); font-weight: 700; }

/* ------------------------------------------------ 7 · close */
.slide-close { display: flex; flex-direction: column; justify-content: center; justify-content: safe center; gap: 0; }
.slide-close .s-headline { font-size: calc(58px * var(--ts) * var(--fit)); max-width: 21em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: calc(40px * var(--fit)) 0 calc(36px * var(--fit)); padding: 0; }
.pillar {
  position: relative; padding: 24px 26px 26px;
  border-top: 3px solid var(--gold-light);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-radius: 0 0 16px 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(0.3s + var(--i) * 220ms);
}
.slide-close.is-built .pillar { opacity: 1; transform: none; }
.pillar-label { margin: 0 0 10px; font-family: var(--hfont, var(--font)); font-size: calc(30px * var(--ts) * var(--fit)); font-weight: 600; color: #fff; }
.pillar-line { margin: 0; font-size: calc(21px * var(--ts) * var(--fit)); line-height: 1.45; color: #c3d1db; }
.close-foot { display: grid; grid-template-columns: 1fr 560px; gap: 48px; align-items: end; }
.close-brand { display: flex; flex-direction: column; gap: 18px; }
.close-logo { width: 230px; margin: 0; }
.closing-line { margin: 0; font-family: var(--hfont, var(--font)); font-size: calc(34px * var(--ts) * var(--fit)); line-height: 1.3; color: #fff; }
.closing-part { display: block; }
.closing-part + .closing-part { color: var(--gold-light); }
/* The closing thought is shown plainly, with no blur or delayed reveal: the
   client found the old animated reveal blurred and easy to miss
   (16 October 2026). */
.close-talk .actions { margin-top: 0; }
.close-talk .contact { margin-top: 22px; }

/* ------------------------------------------------ More detail: its own Close */
/* The open panel covers the right-hand side, including the More detail
   button on slides that keep it top right, so it carries a Close button. */
.intro-slide .more-panel { padding-top: 96px; }
.more-close {
  position: absolute; top: 24px; right: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 18px 8px 12px;
  border: 2px solid var(--control-border); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 19px; font-weight: 700; cursor: pointer;
}
.more-close:hover { border-color: var(--blue); background: var(--paper-2); }
.more-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.more-close-x {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 22px; line-height: 1;
}
