/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
img,
svg,
video {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}
ol,
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}
a {
  color: inherit;
  text-decoration: inherit;
}
dialog {
  color: inherit;
}

/* Design tokens, typography and hero */
@font-face {
  font-family: Tajawal;
  src: url(../assets/fonts/tajawal-regular.ttf) format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url(../assets/fonts/tajawal-bold.ttf) format("truetype");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --background: #081c17;
  --foreground: #f0eee4;
  --card: #112c23;
  --card-foreground: #f0eee4;
  --popover: #15392c;
  --popover-foreground: #f0eee4;
  --primary: #d1b276;
  --primary-foreground: #132a20;
  --secondary: #17392b;
  --secondary-foreground: #f0eee4;
  --muted: #112c23;
  --muted-foreground: #a8bbad;
  --accent: #204a36;
  --accent-foreground: #f0eee4;
  --border: #a9c4ad26;
  --input: #a9c4ad3b;
  --ring: #d1b276;
  --radius: 0.6rem;
  --destructive: #ffa59b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}
body {
  background: var(--background);
  color: var(--foreground);
  margin: 0;
  font-family: Tajawal, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
:is(a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible) {
  outline-offset: 6px;
  outline: 2px solid #d9b979;
}
::selection {
  color: #102c1e;
  background: #d1b276;
}
em {
  color: #d1b276;
  font-style: normal;
}
.wrap {
  width: min(1180px, 100% - 96px);
  margin-inline: auto;
}
.skip {
  z-index: 200;
  color: #10291d;
  background: #d1b276;
  padding: 12px;
  position: fixed;
  top: -100px;
  right: 20px;
}
.skip:focus {
  top: 15px;
}
h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.5;
}
.photo-credit {
  color: #c8d5cc;
  font-family: Tajawal, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}
.photo-credit a {
  border-bottom: 1px solid #ffffff35;
}
.photo-credit a:hover {
  color: #edd09a;
}
.home-hero {
  text-align: center;
  isolation: isolate;
  background: #0b271c;
  place-items: center;
  min-height: max(850px, 100svh);
  padding: 50px 24px 130px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.home-backdrop {
  z-index: -3;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.home-backdrop img {
  object-fit: cover;
  object-position: center 65%;
  opacity: 0.65;
  width: 100%;
  height: 100%;
  animation: 22s ease-in-out infinite alternate landscape-drift;
}
.home-hero:before {
  content: "";
  z-index: -2;
  background: linear-gradient(#081c1785 0%, #08201792 50%, #081c17 100%);
  position: absolute;
  inset: 0;
}
.hero-inner {
  max-width: 850px;
  animation: 1s both entry;
}
.logo-stage {
  perspective: 1000px;
  width: clamp(230px, 22vw, 310px);
  height: clamp(230px, 22vw, 310px);
  margin: 0 auto 22px;
}
.floating-logo {
  object-fit: contain;
  filter: drop-shadow(0 20px 24px #0005);
  width: 100%;
  height: 100%;
  animation: 7s ease-in-out infinite compass-float;
  display: block;
}
.brand-english {
  color: #ddc58f;
  letter-spacing: 0.36em;
  margin-bottom: 8px;
  padding-left: 0.36em;
  font-size: 13px;
  font-weight: 500;
}
.home-hero h1 {
  font-size: clamp(47px, 5.5vw, 78px);
  font-weight: 700;
  line-height: 1.5;
}
.hero-tagline {
  color: #e0c798;
  margin-top: 3px;
  font-size: clamp(22px, 2.5vw, 34px);
}
.hero-description {
  color: #c2d1c6;
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.9;
}
.scroll-cue {
  color: #d8e3d9;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  display: flex;
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translate(-50%);
}
.scroll-track {
  background: #ffffff26;
  width: 1px;
  height: 37px;
  display: block;
  overflow: hidden;
}
.scroll-track:after {
  content: "";
  background: #d1b276;
  width: 1px;
  height: 20px;
  animation: 2.5s ease-in-out infinite scroll-guide;
  display: block;
}
.hero-foot {
  color: #a1b7a6;
  pointer-events: none;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  font-size: 12px;
  display: flex;
  position: absolute;
  bottom: 30px;
  left: 48px;
  right: 48px;
}
.hero-foot .photo-credit {
  pointer-events: auto;
  max-width: 280px;
}
.hero-foot .photo-credit > span {
  display: none;
}
.privacy {
  color: #9db59f;
  margin: 16px 0;
  font-size: 12px;
}
.honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
}
.motion-ready {
  opacity: 0;
  transition:
    opacity 0.85s,
    transform 0.85s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateY(22px);
}
.motion-ready.visible {
  opacity: 1;
  transform: none;
}
@keyframes entry {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes compass-float {
  0%,
  to {
    transform: translateY(0) rotate(-3deg) rotateY(-7deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg) rotateY(7deg);
  }
}
@keyframes landscape-drift {
  0% {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
@keyframes scroll-guide {
  0% {
    transform: translateY(-21px);
  }
  70%,
  to {
    transform: translateY(42px);
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.22s both page-out;
}
::view-transition-new(root) {
  animation: 0.4s both page-in;
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-7px);
  }
}
@keyframes page-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .hero-foot {
    left: 28px;
    right: 28px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .home-hero {
    min-height: max(780px, 100svh);
    padding: 48px 23px 145px;
  }
  .logo-stage {
    width: 235px;
    height: 235px;
    margin-bottom: 22px;
  }
  .brand-english {
    font-size: 12px;
  }
  .home-hero h1 {
    font-size: 44px;
    line-height: 1.6;
  }
  .hero-tagline {
    font-size: 24px;
    line-height: 1.7;
  }
  .hero-description {
    max-width: 330px;
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.95;
  }
  .scroll-cue {
    font-size: 13px;
    bottom: 50px;
  }
  .hero-foot {
    justify-content: center;
    bottom: 12px;
    left: 20px;
    right: 20px;
  }
  .hero-foot > span:first-child {
    display: none;
  }
  .hero-foot .photo-credit {
    text-align: center;
    max-width: none;
    font-size: 12px;
  }
  h2 {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  :before,
  :after {
    transition: none !important;
    animation: none !important;
  }
  .motion-ready {
    opacity: 1;
    transform: none;
  }
  .floating-logo {
    will-change: auto;
  }
  ::view-transition-old(root) {
    animation: none !important;
  }
  ::view-transition-new(root) {
    animation: none !important;
  }
}
.language-toggle {
  z-index: 60;
  color: #f0e3c9;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  top: 22px;
  background: #081c17e8;
  border: 1px solid #d1b27675;
  border-radius: 30px;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  position: fixed;
  inset-inline-end: 24px;
  box-shadow: 0 5px 25px #0002;
}
.language-toggle:hover {
  background: #214632;
}
html[lang="en"] body {
  font-family: Arial, sans-serif;
  line-height: 1.75;
}
html[lang="en"] .home-hero h1 {
  font-size: clamp(42px, 5.5vw, 74px);
}
@media (max-width: 850px) {
  .language-toggle {
    top: 15px;
    padding: 8px 12px;
    font-size: 14px;
    inset-inline-end: 15px;
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-scroll-snap-strictness {
  syntax: "*";
  inherits: false;
  initial-value: proximity;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-content {
  syntax: "*";
  inherits: false;
  initial-value: "";
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
