/* Version 3 (local only): DIFC Gate hero. */
body.gate3 { --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; }
.gate-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #0A3340; isolation: isolate; }
.gate-stage { position: absolute; inset: 0; overflow: hidden; background: #0A3340; }
.gate-par { position: absolute; inset: -2%; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.gate-motion { position: absolute; inset: 0; transform-origin: 51% 58%; animation: gateDrift 42s ease-in-out infinite alternate; will-change: transform; }
@keyframes gateDrift { from { transform: scale(1.0) translate3d(0, 0, 0); } to { transform: scale(1.035) translate3d(-0.4%, -0.3%, 0); } }
.gate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; filter: saturate(1.1) contrast(1.04); image-rendering: auto; }
.gate-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.gate-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(1.02) saturate(1.08) contrast(1.03); }
.gate-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.gate-lines a { pointer-events: auto; cursor: pointer; }
.gate-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 30, 38, 0.80) 0%, rgba(6, 30, 38, 0.60) 20%, rgba(6, 30, 38, 0.28) 38%, rgba(6, 30, 38, 0.05) 54%, rgba(6, 30, 38, 0) 62%),
    linear-gradient(0deg, rgba(6, 30, 38, 0.66) 0%, rgba(6, 30, 38, 0.28) 20%, rgba(6, 30, 38, 0) 42%),
    linear-gradient(180deg, rgba(6, 30, 38, 0.50) 0%, rgba(6, 30, 38, 0) 18%); }

