#sfg-hero {
    --sfgx-direction: 90deg;
    --sfgx-ease: cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
    position: relative; width: 100%; margin: 0; padding: 0;
    background: #19362b; color: #fff; text-align: start; font: 400 16px/1.7 var(--sfg-type-family);
}
#sfg-hero[dir=rtl] { --sfgx-direction: 270deg; }
#sfg-hero *, #sfg-about * { box-sizing: border-box; }
#sfg-hero [hidden], #sfg-about [hidden] { display: none !important; }
#sfg-hero p, #sfg-hero h1 { margin: 0; padding: 0; font-family: inherit; color: inherit; }
#sfg-hero .sfgx-container { position: relative; width: calc(100% - 112px); max-width: 1328px; margin-inline: auto; }
#sfg-hero .sfgx-cover { position: relative; isolation: isolate; overflow: hidden; }
#sfg-hero .sfgx-photo, #sfg-hero .sfgx-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
#sfg-hero .sfgx-photo { z-index: -2; display: block; object-fit: cover; object-position: 50% 56%; }
#sfg-hero .sfgx-shade {
    z-index: -1;
    background: linear-gradient(var(--sfgx-direction), rgba(7,27,22,.87), rgba(7,27,22,.75) 35%, rgba(7,27,22,.52) 52%, rgba(7,27,22,.07) 77%, transparent);
}
#sfg-hero .sfgx-composition { min-height: clamp(505px,43vw,650px); padding-block: 68px; display: flex; align-items: center; }
#sfg-hero .sfgx-copy { width: min(54%, 700px); }
#sfg-hero .sfgx-eyebrow { --sfg-caption: 14px; font-size: 14px; letter-spacing: .14em; line-height: 1.8; text-transform: uppercase; font-weight: 600; color: #f0e5ca; margin-bottom: 22px; }
#sfg-hero #sfgx-heading { text-shadow:0 2px 12px rgba(0,0,0,.25); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
#sfg-hero .sfgx-legal { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.55; margin-top: 18px; max-width: 37em; }
#sfg-hero .sfgx-statement { margin-top: 22px; max-width: 32em; --sfg-body-size:18px; --sfg-reading-weight:500; font-size:18px; font-weight:500; line-height: 1.7; color: #f5efdf; padding-inline-start: 18px; border-inline-start: 2px solid #baa77b; }
#sfg-hero .sfgx-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
#sfg-hero .sfgx-actions a { font: 600 14px/1.5 var(--sfg-type-family); min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
#sfg-hero .sfgx-primary { text-shadow:none; padding: 13px 24px; background: #d8c8a1; color: #152c23; border: 1px solid #d8c8a1; }
#sfg-hero .sfgx-primary:hover { background: #ebdfc2; }
#sfg-hero .sfgx-secondary { color: white; border-bottom: 1px solid #c5cabf; padding-inline: 4px; }
#sfg-hero .sfgx-badge { position: absolute; inset-inline-end: max(24px,4%); bottom: 18px; padding: 3px 10px; background: rgba(12,34,27,.88); color: #fff; font-size: 13px; line-height: 1.6; font-weight: 600; }
#sfg-hero .sfgx-navigation { padding-block: 14px; scroll-margin-top: 95px; }
#sfg-hero .sfgx-navigation-heading p { font-size: 13px; color: #e1dfcf; }
#sfg-hero .sfgx-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 18px; }
#sfg-hero .sfgx-tab { display: inline-flex; align-items: center; min-height: 46px; text-shadow:inherit; --sfg-caption:15px; --sfg-label-weight:700; font: 700 15px/1.5 var(--sfg-type-family); color: #fff; text-decoration: none; }
#sfg-hero .sfgx-tab:hover, #sfg-hero .sfgx-secondary:hover { text-decoration: underline; text-underline-offset: .3em; }
#sfg-hero :focus-visible, #sfg-about :focus-visible { outline: 2px solid #dfc990; outline-offset: 4px; }
@media (max-width: 1100px) {
    #sfg-hero .sfgx-container { width: calc(100% - 64px); }
    #sfg-hero .sfgx-copy { width: 59%; }
}
@media (max-width: 760px) {
    #sfg-hero .sfgx-container { width: calc(100% - 40px); }
    #sfg-hero .sfgx-copy { width: 100%; }
    #sfg-hero .sfgx-composition { min-height: 0; padding-block: 42px 56px; }
    #sfg-hero .sfgx-photo { object-position: 55% 49%; }
    #sfg-hero .sfgx-shade { background: linear-gradient(var(--sfgx-direction),rgba(7,27,22,.84),rgba(7,27,22,.72) 53%,rgba(7,27,22,.60)); }
    #sfg-hero .sfgx-eyebrow { margin-bottom: 16px; }
    #sfg-hero .sfgx-legal { margin-top: 14px; font-size: 17px; line-height: 1.6; }
    #sfg-hero .sfgx-statement { margin-top: 18px; }
    #sfg-hero .sfgx-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
    #sfg-hero .sfgx-actions a { width: 100%; }
    #sfg-hero .sfgx-secondary { background: rgba(7,27,22,.28); border: 1px solid #c5cabf; }
    #sfg-hero .sfgx-badge { inset-inline-end: 20px; bottom: 14px; }
    #sfg-hero .sfgx-links { justify-content: flex-start; }
}

