:root {
  --navy: #133458;
  --navy-deep: #081d32;
  --navy-light: #1d4b78;
  --white: #fff;
  --muted: #bfd0df;
  --line: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20; height: 148px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 4.8vw, 76px); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 18, 32, .76), transparent);
  transition: background .35s, height .35s, box-shadow .35s;
}
.site-header.scrolled { position: fixed; height: 98px; background: rgba(8, 29, 50, .93); backdrop-filter: blur(16px); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.brand { width: 170px; height: 145px; overflow: hidden; display: grid; place-items: center; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.brand:hover { transform: scale(1.06); }
.brand img { width: 205px; height: 205px; object-fit: contain; filter: drop-shadow(0 5px 18px rgba(0,0,0,.22)); }
.scrolled .brand { width: 118px; height: 94px; }
.scrolled .brand img { width: 145px; height: 145px; }
.header-right { display: flex; align-items: center; gap: 34px; }
.nav { display: flex; gap: clamp(19px, 2.2vw, 38px); align-items: center; }
.nav a { position: relative; padding: 10px 0; color: #f0f5f8; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 100%; bottom: 3px; height: 1px; background: white; transition: inset-inline-end .35s ease; }
.nav a:hover::after { inset-inline-end: 0; }
.languages { direction: ltr; display: flex; gap: 2px; padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.languages button { color: rgba(255,255,255,.55); border: 0; background: transparent; padding: 7px; font-size: 10px; letter-spacing: .12em; transition: color .25s, transform .25s; }
.languages button:hover, .languages button.active { color: white; transform: translateY(-2px); }
.languages button.active { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: none; width: 42px; height: 42px; background: transparent; color: white; border: 0; position: relative; }
.menu-button span { position: absolute; left: 8px; right: 8px; height: 1px; background: currentColor; transition: transform .3s, top .3s; }
.menu-button span:first-child { top: 16px; }
.menu-button span:last-child { top: 25px; }
.menu-button.open span:first-child { top: 21px; transform: rotate(45deg); }
.menu-button.open span:last-child { top: 21px; transform: rotate(-45deg); }

.hero {
  min-height: 880px; position: relative; overflow: hidden; display: flex; align-items: center;
  padding: 190px clamp(24px, 8vw, 128px) 100px;
  background: var(--navy-deep) url('assets/hero-holding.webp') center/cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,32,.94) 0%, rgba(9,31,52,.74) 42%, rgba(10,30,49,.15) 76%), linear-gradient(0deg, rgba(5,22,39,.52), transparent 45%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 45%, transparent 0 24%, rgba(255,255,255,.05) 24.15% 24.3%, transparent 24.5%); pointer-events: none; }
.hero-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; animation: orbitFloat 9s ease-in-out infinite; }
.orbit-one { width: 570px; height: 570px; right: -150px; top: 130px; }
.orbit-two { width: 260px; height: 260px; right: 22%; bottom: -130px; animation-delay: -3s; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-enter > * { opacity: 0; transform: translateY(28px); animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-enter > *:nth-child(2) { animation-delay: .14s; }
.hero-enter > *:nth-child(3) { animation-delay: .28s; }
.hero-enter > *:nth-child(4) { animation-delay: .42s; }
.eyebrow, .section-number, .modal-kicker { display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); font-size: 11px; font-weight: 700; }
.pulse-dot { width: 7px; height: 7px; margin-inline-end: 12px; border-radius: 50%; background: white; box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: pulse 2.2s infinite; }
.hero h1 { max-width: 950px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px, 7.2vw, 108px); line-height: .96; letter-spacing: -.045em; font-weight: 400; margin: 30px 0; text-shadow: 0 8px 35px rgba(0,0,0,.22); }
.hero h1 em { font-weight: 400; color: #d2e0eb; }
.hero p { max-width: 590px; color: #e0e9f0; font-size: 17px; line-height: 1.8; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 0 0 10px; border-bottom: 1px solid rgba(255,255,255,.58); font-size: 12px; letter-spacing: .1em; transition: gap .3s, border-color .3s; }
.hero-link:hover { gap: 20px; border-color: white; }
.hero-link span:last-child { animation: nudgeDown 1.7s ease-in-out infinite; }
.hero-year { position: absolute; z-index: 1; inset-inline-end: 4%; bottom: 22px; font-family: Georgia, serif; font-size: clamp(90px, 12vw, 190px); opacity: .09; letter-spacing: -.07em; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translateX(-50%); }
.scroll-cue span { width: 1px; height: 34px; background: rgba(255,255,255,.55); transform-origin: top; animation: scrollLine 2s ease-in-out infinite; }
.scroll-cue small { font-size: 8px; letter-spacing: .24em; color: rgba(255,255,255,.5); }

.heritage-band { min-height: 210px; padding: 48px clamp(24px, 8vw, 128px); display: grid; grid-template-columns: auto minmax(250px, 430px) 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy); }
.heritage-band strong { font-family: Georgia, serif; font-size: clamp(78px, 10vw, 146px); font-weight: 400; line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); }
.heritage-band > div > span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.heritage-band p { margin: 12px 0 0; font-family: Georgia, serif; font-size: 25px; line-height: 1.3; }
.heritage-line { height: 1px; background: var(--line); overflow: hidden; }
.heritage-line i { display: block; width: 38%; height: 100%; background: white; transform: translateX(-100%); transition: transform 1.4s .25s cubic-bezier(.2,.7,.2,1); }
.heritage-band.is-visible .heritage-line i { transform: translateX(0); }

.section-shell { padding: 130px clamp(24px, 8vw, 128px); }
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 7vw; }
.about-copy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7vw; }
.about h2, .section-heading h2, .contact h2 { font-family: Georgia, serif; font-size: clamp(40px, 5vw, 70px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.about p, .section-heading p, .contact-copy > p { color: #cad8e4; line-height: 1.9; margin: 3px 0 0; font-size: 16px; }

.sectors { position: relative; background: #f3f5f7; color: var(--navy); overflow: hidden; }
.sectors::before { content: "1979"; position: absolute; top: -70px; inset-inline-end: -30px; font-family: Georgia, serif; font-size: 270px; color: rgba(19,52,88,.025); pointer-events: none; }
.sectors .section-number { color: #60758a; }
.section-heading { position: relative; max-width: 760px; margin-bottom: 64px; }
.section-heading h2 { margin: 18px 0 20px; }
.section-heading p { color: #627589; }
.sector-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cbd4dc; border: 1px solid #cbd4dc; }
.sector-card { min-height: 350px; position: relative; overflow: hidden; text-align: start; padding: 34px; border: 0; background: #f3f5f7; color: var(--navy); display: flex; flex-direction: column; transition: color .45s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.card-glow { position: absolute; inset: 100% 0 0; background: linear-gradient(145deg, #173c63, #0b2947); transition: inset .5s cubic-bezier(.2,.8,.2,1); }
.sector-card:hover, .sector-card:focus-visible { color: white; z-index: 2; transform: translateY(-9px); box-shadow: 0 24px 55px rgba(8,29,50,.2); outline: none; }
.sector-card:hover .card-glow, .sector-card:focus-visible .card-glow { inset: 0; }
.sector-card > span:not(.card-glow) { position: relative; z-index: 1; }
.card-order { align-self: flex-end; font-size: 10px; letter-spacing: .18em; opacity: .55; }
.icon-wrap { width: 82px; height: 82px; position: relative; margin: 25px 0 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: transform .55s cubic-bezier(.2,.8,.2,1), background .35s; }
.icon-ring { position: absolute !important; inset: -7px; border: 1px solid currentColor; border-radius: 50%; opacity: 0; transform: scale(.75); transition: opacity .35s, transform .55s cubic-bezier(.2,.8,.2,1); }
.icon-wrap svg { width: 39px; height: 39px; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.sector-card:hover .icon-wrap, .sector-card:focus-visible .icon-wrap { transform: translateY(-5px) scale(1.04); background: rgba(255,255,255,.07); }
.sector-card:hover .icon-ring, .sector-card:focus-visible .icon-ring { opacity: .4; transform: scale(1); }
.sector-card:hover .icon-wrap svg, .sector-card:focus-visible .icon-wrap svg { transform: rotate(-7deg) scale(1.08); }
.card-title { font-family: Georgia, serif; font-size: 28px; }
.card-label { margin-top: 10px; font-size: 13px; opacity: .65; line-height: 1.5; }
.card-action { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: 0; transform: translateY(9px); transition: .35s .12s; }
.sector-card:hover .card-action, .sector-card:focus-visible .card-action { opacity: 1; transform: none; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.contact-map { min-height: 430px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.02), rgba(255,255,255,.075)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: background .45s, transform .45s; }
.contact-map:hover { background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.11)); transform: translateY(-5px); }
.map-pin { font-size: 46px; line-height: 1; transition: transform .45s; }
.contact-map:hover .map-pin { transform: translateY(-7px) scale(1.1); }
.contact-map > span:nth-child(2) { font-family: Georgia, serif; font-size: 30px; }
.contact-map small { color: var(--muted); max-width: 270px; text-align: center; line-height: 1.6; }
.contact-copy h2 { margin: 22px 0; }
.contact-placeholder { display: inline-flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 16px clamp(24px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
footer img { width: 102px; height: 102px; object-fit: contain; transition: transform .35s; }
footer img:hover { transform: scale(1.06); }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(3,14,26,.84); backdrop-filter: blur(12px); padding: 28px; display: grid; place-items: center; animation: fade .25s ease; }
.sector-modal { width: min(920px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; background: #f5f7f9; color: var(--navy); position: relative; box-shadow: 0 35px 100px rgba(0,0,0,.42); animation: modalRise .45s cubic-bezier(.2,.8,.2,1); }
.modal-close { position: absolute; inset-inline-end: 18px; top: 18px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; color: white; background: rgba(7,28,49,.55); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 28px; line-height: 1; transition: transform .35s, background .35s; }
.modal-close:hover, .modal-close:focus-visible { transform: rotate(90deg); background: var(--navy); outline: 2px solid white; outline-offset: 2px; }
.modal-visual { height: 330px; position: relative; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.82); background: linear-gradient(135deg, #15395f, #255d8e); }
.modal-visual::before, .modal-visual::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.modal-visual::before { width: 360px; height: 360px; inset-inline-end: -80px; top: -140px; }
.modal-visual::after { width: 190px; height: 190px; inset-inline-start: 12%; bottom: -105px; }
.modal-icon { position: relative; z-index: 1; animation: iconFloat 3.5s ease-in-out infinite; }
.modal-icon svg { width: 120px; height: 120px; }
.modal-content { padding: 48px clamp(28px, 7vw, 70px) 60px; text-align: start; }
.modal-kicker { color: #627b92; }
.modal-content h2 { font-family: Georgia, serif; font-size: clamp(40px, 6vw, 65px); font-weight: 400; letter-spacing: -.04em; margin: 12px 0 22px; }
.modal-content p { color: #526a80; font-size: 16px; line-height: 1.9; margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
[data-reveal].reveal-left { transform: translateX(-45px); }
[dir="rtl"] [data-reveal].reveal-left { transform: translateX(45px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s !important; }
.delay-2 { transition-delay: .22s !important; }
.delay-3 { transition-delay: .32s !important; }
[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
[dir="rtl"] .hero h1, [dir="rtl"] .about h2, [dir="rtl"] .section-heading h2, [dir="rtl"] .contact h2, [dir="rtl"] .card-title, [dir="rtl"] .modal-content h2, [dir="rtl"] .heritage-band p { font-family: Tahoma, Arial, sans-serif; letter-spacing: -.025em; }

@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes modalRise { from { transform: translateY(28px) scale(.985); opacity: .55; } }
@keyframes orbitFloat { 50% { transform: translateY(-14px) scale(1.02); } }
@keyframes pulse { 60% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@keyframes nudgeDown { 50% { transform: translateY(5px); } }
@keyframes scrollLine { 0%,100% { transform: scaleY(.25); opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes iconFloat { 50% { transform: translateY(-9px); } }

@media (max-width: 1050px) {
  .site-header { height: 120px; }
  .brand { width: 142px; height: 116px; }
  .brand img { width: 178px; height: 178px; }
  .header-right { gap: 18px; }
  .nav { gap: 17px; }
  .languages { padding-inline-start: 12px; }
}

@media (max-width: 900px) {
  .menu-button { display: block; z-index: 3; }
  .header-right { display: none; position: absolute; top: 112px; left: 0; right: 0; padding: 28px; background: rgba(8,29,50,.98); flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .header-right.open { display: flex; }
  .nav { flex-direction: column; align-items: flex-start; }
  [dir="rtl"] .nav { align-items: flex-end; }
  .languages { justify-content: flex-start; padding: 18px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .about, .about-copy, .contact { grid-template-columns: 1fr; }
  .about { gap: 42px; }
  .about-copy { gap: 30px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .heritage-band { grid-template-columns: auto 1fr; }
  .heritage-line { display: none; }
}

@media (max-width: 640px) {
  .site-header, .site-header.scrolled { height: 98px; padding: 0 20px; }
  .brand, .scrolled .brand { width: 116px; height: 96px; }
  .brand img, .scrolled .brand img { width: 150px; height: 150px; }
  .header-right { top: 98px; }
  .hero { min-height: 760px; padding: 145px 24px 90px; background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,18,32,.95), rgba(8,29,50,.68)), linear-gradient(0deg, rgba(5,22,39,.62), transparent); }
  .hero h1 { font-size: clamp(48px, 14vw, 62px); }
  .hero p { font-size: 16px; }
  .hero-year { font-size: 88px; bottom: 48px; }
  .scroll-cue { display: none; }
  .heritage-band { min-height: auto; padding: 60px 22px; grid-template-columns: 1fr; gap: 25px; }
  .heritage-band strong { font-size: 100px; }
  .section-shell { padding: 88px 22px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 300px; }
  .contact-map { min-height: 310px; }
  .modal-backdrop { padding: 0; align-items: end; }
  .sector-modal { max-height: 94vh; width: 100%; border-radius: 18px 18px 0 0; }
  .modal-visual { height: 250px; }
  .modal-content { padding: 34px 26px 44px; }
  footer { flex-direction: column; gap: 2px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
