:root {
  --ow-white: #ffffff;
  --ow-sky-100: #c8e8f6;
  --ow-sky-300: #74c7ef;
  --ow-aqua-500: #3abbdc;
  --ow-blue-600: #4a85a9;
  --ow-blue-700: #00618a;
  --ow-blue-900: #004259;

  --bg: #ffffff;
  --text: #0c202b;
  --muted: #4f6a77;
  --line: rgba(0, 66, 89, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Myriad Pro", "MyriadPro-Regular", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ow-blue-700);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.section-lead {
  margin-top: 14px;
  max-width: 62ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand img {
  width: 148px;
  height: auto;
}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--ow-blue-700);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 160ms ease;
}

.lang-btn.active {
  border-color: var(--ow-blue-900);
  background: var(--ow-blue-900);
  color: #fff;
}

.hero {
  overflow: hidden;
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: center;
}

.hero-copy p {
  margin-top: 24px;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: #0b2430;
  border: 1px solid #0b2430;
}

.btn-primary:hover {
  background: var(--ow-blue-700);
  border-color: var(--ow-blue-700);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.btn-ghost:hover {
  border-color: var(--ow-blue-700);
  color: var(--ow-blue-700);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.hero-media::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 232, 246, 0.55), rgba(200, 232, 246, 0));
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 2;
  width: min(500px, 96%);
  filter: drop-shadow(0 30px 32px rgba(0, 66, 89, 0.16));
  animation: float 6.2s ease-in-out infinite;
}

.orb {
  display: none;
}

.about {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.panel h3 {
  color: var(--text);
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.panel li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.products {
  border-top: 1px solid var(--line);
}

.product-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.layers {
  border-top: 1px solid var(--line);
}

.layers-wrap {
  gap: 34px;
}

.stack {
  display: grid;
  gap: 12px;
}

.layer-card {
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.layer-card h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.sustainability {
  border-top: 1px solid var(--line);
}

.sustainability::before {
  content: none;
}

.sustainability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sustainability-grid p + p {
  margin-top: 14px;
}

.stats {
  display: grid;
  gap: 10px;
}

.stats article {
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.stats h3 {
  margin-bottom: 8px;
}

.evidence {
  border-top: 1px solid var(--line);
}

.evidence-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.evidence-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.evidence-card h3 {
  margin-bottom: 8px;
}

.mini-footprints,
.table-wrap,
.benchmarks {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.footprint-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.footprint-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7fbfd;
  border: 1px solid rgba(0, 66, 89, 0.1);
}

.footprint-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.footprint-item strong {
  font-size: 1rem;
  color: var(--ow-blue-700);
}

.data-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border: 1px solid rgba(0, 66, 89, 0.14);
  text-align: left;
  vertical-align: middle;
}

.data-table thead th {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f5fafc;
}

.data-table tbody th {
  font-weight: 700;
}

.emissions-table thead th {
  background: linear-gradient(180deg, #ebf7fd, #ddf0fa);
  color: var(--ow-blue-900);
}

.emissions-table tbody tr:nth-child(odd) {
  background: #fbfdff;
}

.emissions-table tbody tr:nth-child(even) {
  background: #f4f9fc;
}

.emissions-table tbody th {
  background: #e9f6fd;
  color: var(--ow-blue-900);
}

.emissions-table td:nth-child(5),
.emissions-table th:nth-child(5) {
  background: #e9fced;
  color: #127536;
  font-weight: 800;
}

.bar-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bar-card {
  border: 1px solid rgba(0, 66, 89, 0.1);
  border-radius: 10px;
  padding: 14px 12px;
  background: #f8fcff;
}

.bar-card p {
  min-height: 56px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bar {
  margin-top: 10px;
  height: 130px;
  border-radius: 8px;
  border: 1px solid rgba(0, 66, 89, 0.12);
  background: linear-gradient(to top, rgba(0, 97, 138, 0.06), rgba(0, 97, 138, 0));
  display: flex;
  align-items: flex-end;
  padding: 4px;
}

.bar span {
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ow-aqua-500), var(--ow-blue-700));
}

.bar-card strong {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  color: var(--ow-blue-700);
}

.composition-note {
  margin-top: 12px;
  font-size: 0.92rem;
}

.composition-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: start;
}

.composition-layout .data-table {
  margin-top: 0;
}

.composition-source {
  margin: 0;
  border: 1px solid rgba(0, 66, 89, 0.14);
  border-radius: 12px;
  padding: 10px;
  background: #f8fcff;
}

.composition-source img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.composition-source figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.chart-controls {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chart-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 66, 89, 0.18);
  background: #fff;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.chart-btn.active {
  border-color: #14953b;
  background: #14953b;
  color: #fff;
}

.chart-note {
  margin-top: 10px;
  font-size: 0.86rem;
}

.active-chart {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.graph-item {
  border: 1px solid rgba(0, 66, 89, 0.1);
  border-radius: 10px;
  background: #f7fcf8;
  padding: 12px 10px;
  cursor: pointer;
}

.graph-item.is-active {
  border-color: #14953b;
  box-shadow: inset 0 0 0 1px #14953b;
}

.graph-label {
  min-height: 44px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.graph-track {
  margin-top: 8px;
  height: 132px;
  border: 1px solid rgba(0, 66, 89, 0.1);
  border-radius: 8px;
  background: linear-gradient(to top, rgba(20, 149, 59, 0.08), rgba(20, 149, 59, 0));
  display: flex;
  align-items: flex-end;
  padding: 4px;
}

.graph-fill {
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, #31c95f, #14953b);
  height: 0%;
  transition: height 420ms ease;
}

.graph-value {
  display: inline-block;
  margin-top: 8px;
  color: #14953b;
  font-weight: 800;
}

.cta {
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

.cta-box {
  border-radius: 18px;
  padding: 52px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ow-blue-900), var(--ow-blue-700));
}

.cta-box h2 {
  text-transform: uppercase;
}

.cta-box p {
  margin: 14px auto 24px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.ow-footer-logo {
  width: 124px;
}

.footer-wrap p {
  justify-self: end;
  font-size: 0.9rem;
}

.footer-by {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-by img {
  width: 96px;
  height: auto;
}

html[dir="rtl"] body {
  font-family: "Tajawal", "Myriad Pro", "Segoe UI", sans-serif;
}

html[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section h2,
html[dir="rtl"] .section p,
html[dir="rtl"] .panel h3,
html[dir="rtl"] .panel li,
html[dir="rtl"] .layer-card,
html[dir="rtl"] .stats article {
  text-align: right;
}

html[dir="rtl"] .panel ul {
  padding-left: 0;
  padding-right: 20px;
}

html[dir="rtl"] .data-table th,
html[dir="rtl"] .data-table td {
  text-align: right;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 14px 0;
    gap: 14px;
  }

  .site-nav {
    justify-self: start;
  }

  .hero-grid,
  .split,
  .sustainability-grid,
  .evidence-grid,
  .bar-grid,
  .active-chart {
    grid-template-columns: 1fr;
  }

  .composition-layout {
    grid-template-columns: 1fr;
  }

  .footprint-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    min-height: 360px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 78px 0;
  }

  h1 {
    max-width: 13ch;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    gap: 14px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-media::after {
    width: 280px;
    height: 280px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footprint-list {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 22px 0;
  }

  .footer-wrap p,
  .footer-by {
    justify-self: center;
  }
}