/* Each image can move independently of its crossfade layer. */
#sfg-hero .sfgx-scenes, #sfg-hero .sfgx-frame { position:absolute; inset:0; overflow:hidden; }
#sfg-hero .sfgx-scenes { z-index:-2; }
#sfg-hero .sfgx-frame { opacity:0; }
#sfg-hero .sfgx-frame.is-previous { opacity:1; z-index:1; }
#sfg-hero .sfgx-frame.is-current { opacity:1; z-index:2; }
#sfg-hero .sfgx-photo { z-index:auto; }
#sfg-hero .sfgx-cover { touch-action:pan-y pinch-zoom; }
#sfg-hero .sfgx-navigation-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#sfg-hero .sfgx-tab {
    border:0; border-radius:0; background:transparent; box-shadow:none; color:#fff; cursor:pointer; font-family:inherit;
}
#sfg-hero .sfgx-rail, #sfg-hero .sfgx-details { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0 18px; }
#sfg-hero .sfgx-tab { position:relative; padding:5px 0; justify-content:flex-start; text-align:start; }
#sfg-hero .sfgx-tab[aria-selected=true] { color:#dec48b; }
#sfg-hero .sfgx-progress { position:absolute; inset-inline:0; bottom:0; height:2px; background:#506558; overflow:hidden; }
#sfg-hero .sfgx-progress span { display:block; height:100%; background:#dec48b; transform:scaleX(0); transform-origin:left; }
#sfg-hero[dir=rtl] .sfgx-progress span { transform-origin:right; }
#sfg-hero .sfgx-tab[aria-selected=true] .sfgx-progress { background:#8e815f; }
#sfg-hero .sfgx-detail {
    grid-row:1; grid-column:var(--sfgx-col); align-self:start; padding-top:6px; display:flex; flex-direction:column;
    align-items:flex-start; opacity:0; pointer-events:none; transform:translateY(8px); transition:opacity .6s var(--sfgx-ease), transform .6s var(--sfgx-ease); font-size:14px; font-weight:500; line-height:1.55; color:#f1f0e7;
}
#sfg-hero .sfgx-detail.is-current { opacity:1; transform:translateY(0); pointer-events:auto; }
#sfg-hero .sfgx-detail a, #sfg-hero .sfgx-noscript a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#f2dcaa; --sfg-reading-weight:600; font-size:14px; font-weight:600; text-decoration:none; }
#sfg-hero .sfgx-detail a:hover { text-decoration:underline; }
#sfg-hero .sfgx-arrow::before { content:'→'; }
#sfg-hero[dir=rtl] .sfgx-arrow::before { content:'←'; }
#sfg-hero .sfgx-noscript { display:flex; gap:18px; flex-wrap:wrap; }
/* Give longer sector names their natural width on small desktops; keep each description under its tab. */
@media (min-width:960px) and (max-width:1100px) {
    #sfg-hero .sfgx-navigation { display:grid; grid-template-columns:repeat(5,minmax(max-content,1fr)); column-gap:8px; }
    #sfg-hero .sfgx-navigation > * { grid-column:1/-1; }
    #sfg-hero .sfgx-rail, #sfg-hero .sfgx-details { grid-template-columns:subgrid; column-gap:inherit; }
    #sfg-hero .sfgx-detail { contain:inline-size; min-width:0; }
}
@media (max-width:760px) {
    #sfg-hero .sfgx-rail { display:flex; gap:0; overflow-x:auto; scrollbar-width:none; overscroll-behavior-x:contain; }
    #sfg-hero .sfgx-rail::-webkit-scrollbar { display:none; }
    #sfg-hero .sfgx-rail::before, #sfg-hero .sfgx-rail::after { content:''; flex:0 0 calc(50% - 4.9rem); }
    #sfg-hero .sfgx-tab { flex:0 0 9.8rem; justify-content:center; text-align:center; padding-inline:5px; }
    #sfg-hero .sfgx-progress { inset-inline:6px; }
    #sfg-hero .sfgx-details { grid-template-columns:1fr; }
    #sfg-hero .sfgx-detail { grid-area:1/1; flex-direction:row; align-items:center; justify-content:center; gap:12px; }
}
@media (prefers-reduced-motion:reduce) {
    #sfg-hero .sfgx-frame.is-current, #sfg-hero .sfgx-detail { transition:none; transform:none; }
    #sfg-hero .sfgx-tab[aria-selected=true] .sfgx-progress span { transform:scaleX(1); }
}

@font-face {
    font-family: "SFG Hero Plex Medium";
    src: url(fonts/plex-en-500.woff2) format("woff2");
    font-weight:500;
    font-style:normal;
    font-display:swap;
}
#sfg-hero[lang=en] :is(.sfgx-statement,.sfgx-detail > span) {
    --sfg-type-family:"SFG Hero Plex Medium","IBM Plex Sans",sans-serif;
}
@keyframes sfgx-copy-in {
    from { opacity:0; transform:translateY(16px); }
    to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:no-preference) {
    #sfg-hero[data-motion-enabled="1"] .sfgx-intro :is(h1,.sfgx-legal,.sfgx-statement,.sfgx-actions a) {
        animation:sfgx-copy-in .6s var(--sfgx-ease) var(--sfgx-delay,0ms) backwards;
    }
    #sfg-hero .sfgx-intro .sfgx-legal { --sfgx-delay:80ms; }
    #sfg-hero .sfgx-intro .sfgx-statement { --sfgx-delay:160ms; }
    #sfg-hero .sfgx-intro .sfgx-actions a { --sfgx-delay:240ms; }
    #sfg-hero .sfgx-intro .sfgx-actions a + a { --sfgx-delay:320ms; }
}