/* Architectural line work: thin, brass, drawn over the real geometry */
.gate-lines .ln { fill: none; stroke: #E3C98F; stroke-width: 1.9; stroke-linecap: square; }
.gate-lines .ln-under { fill: none; stroke: rgba(5, 28, 34, 0.42); stroke-width: 4.6; stroke-linecap: square; }
.gate-lines .axis { fill: none; stroke: rgba(227, 201, 143, 0.22); stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-dasharray: 2 9; opacity: 0; transition: opacity 2s ease 0.4s; }
.gate-lines .ol path, .gate-lines .lead .ln, .gate-lines .lead .ln-under { stroke-dasharray: 1; stroke-dashoffset: 1; }
.gate-lines .ol, .gate-lines .lead { opacity: 0; transition: opacity 0.8s ease; }
.gate-lines .ol path, .gate-lines .lead path { transition: stroke-dashoffset 0s 0.9s; }
.gate-lines .ol.on, .gate-lines .lead.on { opacity: 1; }
.gate-lines .ol.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s cubic-bezier(0.16, 1, 0.3, 1); }
.gate-lines .lead.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.gate-stage.is-on .axis { opacity: 1; }
.gate-stage.is-fade .ol { opacity: 0.3; }
.gate-stage.is-end .ol, .gate-stage.is-end .axis, .gate-stage.is-end .marks { opacity: 0; }
.gate-lines .marks { opacity: 0; transition: opacity 1.2s ease; }
.gate-lines .marks path { fill: none; stroke: #E3C98F; stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.gate-lines .marks.on { opacity: 0.9; }
.gate-stage.is-fade .marks.on { opacity: 0.35; }
.gate-lines .dot { fill: #E3C98F; opacity: 0; transition: opacity 0.4s ease 0.2s; }
.gate-lines .ring { fill: none; stroke: #E3C98F; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.gate-lines .lead.on .dot { opacity: 1; }
.gate-lines .lead.on .ring { animation: gateRing 2.2s ease-out 0.3s 1; }
@keyframes gateRing { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
.gate-lines text { font-family: var(--font); font-size: 27px; font-weight: 500; letter-spacing: 0.02em; fill: #FFFFFF; paint-order: stroke; stroke: rgba(5, 28, 34, 0.78); stroke-width: 6.5px; stroke-linejoin: round;
  opacity: 0; transform: translateY(6px); transition: opacity 0.7s ease 0.55s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s; }
.gate-lines .lead.on text { opacity: 1; transform: none; }
.gate-lines a:hover text { fill: #E3C98F; }

/* Which label set is used: desktop labels sit in the sky beside the Gate, phone labels hang above the roof */
.gate-lines .lead-m { display: none; }
.gate-stage.is-m .lead-d { display: none; }
.gate-stage.is-m .lead-m { display: inline; }
.gate-stage.is-m .gate-lines text { font-size: 34px; stroke-width: 7px; }
.gate-stage.is-m .gate-lines .ln { stroke-width: 3.4; }
.gate-stage.is-m .gate-lines .ln-under { stroke-width: 8; }
.gate-stage.is-static .lead:nth-of-type(-n+3) { opacity: 1; }

/* Headline block */
.gate-copy { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(36px, 8vh, 92px); max-width: min(340px, 25vw); display: grid; gap: 18px; justify-items: start; }
.gate-copy h1 { font-size: clamp(32px, 3.3vw, 58px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance; color: #F6F1E4; text-shadow: 0 2px 30px rgba(5, 28, 34, 0.5); }
.gate-copy h1 span:not(.sr-only) { color: var(--accent); }
.gate-copy p { max-width: 32ch; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.6; color: rgba(246, 241, 228, 0.88); text-shadow: 0 1px 16px rgba(5, 28, 34, 0.6); }
.gate-copy .kicker { text-shadow: 0 1px 12px rgba(5, 28, 34, 0.7); }

/* Premium details */
.gate-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.gate-actions .text-link { font-size: 14px; color: rgba(246, 241, 228, 0.9); border-bottom: 1px solid rgba(227, 201, 143, 0.55); padding-bottom: 3px; transition: color 0.25s ease, border-color 0.25s ease; text-shadow: 0 1px 12px rgba(5, 28, 34, 0.6); }
.gate-actions .text-link:hover { color: var(--accent); border-color: var(--accent); }
.gate-proof span { white-space: nowrap; }
.gate-proof { display: grid; gap: 5px; padding-left: 16px; border-left: 1px solid rgba(227, 201, 143, 0.6); font-size: 10.5px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 241, 228, 0.7); text-shadow: 0 1px 12px rgba(5, 28, 34, 0.7); }
.gate-time { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(36px, 8vh, 92px); width: min(400px, 30vw); display: grid; gap: 14px; }
.gt-labels { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 241, 228, 0.45); text-shadow: 0 1px 10px rgba(5, 28, 34, 0.7); }
.gt-labels span { transition: color 0.8s ease, opacity 0.8s ease; opacity: 0; }
.gt-labels span.is-on { opacity: 1; }
.gt-labels span.is-on { color: var(--accent); }
.gt-track { position: relative; height: 1px; background: rgba(246, 241, 228, 0.22); }
.gt-track::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, rgba(227, 201, 143, 0.2), #E3C98F); }
.gt-dot { position: absolute; top: -3px; left: calc(var(--p, 0) * 100%); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #E3C98F; box-shadow: 0 0 0 4px rgba(227, 201, 143, 0.18); }
.gate-veil { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #051C22; animation: gateVeil 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards; }
@keyframes gateVeil { to { opacity: 0; visibility: hidden; } }
@media (max-width: 1100px) { .gate-time { display: none; } }

/* Clean hero: the line work is off unless the address has ?lines=1 */
.gate-stage.is-clean .gate-lines { display: none; }
.gate-svc { position: absolute; z-index: 3; right: var(--pad); bottom: calc(clamp(36px, 8vh, 92px) + 66px); width: min(400px, 30vw); display: grid; gap: 8px; }
.gs-k { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 241, 228, 0.5); text-shadow: 0 1px 10px rgba(5, 28, 34, 0.7); }
.gs-n { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 1.7vw, 28px); font-weight: 300; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 22px rgba(5, 28, 34, 0.6); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease; }
.gs-n svg { color: var(--accent); flex: none; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.gs-n:hover { color: var(--accent); }
.gs-n:hover svg { transform: translateX(5px); }
.gs-n.is-out { opacity: 0; transform: translateY(8px); }
@media (max-width: 1100px) { .gate-svc { display: none; } }

/* Phone and tablet: the whole Gate is shown, copy follows below */
@media (max-width: 900px) {
  .gate-hero { height: auto; min-height: 0; overflow: visible; padding-top: 78px; padding-bottom: 28px; background: #0A3340; }
  .gate-stage { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 5; }
  .gate-video { object-position: 50% 50%; }
  .gate-scrim { background: linear-gradient(0deg, #0A3340 0%, rgba(10, 51, 64, 0.82) 14%, rgba(10, 51, 64, 0) 38%), linear-gradient(180deg, rgba(10, 51, 64, 0.45) 0%, rgba(10, 51, 64, 0) 16%); }
  .gate-copy { position: relative; left: auto; bottom: auto; max-width: none; margin: -92px var(--pad) 0; padding-bottom: 8px; }
  .gate-copy h1 { font-size: clamp(34px, 9.4vw, 52px); }
  .gate-time { display: none; }
  .gate-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #0A3340; z-index: 2; }   /* hides the video's last pixel row */
}
@media (prefers-reduced-motion: reduce) { .gate-motion { animation: none; } .gate-veil { display: none; } .gate-lines .ol, .gate-lines .lead, .gate-lines text { transition: none; } }

/* Livelier palette for version 3 only: a brighter teal ground, a warmer brass and a fresh Shoal teal. The live site's colours are untouched. */
body.gate3 { --bg: #0A3340; --accent: #EBCB8B; --shoal: #4FB6C9; --soft: rgba(246, 241, 228, 0.86); --muted: #B9D2D5; --line: rgba(246, 241, 228, 0.2); }
html:has(body.gate3), body.gate3 { background: #0A3340 !important; }
.gate3 .veil { background: #0A3340; }
.gate3 .bg-tint { opacity: 0.35; }
.gate3 .rest { background:
  radial-gradient(900px 520px at 88% 6%, rgba(79, 182, 201, 0.20), transparent 62%),
  radial-gradient(820px 520px at 6% 32%, rgba(235, 203, 139, 0.12), transparent 62%),
  radial-gradient(900px 600px at 70% 78%, rgba(79, 182, 201, 0.12), transparent 64%); }
.gate3 .panel, .gate3 .tile, .gate3 .post { background: linear-gradient(160deg, rgba(36, 138, 156, 0.34), rgba(10, 51, 64, 0.58) 64%); border-color: rgba(246, 241, 228, 0.2); }
.gate3 .panel:hover, .gate3 .tile:hover, .gate3 .post:hover { border-color: rgba(235, 203, 139, 0.7); }
.gate3 .h2 span, .gate3 .kicker { color: #EBCB8B; }
.gate3 .header::before { background: linear-gradient(180deg, rgba(10, 51, 64, 0.86), rgba(10, 51, 64, 0.55)); }
.gate3 .nav { background: rgba(10, 51, 64, 0.5); }
.gate3 .foot { background: rgba(8, 40, 52, 0.55); }


/* Signature services as an accordion (version 3 only) */
.acc { margin-top: clamp(44px, 6vw, 84px); border-top: 1px solid var(--line); }
.acc-item { position: relative; border-bottom: 1px solid var(--line); }
.acc-item::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-item.is-open::before, .acc-item:hover::before { transform: scaleX(1); }
.acc-h { margin: 0; font-weight: inherit; }
.acc-head { width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 12px clamp(24px, 4vw, 72px); padding: clamp(26px, 3vw, 44px) 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.acc-title { font-size: clamp(30px, 4vw, 64px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.04; color: rgba(246, 241, 228, 0.62); transition: color 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-item.is-open .acc-title, .acc-head:hover .acc-title, .acc-head:focus-visible .acc-title { color: #F6F1E4; }
.acc-item.is-open .acc-title { transform: translateX(8px); }
.acc-short { max-width: 40ch; font-size: 15.5px; line-height: 1.55; color: var(--muted); transition: color 0.4s ease, opacity 0.4s ease; }
.acc-item.is-open .acc-short { color: var(--soft); }
.acc-ico { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); transition: border-color 0.4s ease, background 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-ico i { position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: var(--accent); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-ico i + i { transform: rotate(90deg); }
.acc-head:hover .acc-ico { border-color: var(--accent); background: rgba(235, 203, 139, 0.1); }
.acc-item.is-open .acc-ico { border-color: var(--accent); transform: rotate(180deg); }
.acc-item.is-open .acc-ico i + i { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; min-height: 0; }
.acc-body { padding: 0 0 clamp(30px, 3.4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 72px); opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-item.is-open .acc-body { opacity: 1; transform: none; transition-delay: 0.15s; }
.acc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; grid-column: 1; }
.acc-list li { display: grid; gap: 6px; padding-left: 18px; position: relative; }
.acc-list li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 8px; height: 1px; background: var(--accent); }
.acc-list b { font-size: 16px; font-weight: 400; color: #F6F1E4; }
.acc-list span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.acc-cta { grid-column: 2; align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--accent); }
.acc-cta svg { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-cta:hover svg { transform: translateX(6px); }
@media (max-width: 900px) {
  .acc-head { grid-template-columns: minmax(0, 1fr) auto; }
  .acc-short { grid-column: 1; grid-row: 2; }
  .acc-ico { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
  .acc-body { grid-template-columns: 1fr; }
  .acc-list { grid-template-columns: 1fr; gap: 18px; }
  .acc-cta { grid-column: 1; }
  .acc-item.is-open .acc-title { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .gate-motion { animation: none; } .acc-panel, .acc-body, .acc-title, .acc-ico, .acc-ico i, .acc-item::before { transition: none; } }
.acc-list em { font-style: normal; font-size: 12.5px; line-height: 1.5; color: rgba(235, 203, 139, 0.85); }
.acc-list em::before { content: ""; }

/* Readable hero copy: a soft dark pool behind the text and a stronger text edge */
.gate-copy { isolation: isolate; }
.gate-copy::before { content: ""; position: absolute; z-index: -1; inset: -64px -90px -48px -70px; pointer-events: none;
  background: radial-gradient(ellipse 80% 78% at 36% 56%, rgba(6, 30, 38, 0.62), rgba(6, 30, 38, 0.34) 55%, rgba(6, 30, 38, 0) 82%); filter: blur(14px); }
.gate-copy .kicker { color: #F6DDA6; font-weight: 600; text-shadow: 0 1px 2px rgba(3, 18, 24, 0.9), 0 2px 18px rgba(3, 18, 24, 0.85); }
.gate-copy h1 { color: #FFFFFF; text-shadow: 0 2px 3px rgba(3, 18, 24, 0.55), 0 4px 34px rgba(3, 18, 24, 0.75); }
.gate-copy h1 span:not(.sr-only) { color: #F2D390; }
@media (max-width: 900px) { .gate-copy::before { inset: -40px -24px -24px -24px; } }

/* Background behind the sections: the sharp dusk photo, graded deep teal, with real depth instead of a flat wash */
.gate3 .bg-tint { display: none; }
.gate3 .bg-inner { background-size: cover !important; background-position: 62% 42% !important; filter: saturate(1.0) contrast(1.05) brightness(0.95); }
.gate3 .bg::after { background:
  linear-gradient(90deg, rgba(7, 36, 47, 0.80) 0%, rgba(7, 36, 47, 0.54) 42%, rgba(7, 36, 47, 0.30) 100%),
  linear-gradient(180deg, rgba(7, 36, 47, 0.30) 0%, rgba(7, 36, 47, 0.34) 55%, rgba(7, 36, 47, 0.70) 100%); opacity: 1; }
.gate3 .veil { opacity: min(var(--veil, 0), 0.6); }

/* ---- Type sizes (version 3): a clearer hierarchy and a readable small text ---- */
body.gate3 .kicker { font-size: 13px; }
body.gate3 .h2 { font-size: clamp(32px, 4.2vw, 60px); }
.acc-title { font-size: clamp(28px, 3.1vw, 46px); color: rgba(246, 241, 228, 0.82); }
.acc-short { font-size: 17px; line-height: 1.6; color: var(--soft); }
.acc-list b { font-size: 18px; }
.acc-list span { font-size: 15.5px; line-height: 1.55; }
.acc-list em { font-size: 14px; }
.acc-cta { font-size: 16px; }

/* ---- Trust strip ---- */
.trust { position: relative; z-index: 1; padding: 0 var(--pad); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-in > div { padding: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 36px); display: grid; gap: 10px; align-content: start; }
.trust-in > div + div { border-left: 1px solid var(--line); }
.trust-in b { font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; letter-spacing: -0.035em; color: var(--accent); line-height: 1.05; }
.trust-in span { font-size: 15px; line-height: 1.55; color: var(--soft); max-width: 30ch; }
.rest > .trust + .block { padding-top: clamp(72px, 9vw, 130px); }

/* ---- Who we work with ---- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 52px) clamp(24px, 3vw, 56px); margin-top: clamp(44px, 6vw, 84px); }
.who-item { border-top: 1px solid var(--line); padding-top: 24px; transition: border-color 0.4s ease; }
.who-item:hover { border-color: var(--accent); }
.who-item h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; }
.who-item p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 40ch; }

/* ---- Questions ---- */
.acc-faq .acc-head { grid-template-columns: minmax(0, 1fr) auto; padding: clamp(20px, 2.2vw, 30px) 0; }
.acc-faq .acc-title { font-size: clamp(19px, 1.8vw, 27px); letter-spacing: -0.02em; }
.acc-faq .acc-item.is-open .acc-title { transform: none; }
.acc-text { grid-template-columns: 1fr; padding-bottom: clamp(24px, 2.6vw, 38px); }
.acc-text p { max-width: 74ch; font-size: 17px; line-height: 1.7; color: var(--soft); }

/* ---- Contact on the home page ---- */
#contact .contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
#contact .side-note b { color: var(--accent); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11.5px; }

/* ---- Regulatory notice ---- */
.notice { position: relative; z-index: 1; padding: 0 var(--pad) clamp(40px, 5vw, 70px); }
.notice p { max-width: 96ch; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--muted); }
.notice a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(235, 203, 139, 0.5); }

@media (max-width: 1000px) { .who { grid-template-columns: 1fr 1fr; } .trust-in { grid-template-columns: 1fr 1fr; } .trust-in > div:nth-child(3) { border-left: 0; } .trust-in > div:nth-child(n+3) { border-top: 1px solid var(--line); } #contact .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .who { grid-template-columns: 1fr; } .trust-in { grid-template-columns: 1fr; } .trust-in > div + div { border-left: 0; border-top: 1px solid var(--line); } .acc-title { font-size: clamp(26px, 8vw, 34px); } .acc-short { font-size: 16px; } }
.gate-copy .kicker { white-space: nowrap; }

/* the photo fades in; the light layer waits for it */
.gate-img { opacity: 0; transition: opacity 1s ease; }
.gate-fx { opacity: 0; transition: opacity 1.4s ease 0.5s; }
.gate-stage.is-ready .gate-img, .gate-stage.is-ready .gate-fx { opacity: 1; }

/* simpler, lighter section headings on version 3 */
#expertise .h2, #conventional .h2 { white-space: nowrap; max-width: none; }
.gate3 .rest .h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.1; }
@media (max-width: 700px) { #expertise .h2, #conventional .h2 { white-space: normal; font-size: clamp(30px, 8.4vw, 40px); } }
body.gate3 .rest .h2 { font-size: clamp(30px, 3.6vw, 52px); }

.gate-copy .kicker { letter-spacing: 0.12em; }
.gate-actions .text-link { display: inline-flex; align-items: center; gap: 9px; }
.gate-actions .text-link svg { color: var(--accent); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.gate-actions .text-link:hover svg { transform: translateX(5px); }

/* projection-mapping layer: normal blending, so it can dim the stone under the light */
.gate-map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s ease 0.5s; }
.gate-stage.is-ready .gate-map { opacity: 1; }

/* ---- Premium contrast (version 3): a deeper ground, brighter text, a calmer photo behind the sections ---- */
body.gate3 { --bg: #06222B; --soft: rgba(251, 247, 236, 0.92); --muted: #D3E3E4; --accent: #F2D28F; --line: rgba(251, 247, 236, 0.26); }
html:has(body.gate3), body.gate3 { background: #06222B !important; }
.gate3 .bg-inner { filter: saturate(0.95) contrast(1.05) brightness(0.78); }
.gate3 .bg::after { background:
  linear-gradient(90deg, rgba(5, 28, 36, 0.88) 0%, rgba(5, 28, 36, 0.70) 45%, rgba(5, 28, 36, 0.52) 100%),
  linear-gradient(180deg, rgba(5, 28, 36, 0.36) 0%, rgba(5, 28, 36, 0.42) 55%, rgba(5, 28, 36, 0.78) 100%); }
.acc-title { color: rgba(251, 247, 236, 0.88); }
.acc-item.is-open .acc-title, .acc-head:hover .acc-title { color: #FFFFFF; }
.trust-in span, .who-item p, .acc-list span { color: #D3E3E4; }
.trust-in b { color: #F2D28F; }
.acc-list b, .who-item h3 { color: #FFFFFF; }
.trust { background: linear-gradient(180deg, rgba(5, 28, 36, 0.82), rgba(5, 28, 36, 0.66)); }
.gate3 .rest .kicker { color: #F2D28F; }
.gate3 .panel, .gate3 .tile, .gate3 .post { background: linear-gradient(160deg, rgba(20, 96, 112, 0.34), rgba(5, 28, 36, 0.72) 64%); }
.notice p, .foot-note { color: #C2D6D8; }

/* Trust strip: transparent, the skyline shows through; only a whisper of dark behind the text */
.trust { background: linear-gradient(180deg, rgba(5, 28, 36, 0.16), rgba(5, 28, 36, 0.04)); }
.trust-in { border-top-color: rgba(251, 247, 236, 0.22); border-bottom-color: rgba(251, 247, 236, 0.22); }
.trust-in > div { text-shadow: 0 1px 14px rgba(3, 18, 24, 0.85); }
.trust-in > div + div { border-left-color: rgba(251, 247, 236, 0.14); }

/* ---- Fewer lines (version 3): space does the separating, hairlines are fainter and rare ---- */
/* 1. trust strip: no boxes, no dividers; one fine line along the bottom only */
.trust-in { border-top: 0; border-bottom: 1px solid rgba(251, 247, 236, 0.14); }
.trust-in > div + div { border-left: 0; border-top: 0; }
.trust-in > div { padding-top: clamp(30px, 3.4vw, 48px); padding-bottom: clamp(30px, 3.4vw, 48px); }
@media (max-width: 1000px) { .trust-in > div:nth-child(n+3) { border-top: 0; } }
@media (max-width: 640px) { .trust-in > div + div { border-top: 0; } }
/* 2. accordions: no top or end rule, only a faint line between rows; the brass line appears only on the open row */
.acc { border-top: 0; }
.acc-item { border-bottom: 0; }
.acc-item + .acc-item { border-top: 1px solid rgba(251, 247, 236, 0.10); }
.acc-item::before { display: none; }
.acc-item.is-open { border-top-color: rgba(242, 210, 143, 0.55); }
.acc-item.is-open + .acc-item { border-top-color: rgba(242, 210, 143, 0.55); }
.acc-ico { border-color: rgba(251, 247, 236, 0.22); }
/* 3. header: no full-width line under the bar, the pill keeps its outline */
.gate3 .header::before { border-bottom: 0; }
/* 4. text links: fainter underline */
.gate-actions .text-link { border-bottom-color: rgba(242, 210, 143, 0.32); }
/* 5. who-we-work-with cards: the top rule is lighter */
.who-item { border-top-color: rgba(251, 247, 236, 0.14); }
.notice p { border-top-color: rgba(251, 247, 236, 0.12); }

/* Accordion lines restored to the earlier look (the user preferred them); the other line cleanups stay */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item + .acc-item { border-top: 0; }
.acc-item.is-open, .acc-item.is-open + .acc-item { border-top-color: transparent; }
.acc-item::before { display: block; }
.acc-ico { border-color: var(--line); }

/* About (version 3): keep the original photo and let its colour breathe; text sits on a soft local shade instead of a heavy overall wash */
.about-bright .bg-inner { filter: saturate(1.12) contrast(1.06) brightness(1.0) !important; background-position: 50% 62% !important; }
.about-bright .bg-tint { display: block; opacity: 0.22; mix-blend-mode: soft-light; }
.about-bright .bg::after { background:
  linear-gradient(90deg, rgba(6, 30, 38, 0.68) 0%, rgba(6, 30, 38, 0.46) 34%, rgba(6, 30, 38, 0.18) 56%, rgba(6, 30, 38, 0.08) 74%, rgba(6, 30, 38, 0.16) 100%),
  linear-gradient(180deg, rgba(6, 30, 38, 0.30) 0%, rgba(6, 30, 38, 0) 22%, rgba(6, 30, 38, 0.10) 62%, rgba(6, 30, 38, 0.70) 100%) !important; }
.about-bright .veil { opacity: min(var(--veil, 0), 0.22); }
.about-bright .phero h1, .about-bright .phero .lead, .about-bright .statement { text-shadow: 0 2px 26px rgba(4, 22, 30, 0.7); }
.about-bright .crumb, .about-bright .crumb a { text-shadow: 0 1px 12px rgba(4, 22, 30, 0.8); }
.notice p { border-top: 0; padding-top: 0; }

/* ---- Phone menu (version 3): a full-screen overlay, not a narrow panel ---- */
@media (max-width: 900px) {
  body.gate3 .header .nav {
    justify-self: stretch; width: 100%; max-width: none; left: 0; right: 0; top: 0; bottom: 0;
    padding: max(112px, calc(env(safe-area-inset-top) + 96px)) var(--pad) max(40px, env(safe-area-inset-bottom));
    gap: 4px; align-items: flex-start; justify-content: flex-start; overflow-y: auto;
    background:
      radial-gradient(520px 360px at 85% -4%, rgba(242, 210, 143, 0.16), transparent 70%),
      radial-gradient(560px 420px at 10% 104%, rgba(79, 182, 201, 0.16), transparent 70%),
      linear-gradient(165deg, #0B3744 0%, #06222B 70%);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body.gate3 .menu-backdrop, body.gate3.menu-open .menu-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: #06222B; }
  body.gate3 .header .nav > a, body.gate3 .header .nav .nav-item > .nav-trigger {
    font-size: clamp(32px, 9vw, 42px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.2; color: rgba(251, 247, 236, 0.92);
    padding: 11px 0; opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  }
  body.gate3.menu-open .header .nav > a, body.gate3.menu-open .header .nav .nav-item > .nav-trigger { opacity: 1; transform: none; }
  body.gate3.menu-open .header .nav > :nth-child(1) { transition-delay: 0.10s; }
  body.gate3.menu-open .header .nav > :nth-child(2) { transition-delay: 0.16s; }
  body.gate3.menu-open .header .nav > :nth-child(3) { transition-delay: 0.22s; }
  body.gate3.menu-open .header .nav > :nth-child(4) { transition-delay: 0.28s; }
  body.gate3.menu-open .header .nav > :nth-child(5) { transition-delay: 0.34s; }
  body.gate3 .header .nav a.is-active, body.gate3 .header .nav .nav-trigger.is-active { color: #F2D28F; }
  body.gate3 .header .nav a::after { display: none; }
  body.gate3 .header .nav .sub a { font-size: 19px; color: rgba(251, 247, 236, 0.78); padding: 8px 0; opacity: 1; transform: none; }
  body.gate3 .header .nav .lang-switch {
    margin-top: 30px; padding: 11px 26px; font-size: 18px; letter-spacing: 0; color: #F2D28F; border: 1px solid rgba(242, 210, 143, 0.5); border-radius: 999px;
    border-inline-start: 1px solid rgba(242, 210, 143, 0.5); background: rgba(242, 210, 143, 0.06);
  }
  body.gate3 .header .nav .lang-switch:active { background: rgba(242, 210, 143, 0.16); }
  body.gate3 .burger { background: rgba(6, 34, 43, 0.7); border-color: rgba(251, 247, 236, 0.28); }
}
@media (max-width: 900px) { body.gate3.rtl .header .nav > a, body.gate3.rtl .header .nav .nav-item > .nav-trigger { font-weight: 400; letter-spacing: 0 !important; font-size: clamp(30px, 8.4vw, 38px); } }

/* ---- Plain hero line, questions toggle, partner links ---- */
.gate-sub { max-width: 34ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: rgba(251, 247, 236, 0.92); text-shadow: 0 1px 16px rgba(5, 28, 36, 0.8); }
.acc-faq .faq-more { display: none; }
.acc-faq.is-all .faq-more { display: block; }
.faq-all { margin-top: 28px; display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 999px; background: transparent; border: 1px solid rgba(242, 210, 143, 0.5); color: #F2D28F; font: inherit; font-size: 15px; cursor: pointer; transition: background 0.3s ease, border-color 0.3s ease; }
.faq-all:hover { background: rgba(242, 210, 143, 0.1); border-color: #F2D28F; }
.person h3 a { color: inherit; transition: color 0.25s ease; }
.person h3 a:hover { color: var(--accent); }

/* Inner pages (version 3 look on each page's own photo) */
/* keep the original photo and let its colour breathe; text sits on a soft local shade instead of a heavy overall wash */
.inner-bright .bg-inner { filter: saturate(1.12) contrast(1.06) brightness(1.0) !important; background-position: 50% 62% !important; }
.inner-bright .bg-tint { display: block; opacity: 0.22; mix-blend-mode: soft-light; }
.inner-bright .bg::after { background:
  linear-gradient(90deg, rgba(6, 30, 38, 0.68) 0%, rgba(6, 30, 38, 0.46) 34%, rgba(6, 30, 38, 0.18) 56%, rgba(6, 30, 38, 0.08) 74%, rgba(6, 30, 38, 0.16) 100%),
  linear-gradient(180deg, rgba(6, 30, 38, 0.30) 0%, rgba(6, 30, 38, 0) 22%, rgba(6, 30, 38, 0.10) 62%, rgba(6, 30, 38, 0.70) 100%) !important; }
.inner-bright .veil { opacity: min(var(--veil, 0), 0.22); }
.inner-bright .phero h1, .inner-bright .phero .lead, .inner-bright .statement { text-shadow: 0 2px 26px rgba(4, 22, 30, 0.7); }
.inner-bright .crumb, .inner-bright .crumb a { text-shadow: 0 1px 12px rgba(4, 22, 30, 0.8); }

/* inner pages: the photo stays vivid at the top and settles darker as the text takes over */
.inner-bright .veil { opacity: min(var(--veil, 0), 0.68); }
.inner-bright .tier-head p, .inner-bright .row p, .inner-bright .duo p { color: rgba(251, 247, 236, 0.92); }

/* ---- Hero polish: a firmer shade behind the small label, and a headline block that always fits short laptop screens ---- */
.gate-copy::before { background: radial-gradient(ellipse 82% 80% at 34% 54%, rgba(6, 30, 38, 0.78), rgba(6, 30, 38, 0.46) 55%, rgba(6, 30, 38, 0) 84%); }
.gate-copy .kicker { color: #F8E2AE; font-weight: 600; text-shadow: 0 1px 2px rgba(3, 18, 24, 0.95), 0 2px 16px rgba(3, 18, 24, 0.95), 0 0 30px rgba(3, 18, 24, 0.8); }
.gate-scrim { background:
  linear-gradient(90deg, rgba(6, 30, 38, 0.84) 0%, rgba(6, 30, 38, 0.64) 22%, rgba(6, 30, 38, 0.30) 40%, rgba(6, 30, 38, 0.05) 56%, rgba(6, 30, 38, 0) 64%),
  linear-gradient(0deg, rgba(6, 30, 38, 0.70) 0%, rgba(6, 30, 38, 0.30) 22%, rgba(6, 30, 38, 0) 44%),
  linear-gradient(180deg, rgba(6, 30, 38, 0.42) 0%, rgba(6, 30, 38, 0) 16%); }
@media (min-width: 901px) and (max-height: 820px) {
  .gate-copy { bottom: clamp(24px, 5vh, 56px); gap: 14px; }
  .gate-copy h1 { font-size: clamp(30px, min(3.3vw, 6vh), 52px); }
  .gate-sub { font-size: 14.5px; line-height: 1.5; }
}
@media (min-width: 901px) and (max-height: 640px) { .gate-sub { display: none; } .gate-copy { gap: 12px; } }

/* ================= Page heroes: the ring motif ================= */
.phero { position: relative; overflow: hidden; }
.phero .wrap { position: relative; }
.ring-art { position: relative; width: 31em; height: 21.5em; font-size: var(--ra, 9.4px); margin: 6px auto 30px; direction: ltr; pointer-events: none; }
@media (min-width: 1000px) {
  .ring-art { --ra: clamp(13px, 1.32vw, 19px); position: absolute; inset-inline-end: 0; top: 52%; transform: translateY(-48%); margin: 0; z-index: 0; }
  .phero .wrap:has(> .ring-art) > *:not(.ring-art) { position: relative; z-index: 1; max-width: min(56%, 40rem); }
  .phero .wrap:has(> .ring-art) h1 { font-size: clamp(40px, 5.4vw, 84px); max-width: none; }
  .phero .wrap:has(> .ring-art) .phero-actions, .phero .wrap:has(> .ring-art) .chips, .phero .wrap:has(> .ring-art) .filter-select { max-width: none; }
}
.ra-a, .ra-b, .ra-lens { position: absolute; border-radius: 50%; overflow: hidden; }
.ra-a img, .ra-b img, .ra-lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ra-a { left: 0; top: 0.6em; width: 20em; height: 20em; border: 1px solid rgba(242, 210, 143, 0.4); box-shadow: 0 2em 4.5em -1.6em rgba(0, 0, 0, 0.65); }
.ra-a img { filter: saturate(1.08) contrast(1.04); }
.ra-b { left: 14em; top: 2.4em; width: 17em; height: 17em; border: 1px solid rgba(251, 247, 236, 0.28); box-shadow: 0 2em 4.5em -1.6em rgba(0, 0, 0, 0.6); }
.ra-b img { filter: saturate(1.05) brightness(0.95); }
/* the overlap: the right photo seen through a gold tint, clipped to the left circle */
.ra-lens { left: 14em; top: 2.4em; width: 17em; height: 17em; clip-path: circle(10em at -4em 8.2em); }
.ra-lens::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(246, 217, 150, 0.82), rgba(176, 138, 62, 0.70)); }
.ra-lens img { mix-blend-mode: multiply; filter: saturate(0.6) brightness(1.25); }
.ra-ring { position: absolute; left: 14em; top: 2.4em; width: 17em; height: 17em; border-radius: 50%; border: 1px solid rgba(242, 210, 143, 0.55); clip-path: circle(10em at -4em 8.2em); }
.ra-bg { position: absolute; border-radius: 50%; border: 2.4em solid rgba(251, 247, 236, 0.05); }
.ra-bg1 { width: 24em; height: 24em; right: -9em; top: -6em; }
.ra-bg2 { width: 24em; height: 24em; right: -17em; top: -1em; border-color: rgba(242, 210, 143, 0.06); }
@media (max-width: 999px) { .ra-bg { display: none; } .ring-art { transform: scale(var(--sc, 1)); } }
@media (max-width: 420px) { .ring-art { --ra: 8.6px; } }

/* meta line and tags on service pages */
.ph-meta { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #F2D28F; }
.ph-meta i { width: 38px; height: 1px; background: rgba(242, 210, 143, 0.6); }
.ph-meta + h1 { margin-top: 16px; }
.phero .crumb + .ph-meta { margin-top: 22px; }
.ph-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ph-tags li { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(251, 247, 236, 0.26); background: rgba(6, 30, 38, 0.42); font-size: 13px; color: rgba(251, 247, 236, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.phero.still .crumb, .still .phero .crumb { display: flex; }
@media (min-width: 1000px) {
  .phero:has(> .wrap > .ring-art) { min-height: clamp(500px, 66vh, 640px); padding-bottom: clamp(48px, 5vw, 80px); display: flex; align-items: center; }
  .phero:has(> .wrap > .ring-art) > .wrap { width: 100%; }
  .still .phero:has(> .wrap > .ring-art) { padding-top: clamp(112px, 14vh, 150px); }
}

/* ================= 3D hero scenes (replace the photo circles) ================= */
.ring-art.sa { width: 32em; height: 22.3em; perspective: 1100px; }
.sa-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(7deg - var(--py, 0) * 10deg)) rotateY(calc(-12deg + var(--px, 0) * 16deg)); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sa-l { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform-style: preserve-3d; filter: drop-shadow(0 0.9em 1.1em rgba(0, 0, 0, 0.45)); }
.sa-l1 { transform: translateZ(0); animation: saF1 9s ease-in-out infinite alternate; }
.sa-l2 { transform: translateZ(4.4em); animation: saF2 7s ease-in-out infinite alternate; }
@keyframes saF1 { from { transform: translateZ(0) translateY(0) rotateZ(-1.4deg); } to { transform: translateZ(0) translateY(-0.5em) rotateZ(1.4deg); } }
@keyframes saF2 { from { transform: translateZ(4.4em) translateY(0.3em); } to { transform: translateZ(4.4em) translateY(-0.4em); } }
.sa-glow { position: absolute; left: 12%; top: 8%; width: 76%; height: 84%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 210, 143, 0.30), rgba(79, 182, 201, 0.12) 52%, transparent 72%); filter: blur(1.4em); transform: translateZ(-4em); }
.sa-dot { position: absolute; width: 0.5em; height: 0.5em; border-radius: 50%; background: #F2D28F; box-shadow: 0 0 1em rgba(242, 210, 143, 0.8); opacity: 0.7; transform: translateZ(7em); animation: saDot 6s ease-in-out infinite; }
.sa-d1 { left: 10%; top: 20%; } .sa-d2 { left: 88%; top: 30%; animation-delay: -2s; } .sa-d3 { left: 72%; top: 86%; animation-delay: -4s; }
@keyframes saDot { 0%, 100% { transform: translate3d(0, 0, 7em); } 50% { transform: translate3d(0.6em, -1.2em, 7em); } }

.sa-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: saBar 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 0.25s); }
@keyframes saBar { 0%, 100% { transform: scaleY(0.8); } 50% { transform: scaleY(1.08); } }
.sa-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: saDraw 4.4s ease-in-out infinite; }
@keyframes saDraw { 0% { stroke-dashoffset: 1; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.sa-pulse { transform-box: fill-box; transform-origin: center; animation: saPulse 2.4s ease-in-out infinite; }
@keyframes saPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: 0.45; } }
.sa-float { animation: saBob 5s ease-in-out infinite alternate; }
@keyframes saBob { to { transform: translateY(-6px); } }
.sa-scan { animation: saScan 3.2s linear infinite; }
@keyframes saScan { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 0.9; } 100% { transform: translateY(80px); opacity: 0; } }
.sa-node { transform-box: fill-box; transform-origin: center; animation: saNode 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.35s); }
@keyframes saNode { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.sa-slab { animation: saSlab 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes saSlab { 0%, 100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }
.sa-merge-a { animation: saMa 4.2s ease-in-out infinite; } .sa-merge-b { animation: saMb 4.2s ease-in-out infinite; }
@keyframes saMa { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(18px); } }
@keyframes saMb { 0%, 100% { transform: translateX(14px); } 50% { transform: translateX(-18px); } }
.sa-lens { animation: saLens 6s ease-in-out infinite; }
@keyframes saLens { 0%, 100% { transform: translate(-22px, -6px); } 50% { transform: translate(22px, 10px); } }
.sa-cube { animation: saCube 4.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.4s); }
@keyframes saCube { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sa-orb { transform-origin: 200px 150px; animation: saOrbit 9s linear infinite; } .sa-orb2 { animation-duration: 6s; animation-direction: reverse; }
@keyframes saOrbit { to { transform: rotate(360deg); } }
.sa-page { animation: saPg 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.8s); }
@keyframes saPg { to { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .sa-l1, .sa-l2, .sa-dot, .sa-bar, .sa-draw, .sa-pulse, .sa-float, .sa-scan, .sa-node, .sa-slab, .sa-merge-a, .sa-merge-b, .sa-lens, .sa-cube, .sa-orb, .sa-page { animation: none; } .sa-draw { stroke-dashoffset: 0; } .sa-stage { transition: none; } }
@media (max-width: 999px) { .ring-art.sa { margin: 0 auto 6px; } }

/* animation switch on the page-hero art */
.ring-art .sa-toggle { position: absolute; left: 50%; bottom: -3.2em; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 16px; border-radius: 999px; border: 1px solid rgba(216, 188, 133, 0.45); background: rgba(5, 28, 34, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #F2EFE7; font: 500 12px/1 'Archivo', system-ui, sans-serif; letter-spacing: 0.06em; cursor: pointer; pointer-events: auto; z-index: 3; }
.ring-art .sa-toggle:hover { border-color: #D8BC85; }
.ring-art .sa-toggle:focus-visible { outline: 2px solid #F1D9A2; outline-offset: 3px; }
.ring-art .sa-toggle i { position: relative; width: 30px; height: 17px; border-radius: 999px; background: rgba(242, 239, 231, 0.2); transition: background 0.25s; }
.ring-art .sa-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #F2EFE7; transition: transform 0.25s; }
.ring-art .sa-toggle[aria-pressed="true"] i { background: #BB8C34; }
.ring-art .sa-toggle[aria-pressed="true"] i::after { transform: translateX(13px); }
.sa-off .sa-l1, .sa-off .sa-l2, .sa-off .sa-dot, .sa-off .sa-bar, .sa-off .sa-draw, .sa-off .sa-pulse, .sa-off .sa-float, .sa-off .sa-scan, .sa-off .sa-node, .sa-off .sa-slab, .sa-off .sa-merge-a, .sa-off .sa-merge-b, .sa-off .sa-lens, .sa-off .sa-cube, .sa-off .sa-orb, .sa-off .sa-page { animation: none !important; }
.sa-off .sa-draw { stroke-dashoffset: 0; }
.sa-off .sa-stage { transition: none; transform: rotateX(7deg) rotateY(-12deg); }
.sa-off .sa-scan { opacity: 0; }
@media (max-width: 999px) { .ring-art.sa { margin-bottom: 3.6em; } .ring-art .sa-toggle { bottom: -3.4em; } }

/* Contact page: clearly visible fields (the skyline photo stays visible above the form) */
.gate3 .contact-grid { align-items: stretch; }
.gate3 .calm .form, .gate3.calm .form { background: rgba(4, 22, 28, 0.74); border-color: rgba(216, 188, 133, 0.28); gap: 26px 28px; }
.gate3 .field input, .gate3 .field select, .gate3 .field textarea { padding: 13px 14px; border: 1px solid rgba(242, 239, 231, 0.24); border-radius: 8px; background-color: rgba(3, 14, 18, 0.5); font-size: 17px; }
.gate3 .field input:focus, .gate3 .field select:focus, .gate3 .field textarea:focus { border-color: var(--accent, #D8BC85); box-shadow: 0 0 0 3px rgba(216, 188, 133, 0.16); }
.gate3 .field select { padding-right: 38px; background-position: right 14px center; }
html[dir="rtl"] .gate3 .field select { padding-right: 14px; padding-left: 38px; background-position: left 14px center; }
.gate3 .field label { font-size: 12px; color: #E6CB92; }
.gate3 .contact-side { background: rgba(4, 22, 28, 0.74); border-color: rgba(216, 188, 133, 0.28); display: flex; flex-direction: column; }
.gate3 .contact-side .side-note { margin-top: auto; padding-top: 18px; }

/* Contact page: show the dusk skyline photo in full colour (inner pages darken photos; this one must stay vivid) */
body.calm.inner-bright .bg-inner { background-position: 50% 78% !important; filter: saturate(1.1) contrast(1.05) brightness(1.08) !important; }
body.calm.inner-bright .bg-tint { display: none; }
body.calm.inner-bright .bg::after { background: linear-gradient(90deg, rgba(5, 28, 34, 0.22) 0%, rgba(5, 28, 34, 0.06) 50%, rgba(5, 28, 34, 0) 100%), linear-gradient(180deg, rgba(5, 28, 34, 0.3) 0%, rgba(5, 28, 34, 0) 28%, rgba(5, 28, 34, 0.04) 60%, rgba(5, 28, 34, 0.7) 100%) !important; }

/* the animation switch is no longer offered */
.ring-art .sa-toggle, [data-sa-toggle] { display: none !important; }

/* news items: long headlines stay readable (English and Arabic) */
.phero.news-hero .wrap:has(> .ring-art) h1, .phero.news-hero h1 { font-size: clamp(30px, 3.7vw, 58px); max-width: 24ch; line-height: 1.12; }
.rtl .phero.news-hero .wrap:has(> .ring-art) h1, .rtl .phero.news-hero h1 { max-width: 20ch; line-height: 1.3; }
.phero.news-hero .wrap:has(> .ring-art) > .lead { max-width: min(56ch, 100%); }
