/* ==========================================================================
   UAN homepage. Uses the tokens defined in uan-chrome.css; everything is scoped to .uan-home.
   ========================================================================== */

.uan-home { display: block; font-family: var(--uan-sans); color: var(--uan-ink); -webkit-font-smoothing: antialiased; }
.uan-home *, .uan-home *::before, .uan-home *::after { box-sizing: border-box; }
.uan-home ul, .uan-home dl, .uan-home dd { list-style: none; margin: 0; padding: 0; }
.uan-home li { margin: 0; padding: 0; }
.uan-home li::before { content: none; }
.uan-home p { margin: 0; }
.uan-home figure { margin: 0; }
.uan-home a { text-decoration: none; transition: color .25s var(--uan-ease), background-color .25s var(--uan-ease), border-color .25s var(--uan-ease); }
.uan-home :focus-visible { outline: 2px solid var(--uan-brass); outline-offset: 3px; }
.uan-home h1, .uan-home h2 {
    margin: 0; font-family: var(--uan-serif); font-weight: 500; letter-spacing: -.005em;
    text-transform: none; color: var(--uan-navy);
}

/* ---------- hero: the London film behind a navy wash ---------- */
.uan-home .uan-hero {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center;
    min-height: clamp(600px, calc(100vh - 172px), 820px);
    background: var(--uan-navy); color: #fff;
}
.uan-hero__media { position: absolute; inset: 0; z-index: -1; }
.uan-hero__media img, .uan-hero__media video {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%;
}
.uan-hero__video { opacity: 0; transition: opacity 1.2s var(--uan-ease); }
.uan-hero__video.is-playing { opacity: 1; }
.uan-hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 20, 64, .94) 0%, rgba(3, 20, 64, .82) 38%, rgba(3, 20, 64, .38) 72%, rgba(3, 20, 64, .5) 100%),
        linear-gradient(0deg, rgba(2, 12, 43, .55) 0%, rgba(2, 12, 43, 0) 40%);
}

.uan-hero__inner {
    display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(48px, 7vw, 120px); align-items: center;
    padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px);
}
.uan-home .uan-hero__title {
    max-width: 17ch; font-size: clamp(44px, 5vw, 76px); line-height: 1.03; color: #fff; text-wrap: balance;
}
.uan-hero__lead { max-width: 44ch; margin-top: 28px !important; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.uan-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.uan-home .uan-btn--brass { background: var(--uan-brass); border-color: var(--uan-brass); color: var(--uan-navy); }
.uan-home .uan-btn--brass:hover { background: #fff; border-color: #fff; color: var(--uan-navy); }
.uan-home .uan-hero__call { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: #fff; }
.uan-hero__call .uan-ico { width: 17px; height: 17px; color: var(--uan-brass); }
.uan-home .uan-hero__call:hover { color: var(--uan-brass); }

.uan-hero__form { background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); min-height: 420px; }

/* one orchestrated entrance on load */
@keyframes uan-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.uan-hero__title, .uan-hero__lead, .uan-hero__actions, .uan-hero__form { animation: uan-rise .9s var(--uan-ease) both; }
.uan-hero__lead { animation-delay: .12s; }
.uan-hero__actions { animation-delay: .22s; }
.uan-hero__form { animation-delay: .32s; }

/* ---------- introduction ---------- */
.uan-home .uan-intro { padding: clamp(80px, 10vw, 144px) 0 clamp(64px, 7vw, 96px); background: #fff; }
.uan-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 120px); align-items: end; }
.uan-home .uan-intro__title { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.14; text-wrap: pretty; }
.uan-intro__text p { font-size: 16.5px; line-height: 1.75; color: var(--uan-muted); margin-bottom: 28px; }

.uan-partners {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
    margin-top: clamp(64px, 8vw, 112px); padding-top: 32px; border-top: 1px solid var(--uan-line);
}
.uan-partners__label { max-width: 22ch; font-size: 14px; line-height: 1.5; color: var(--uan-muted); }
.uan-partners__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 40px; }
.uan-partners__list img {
    display: block; width: 120px; height: 120px; object-fit: contain;
    filter: grayscale(1) contrast(1.1); opacity: .62; transition: filter .3s var(--uan-ease), opacity .3s var(--uan-ease);
}
.uan-partners__list li:hover img { filter: none; opacity: 1; }

