/* AAU Group — glass theme layer. Loaded after site.css.
   Dark canvas, frosted panels, ambient light, motion. */

:root {
  --heading: #ffffff;
  --text: #e9edf7;
  --text-soft: #b9c3dc;
  --link: #9fc2ff;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-line: rgba(255, 255, 255, 0.16);
  --band: rgba(255, 255, 255, 0.035);
  --blur: saturate(160%) blur(18px);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(242, 193, 78, 0.35), 0 20px 50px -20px rgba(242, 193, 78, 0.35);
  color-scheme: dark;
}

@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

body { background: #050f2b; color: var(--text); overflow-x: clip; }
a:hover { color: var(--gold); }

/* Elements that sit on gold keep dark text */
.btn--gold, .cta-band, .skip-link, .pager [aria-current] { --heading: #07163c; }

/* Ambient light: three soft colour fields drifting behind everything */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, #0c2152 0%, #050f2b 60%); }
.aurora span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.aurora span:nth-child(1) { background: #1f4e9c; top: -25vmax; left: -15vmax; animation: drift-a 26s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: #b98a1c; bottom: -35vmax; right: -20vmax; opacity: 0.28; animation: drift-b 32s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: #3a2a8f; top: 30%; left: 45%; width: 40vmax; height: 40vmax; opacity: 0.3; animation: drift-c 38s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-16vmax, -14vmax) scale(1.1); } }
@keyframes drift-c { to { transform: translate(-20vmax, 10vmax) scale(0.85); } }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), #ffe29a); }

/* Sections become transparent so the ambient light shows through */
.section--navy, .site-footer, .page-hero, .hero { background: transparent; }
.section--paper { background: var(--band); border-block: 1px solid rgba(255, 255, 255, 0.06); }
.page-hero--plain { background: transparent; }
.page-hero::after, .hero::after { background: linear-gradient(180deg, rgba(5, 15, 43, 0.7) 0%, rgba(5, 15, 43, 0.55) 40%, #050f2b 100%); }
.page-hero--plain::after { content: none; }
.eyebrow { color: var(--gold); }
:focus-visible, .section--paper :focus-visible, .prose :focus-visible, .form-card :focus-visible { outline-color: var(--gold); }

/* Glass surface recipe */
.company-card, .form-card, .award, .download, .empty, .stats, .company__logo, .person__initials,
.values__item, .mv__item, .awards-strip__list li, .contact__block, .job, .feature__body, .news-lead__main, .news-row {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 40px -28px rgba(0, 0, 0, 0.8);
}
.news-card { background: none; }

/* Floating glass header */
.site-header { top: 14px; height: 68px; background: none; }
.site-header__inner {
  width: min(100% - 2 * var(--gutter) + 2rem, 1240px); padding-inline: 1.25rem;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-solid, .site-header.is-open { background: none; box-shadow: none; }
.site-header.is-solid .site-header__inner, .site-header.is-open .site-header__inner {
  background: rgba(8, 22, 62, 0.62); border-color: var(--glass-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}
.site-header__logo img { height: 40px; }
.site-nav__list > li > a:not(.btn), .site-nav__list > li > button { border-radius: 999px; transition: background-color 0.25s, color 0.25s; }
@media (min-width: 961px) {
  .site-nav__list > li > a:not(.btn):hover, .site-nav__list > li > button:hover { background: rgba(255, 255, 255, 0.08); }
  .menu {
    background: rgba(8, 22, 62, 0.9); padding: 0.6rem; border: 1px solid var(--glass-line); border-radius: 18px;
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    transform-origin: 20% 0; transform: translateY(10px) scale(0.96);
  }
  .has-menu button[aria-expanded="true"] + .menu { transform: none; }
  .menu a { border-radius: 10px; }
  .menu a:hover { background: rgba(255, 255, 255, 0.09); color: var(--gold); }
}
@media (max-width: 960px) {
  .site-header { top: 8px; }
  .site-header.is-open .site-header__inner { background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav { inset: 0; padding-top: calc(var(--header-h) + 1.5rem); background: rgba(5, 15, 43, 0.9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); z-index: -1; }
}

/* Buttons: pill shape, light sweep on hover */
.btn { border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn--gold { background: linear-gradient(135deg, #ffd978, var(--gold) 55%, #dba528); box-shadow: 0 12px 30px -12px rgba(242, 193, 78, 0.7); }
.btn--gold:hover { background: linear-gradient(135deg, #ffe39a, #f7cb62 55%, #e3ae30); box-shadow: 0 16px 36px -12px rgba(242, 193, 78, 0.9); }
.btn--navy, .btn--outline, .btn--ghost { background: var(--glass-strong); border-color: var(--glass-line); color: var(--white); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn--navy:hover, .btn--outline:hover, .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.link-arrow, .section--navy .link-arrow { color: var(--gold); }

/* Hero */
.hero { min-height: min(100svh, 980px); }
.hero__image { animation: hero-zoom 22s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem 0.5rem 0.75rem; margin: 0 0 1.5rem; border-radius: 999px; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: var(--glass-strong); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 193, 78, 0.7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(242, 193, 78, 0); } }
.hero__title em { color: var(--gold); text-shadow: 0 0 40px rgba(242, 193, 78, 0.35); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__title .line > span { display: block; }
.stats { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-lg); gap: 1rem; }
.stats__item { padding-inline: clamp(0.25rem, 1vw, 1rem); }
.stats__item + .stats__item { border-left: 1px solid var(--glass-line); }
.stats dt { color: var(--text-soft); }
@media (max-width: 720px) { .stats__item:nth-child(odd) { border-left: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__badge, .js .hero__lede, .js .hero__actions, .js .hero .stats { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
  .js .hero__badge { animation-delay: 0.1s; }
  .js .hero__title .line > span { transform: translateY(110%); animation: rise-line 1s var(--ease) forwards; }
  .js .hero__title .line:nth-child(1) > span { animation-delay: 0.2s; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 0.35s; }
  .js .hero__lede { animation-delay: 0.55s; }
  .js .hero__actions { animation-delay: 0.7s; }
  .js .hero .stats { animation-delay: 0.85s; }
  .js .page-hero__title, .js .page-hero__intro, .js .crumbs { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
  .js .page-hero__title { animation-delay: 0.12s; }
  .js .page-hero__intro { animation-delay: 0.26s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-line { to { transform: none; } }

/* Logo marquee */
.marquee { padding-block: 2.25rem; border-block: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group > * { margin-right: clamp(3rem, 2rem + 4vw, 6rem); display: block; }
.marquee img { height: 40px; width: auto; opacity: 0.75; transition: opacity 0.3s, transform 0.3s var(--ease); }
.marquee a:hover img, .marquee a:focus-visible img { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Values, mission: glass tiles instead of ruled columns */
.values { border-top: 0; gap: 1.25rem; }
.values__item, .values__item + .values__item, .values__item:last-child { padding: 1.75rem; border: 1px solid var(--glass-line); }
.values__num { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; margin-bottom: 1.5rem; letter-spacing: 0; color: #07163c; background: linear-gradient(135deg, #ffe7a8, var(--gold)); }
.mv__item { padding: 1.75rem; }

/* Cards: lift, pointer spotlight, 3D tilt (variables set by site.js) */
.company-card, .award, .values__item, .mv__item, .form-card, .feature__body, .news-lead__main { position: relative; }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s; }
[data-tilt]:hover, [data-tilt]:focus-within { --lift: -6px; border-color: rgba(242, 193, 78, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--glow); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 45%); }
[data-tilt]:hover::after { opacity: 1; }
.company-card:hover, .company-card:focus-within { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.company-card__media, .news-card__media { background: rgba(255, 255, 255, 0.05); }
.company-card__more { color: var(--gold); }
.news-card__media { border: 1px solid var(--glass-line); }
.news-lead__main { padding: 1rem 1rem 1.5rem; border-radius: var(--radius-lg); }
.news-lead__main img { border-radius: 14px; }
.news-lead__main > :not(a) { padding-inline: 0.75rem; }
.news-row, .news-row:first-child { padding: 0.9rem; border: 1px solid var(--glass-line); margin-bottom: 0.9rem; align-items: center; transition: transform 0.35s var(--ease), border-color 0.3s; }
.news-row:hover { transform: translateX(6px); border-color: rgba(242, 193, 78, 0.45); }
.news-card__title a:hover, .news-row h3 a:hover, .news-lead__main h3 a:hover { color: var(--gold); text-decoration: none; }

/* Feature block: rotating gradient edge */
.feature__media { position: relative; padding: 2px; border-radius: var(--radius-lg); background: conic-gradient(from var(--spin), rgba(242, 193, 78, 0.9), rgba(31, 78, 156, 0.2) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(31, 78, 156, 0.2) 75%, rgba(242, 193, 78, 0.9)); animation: spin 9s linear infinite; }
.feature__media img { border-radius: 22px; }
@keyframes spin { to { --spin: 360deg; } }
.feature__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); }
.feature__body p:not(.eyebrow) { color: var(--text-soft); }

/* Vision */
.vision blockquote { color: var(--white); }

/* Lists turned into glass rows */
.awards-strip__list { display: grid; gap: 0.9rem; }
.awards-strip__list li, .awards-strip__list li:last-child { padding: 1.25rem 1.5rem; border: 1px solid var(--glass-line); }
.awards-strip__list strong { color: var(--white); }
.contact__info { display: grid; gap: 0.9rem; }
.contact__block, .contact__block:first-child { padding: 1.25rem 1.5rem; border: 1px solid var(--glass-line); }
.job-list { border-top: 0; display: grid; gap: 0.9rem; }
.job { padding-inline: 1.5rem; border: 1px solid var(--glass-line); }
.job summary::after { color: var(--gold); }
.award { overflow: hidden; }
.split__media img, .article__cover, .prose img { border: 1px solid var(--glass-line); border-radius: var(--radius-lg); }
.prose h2, .prose h3, .prose h4, .prose .lede, .lede, .prose blockquote { color: var(--white); }
.prose a { color: var(--link); }
.facts dd, .download h2, .person h3, .result-list a, .search-count, .sitemap h2 { color: var(--white); }
.sitemap a, .result-list a:hover { color: var(--link); }
.logo-row li { border-radius: var(--radius); background: #fff; }
.logo-row__dark { background: rgba(255, 255, 255, 0.06) !important; }
.map iframe { filter: saturate(0.7) brightness(0.9); }
.map { border-block: 1px solid var(--glass-line); }

/* Forms */
.form-card { border-radius: var(--radius-lg); }
.field label { color: var(--white); }
.field input, .field textarea, .field select, .search-form input {
  color: var(--white); background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.34); border-radius: 12px;
}
.field select option { background: #0c2152; color: #fff; }
.field input::placeholder, .search-form input::placeholder { color: #aab4cf; }
.field input:focus, .field textarea:focus, .field select:focus, .search-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.22); background: rgba(255, 255, 255, 0.1); }
.field--error input, .field--error textarea { border-color: #ff8f86; }
.field__error { color: #ffb0a9; }
.alert { border-radius: 12px; }
.alert--success { background: rgba(60, 190, 120, 0.16); color: #b9f3d0; border-color: rgba(120, 230, 170, 0.5); }
.alert--error { background: rgba(255, 110, 100, 0.14); color: #ffc9c4; border-color: rgba(255, 140, 130, 0.55); }
.pager a { border-color: var(--glass-line); border-radius: 999px; background: var(--glass); }
.pager a:hover { border-color: var(--gold); }
.pager [aria-current] { background: var(--gold); border-color: var(--gold); }
.search-form--dark input { border-color: rgba(255, 255, 255, 0.34); }

/* CTA: floating gold card */
.cta-band { background: none; padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem); }
.cta-band__inner { padding: clamp(1.75rem, 1.25rem + 3vw, 3.5rem); border-radius: var(--radius-lg); background: linear-gradient(120deg, #ffe08a, var(--gold) 45%, #d99e1f); box-shadow: 0 40px 80px -40px rgba(242, 193, 78, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6); position: relative; overflow: hidden; }
.cta-band__inner::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); filter: blur(50px); animation: drift-c 14s ease-in-out infinite alternate; }
.cta-band__inner > * { position: relative; }
.cta-band .btn--gold, .cta-band .btn--gold:hover { background: #07163c; box-shadow: 0 14px 30px -14px rgba(7, 22, 60, 0.9); }

.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(3, 9, 28, 0.55); }
.plain-error { background: #050f2b; }

/* Staggered reveal: delay set per element by site.js */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(28px) scale(0.985); transition: opacity 0.8s var(--ease) var(--delay, 0s), transform 0.8s var(--ease) var(--delay, 0s); }
  .js .reveal.is-visible { transform: none; }
  .js [data-tilt].reveal.is-ready { transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora span, .marquee__track, .hero__image, .feature__media, .hero__badge i, .cta-band__inner::before { animation: none; }
  .marquee { overflow-x: auto; }
}

/* Browsers without backdrop-filter get a more opaque panel so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .company-card, .form-card, .award, .download, .empty, .stats, .values__item, .mv__item, .feature__body, .news-lead__main, .news-row, .contact__block, .job, .awards-strip__list li { background: rgba(14, 32, 78, 0.92); }
  .site-header.is-solid .site-header__inner, .site-nav, .menu { background: rgba(8, 22, 62, 0.97); }
}

/* Live chat widget */
.chat { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 110; display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; }
.chat__launcher { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #07163c; background: linear-gradient(135deg, #ffd978, var(--gold) 55%, #dba528); box-shadow: 0 16px 36px -12px rgba(242, 193, 78, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6); transition: transform 0.3s var(--ease); order: 2; }
.chat__launcher:hover { transform: scale(1.07); }
.chat__launcher svg { grid-area: 1 / 1; transition: transform 0.35s var(--ease), opacity 0.2s; }
.chat__icon-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.chat.is-open .chat__icon-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.chat.is-open .chat__icon-close { opacity: 1; transform: none; }
.chat__dot { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #ff5a4f; border: 2px solid #050f2b; animation: pulse-red 1.8s ease-out infinite; }
@keyframes pulse-red { from { box-shadow: 0 0 0 0 rgba(255, 90, 79, 0.7); } to { box-shadow: 0 0 0 12px rgba(255, 90, 79, 0); } }

.chat__panel { order: 1; width: min(380px, calc(100vw - 2rem)); max-height: min(600px, calc(100dvh - 7rem)); display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--glass-line); background: rgba(8, 22, 62, 0.82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 40px 80px -30px rgba(0, 0, 0, 0.9); transform-origin: 100% 100%; animation: chat-in 0.35s var(--ease); }
.chat__panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(0.94); } }
.chat__panel.is-closing { animation: chat-out 0.26s cubic-bezier(0.4, 0, 1, 1) forwards; pointer-events: none; }
@keyframes chat-out { to { opacity: 0; transform: translateY(18px) scale(0.9); } }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--glass-line); }
.chat__head h2 { font-size: 1.1rem; margin: 0; color: var(--white); letter-spacing: 0; }
.chat__head p { margin: 0.1rem 0 0; font-size: var(--step--1); color: var(--text-soft); display: flex; align-items: center; gap: 0.45rem; }
.chat__head p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8b95b0; }
.chat.is-online .chat__head p::before { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.chat__close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--glass); color: var(--white); cursor: pointer; }
.chat__close:hover { background: var(--glass-strong); }
.chat__log { flex: 1; min-height: 120px; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; overscroll-behavior: contain; }
.chat__bubble { max-width: 85%; margin: 0; padding: 0.65rem 0.9rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: rise 0.3s var(--ease); }
.chat__bubble time { display: block; margin-top: 0.2rem; font-size: 0.75rem; opacity: 0.75; }
.chat__bubble--admin { align-self: flex-start; background: rgba(255, 255, 255, 0.1); color: var(--white); border-bottom-left-radius: 4px; }
.chat__bubble--visitor { align-self: flex-end; background: var(--gold); color: #07163c; border-bottom-right-radius: 4px; }
.chat__error { margin: 0 1.1rem 0.6rem; padding: 0.6rem 0.8rem; border-radius: 10px; font-size: var(--step--1); font-weight: 600; background: rgba(255, 110, 100, 0.16); color: #ffc9c4; border: 1px solid rgba(255, 140, 130, 0.5); }
.chat__start { display: grid; gap: 0.4rem; padding: 0 1.1rem 1.1rem; overflow-y: auto; }
.chat__start[hidden], .chat__compose[hidden], .chat__error[hidden] { display: none; }
.chat__start label { font-size: var(--step--1); font-weight: 700; color: var(--white); margin-top: 0.35rem; }
.chat__start label span { font-weight: 500; color: var(--text-soft); }
.chat__start input, .chat__start textarea, .chat__compose textarea { width: 100%; min-height: 44px; padding: 0.6rem 0.8rem; font: inherit; color: var(--white); background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.34); border-radius: 12px; resize: none; }
.chat__start input:focus, .chat__start textarea:focus, .chat__compose textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.25); }
.chat__compose textarea::placeholder { color: #aab4cf; }
.chat__start .btn { margin-top: 0.75rem; }
.chat__compose { display: flex; align-items: flex-end; gap: 0.6rem; padding: 0.8rem 1.1rem 1.1rem; border-top: 1px solid var(--glass-line); }
.chat__compose textarea { max-height: 120px; }
.chat__compose button { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #07163c; background: var(--gold); transition: transform 0.25s var(--ease); }
.chat__compose button:hover { transform: scale(1.08); }
@media (max-width: 480px) { .chat__panel { width: calc(100vw - 2rem); max-height: calc(100dvh - 6.5rem); } }
@media (prefers-reduced-motion: reduce) { .chat__panel, .chat__bubble, .chat__dot { animation: none; } }
@media print { .chat { display: none; } }

/* Hero video: no slow zoom on moving footage */
.hero__video { animation: none; background: #050f2b; }

/* Brand wall: edge-to-edge tiles in each brand colour, description on hover or focus */
.brand-wall__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.brand-tile { position: relative; overflow: hidden; }
.brand-tile a { position: relative; display: grid; place-items: center; aspect-ratio: 21 / 10; padding: clamp(1.5rem, 4vw, 4rem); text-decoration: none; isolation: isolate; }
.brand-tile--sky a { background: #bccce3; --tile-ink: #0b2a6f; }
.brand-tile--black a { background: #000; --tile-ink: #fff; }
.brand-tile--white a { background: #fff; --tile-ink: #07163c; }
.brand-tile--yellow a { background: #f8c22d; --tile-ink: #07163c; }
/* Absolutely placed so a tall logo cannot stretch its tile */
.brand-tile__logo { position: absolute; inset: 0; margin: auto; max-width: min(56%, 340px); max-height: 56%; width: auto; height: auto; object-fit: contain; transition: transform 0.6s var(--ease), opacity 0.4s, filter 0.4s; }
.brand-tile__info { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; padding: clamp(1.25rem, 2.5vw, 2.25rem); color: #fff; background: linear-gradient(180deg, rgba(5, 15, 43, 0.35), rgba(5, 15, 43, 0.92)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.4s var(--ease); }
.brand-tile__info > * { transform: translateY(14px); transition: transform 0.5s var(--ease); }
.brand-tile__industry { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.brand-tile__text { font-size: var(--step-1); font-weight: 600; line-height: 1.4; max-width: 34ch; }
.brand-tile__more { font-weight: 800; color: var(--gold); }
.brand-tile a:hover .brand-tile__info, .brand-tile a:focus-visible .brand-tile__info { opacity: 1; }
.brand-tile a:hover .brand-tile__info > *, .brand-tile a:focus-visible .brand-tile__info > * { transform: none; }
.brand-tile a:hover .brand-tile__logo, .brand-tile a:focus-visible .brand-tile__logo { transform: scale(1.08) translateY(-12%); opacity: 0.35; filter: blur(2px); }
.brand-tile a:focus-visible { outline-offset: -4px; }
@media (max-width: 860px) { .brand-wall__grid { grid-template-columns: repeat(2, 1fr); } .brand-tile a { aspect-ratio: 16 / 10; } }
@media (max-width: 480px) { .brand-wall__grid { grid-template-columns: 1fr; } .brand-tile a { aspect-ratio: 2 / 1; } }
/* Touch screens have no hover: keep the logo clean and let the tap open the page */
@media (hover: none) { .brand-tile__info { display: none; } .brand-tile a:hover .brand-tile__logo { transform: none; opacity: 1; filter: none; } }

/* Highlights carousel */
.carousel { position: relative; isolation: isolate; overflow: hidden; background: #050f2b; }
.carousel__viewport { position: relative; height: clamp(420px, 62vw, 720px); }
.carousel__slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0.9s; }
.carousel__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.carousel__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.08); transition: transform 7s ease-out; }
.carousel__slide.is-active .carousel__image { transform: scale(1); }
.carousel__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 43, 0.55), rgba(5, 15, 43, 0.78)); }
.carousel__content { width: min(100% - 8rem, 860px); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); text-align: center; color: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--glass-line); background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.carousel__content h2 { font-size: var(--step-3); color: var(--white); }
.carousel__content p { font-size: var(--step-1); color: var(--text); max-width: 56ch; margin-inline: auto; margin-bottom: 1.5rem; }
.carousel__slide .carousel__content > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.carousel__slide.is-active .carousel__content > * { opacity: 1; transform: none; }
.carousel__slide.is-active .carousel__content > :nth-child(1) { transition-delay: 0.25s; }
.carousel__slide.is-active .carousel__content > :nth-child(2) { transition-delay: 0.38s; }
.carousel__slide.is-active .carousel__content > :nth-child(3) { transition-delay: 0.5s; }
.carousel__arrow { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass-strong); color: var(--white); cursor: pointer; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background-color 0.25s, transform 0.3s var(--ease), border-color 0.25s; }
.carousel__arrow:hover { background: rgba(255, 255, 255, 0.22); border-color: var(--gold); transform: scale(1.08); }
.carousel__arrow--prev { left: clamp(0.5rem, 2vw, 2rem); }
.carousel__arrow--next { right: clamp(0.5rem, 2vw, 2rem); }
.carousel__controls { position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.75rem; pointer-events: none; }
.carousel__controls > * { pointer-events: auto; }
.carousel__dots { display: flex; gap: 0.25rem; }
.carousel__dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); transition: background-color 0.3s, transform 0.3s var(--ease); }
.carousel__dots button:hover::before { background: var(--white); }
.carousel__dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.5); box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.28); }
.carousel__pause { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass-strong); color: var(--white); cursor: pointer; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.carousel__pause:hover { border-color: var(--gold); }
.carousel__icon-play, .carousel__pause[aria-pressed="true"] .carousel__icon-pause { display: none; }
.carousel__pause[aria-pressed="true"] .carousel__icon-play { display: block; }
@media (max-width: 640px) {
  .carousel__viewport { height: 560px; }
  .carousel__content { width: calc(100% - 2rem); margin-bottom: 3.5rem; }
  .carousel__arrow { top: auto; bottom: 1.25rem; margin: 0; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__image { transform: none; transition: none; }
  .carousel__slide, .carousel__slide .carousel__content > * { transition: none; }
}

/* Awards and achievements */
.achievements { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.achievements__body p:not(.eyebrow) { color: var(--text-soft); font-size: var(--step-1); line-height: 1.6; }
.achievements__body strong { color: var(--white); }
.achievements__logos { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0 1.25rem; padding-top: 1.75rem; border-top: 2px solid var(--gold); }
.achievements__logos li { display: grid; place-items: center; padding: 0.9rem 1.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--glass-line); }
.achievements__logos .achievements__logo--dark { background: rgba(255, 255, 255, 0.06); }
.achievements__logos img { height: 58px; width: auto; }
.achievements__photo { margin: 0; padding: 2px; border-radius: var(--radius-lg); background: conic-gradient(from var(--spin), rgba(242, 193, 78, 0.9), rgba(31, 78, 156, 0.2) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(31, 78, 156, 0.2) 75%, rgba(242, 193, 78, 0.9)); animation: spin 9s linear infinite; }
.achievements__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
@media (max-width: 860px) { .achievements { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .achievements__photo { animation: none; } }
