/* /css/site.css
 * TCM Alliance Group public 2026 reset — release 2026.09.04-r36
 * Only used by index.php, over.php and contact.php through /partials/home_header.php.
 * Existing legacy CSS remains untouched.
 */

:root {
    --navy: #0a3150;
    --navy-deep: #06263f;
    --green: #446733;
    --green-bright: #2f9a6d;
    --green-dark: #103100;
    --white: #ffffff;
    --ink: #173247;
    --muted: #647787;
    --line: #d9e4e8;
    --soft: #f5f8f9;
    --shadow: 0 22px 60px rgba(6, 38, 63, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding-top: 100px;
    font-family: Inter, Arial, "Helvetica Neue", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.public-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Public navigation — TCM Alliance dark green identity */
.public-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: #082d20;
    border-bottom: 1px solid rgba(213, 174, 80, .48);
    box-shadow: 0 10px 30px rgba(0, 15, 10, .34);
}
.public-nav__bar { min-height: 100px; display: flex; align-items: center; }
.public-nav__inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.public-nav__slogan {
    color: #d7c07b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    white-space: nowrap;
}
.public-nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: center; }
.public-nav__brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.34));
}
.public-nav__brand span { display: grid; line-height: 1.05; }
.public-nav__brand strong {
    color: #f2d67e;
    font-size: 15px;
    letter-spacing: .11em;
    text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.public-nav__brand small {
    margin-top: 5px;
    color: #d8b85f;
    font-weight: 700;
    letter-spacing: .08em;
}
.public-nav__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.public-language { position: relative; }
.public-language__button {
    min-height: 40px;
    min-width: 146px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(231, 202, 121, .72);
    background: #0d3a2a;
    color: #fff;
    border-radius: 999px;
    padding: 0 13px 0 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.public-language__button:hover,
.public-language.is-open .public-language__button {
    background: #134b36;
    border-color: #f0d481;
}
.public-language__button img,
.public-language__option img {
    width: 22px;
    height: 15px;
    flex: 0 0 22px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.42);
}
.public-language__button > span:not(.public-language__chevron) { white-space: nowrap; }
.public-language__chevron {
    width: 8px;
    height: 8px;
    margin-left: auto;
    flex: 0 0 8px;
    border-right: 1.7px solid #f2d67e;
    border-bottom: 1.7px solid #f2d67e;
    transform: translateY(-2px) rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform .18s ease;
    font-size: 0;
    line-height: 0;
}
.public-language.is-open .public-language__chevron { transform: translateY(2px) rotate(225deg); }
.public-language__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    width: 190px;
    display: none;
    padding: 6px;
    overflow: visible;
    background: #082d20;
    border: 1px solid rgba(231, 202, 121, .58);
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 12, 8, .42);
}
.public-language.is-open .public-language__menu { display: grid; }
.public-language__option {
    display: grid;
    grid-template-columns: 22px minmax(0,1fr) 16px;
    gap: 9px;
    align-items: center;
    min-height: 34px;
    padding: 5px 8px;
    border-radius: 7px;
    color: #f6f3e9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}
.public-language__option:hover {
    background: #15533a;
    color: #fff;
}
.public-language__option.is-active {
    background: #e3c467;
    color: #082d20;
}
.public-language__option.is-active::after {
    content: "✓";
    grid-column: 3;
    justify-self: center;
    align-self: center;
    color: #082d20;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}
@media (max-height: 560px) and (min-width: 761px) {
    .public-language__menu {
        max-height: calc(100vh - 125px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}
.public-nav__menu-button {
    min-height: 42px;
    border: 1px solid #e3c467;
    border-radius: 999px;
    background: #e3c467;
    color: #082d20;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.public-nav__menu-button:hover,
.public-nav__menu-button.is-open {
    background: #fff;
    border-color: #fff;
    color: #082d20;
}
.public-nav__menu-icon { width: 19px; display: grid; gap: 4px; }
.public-nav__menu-icon i { display: block; width: 19px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.public-nav__menu-button.is-open .public-nav__menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.public-nav__menu-button.is-open .public-nav__menu-icon i:nth-child(2) { opacity: 0; }
.public-nav__menu-button.is-open .public-nav__menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.public-nav__menu {
    display: none;
    background: #061f17;
    border-top: 1px solid rgba(231, 202, 121, .28);
    border-bottom: 1px solid rgba(231, 202, 121, .38);
    box-shadow: 0 18px 34px rgba(0, 12, 8, .26);
}
.public-nav__menu.is-open { display: block; }
.public-nav__menu-inner { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-block: 18px 22px; }
.public-nav__menu-inner a {
    position: relative;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 0;
}
.public-nav__menu-inner a:hover,
.public-nav__menu-inner a.is-active { color: #f0d481; }
.public-nav__menu-inner a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #e3c467;
    transition: width .2s ease;
}
.public-nav__menu-inner a:hover::after,
.public-nav__menu-inner a.is-active::after { width: 100%; }

/* Shared typography and buttons */
.section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.section-kicker--light { color: #d9ead1; }
.section-kicker--hero { color: #8edeb8; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--green { background: var(--green-bright); color: var(--white); }
.button--green:hover { background: #27855d; }
.button--navy { background: var(--navy); color: var(--white); }
.button--navy:hover { background: var(--navy-deep); }
.button--outline { color: var(--white); border-color: rgba(255,255,255,.58); background: transparent; }
.button--outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.section-white { background: var(--white); color: var(--ink); }
.section-navy { background: var(--navy); color: var(--white); }
.section-green { background: var(--green); color: var(--white); }

/* Homepage hero photo — text is intentionally placed in the green section below */
.home-hero {
    position: relative;
    min-height: clamp(430px, 43vw, 690px);
    overflow: hidden;
    background-color: #041c14;
    background-image: url('/img/home-hero.jpg');
    background-size: cover;
    background-position: center;
}
.home-hero::before { display: none; }
.home-hero__inner,
.home-hero__copy,
.home-hero__regions { display: none; }

/* Alliance identity — deep green + gold, inspired by the heritage artwork */
.alliance-identity {
    position: relative;
    padding: 88px 0 94px;
    background: #0a4a1d;
    color: #fff;
    border-top: 1px solid rgba(226,174,73,.50);
    border-bottom: 1px solid rgba(226,174,73,.42);
}
.alliance-identity__intro {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}
.section-kicker--gold {
    color: #e2ae49;
}
.alliance-identity h1 {
    margin: 18px 0 18px;
    color: #efc76c;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    line-height: .96;
    letter-spacing: .035em;
    text-shadow: 0 2px 0 rgba(0,0,0,.28);
}
.alliance-identity__intro > p {
    max-width: 1100px;
    margin: 0 auto;
    color: rgba(255,255,255,.86);
    font-size: clamp(1.05rem,1.5vw,1.25rem);
    line-height: 1.68;
}
.alliance-identity .hero-actions {
    justify-content: center;
    margin-top: 30px;
}
.button--gold {
    background: #d7a23d;
    color: #05291c;
    border-color: #d7a23d;
}
.button--gold:hover {
    background: #efc76c;
    border-color: #efc76c;
}
.button--gold-outline {
    color: #efc76c;
    border-color: rgba(239,199,108,.70);
    background: transparent;
}
.button--gold-outline:hover {
    color: #05291c;
    background: #efc76c;
    border-color: #efc76c;
}
.alliance-identity__regions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin-top: 30px;
    color: rgba(239,199,108,.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}
.alliance-expertise {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin-top: 68px;
    padding-top: 38px;
    border-top: 1px solid rgba(226,174,73,.42);
}
.alliance-expertise__card {
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(0,0,0,.10);
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}
.alliance-expertise__copy {
    min-height: 118px;
    padding: 18px 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.alliance-expertise__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center;
    flex: 0 0 auto;
}
.alliance-expertise__local {
    color: #ffffff;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(1.05rem,1.35vw,1.3rem);
    font-weight: 400;
    line-height: 1.05;
}
html[lang="ar"] .alliance-expertise__local {
    font-family: "Noto Naskh Arabic", "Times New Roman", serif;
    font-size: clamp(1.05rem,1.3vw,1.3rem);
    line-height: 1.35;
}
.alliance-expertise__diamond {
    margin: 10px 0 7px;
    color: #d7a23d;
    font-size: 10px;
    line-height: 1;
}
.alliance-expertise__zh {
    color: #f1cf7d;
    font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
    font-size: clamp(.92rem,1.05vw,1.08rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: .08em;
}

/* Network introduction */
.network-intro { padding: 92px 0; }
.network-intro__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(440px,1.1fr); gap: clamp(50px,8vw,110px); align-items: start; }
.network-intro h2 { margin: 16px 0 18px; color: var(--navy); font-size: clamp(2rem,3.5vw,3.1rem); line-height: 1.08; letter-spacing: -.035em; }
.network-intro p { margin: 0; color: var(--muted); font-size: 17px; }
.cluster-nav { display: grid; border-top: 1px solid var(--line); }
.cluster-nav a { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; min-height: 72px; padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--navy); transition: padding .2s ease, color .2s ease, background .2s ease; }
.cluster-nav a:hover, .cluster-nav a.is-active { padding-left: 14px; color: var(--green); background: #f7faf7; }
.cluster-nav__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.cluster-nav__icon img { display: block; width: 40px; height: 40px; }
.cluster-nav strong { font-size: 15px; }

/* Website stories — r35 */
.site-cluster {
    position: relative;
    padding: 104px 0 112px;
    overflow: hidden;
}
.site-cluster::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    right: -190px;
    top: 90px;
    pointer-events: none;
    background: rgba(255,255,255,.045);
}
.section-white.site-cluster::before { background: rgba(10,49,80,.035); }
.site-cluster__intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 76px minmax(0, 880px);
    gap: 26px;
    align-items: start;
    margin-bottom: 52px;
}
.site-cluster__mark {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-cluster__mark img {
    width: 56px;
    height: 56px;
    display: block;
}

.site-cluster__heading h2 {
    margin: 0 0 15px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem,3.25vw,3rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.025em;
}
.site-cluster__heading p {
    max-width: 850px;
    margin: 0;
    font-size: clamp(1rem,1.35vw,1.14rem);
    line-height: 1.7;
}
.section-white .site-cluster__heading h2 { color: var(--navy); }
.section-white .site-cluster__heading p { color: var(--muted); }
.section-green .site-cluster__heading h2,
.section-navy .site-cluster__heading h2 { color: #fff; }
.section-green .site-cluster__heading p,
.section-navy .site-cluster__heading p { color: rgba(255,255,255,.82); }

.site-story-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34px;
}
.site-story {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
    min-height: 390px;
    overflow: hidden;
    border-radius: 26px;
    background: #f6f9fa;
    color: var(--ink);
    border: 1px solid rgba(10,49,80,.09);
    box-shadow: 0 18px 52px rgba(6,38,63,.08);
    transform: translateX(-12px);
    transition: transform .28s ease, box-shadow .28s ease;
}
.site-story--reverse {
    grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
    transform: translateX(12px);
}
.site-story:hover {
    transform: translateX(-12px) translateY(-4px);
    box-shadow: 0 26px 66px rgba(6,38,63,.14);
}
.site-story--reverse:hover { transform: translateX(12px) translateY(-4px); }
.section-green .site-story {
    background: #36572c;
    color: #fff;
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 20px 54px rgba(17,49,0,.22);
}
.section-navy .site-story {
    background: #0c3b5f;
    color: #fff;
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 20px 54px rgba(0,18,34,.25);
}
.site-story__media {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: #e9eff2;
}
.site-story__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}
.site-story__media img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform .55s ease;
}
.site-story:hover .site-story__media img { transform: scale(1.025); }
.site-story--reverse .site-story__media { order: 2; }
.site-story--reverse .site-story__content { order: 1; }
.site-story__content {
    position: relative;
    min-width: 0;
    padding: 42px clamp(32px,4.5vw,58px) 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.site-story__content::after {
    content: "";
    position: absolute;
    width: 74px;
    height: 6px;
    left: 0;
    bottom: 0;
    background: #d7a23d;
}
.site-story--reverse .site-story__content::after {
    left: auto;
    right: 0;
}
.site-story__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.site-story__logo {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    max-width: 80px;
    min-height: 80px;
    max-height: 80px;
    object-fit: contain;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(6,38,63,.12);
}

.site-story__focus {
    display: block;
    margin: 0 0 10px;
    color: #9b701e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.section-green .site-story__focus,
.section-navy .site-story__focus { color: #f1c861; }
.site-story h3 {
    margin: 0 0 16px;
    color: var(--navy);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem,2.45vw,2.25rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.02em;
}
.section-green .site-story h3,
.section-navy .site-story h3 { color: #fff; }
.site-story p {
    margin: 0;
    max-width: 650px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.72;
}
.section-green .site-story p,
.section-navy .site-story p { color: rgba(255,255,255,.84); }
.site-story__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-bottom: 4px;
    border-bottom: 2px solid currentColor;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}
.section-green .site-story__link,
.section-navy .site-story__link { color: #f1cf7d; }
.site-story__link span { transition: transform .2s ease; }
.site-story__link:hover span { transform: translate(3px,-3px); }

/* Final CTA */
.home-final { padding: 82px 0 88px; border-top: 1px solid var(--line); }
.home-final__inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 72px; }
.home-final__copy { max-width: 940px; }
.home-final h2 { margin: 14px 0 10px; color: var(--navy); font-size: clamp(1.85rem,2.7vw,2.45rem); font-weight: 600; line-height: 1.08; }
.home-final p { max-width: 940px; margin: 0 0 18px; color: var(--muted); line-height: 1.68; }
.home-final__lead { margin-bottom: 24px !important; color: var(--navy) !important; font-size: clamp(1.06rem,1.5vw,1.24rem); }
.home-final__routes { color: var(--navy) !important; line-height: 1.78 !important; }
.home-final__statement { margin-top: 24px !important; color: var(--navy) !important; }
.home-final__info { margin-bottom: 0 !important; }
.home-final__button { align-self: center; white-space: nowrap; }

/* Subpages */
.subpage-hero { padding: 94px 0; }
.subpage-hero__inner { max-width: 900px; }
.subpage-hero h1 { margin: 18px 0 18px; font-size: clamp(2.45rem,4.2vw,4rem); line-height: .98; letter-spacing: -.045em; }
.subpage-hero p { max-width: 760px; margin: 0; font-size: clamp(1.08rem,1.6vw,1.32rem); line-height: 1.65; color: rgba(255,255,255,.82); }
.subpage-content { padding: 94px 0; }
.subpage-copy { max-width: 820px; }
.subpage-copy h2 { margin: 16px 0 18px; color: var(--navy); font-size: clamp(2rem,3.4vw,3rem); line-height: 1.08; }
.subpage-copy p { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.contact-section { padding: 94px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { min-height: 320px; padding: 36px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.contact-card--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.contact-card h2 { margin: 18px 0 14px; font-size: 30px; color: var(--navy); }
.contact-card--dark h2 { color: var(--white); }
.contact-card p { margin: 0 0 26px; color: var(--muted); }
.contact-card--dark p { color: rgba(255,255,255,.80); }

/* Footer — historic TCM Alliance dark green */
.public-footer { background: var(--green-dark); color: var(--white); padding: 68px 0 0; }
.public-footer__heading { padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.16); }
.public-footer__heading h2 { margin: 12px 0 0; font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.08; }
.public-footer__offices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 38px 0 40px; }
.public-footer__office { min-height: 270px; padding: 26px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); }
.public-footer__office h3 { margin: 0 0 16px; color: var(--white); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.public-footer__office p { margin: 0; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.72; }
.public-footer__office-contact { margin-top: 18px !important; }
.public-footer__office a { color: var(--white); font-weight: 700; }
.public-footer__office a:hover { text-decoration: underline; text-underline-offset: 3px; }
.public-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.56); font-size: 12px; }
.public-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 24px; }
.public-footer__legal a, .public-footer__cookie-settings { color: rgba(255,255,255,.78); font: inherit; }
.public-footer__legal a:hover, .public-footer__cookie-settings:hover { color: var(--white); }
.public-footer__cookie-settings { border: 0; padding: 0; background: transparent; cursor: pointer; }

/* Cookie notice */
.cookie-notice[hidden] { display: none; }
.cookie-notice { position: fixed; z-index: 2000; left: 20px; right: 20px; bottom: 20px; }
.cookie-notice__inner { width: min(1120px,100%); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 22px 24px; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 22px 70px rgba(6,38,63,.24); }
.cookie-notice__copy { max-width: 720px; }
.cookie-notice__copy strong { display: block; color: var(--navy); font-size: 16px; }
.cookie-notice__copy p { margin: 5px 0 3px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.cookie-notice__copy a { color: var(--green); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.cookie-button { min-height: 44px; padding: 0 18px; border: 1px solid transparent; cursor: pointer; font-weight: 800; font-size: 13px; }
.cookie-button--primary { background: var(--green-bright); color: var(--white); border-color: var(--green-bright); }
.cookie-button--secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.cookie-button:hover { transform: translateY(-1px); }

/* Legal pages */
.legal-page { padding: 84px 0 100px; }
.legal-page__inner { max-width: 880px; }
.legal-page h1 { margin: 16px 0 18px; color: var(--navy); font-size: clamp(2.45rem,4.2vw,4rem); line-height: .98; letter-spacing: -.045em; }
.legal-page__intro { margin: 0 0 48px; color: var(--muted); font-size: 17px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 12px; color: var(--navy); font-size: 22px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 15px; line-height: 1.72; }
.legal-section p { margin: 0 0 12px; }
.legal-section ul { margin: 10px 0 0; padding-left: 20px; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
    .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* RTL */
html[dir="rtl"] .site-card::after { transform-origin: right; }
html[dir="rtl"] .cluster-nav a:hover, html[dir="rtl"] .cluster-nav a.is-active { padding-left: 6px; padding-right: 14px; }

@media (max-width: 1050px) {
    .public-nav__slogan { display: none; }
    .public-nav__inner { grid-template-columns: 1fr auto; }
    .public-nav__brand { justify-self: start; }
    .network-intro__grid { grid-template-columns: 1fr; }
    .site-story, .site-story--reverse { transform: none; }
    .site-story:hover, .site-story--reverse:hover { transform: translateY(-4px); }
}

@media (max-width: 760px) {
    body { padding-top: 84px; }
    .public-container, .public-nav__inner { width: min(100% - 28px,1180px); }
    .public-nav__bar { min-height: 84px; }
    .public-nav__brand img { width: 46px; height: 46px; }
    .public-nav__brand strong { font-size: 11px; }
    .public-nav__brand small { font-size: 9px; }
    .public-language__button { min-width: 48px; width: 48px; padding: 0 9px; justify-content: center; }
    .public-language__button > span:not(.public-language__chevron) { display: none; }
    .public-language__chevron { display: none; }
    .public-language__menu { right: 0; width: 205px; }
    .public-nav__menu-button { width: 42px; padding: 0; justify-content: center; }
    .public-nav__menu-button > span:last-child { display: none; }
    .public-nav__menu-inner { display: grid; gap: 8px; }
    .home-hero { min-height: 560px; background-position: 62% center; }
    .home-hero::before { width: 88%; }
    .home-hero__inner { padding-block: 68px 78px; }
    .home-hero h1 { font-size: clamp(2.35rem,12vw,3.8rem); }
    .network-intro, .site-cluster, .subpage-content, .contact-section { padding: 70px 0; }
    .network-intro__grid { gap: 38px; }
    .site-cluster__intro { grid-template-columns: 58px 1fr; gap: 18px; margin-bottom: 36px; }
    .site-cluster__mark { width: 52px; height: 52px; }
    .site-cluster__mark img { width: 46px; height: 46px; }
    .site-story, .site-story--reverse { grid-template-columns: 1fr; border-radius: 20px; }
    .site-story__media, .site-story--reverse .site-story__media { order: 1; min-height: 0; aspect-ratio: 4 / 3; }
    .site-story__media img { min-height: 0; height: 100%; }
    .site-story__content, .site-story--reverse .site-story__content { order: 2; padding: 30px 26px 32px; }
    .site-story--reverse .site-story__content::after { left: 0; right: auto; }
    .site-story__topline { margin-bottom: 18px; }
    .site-story__logo { width: 68px !important; height: 68px !important; min-width: 68px; max-width: 68px; min-height: 68px; max-height: 68px; }
    .home-final__inner { align-items: flex-start; flex-direction: column; gap: 28px; }
    .contact-grid { grid-template-columns: 1fr; }
    .public-footer__offices { grid-template-columns: 1fr; }
    .public-footer__bottom { align-items: flex-start; flex-direction: column; }
    .public-footer__legal { justify-content: flex-start; }
    .cookie-notice { left: 12px; right: 12px; bottom: 12px; }
    .cookie-notice__inner { align-items: flex-start; flex-direction: column; gap: 18px; padding: 20px; }
    .cookie-notice__actions { width: 100%; justify-content: stretch; }
    .cookie-button { flex: 1 1 180px; }
}


/* r24 responsive identity grid */
@media (max-width: 900px) {
   .alliance-identity { padding: 72px 0 78px; }
    .alliance-expertise { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 54px; }
}
@media (max-width: 620px) {
    .home-hero { min-height: 390px; background-position: center; }
   .alliance-identity { padding: 60px 0 64px; }
    .alliance-identity h1 { font-size: clamp(1.85rem,8vw,2.7rem); letter-spacing: .015em; }
    .alliance-expertise { grid-template-columns: 1fr; gap: 12px; margin-top: 44px; padding-top: 28px; }
    .alliance-expertise__copy { min-height: 108px; padding: 16px 18px 14px; }
}


/* r34 — white East/West introduction + full-width blue integration section */
.integration-intro {
    background: #fff;
    padding: 84px 0 0;
}
.integration-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: stretch;
    gap: 64px;
}
.integration-intro__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 0 72px;
    max-width: 720px;
}
.integration-intro__kicker {
    display: block;
    margin-bottom: 22px;
    color: #b88624;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.integration-intro__kicker::after {
    content: "";
    display: block;
    width: 54px;
    height: 1px;
    margin-top: 16px;
    background: #d7a84e;
}
.integration-intro h2 {
    margin: 0 0 24px;
    max-width: 760px;
    color: #103f2a;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 4vw, 4.25rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.025em;
}
.integration-intro p {
    margin: 0;
    max-width: 760px;
    color: #4f5963;
    font-size: 1.07rem;
    line-height: 1.72;
}
.integration-intro__media {
    align-self: end;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f2f4f5;
}
.integration-intro__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.integration-section {
    width: 100%;
    padding: 0;
    background: #0a3150;
    color: #fff;
}
.integration-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding-top: 58px;
    padding-bottom: 62px;
}
.integration-panel__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 0 52px;
}
.integration-panel__text--left {
    padding-left: 0;
    border-right: 1px solid rgba(216, 171, 80, .55);
}
.integration-panel__text--right {
    padding-right: 0;
}
.integration-panel__kicker {
    display: block;
    margin-bottom: 12px;
    color: #d9aa4c;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.integration-panel h2 {
    margin: 0 0 22px;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.15vw, 2.45rem);
    font-weight: 500;
    line-height: 1.06;
}
.integration-panel p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 1rem;
    line-height: 1.76;
}
.integration-panel p + p {
    margin-top: 20px;
}
html[dir="rtl"] .integration-panel__text { text-align: right; }
html[dir="rtl"] .integration-panel__text--left {
    padding-left: 52px;
    padding-right: 0;
    border-right: 0;
    border-left: 1px solid rgba(216, 171, 80, .55);
}
html[dir="rtl"] .integration-panel__text--right {
    padding-left: 0;
    padding-right: 52px;
}

@media (max-width: 960px) {
    .integration-intro { padding-top: 66px; }
    .integration-intro__grid { grid-template-columns: 1fr 360px; gap: 36px; }
    .integration-intro__copy { padding: 24px 0 52px; }
    .integration-panel__text { padding: 0 34px; }
    .integration-panel__text--left { padding-left: 0; }
    .integration-panel__text--right { padding-right: 0; }
}
@media (max-width: 760px) {
    .integration-intro { padding: 56px 0 0; }
    .integration-intro__grid { grid-template-columns: 1fr; gap: 0; }
    .integration-intro__copy { max-width: none; padding: 0 0 42px; }
    .integration-intro h2 { font-size: clamp(2.25rem, 10vw, 3.35rem); }
    .integration-intro__media { width: min(100%, 520px); }
    .integration-panel {
        grid-template-columns: 1fr;
        padding-top: 38px;
        padding-bottom: 42px;
    }
    .integration-panel__text,
    html[dir="rtl"] .integration-panel__text {
        padding: 30px 0;
    }
    .integration-panel__text--left,
    html[dir="rtl"] .integration-panel__text--left {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid rgba(216, 171, 80, .45);
    }
}
@media (max-width: 520px) {
    .integration-intro { padding-top: 44px; }
    .integration-intro__copy { padding-bottom: 34px; }
    .integration-intro p { font-size: 1rem; }
    .integration-panel { padding-top: 24px; padding-bottom: 28px; }
}

