:root {
    --ir-ink: #181818;
    --ir-blue: #244bff;
    --ir-violet: #7a2cff;
    --ir-surface: #edf4ff;
    --ir-content: 1600px;
    --ir-gutter: clamp(20px, 8.3333vw, 160px);
    --ir-section-space: clamp(44px, 4.3vw, 82px);
    --ir-action-gradient: linear-gradient(92deg, #7a2cff, #29aeff);
}

body {
    margin: 0;
    color: var(--ir-ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

.ir-container {
    width: min(var(--ir-content), calc(100% - 2 * var(--ir-gutter)));
    margin-inline: auto;
}

.ir-page-heading { padding-block: var(--ir-section-space); }
.ir-page-heading h1 { margin: 0; }
.ir-rich { overflow-wrap: anywhere; line-height: 1.65; }
.ir-rich > :first-child { margin-top: 0; }
.ir-rich > :last-child { margin-bottom: 0; }
.ir-rich img { max-width: 100%; height: auto; }
.ir-rich a { color: inherit; text-underline-offset: .16em; }

.ir-button, .ir-accent-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.ir-button {
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    min-height: 44px;
    min-width: 141px;
    padding: .55rem 1.35rem;
    border: 1px solid #acacac;
    border-radius: 8px;
    color: var(--ir-ink);
    background: #fff;
    transition: border-color 300ms ease-out, color 300ms ease-out;
}

.ir-button::before {
    position: absolute;
    z-index: -1;
    inset: -1px;
    border-radius: inherit;
    background: var(--ir-action-gradient);
    opacity: 0;
    content: "";
    transition: opacity 300ms ease-out;
}

.ir-button:is(:hover, :focus-visible) { border-color: transparent; color: #fff; }
.ir-button:is(:hover, :focus-visible)::before { opacity: 1; }
.ir-button img { transition: filter 300ms ease-out, transform 300ms ease-out; }
.ir-button:is(:hover, :focus-visible) img { filter: brightness(0) invert(1); transform: translate(2px, -2px); }
.ir-accent-link { color: #5429da; }
.ir-accent-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.ir-button img, .ir-accent-link img { width: 12px; height: 12px; }

.ir-hero { position: relative; background: #dff2fe; isolation: isolate; }
.ir-hero--home { background: #09172f; }
.ir-hero:has(.ir-hero__dot) { touch-action: pan-y pinch-zoom; }
.ir-hero__slide { position: relative; display: grid; align-items: center; isolation: isolate; overflow: clip; min-height: clamp(min(var(--banner-height), 250px), var(--banner-fluid), var(--banner-height)); }
.ir-hero__slide[hidden] { display: none; }
.ir-hero__backdrop { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.ir-hero__slide--media::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #081426bf, #08142618 70%); }
.ir-hero__art {
    position: absolute;
    z-index: -1;
    inset-inline-end: var(--art-end, 24%);
    top: var(--art-center, 50%);
    width: var(--art-width, min(20vw, 384px));
    max-height: var(--art-height, 106%);
    object-fit: contain;
    transform: translateY(-50%);
}
.ir-hero--home .ir-hero__art { inset-inline-start: 43.07%; inset-inline-end: auto; width: min(22.813vw, 438px); max-height: 90%; }
.ir-hero--about { --art-end: 23.438%; --art-width: min(18.125vw, 348px); }
.ir-hero--governance { --art-end: 19.896%; --art-width: min(21.771vw, 418px); --art-center: 46.29%; }
.ir-hero--financial-reports { --art-end: 24.583%; --art-width: min(19.531vw, 375px); --art-center: 53.59%; }
.ir-hero--announcements { --art-end: 27.917%; --art-width: min(21.146vw, 406px); --art-center: 52.72%; }
.ir-hero--share-price { --art-end: 25.156%; --art-width: min(24.740vw, 475px); --art-center: 53.71%; --art-height: 88.12%; }
.ir-hero--esg { --art-end: 25.833%; --art-width: min(22.292vw, 428px); --art-center: 53.96%; }
.ir-hero--news { --art-end: 26.25%; --art-width: min(19.323vw, 371px); }
.ir-hero--contact { --art-end: 26.354%; --art-width: min(18.75vw, 360px); --art-center: 54.46%; }
.ir-hero__copy { position: relative; padding-block: 48px; }
.ir-hero--home .ir-hero__copy { inset-block-start: max(-16px, -.83vw); }
.ir-hero h1, .ir-hero__heading {
    width: fit-content;
    max-width: 64%;
    margin: 0;
    font-size: clamp(36px, 3.18vw, 60px);
    line-height: 1.15;
    font-weight: 800;
    color: #5d44e9;
    background-image: linear-gradient(90deg, #7a2cff, #6ba0fd);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ir-hero--home h1, .ir-hero--home .ir-hero__heading { background-image: linear-gradient(90deg, #29aaff, #7a2cff); }
.ir-hero__slide--media h1, .ir-hero__slide--media .ir-hero__heading { color: white; background: none; -webkit-text-fill-color: initial; }
.ir-hero__summary { max-width: min(560px, 41vw); margin: 24px 0 0; color: #34395d; line-height: 1.55; }
.ir-hero--home .ir-hero__summary, .ir-hero__slide--media .ir-hero__summary { color: #fff; }
.ir-hero__copy .ir-button { margin-top: 18px; }
.ir-hero__controls { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 999px; color: white; background: #14213cdb; }
.ir-hero__controls[hidden] { display: none; }
.ir-hero__controls button { background: transparent; border: 0; color: inherit; padding: 0 6px; font: inherit; min-width: 28px; min-height: 34px; cursor: pointer; }
.ir-hero__dot::before { display: block; content: ""; border: 1px solid white; border-radius: 50%; width: .5rem; height: .5rem; margin: auto; }
.ir-hero__dot[aria-current="true"]::before { background: white; }

.ir-overview { padding-block: clamp(40px, 4.2vw, 80px) clamp(42px, 3.5vw, 68px); }
.ir-overview__grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); gap: clamp(30px, 4.5vw, 104px); align-items: start; }
.ir-overview__content h2, .ir-home-section > h2 { margin: 0 0 .75em; font-size: clamp(25px, 2.2vw, 40px); font-weight: 800; line-height: 1.25; }
.ir-overview__content .ir-rich { color: #4a4a4a; font-size: clamp(15px, 1.2vw, 20px); }
.ir-overview__content .ir-button { margin-top: clamp(22px, 2vw, 40px); }
.ir-overview__image { display: block; width: 100%; height: auto; aspect-ratio: 694 / 375; object-fit: cover; border-radius: clamp(14px, 1.4vw, 25px); }
.ir-overview__media { position: relative; }
.ir-overview__video-control { position: absolute; right: 12px; bottom: 12px; min-width: 38px; min-height: 38px; border: 1px solid #fff8; border-radius: 50%; background: #14213cdb; color: #fff; cursor: pointer; }
.ir-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2rem 0 0; gap: 1.15rem; }
.ir-metrics > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .48rem; }
.ir-metrics dt { font-size: .9rem; }
.ir-metrics dt::before { content: ""; display: block; height: 2px; width: 24px; margin-bottom: .45rem; background: #7a2cff; }
.ir-metrics dd { margin: 0; font-size: clamp(24px, 2.2vw, 40px); line-height: 1; white-space: nowrap; }
.ir-metrics dd small { font-size: .36em; color: #4a4a4a; }
.ir-count-up { display: inline-grid; font-variant-numeric: tabular-nums; }
.ir-count-up > span { grid-area: 1 / 1; }
.ir-count-up__target { opacity: 0; }
.ir-count-up__value { user-select: none; }

.ir-embed { display: block; border: 0; width: 100%; height: var(--ir-embed-height, clamp(26rem, 75svh, 56rem)); background: transparent; }
.ir-home-stock__panel .ir-embed { height: var(--ir-embed-height, clamp(8rem, 20svh, 11.25rem)); }
.ir-euroland-tool { display: block; width: 100%; }
.ir-home-sections { padding-block: clamp(46px, 3.1vw, 60px) var(--ir-section-space); background: var(--ir-surface); }
.ir-home-section + .ir-home-section, .ir-home-ai + .ir-home-section { margin-top: var(--ir-section-space); }
.ir-home-section > h2 { text-align: center; margin-bottom: clamp(24px, 3.2vw, 62px); }
.ir-home-stock__panel { border-radius: clamp(18px, 2.6vw, 50px); padding: clamp(12px, 1.6vw, 30px); background: #fff; }
.ir-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 34px); }
.ir-quick-card { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; box-sizing: border-box; min-height: clamp(190px, 14.1vw, 271px); padding: clamp(24px, 2.25vw, 44px) clamp(16px, 1.35vw, 26px) clamp(22px, 1.9vw, 36px); border: 1px solid #0004; border-radius: 25px; background: #fff; transition: color 300ms ease-out, border-color 300ms ease-out; }
.ir-quick-card::before { position: absolute; z-index: -1; inset: -1px; opacity: 0; content: ""; border-radius: inherit; background: linear-gradient(147deg, #7a2cff, #29aeff); transition: opacity 300ms ease-out; }
.ir-quick-card h3 { width: 100%; margin: 0; padding-bottom: .65em; border-bottom: 1px solid #0004; font-size: clamp(20px, 1.65vw, 30px); transition: border-color 300ms ease-out; }
.ir-quick-card p { margin: .9em 0 1.35em; line-height: 1.55; }
.ir-quick-card a { margin-top: auto; transition: color 300ms ease-out; }
.ir-quick-card a::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; }
.ir-quick-card:is(:hover, :focus-within) { color: #fff; border-color: transparent; }
.ir-quick-card:is(:hover, :focus-within)::before { opacity: 1; }
.ir-quick-card:is(:hover, :focus-within) h3 { border-color: rgb(255 255 255 / 70%); }
.ir-quick-card:is(:hover, :focus-within) a { color: #fff; }
.ir-quick-card a:hover { text-decoration: none; }
.ir-quick-card a img { transition: filter 300ms ease-out, transform 300ms ease-out; }
.ir-quick-card:is(:hover, :focus-within) img { filter: brightness(0) invert(1); transform: translate(2px, -2px); }
.ir-home-ai { margin-top: clamp(30px, 3vw, 56px); overflow: hidden; border-radius: clamp(16px, 2.6vw, 50px); border: 1px solid #0003; background: #f7f9fd; }
.ir-home-contact { padding-top: clamp(0px, 2vw, 32px); }
.ir-contact-band { box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: clamp(14px, 2vw, 42px); row-gap: 14px; min-height: clamp(145px, 9.8vw, 188px); padding: clamp(20px, 1.8vw, 34px) clamp(20px, 4.5vw, 86px); border-radius: 26px; color: white; background: linear-gradient(120deg, #7a2cff, #29aaff 94%); }
.ir-contact-band img { flex: none; width: clamp(30px, 3.6vw, 70px); height: auto; }
.ir-contact-band__email { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 32px); font-size: .9rem; }
.ir-contact-band__email a { display: block; color: #fff; font-size: clamp(20px, 2vw, 36px); font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.ir-contact-band__email a:hover { text-decoration: underline; }
.ir-contact-band__addresses { font-size: clamp(.78rem, .8vw, .95rem); }
.ir-contact-band__addresses p { margin: .25rem 0; }
.ir-contact-band__locations { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; font-size: clamp(.72rem, .8vw, .9rem); }
.ir-contact-band__locations dt { font-weight: 700; }
.ir-contact-band__locations dd { margin: 3px 0 0; line-height: 1.5; }
.ir-contact-band__note { flex: 0 0 100%; font-size: .8rem; text-align: center; }
.ir-home-news > h2 { margin-bottom: 1em; }
.ir-home-news__bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ir-home-news__channels { display: flex; gap: 14px; }
.ir-home-news__channels a { color: #5e6271; font-weight: 700; text-decoration: none; transition: color 300ms ease-out; }
.ir-home-news__channels a:first-child, .ir-home-news__channels a:is(:hover, :focus-visible) { color: #2424bf; }
.ir-home-news__channels a:hover { text-decoration: underline; }
.ir-home-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ir-home-story { display: flex; min-width: 0; border-radius: 24px; overflow: hidden; background: #fff; transition: box-shadow 300ms ease-out; }
.ir-home-story:is(:hover, :focus-within) { box-shadow: 0 0 10px rgba(0, 0, 0, .15); }
.ir-home-story:only-child { grid-column: 1 / -1; }
.ir-home-story--featured { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
.ir-home-story__image { width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
.ir-home-story__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: clamp(18px, 2.1vw, 34px); }
.ir-home-story h3 { margin: 0; padding-bottom: .8rem; border-bottom: 1px dotted #bfc2ca; font-size: 1.15rem; line-height: 1.5; background: linear-gradient(90deg, #2424bf, #7a2cff); background-clip: text; transition: color 300ms ease-out; }
.ir-home-story:is(:hover, :focus-within) h3 { color: transparent; }
.ir-home-story--featured h3 { font-size: clamp(20px, 1.5vw, 28px); }
.ir-home-story p { color: #4a4a4a; }
.ir-home-story__bottom { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.ir-home-story time { color: #626570; font-size: .82rem; }
.ir-home-extra { display: grid; gap: 20px; margin-top: var(--ir-section-space); }
.ir-home-extra__item { border-radius: 24px; background: #fff; padding: clamp(18px, 2.1vw, 34px); }
.ir-home-extra__item > img { max-width: min(100%, 420px); height: auto; border-radius: 12px; }
.ir-home-extra__item > h2:first-child { margin-top: 0; }

@media (max-width: 990px) {
    :root { --ir-gutter: clamp(20px, 5vw, 55px); }
    .ir-hero__art { inset-inline-end: 13%; width: min(35vw, 290px); }
    .ir-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ir-quick-card { min-height: 170px; }
}

@media (max-width: 650px) {
    .ir-hero h1, .ir-hero__heading { max-width: 74%; font-size: clamp(28px, 8vw, 42px); }
    .ir-hero__summary { font-size: .88rem; margin-top: 12px; max-width: min(72%, 400px); }
    .ir-hero__art { inset-inline-end: 5%; width: min(49vw, 245px); opacity: .72; }
    .ir-hero--home .ir-hero__art { inset-inline-start: auto; inset-inline-end: 8%; width: min(45vw, 225px); }
    .ir-hero--home .ir-hero__slide::after { content: ""; background: linear-gradient(90deg, #09172fbb, transparent); position: absolute; inset: 0; z-index: -1; }
    .ir-overview__grid, .ir-quick-grid, .ir-home-news__grid, .ir-home-story--featured { grid-template-columns: 1fr; }
    .ir-home-story--featured { grid-column: auto; }
    .ir-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ir-contact-band { flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; }
    .ir-contact-band__email { width: 100%; }
    .ir-contact-band__addresses { flex: 1; }
}

/* Reserve space for the separate artwork when an English heading is long. */
html:lang(en) .ir-hero--section .ir-hero__slide:has(> .ir-hero__art) :is(h1, .ir-hero__heading) {
    max-width: 45%;
    overflow-wrap: anywhere;
}

html:lang(en) .ir-hero--section .ir-hero__slide:has(> .ir-hero__art) .ir-hero__summary {
    max-width: min(45%, 560px);
    overflow-wrap: anywhere;
}

@media (max-width: 650px) {
    html:lang(en) .ir-hero--section .ir-hero__slide:has(> .ir-hero__art) .ir-hero__copy {
        grid-row: 1;
        padding-block: 28px 16px;
    }

    html:lang(en) .ir-hero--section .ir-hero__slide:has(> .ir-hero__art) :is(h1, .ir-hero__heading, .ir-hero__summary) {
        max-width: 100%;
    }

    html:lang(en) .ir-hero--section .ir-hero__slide > .ir-hero__art {
        position: relative;
        grid-row: 2;
        justify-self: end;
        inset: auto;
        width: min(40vw, 180px);
        max-height: 180px;
        margin: 0 var(--ir-gutter) 20px 0;
        transform: none;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ir-button, .ir-button::before, .ir-button img, .ir-quick-card, .ir-quick-card::before,
    .ir-quick-card h3, .ir-quick-card a, .ir-quick-card a img, .ir-home-story, .ir-home-story h3,
    .corporate-ir-menu summary::after, .corporate-ir-menu ul a { transition-duration: 0s; }
}
