/* Welcome-page motion and layout. Colours inherit the existing brand tokens. */
.hero.hero-centered { min-height: 100svh; padding: 124px 0 64px; background: radial-gradient(ellipse at 50% 35%, #193459 0, #0f1e3f 42%, #070f20 100%); }
.hero-centered::before { background-image: radial-gradient(1px 1px at 20% 30%, #e6c791 95%, transparent), radial-gradient(1px 1px at 80% 65%, white 95%, transparent), radial-gradient(1.5px 1.5px at 40% 80%, #b0bec5 95%, transparent); background-size: 163px 179px, 227px 251px, 347px 293px; opacity: .55; animation: stars-drift 45s linear infinite alternate; }
.hero-centered::after { width: 80%; height: 70%; inset: 0 10%; background: radial-gradient(ellipse, #4d51a52c, transparent 66%); }
.hero-stars { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 20% 65%, #05668d22, transparent 40%), radial-gradient(ellipse at 85% 35%, #d5a85710, transparent 35%); }
/* Dark mode uses only the navy/slate identity gradient. Light mode is unchanged. */
[data-theme="dark"] .hero.hero-centered { background: linear-gradient(115deg, var(--bg) 0%, #101e36 55%, #23344e 100%); }
[data-theme="dark"] .hero-centered::before,
[data-theme="dark"] .hero-centered::after,
[data-theme="dark"] .hero-centered .hero-stars { display: none; }
.hero-centered .hero-grid { display: flex; flex-direction: column; width: 100%; gap: 26px; z-index: 1; text-align: center; }
.hero-centered .hero-copy { max-width: 820px; }
.hero-emblem-stage { --emblem-size: clamp(190px, 22vw, 264px); width: min(calc(var(--emblem-size) * 1.4), calc(100vw - 24px)); aspect-ratio: 1; display: grid; place-items: center; flex: none; }
/* Reserve the enlarged footprint, then scale the entire original composition.
   Video, rings, strokes, spacing and dot grow together without changing motion. */
.hero-centered .hero-emblem { display: grid; width: calc(100% / 1.4); transform: scale(1.4); transform-origin: center; flex: none; }
.hero-centered .motion-inner { width: calc(100% - 34px); }
.hero-centered .motion-viewport { box-shadow: 0 0 65px #d5a85712; }
.hero-centered #motionFallback { position: absolute; inset: 0; object-fit: contain; background: transparent; }
.hero-centered .ring { border-color: #d5a85770; }
.hero-centered .ring::before { inset: 8px; border-color: #d5a85730; animation: orbit 60s linear infinite; }
.hero-centered .ring::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: radial-gradient(circle at 3px 50%, var(--gold-light) 0 3px, transparent 4px); filter: drop-shadow(0 0 5px var(--gold)); animation: orbit 60s linear infinite reverse; pointer-events: none; }
.hero-centered .eyebrow { letter-spacing: .06em; font-size: .8rem; }
.hero-centered .eyebrow::before,
.hero-centered .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.hero-centered h1 { font-size: clamp(2.25rem, 5vw, 4.3rem); margin: 12px 0 18px; line-height: 1.4; }
.hero-centered .lead { margin: 0 auto 28px; max-width: 650px; text-wrap: pretty; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-centered .hero-cta { justify-content: center; margin-bottom: 24px; gap: 14px; }
.hero-centered .hero-cta .btn { position: relative; min-width: 218px; justify-content: space-between; gap: 36px; border-radius: 14px; padding: 15px 24px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.hero-book { background: linear-gradient(120deg, #e6c791, #d5a857); color: #0f1e3f; box-shadow: 0 8px 30px #d5a85720; }
.hero-book::after { content: ''; position: absolute; inset: -80% auto -80% -70%; width: 45%; background: linear-gradient(90deg, transparent, #ffffff65, transparent); transform: rotate(25deg); transition: left .6s; }
.hero-book:hover::after { left: 130%; }
.hero-centered .hero-explore { background: #ffffff06; border: 1px solid #e6c79155; color: #ecebe7; }
.hero-centered .hero-cta .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px #0003; }
.cta-arrow { font-family: system-ui; font-size: 1.35rem; transition: transform .25s; }
.hero-cta a:hover .cta-arrow { transform: translate(2px,-2px); }
.hero-centered .hero-chips { justify-content: center; gap: 20px; }
.hero-centered .hero-chips li { border: 0; padding: 0; font-size: .82rem; }
[data-theme="light"] .hero-centered { background: radial-gradient(ellipse at 50% 25%, #fff 0, #f3f1eb 65%, #e8e6df 100%); color: var(--navy); }
[data-theme="light"] .hero-centered::before { opacity: .22; filter: brightness(.4); }
[data-theme="light"] .hero-centered .lead, [data-theme="light"] .hero-centered .hero-chips li { color: #54617c; }
[data-theme="light"] .hero-centered .eyebrow { color: #80622e; }
[data-theme="light"] .hero-centered .hero-explore { color: var(--navy); background: #ffffff88; border-color: #14203a30; }
[data-theme="light"] .site-header:not(.scrolled) { color: var(--navy); background: #fafaf7e0; }
[data-theme="light"] .site-header .official-white { display: none; }
[data-theme="light"] .site-header .official-navy { display: block; }

/* About: editorial image and story, with image thumbnails. */
.about-gallery { position: relative; overflow: hidden; }
.gallery-shell { position: relative; margin-inline: 56px; }
.gallery-shell > .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.gallery-shell > [data-carousel-prev] { inset-inline-start: -56px; }
.gallery-shell > [data-carousel-next] { inset-inline-end: -56px; }
.gallery-shell > .carousel-arrow[hidden] { display: none; }
.gallery-carousel { border: 1px solid var(--line); border-radius: 32px; padding: 22px; background: linear-gradient(145deg, var(--surface), var(--bg)); box-shadow: var(--shadow); }
.gallery-stage { position: relative; }
.gallery-slide { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.gallery-art { margin: 0; background: var(--surface-2); border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: center; border: 1px solid var(--line); }
.gallery-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-photo img { object-fit: cover; }
.gallery-story { padding: 24px; }
.gallery-label { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--text-2); }
.gallery-heading { display: block; color: var(--gold); font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 300; line-height: 1.3; margin-block: 14px 22px; }
.gallery-story h3 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.5; margin: 0 0 20px; }
.gallery-story p { color: var(--text-2); line-height: 2; margin-bottom: 28px; }
.gallery-link { display: inline-flex; align-items: center; gap: 28px; padding-bottom: 8px; color: var(--gold); border-bottom: 1px solid var(--gold); }
.gallery-shell.is-enhanced .gallery-slide[hidden] { display: none; }
.gallery-shell.is-enhanced .gallery-slide.is-active { animation: gallery-enter .65s ease both; }
.carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs button { width: 54px; height: 62px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); opacity: .6; transition: opacity .3s, border-color .3s; overflow: hidden; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.gallery-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); background: var(--surface-2); }
.carousel-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-family: system-ui; font-size: 1.15rem; background: var(--surface); transition: background .25s, border-color .25s; }
.carousel-arrow:hover { border-color: var(--gold); background: var(--surface-2); }
.carousel-count { font-family: system-ui; font-size: .8rem; letter-spacing: .1em; color: var(--text-2); }
[dir="rtl"] .carousel-arrow span { transform: scaleX(-1); }

/* Services: sliding panels with centred navigation bars. */
.services-window { overflow: hidden; border-radius: 26px; padding: 8px 0; }
.services-track { display: flex; gap: 24px; align-items: stretch; transition: transform .65s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.services-track .svc { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; border-radius: 24px; padding: 30px 26px; display: grid; grid-template-rows: auto var(--service-title-height, auto) var(--service-description-height, auto) 1fr auto; align-items: start; gap: 24px; background: var(--surface); position: relative; }
.svc-topline { display: flex; align-items: center; justify-content: space-between; }
.svc-topline .icon-wrap { margin: 0; transition: transform .4s, box-shadow .4s; }
.services-track .svc:hover, .services-track .svc:focus-within { border-color: var(--gold); transform: translateY(-5px); }
.services-track .svc:hover .icon-wrap, .services-track .svc:focus-within .icon-wrap { transform: rotate(18deg) scale(1.12); box-shadow: 0 0 32px #d5a85720; }
.services-track .svc h3, .services-track .svc p { margin: 0; }
.services-track .svc ul { margin: 0; gap: 12px; }
.services-track .svc li:nth-child(1) { min-height: var(--service-bullet-1-height, auto); }
.services-track .svc li:nth-child(2) { min-height: var(--service-bullet-2-height, auto); }
.services-track .svc li:nth-child(3) { min-height: var(--service-bullet-3-height, auto); }
.services-track .svc li > span:first-child { flex: 0 0 18px; color: var(--gold); }
.services-track .svc .link-cta { display: flex; justify-content: space-between; gap: 12px; width: 100%; align-self: end; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 0; }
.service-toolbar { border-top: 1px solid var(--line); margin-top: 24px; justify-content: center; }
.service-dots { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.service-dots button:focus-visible, .services-track .svc:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.service-dots button { width: 32px; height: 32px; padding: 0; position: relative; }
.service-dots button::after { content: ''; position: absolute; inset: 14px 2px; border-radius: 5px; background: var(--line); transition: background .3s; }
.service-dots button[aria-current="true"]::after { background: var(--gold); }

/* The four statistics count when they enter the viewport. */
.statistics-section { position: relative; padding-block: 54px 60px; border-block: 1px solid var(--line); background: radial-gradient(ellipse at center, #d5a85709, transparent 65%), var(--surface); }
.statistics-caption { display: flex; align-items: center; gap: 28px; margin-bottom: 34px; }
.statistics-caption .eyebrow { margin: 0; white-space: nowrap; color: var(--text-2); font-size: .8rem; }
.statistics-line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line), var(--gold)); }
.statistics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statistic { padding-inline: 28px; position: relative; text-align: center; }
.statistic:not(:last-child) { border-inline-end: 1px solid var(--line); }
.statistic-icon { color: var(--gold); display: inline-block; width: 25px; height: 25px; margin-bottom: 8px; }
.statistic-value { color: var(--text); font-family: system-ui; font-weight: 300; font-size: clamp(2.3rem, 4.5vw, 3.8rem); line-height: 1.4; font-variant-numeric: tabular-nums; }
.statistic-suffix { font-size: .65em; color: var(--gold); vertical-align: 12%; margin-left: 3px; }
.statistic h3 { font-size: .9rem; font-weight: 400; margin: 8px 0 0; color: var(--text-2); }

/* Why us: the active step and its travelling connection highlight together. */
.animated-steps { gap: 26px; }
.animated-steps::before { inset-inline: 11%; top: 31px; border-color: var(--line); }
.animated-steps .step { padding: 0 12px 24px; border-bottom: 2px solid transparent; transition: opacity .6s, transform .6s, border-color .6s; }
.animated-steps .step h3 { min-height: var(--step-title-height, auto); }
.animated-steps.is-enhanced .step { opacity: .58; }
.animated-steps.is-enhanced .step.is-active { opacity: 1; transform: translateY(-4px); border-color: var(--gold); }
.animated-steps .num { width: 62px; height: 62px; border-color: var(--line); transition: background .5s, box-shadow .5s, color .5s; }
.animated-steps .is-active .num { color: var(--navy); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 7px #d5a85710, 0 0 35px #d5a85730; }
.animated-steps .step:not(:last-child)::after { content: ''; position: absolute; top: 30px; inset-inline-start: 62%; width: 85%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transform-origin: left; }
.animated-steps .step.is-active::after { opacity: 1; animation: connection-flow 2s ease-in-out infinite; }
[dir="rtl"] .animated-steps .step::after { transform-origin: right; }
.map-preview { position: relative; overflow: hidden; border-radius: 0 0 24px 24px; }
.map-preview .map-frame { pointer-events: none; display: block; filter: none; }
.map-open-overlay { position: absolute; inset: 0; display: flex; align-items: end; justify-content: center; padding: 22px; }
.map-open-label { display: flex; align-items: center; gap: 12px; color: #0f1e3f; padding: 12px 20px; border-radius: 50px; background: #ecebe7f2; box-shadow: 0 5px 20px #0002; transition: transform .25s; }
.map-open-overlay:hover .map-open-label { transform: translateY(-5px); }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes stars-drift { to { transform: translate3d(18px, -24px, 0); } }
@keyframes gallery-enter { from { opacity: .35; transform: translateX(var(--slide-enter, 28px)); } to { opacity: 1; transform: translateX(0); } }
@keyframes connection-flow { 0% { transform: scaleX(.05); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleX(1); opacity: .1; } }
@keyframes connection-flow-vertical { 0% { transform: scaleY(.05); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: .1; } }
@media (max-width: 1000px) {
  .services-track .svc { flex-basis: calc((100% - 24px) / 2); }
  .gallery-slide { gap: 20px; }
  .gallery-story { padding: 12px; }
}
@media (max-width: 860px) {
  /* Allow long sections to grow; never clip forms, images or enlarged text. */
  #main > section { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  #main > section > .container { width: 100%; }
  .hero.hero-centered { padding-block: 105px 56px; }
  .hero-centered .hero-grid { gap: 18px; }
  .hero-emblem-stage { --emblem-size: 200px; }
  .hero-centered h1 { font-size: 2.25rem; }
  .hero-centered .hero-cta { gap: 10px; }
  .hero-centered .hero-cta .btn { min-width: 0; flex: 1 1 210px; }
  .hero-centered .hero-chips { gap: 12px; }
  .hero-centered .hero-chips li { font-size: .73rem; }
  .gallery-shell { margin-inline: 16px; }
  .gallery-shell > [data-carousel-prev] { inset-inline-start: -38px; }
  .gallery-shell > [data-carousel-next] { inset-inline-end: -38px; }
  .gallery-carousel { border-radius: 24px; padding: 12px; }
  .gallery-slide { grid-template-columns: 1fr; gap: 4px; }
  .gallery-art { aspect-ratio: 4 / 5; max-height: 490px; border-radius: 18px; }
  .gallery-story { padding: 22px 12px; }
  .gallery-heading { margin-block: 6px 10px; font-size: 2.4rem; }
  .gallery-story h3 { font-size: 1.55rem; margin-bottom: 12px; }
  .gallery-story p { font-size: .92rem; }
  .gallery-label { display: none; }
  .carousel-toolbar { flex-wrap: wrap; gap: 16px; }
  .gallery-thumbs { gap: 6px; }
  .gallery-thumbs button { width: 42px; height: 48px; }
  .carousel-arrow { width: 30px; height: 38px; }
  .services-track .svc { flex-basis: 100%; padding: 28px; }
  .statistics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .statistic { padding-inline: 10px; }
  .statistic:nth-child(2) { border: 0; }
  .statistics-caption { gap: 12px; }
  .statistics-caption .eyebrow { font-size: .7rem; }
  .animated-steps { --step-gap: clamp(24px, 4svh, 40px); grid-template-columns: 1fr; gap: var(--step-gap); }
  .animated-steps::before { display: block; border-top: 0; border-inline-start: 1px dashed var(--line); inset: 30px auto 60px; inset-inline-start: 30px; }
  .animated-steps .step { padding-inline: 90px 0; min-height: 120px; text-align: start; }
  .animated-steps .step .num { position: absolute; inset-inline-start: 0; top: 0; }
  .animated-steps .step:not(:last-child)::after { top: 62px; inset-inline-start: 30px; width: 2px; height: calc(100% + var(--step-gap) - 62px); background: linear-gradient(transparent, var(--gold), transparent); transform-origin: top; }
  .animated-steps .step.is-active::after { animation: connection-flow-vertical 2s ease-in-out infinite; }
  [dir="rtl"] .animated-steps .step::after { transform-origin: top; }
  .animated-steps.is-enhanced .step.is-active { transform: translateY(0); }
  .map-open-label { font-size: .82rem; }
}
/* Remove only the underline in the stacked phone layout; retain desktop and
   landscape highlighting and the connection between the step numbers. */
@media (max-width: 860px) and (orientation: portrait) {
  .animated-steps .step,
  .animated-steps.is-enhanced .step.is-active { border-bottom-color: transparent; }
}

/* Standard system cursors; no custom artwork is imposed on visitors. */
@media (hover: hover) and (pointer: fine) {
  body { cursor: auto; }
  a, button, summary, select, label[for], [role="button"], [data-carousel-toggle] {
    cursor: pointer;
  }
  input, textarea, [contenteditable="true"] { cursor: text; }
  input[type="checkbox"], input[type="radio"], input[type="submit"] {
    cursor: pointer;
  }
  :disabled, [aria-disabled="true"] { cursor: not-allowed; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-centered::before, .hero-centered .ring::before, .hero-centered .ring::after, .gallery-shell .gallery-slide.is-active, .animated-steps .step.is-active::after { animation: none; }
  .services-track, .svc, .icon-wrap, .step, .num { transition: none !important; }
  .animated-steps.is-enhanced .step { opacity: 1; }
}
