:root {
  --paper: #f8f4eb;
  --paper-deep: #efe6d7;
  --surface: #fffdf8;
  --ink: #163343;
  --muted: #657681;
  --teal: #057c86;
  --teal-deep: #075b65;
  --copper: #b8752f;
  --gold: #e6b45f;
  --line: rgba(22, 51, 67, .13);
  --shadow: 0 28px 80px rgba(54, 44, 32, .14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 5%, rgba(230, 180, 95, .18), transparent 24rem),
    radial-gradient(circle at 4% 12%, rgba(5, 124, 134, .1), transparent 25rem),
    var(--paper);
  font-family: "Avenir Next", "Segoe UI", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: white; background: var(--teal-deep); border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
  padding: .7rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(22, 51, 67, .08);
  background: rgba(248, 244, 235, .9);
  backdrop-filter: blur(18px);
}
.company-brand,
.footer-brand-lockup { display: inline-flex; align-items: center; gap: .72rem; color: var(--ink); text-decoration: none; }
.company-symbol { position: relative; flex: 0 0 46px; width: 46px; height: 46px; overflow: hidden; border: 1px solid rgba(22, 51, 67, .08); border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(22, 51, 67, .08); }
.company-symbol img { position: absolute; top: -10px; left: 50%; width: 200px; max-width: none; height: auto; transform: translateX(-50%); }
.company-wordmark { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1; }
.company-wordmark strong { color: var(--ink); font-size: 1rem; font-weight: 900; letter-spacing: .135em; }
.company-wordmark small { margin-top: .38rem; color: var(--muted); font-size: .57rem; font-weight: 750; letter-spacing: .035em; white-space: nowrap; }
.site-nav { display: flex; justify-content: flex-end; gap: 1.65rem; }
.site-nav a { position: relative; text-decoration: none; color: #3e5663; font-size: .9rem; font-weight: 700; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 2px; background: var(--teal); transition: right .2s ease; }
.site-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.language-picker select { min-width: 68px; padding: .68rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.62); cursor: pointer; }
.header-cta { display: inline-flex; align-items: center; gap: .6rem; padding: .74rem 1.05rem; color: white; background: var(--teal-deep); border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 800; }
.header-cta-short { display: none; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 5.4rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .74rem; line-height: 1.2; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-heading { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(320px, 1.2fr); gap: 1rem 5rem; align-items: end; margin-bottom: 2.7rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2 { margin: 0; max-width: 15ch; font-size: clamp(2.2rem, 4vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.section-heading > p:last-child { margin: 0; max-width: 52ch; color: var(--muted); font-size: 1.04rem; }

.hero { display: grid; grid-template-columns: minmax(320px, .93fr) minmax(420px, 1.07fr); gap: clamp(2.5rem, 6vw, 6rem); min-height: min(800px, calc(100svh - 78px)); align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero-copy h1 { margin: 0; max-width: 11ch; font-size: clamp(3.3rem, 6.5vw, 6.8rem); line-height: .94; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--copper); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lead { max-width: 58ch; margin: 1.7rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 50px; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal-deep); box-shadow: 0 14px 32px rgba(7,91,101,.2); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.52); }
.assurance-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.35rem; color: var(--muted); font-size: .76rem; font-weight: 700; }
.assurance-row span::before { content: "◇"; margin-right: .35rem; color: var(--teal); }
.hero-media { position: relative; min-height: 540px; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.hero-media > img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,35,43,.7)); }
.hero-caption { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 1rem; color: white; }
.hero-caption span { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-caption strong { max-width: 16ch; text-align: right; font-size: 1.1rem; }

.metrics { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics article { display: flex; flex-direction: column; gap: .6rem; padding: 2.4rem clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.metrics article:nth-child(4) { border-right: 0; }
.metrics strong { color: var(--copper); font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.metrics span { max-width: 18ch; color: var(--muted); font-size: .84rem; }
.metrics > p { grid-column: 1 / -1; margin: 0; padding: .75rem 1rem; text-align: center; color: var(--muted); font-size: .7rem; border-top: 1px solid var(--line); }

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.capability-card { min-height: 285px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,248,.66); }
.capability-card > span { display: block; color: var(--copper); font-size: .78rem; font-weight: 900; }
.capability-card h3 { margin: 7rem 0 .55rem; font-size: 1.2rem; }
.capability-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.proof { display: grid; gap: 1rem; }
.proof-feature { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 410px; overflow: hidden; border-radius: var(--radius-xl); background: #e7eee9; }
.proof-feature.reverse { grid-template-columns: .9fr 1.1fr; background: #efe6d8; }
.proof-feature.reverse img { order: 2; }
.proof-feature img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.proof-feature > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.proof-feature h2 { margin: 0; max-width: 11ch; font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.proof-feature div > p:last-child { max-width: 42ch; margin: 1.4rem 0 0; color: var(--muted); }

.industries { padding-top: 4rem; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.industry-card { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,253,248,.7); }
.industry-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .45s ease; }
.industry-card:hover img { transform: scale(1.035); }
.industry-card div { position: relative; min-height: 145px; padding: 1.25rem; }
.industry-card div > span { position: absolute; top: 1.35rem; right: 1.3rem; color: var(--copper); font-size: .76rem; font-weight: 900; }
.industry-card h3 { margin: 0 2rem .45rem 0; font-size: 1.08rem; }
.industry-card p { margin: 0; color: var(--muted); font-size: .86rem; }

.process { padding-bottom: 8rem; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: .7rem; min-height: 175px; padding: 1.35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--copper); font-size: .72rem; font-weight: 900; }
.process-list h3 { margin: 0 0 .5rem; font-size: 1rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .84rem; }

.amana-section { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 6vw, 6rem); width: min(calc(100% - 2rem), 1320px); padding: clamp(3rem, 7vw, 7rem); color: #ecf4f0; border-radius: 40px; background: linear-gradient(145deg, #102f38, #075b65 72%, #087983); box-shadow: 0 35px 90px rgba(7,49,57,.25); overflow: hidden; }
.amana-section::before { content: "A"; position: absolute; right: -2rem; top: -12rem; color: rgba(255,255,255,.035); font-family: Georgia, serif; font-size: 34rem; line-height: 1; pointer-events: none; }
.amana-section .eyebrow { color: #74c7c4; }
.amana-brand { margin: 0 0 1.3rem; font-size: .88rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.amana-brand span { color: #9cb6b8; font-weight: 650; }
.amana-copy h2 { margin: 0; max-width: 12ch; font-size: clamp(2.4rem, 4.6vw, 5.1rem); line-height: 1; letter-spacing: -.055em; }
.amana-copy > p:not(.eyebrow):not(.amana-brand) { max-width: 51ch; color: #b7ced0; }
.amana-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button-light { color: #12343c; background: #f4ede0; }
.button-dark-outline { color: white; border-color: rgba(255,255,255,.22); }
.amana-panel { align-self: center; position: relative; z-index: 1; padding: 1.25rem; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: rgba(248,244,235,.98); color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.amana-panel-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.amana-avatar { display: grid; place-items: center; width: 42px; height: 42px; color: white; border-radius: 50%; background: var(--teal-deep); font-family: Georgia, serif; font-size: 1.25rem; }
.amana-panel-head div { display: flex; flex-direction: column; }
.amana-panel-head small { color: var(--muted); }
.amana-panel-head i { width: 9px; height: 9px; border-radius: 50%; background: #43a57e; box-shadow: 0 0 0 5px rgba(67,165,126,.13); }
.amana-message { max-width: 85%; margin: 1.6rem 0 1rem; padding: 1rem 1.1rem; border-radius: 5px 18px 18px 18px; background: #e6efea; font-size: .92rem; }
.amana-mode-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.4rem 0 .8rem; }
.amana-mode-row span { padding: .75rem; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .76rem; }
.amana-input { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: .8rem .85rem .8rem 1rem; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); text-decoration: none; background: white; }
.amana-input b { display: grid; place-items: center; width: 37px; height: 37px; color: white; border-radius: 50%; background: var(--teal-deep); }
.amana-panel > p { margin: .8rem 0 0; color: var(--muted); font-size: .7rem; text-align: center; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.founder-media { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.founder-media img { width: 100%; aspect-ratio: .92; object-fit: cover; }
.about-copy h2 { margin: 0; max-width: 13ch; font-size: clamp(2.3rem, 4.5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }
.about-copy > p:not(.eyebrow) { max-width: 53ch; color: var(--muted); }
.about-copy ul { margin: 1.8rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.about-copy li { position: relative; padding: .95rem 0 .95rem 1.5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.about-copy li::before { content: "◇"; position: absolute; left: 0; color: var(--teal); }
.company-details { display: flex; flex-direction: column; color: var(--muted); font-size: .78rem; }
.company-details span:first-child { color: var(--ink); font-weight: 800; }

.final-cta { padding: 5rem max(1.5rem, 5vw); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-cta h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.final-cta > p:not(.eyebrow) { max-width: 58ch; margin: 1.2rem auto 0; color: var(--muted); }
.final-cta .hero-actions { justify-content: center; }

.site-footer { display: grid; grid-template-columns: 1.1fr 1fr .7fr; gap: 2rem; width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 4rem 0 2rem; color: var(--muted); font-size: .8rem; }
.footer-brand-lockup { margin-bottom: .45rem; }
.footer-brand > p { margin: .45rem 0 0; }
.site-footer div { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer strong { color: var(--ink); font-size: .98rem; }
.footer-links { gap: .45rem; }
.footer-links a { text-decoration: none; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 920px) {
  .site-header { gap: .7rem; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3rem; }
  .hero-media { min-height: 430px; }
  .hero-media > img { min-height: 430px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .about, .amana-section { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .proof-feature, .proof-feature.reverse { grid-template-columns: 1fr; }
  .proof-feature.reverse img { order: 0; }
  .process-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; padding: .5rem .7rem; }
  .company-brand { gap: .5rem; }
  .company-brand .company-symbol { flex-basis: 37px; width: 37px; height: 37px; }
  .company-brand .company-symbol img { top: -8px; width: 162px; }
  .company-brand .company-wordmark strong { font-size: .78rem; letter-spacing: .1em; }
  .company-brand .company-wordmark small { display: none; }
  .language-picker select { min-width: 59px; padding: .55rem .55rem; }
  .header-cta { padding: .62rem .75rem; }
  .header-cta-long { display: none; }
  .header-cta-short { display: inline; }
  .section { width: min(calc(100% - 1.25rem), var(--max)); padding: 3.8rem 0; }
  .hero { min-height: auto; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(3rem, 13vw, 4.1rem); overflow-wrap: anywhere; }
  .hero-copy h1 em { font-size: .88em; }
  .hero-media, .hero-media > img { min-height: 350px; }
  .hero-caption { display: block; }
  .hero-caption strong { display: block; margin-top: .3rem; text-align: left; }
  .hero-actions .button { width: 100%; }
  .assurance-row { display: grid; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics article { min-height: 150px; padding: 1.3rem 1rem; }
  .metrics strong { font-size: 2.5rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1rem; }
  .capability-grid, .industry-grid, .process-list { grid-template-columns: 1fr; }
  .capability-card { min-height: 215px; }
  .capability-card h3 { margin-top: 4.5rem; }
  .proof-feature img { min-height: 300px; }
  .amana-section { width: calc(100% - 1rem); padding: 2rem 1rem; border-radius: 28px; }
  .amana-copy h2 { font-size: 2.65rem; }
  .amana-actions .button { width: 100%; }
  .amana-mode-row { grid-template-columns: 1fr; }
  .amana-message { max-width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}

html[dir="rtl"] body {
  font-family: Tahoma, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif;
}

html[dir="rtl"] .company-brand,
html[dir="rtl"] .footer-brand-lockup,
html[dir="rtl"] .company-name,
html[dir="rtl"] .amana-brand {
  direction: ltr;
}

html[dir="rtl"] .company-wordmark small {
  direction: rtl;
  text-align: left;
}

html[dir="rtl"] .assurance-row span::before {
  margin-right: 0;
  margin-left: .35rem;
}

html[dir="rtl"] .hero-caption strong {
  text-align: left;
}

html[dir="rtl"] .metrics article {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .metrics article:nth-child(4) {
  border-left: 0;
}

html[dir="rtl"] .industry-card div > span {
  right: auto;
  left: 1.3rem;
}

html[dir="rtl"] .industry-card h3 {
  margin-right: 0;
  margin-left: 2rem;
}

html[dir="rtl"] .process-list {
  border-left: 0;
  border-right: 1px solid var(--line);
}

html[dir="rtl"] .process-list li {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .amana-section::before {
  right: auto;
  left: -2rem;
}

html[dir="rtl"] .amana-message {
  border-radius: 18px 5px 18px 18px;
}

html[dir="rtl"] .about-copy li {
  padding-right: 1.5rem;
  padding-left: 0;
}

html[dir="rtl"] .about-copy li::before {
  right: 0;
  left: auto;
}

html[dir="rtl"] .button span[aria-hidden="true"],
html[dir="rtl"] .amana-input b {
  transform: rotate(180deg);
}

html[dir="rtl"] .header-cta span[aria-hidden="true"] {
  transform: scaleX(-1);
}

@media (max-width: 920px) {
  html[dir="rtl"] .metrics article:nth-child(2) {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  html[dir="rtl"] .hero-caption strong {
    text-align: right;
  }
}
