@import url('./fonts/fonts.css');

:root {
  --ink: #101d37;
  --muted: #536073;
  --muted-on-pale: #4c5f80;
  --blue: #245adc;
  --pale: #edf2fc;
  --line: #d9dfe8;
  --white: #fff;
  --night-text: #bfd0ee;
  --font: 'IBM Plex Sans', Arial, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --page-width: 1280px;
  --gutter: clamp(22px, 5.8vw, 84px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; scrollbar-color: #9da9bd var(--pale); }
html[lang=ar] { --font: 'IBM Plex Sans Arabic', Tahoma, sans-serif; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.75 var(--font); }
::selection { background: var(--blue); color: var(--white); }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.skip { position: fixed; top: -100px; inset-inline-start: 20px; z-index: 3; padding: 12px 24px; background: var(--ink); color: white; }
.skip:focus { top: 16px; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: var(--page-width); min-height: 80px; margin: auto; padding: 15px var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; font: 600 22px/1 'IBM Plex Sans', sans-serif; letter-spacing: -.04em; direction: ltr; border: 1px solid var(--ink); }
.brand-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.brand-name strong { font-size: 17px; font-weight: 600; }
.brand-name small { margin-top: 5px; font-size: 12px; color: var(--muted); }
nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-size: 14px; font-weight: 500; }
nav a { display: flex; align-items: center; min-height: 44px; transition: color 180ms ease; }
nav a[aria-current] { color: var(--blue); text-decoration: underline; }
.language { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 86px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 14px; padding: 8px 10px; transition: background 180ms ease, transform 140ms var(--ease-out); }
.language span { font-size: 11px; color: var(--muted); }
.hero { max-width: var(--page-width); margin: auto; padding: 42px var(--gutter) 76px; }
.hero-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5%; align-items: center; }
.hero-copy { padding-block: 16px; min-width: 0; }
h1 { margin: 0 0 26px; font-size: clamp(42px, 5.4vw, 70px); font-weight: 500; line-height: 1.12; letter-spacing: -.04em; }
h1 span { display: block; }
html[lang=ar] h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.45; letter-spacing: 0; }
.accent { color: var(--blue); }
.hero-description { max-width: 42ch; margin-bottom: 29px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 24px; border-radius: 4px; background: var(--blue); color: white; font-size: 15px; font-weight: 500; transition: background 180ms ease, transform 140ms var(--ease-out); }
.button:active, .language:active { transform: scale(.97); }
.hero-panel { position: relative; isolation: isolate; overflow: hidden; height: 465px; margin: 0; background: var(--pale); }
.hero-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; opacity: 1; transform: scale(1); transition: transform 650ms var(--ease-out), opacity 500ms var(--ease-out); }
.hero-panel figcaption { position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; gap: 5px; padding: 64px 26px 24px; background: linear-gradient(transparent, rgb(16 29 55 / .88)); color: white; }
.hero-panel figcaption strong { font-size: 22px; font-weight: 500; }
.hero-panel figcaption span { max-width: 43ch; font-size: 14px; line-height: 1.6; }
@starting-style { .hero-panel img { transform: scale(1.035); opacity: .8; } }
.section { max-width: var(--page-width); margin: auto; padding: 78px var(--gutter) 88px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 24px; font-size: clamp(30px, 3.2vw, 43px); font-weight: 500; line-height: 1.28; letter-spacing: -.03em; white-space: pre-line; }
html[lang=ar] h2 { line-height: 1.6; letter-spacing: 0; }
.about .section-content { display: grid; grid-template-columns: .95fr 1.3fr; column-gap: 8%; }
.about .section-content > p { padding-top: 4px; font-size: 17px; color: var(--muted); line-height: 1.9; max-width: 65ch; }
.facts { grid-column: 2; display: grid; grid-template-columns: 1fr .75fr 1.3fr; gap: 24px; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
dt { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
dd { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
html[lang=ar] dt { font-size: 13px; }
.activities { background: var(--pale); }
.section-intro { max-width: 640px; margin-bottom: 42px; }
.section-intro p { color: var(--muted-on-pale); font-size: 16px; }
.activity { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 29px 0 32px; border-top: 1px solid #c6d2e9; }
.activity > div { display: grid; grid-template-columns: .95fr 1.3fr; align-items: baseline; gap: 8%; }
.activity h3 { font-size: 22px; line-height: 1.6; font-weight: 500; margin: 0; letter-spacing: -.02em; }
html[lang=ar] .activity h3 { letter-spacing: 0; }
.activity p { max-width: 60ch; color: var(--muted-on-pale); font-size: 16px; line-height: 1.85; }
.activity-tag { display: none; }
.brand-feature { max-width: 770px; }
.brand-story p { max-width: 65ch; color: var(--muted); font-size: 17px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; border-bottom: 1px solid var(--blue); color: var(--blue); font-size: 14px; transition: color 180ms ease; }
.brand-relationship { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px; margin-top: 36px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-relationship > span { color: var(--muted); font-size: 12px; }
.brand-relationship > strong { font-size: 14px; font-weight: 500; }
.location { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 10%; max-width: var(--page-width); margin: auto; padding: 68px var(--gutter) 80px; border-top: 1px solid var(--line); }
.location h2 { margin-bottom: 18px; }
.location p { font-size: 17px; color: var(--muted); max-width: 50ch; }
.location dl { margin: 0; }
.location dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.location dt { margin: 0; padding-top: 3px; }
.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; max-width: var(--page-width); margin: auto; padding: 58px var(--gutter) 62px; background: var(--pale); border-top: 1px solid var(--line); }
.contact h2 { font-size: 36px; margin-bottom: 18px; }
.contact p { max-width: 50ch; font-size: 16px; color: var(--muted-on-pale); }
.contact-email { justify-self: end; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--blue); color: var(--blue); font-size: clamp(20px, 2.6vw, 32px); overflow-wrap: anywhere; }
.footer { max-width: var(--page-width); margin: auto; padding: 44px var(--gutter) 26px; background: white; color: var(--ink); border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 35px; }
.footer-main strong { display: block; font-size: 16px; font-weight: 500; }
.footer-translation { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
html[lang=en] .footer-translation { display: none; }
.footer-main > a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 23px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  nav a:hover { color: var(--blue); }
  .button:hover { background: var(--ink); }
  .language:hover { background: var(--pale); }
  .text-link:hover, .contact-email:hover { color: var(--ink); }
}
@media (max-width: 1050px) {
  .header { gap: 17px; }
  .brand-name strong { font-size: 15px; }
  nav { gap: 15px; font-size: 13px; }
  .hero-panel { height: 410px; }
  .facts { gap: 16px; grid-template-columns: 1fr .7fr; }
  .facts > div:last-child { grid-column: 1 / -1; }
  .brand-relationship { grid-template-columns: auto 1fr; }
}
@media (max-width: 767px) {
  .header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 18px 8px; }
  .brand-name strong { font-size: 16px; }
  .brand-name small { font-size: 11px; }
  .brand-mark { width: 40px; height: 40px; font-size: 20px; }
  .language { min-width: 80px; font-size: 13px; }
  .language span { display: none; }
  nav { width: 100%; grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 6px; font-size: 13px; }
  .hero { padding-top: 32px; padding-bottom: 44px; }
  .hero-body { grid-template-columns: 1fr; gap: 27px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(38px, 10.5vw, 54px); margin-bottom: 20px; }
  html[lang=ar] h1 { font-size: clamp(39px, 10.5vw, 54px); }
  .hero-description { font-size: 16px; margin-bottom: 22px; }
  .hero-panel { height: 290px; }
  .hero-panel figcaption { padding: 48px 22px 18px; }
  .hero-panel figcaption strong { font-size: 20px; }
  .hero-panel figcaption span { font-size: 13px; }
  .section { padding-block: 48px 54px; }
  h2 { font-size: 31px; margin-bottom: 21px; }
  .about .section-content { display: block; }
  .about .section-content > p, .brand-story p { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 27px; }
  .facts > div:last-child { grid-column: 1 / -1; }
  .section-intro { margin-bottom: 30px; }
  .activity { grid-template-columns: 1fr; padding: 25px 0 28px; }
  .activity > div { display: block; }
  .activity h3 { font-size: 22px; margin-bottom: 12px; }
  .activity p { font-size: 16px; }
  .brand-relationship { gap: 15px; margin-top: 25px; }
  .brand-relationship > strong { font-size: 13px; }
  .location { grid-template-columns: 1fr; padding-block: 48px 54px; gap: 24px; }
  .contact { grid-template-columns: 1fr; padding-block: 45px 50px; gap: 20px; }
  .contact h2 { font-size: 31px; }
  .contact-email { justify-self: start; font-size: 26px; }
  .footer { padding-block: 34px 25px; }
  .footer-main { display: block; padding-bottom: 26px; }
  .footer-main strong { font-size: 15px; }
  .footer-main > a { margin-top: 17px; }
  .footer-bottom { display: block; }
  .footer-bottom > span { display: block; }
  .footer-bottom > span:last-child { margin-top: 9px; }
}
@media (max-width: 370px) {
  .brand-name strong { font-size: 14px; }
  .language { min-width: 68px; padding-inline: 8px; }
  nav { font-size: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-panel img { transform: none; opacity: 1; }
}
html[data-input=keyboard] { scroll-behavior: auto; }
html[data-input=keyboard] *, html[data-input=keyboard] *::before, html[data-input=keyboard] *::after { transition: none; }