/* ---------- services ---------- */
.uan-home .uan-services { padding: clamp(80px, 10vw, 140px) 0; background: var(--uan-ivory); }
.uan-services__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.uan-services__intro { position: sticky; top: 100px; }
.uan-home .uan-services__title { font-size: clamp(38px, 4vw, 60px); line-height: 1.05; }
.uan-services__intro p { max-width: 34ch; margin: 22px 0 32px; font-size: 16.5px; line-height: 1.7; color: var(--uan-muted); }

.uan-services__list { border-top: 1px solid var(--uan-stone); }
.uan-services__list li { border-bottom: 1px solid var(--uan-stone); }
.uan-home .uan-svc {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 6px; align-items: center;
    padding: 26px 4px; color: var(--uan-ink);
}
.uan-svc__name { font-family: var(--uan-serif); font-size: clamp(25px, 2.2vw, 32px); font-weight: 500; line-height: 1.15; color: var(--uan-navy); transition: color .25s var(--uan-ease); }
.uan-svc__desc { grid-column: 1; font-size: 15.5px; line-height: 1.6; color: var(--uan-muted); }
.uan-svc .uan-ico {
    grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--uan-brass-text);
    transform: rotate(-90deg); transition: transform .3s var(--uan-ease);
}
.uan-home .uan-svc:hover .uan-svc__name { color: var(--uan-brass-text); }
.uan-svc:hover .uan-ico { transform: rotate(-90deg) translateY(4px); }

/* ---------- approach ---------- */
.uan-home .uan-approach { padding: clamp(80px, 10vw, 144px) 0; background: #fff; }
.uan-approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.uan-approach__media { position: relative; }
.uan-approach__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.uan-home .uan-approach__title { max-width: 16ch; text-wrap: balance; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.06; margin-bottom: 28px; }
.uan-approach__copy > p { max-width: 58ch; font-size: 16.5px; line-height: 1.75; color: var(--uan-muted); }
.uan-approach__copy > p + p { margin-top: 18px; }
.uan-approach__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px !important; }
.uan-approach__points > div { padding-top: 22px; border-top: 1px solid var(--uan-brass); }
.uan-approach__points dt { margin: 0 0 10px; font-family: var(--uan-serif); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--uan-navy); }
.uan-approach__points dd { font-size: 14.5px; line-height: 1.65; color: var(--uan-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .uan-hero__inner { grid-template-columns: minmax(0, 1fr) 380px; }
    .uan-services__intro { top: 96px; }
    .uan-approach__points { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 899px) {
    .uan-home .uan-hero { min-height: 0; display: block; }
    .uan-hero__media::after {
        background: linear-gradient(180deg, rgba(3, 20, 64, .78) 0%, rgba(3, 20, 64, .88) 55%, var(--uan-navy) 100%);
    }
    .uan-hero__inner { grid-template-columns: 1fr; }
    .uan-hero__form { max-width: 560px; }
    .uan-intro__grid, .uan-services__grid, .uan-approach__grid { grid-template-columns: 1fr; }
    .uan-services__intro { position: static; }
    .uan-approach__media img { aspect-ratio: 4 / 3; }
    .uan-approach__points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .uan-hero__lead { font-size: 17px; }
    .uan-hero__actions .uan-btn { width: 100%; }
    .uan-partners { flex-direction: column; align-items: flex-start; }
    .uan-partners__list { gap: 4px 20px; }
    .uan-partners__list img { width: 72px; height: 72px; }
    .uan-home .uan-svc { padding: 22px 0; }
    .uan-approach__points { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .uan-home *, .uan-home *::before, .uan-home *::after { animation: none !important; transition: none !important; }
}
