/* ---- Edit colours and fonts here ---- */
:root {
  --bg: #06080b;
  --panel: #0c0f12;
  --ink: #f1efe8;
  --mute: #9aa09b;
  --line: #1f2528;
  --green: #8fcf96;
  --green-d: #5f9a68;
  --head: 'Manrope', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: inherit
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scroll-padding-top: 5rem
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.05rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden
}

a {
  color: inherit
}

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px
}

.wrap {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
  min-width: 0
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0;
  transform: translateY(-200%);
  background: var(--green);
  color: #06080b;
  padding: .6rem 1rem;
  z-index: 20
}

.skip:focus {
  transform: none;
  top: 1rem
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--green);
  font: 600 .78rem var(--head);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 1.4rem
}

.eyebrow.line::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--green)
}

h1,
h2,
h3 {
  font-family: var(--head);
  font-weight: 500;
  letter-spacing: -.025em;
  margin: 0
}

h2 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.3rem
}

h2 i {
  font-style: normal;
  color: var(--green)
}

p {
  margin: 0 0 1.1rem
}

.mute {
  color: var(--mute)
}

/* nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(rgba(6, 8, 11, .75), rgba(6, 8, 11, .35));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: env(safe-area-inset-top, 0px)
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.4rem;
  gap: 1rem;
  min-width: 0
}

.nav nav {
  min-width: 0;
  flex: 1;
  justify-content: center
}

.nav-actions {
  flex: 0 0 auto;
  min-width: 0
}

.nav .brand {
  flex: 0 0 auto
}

.nav .brand img {
  height: 22px;
  width: auto
}

.nav .brand:focus-visible {
  border-radius: 4px
}

.nav nav {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  font-size: .95rem;
  color: #cfd2cc;
  white-space: nowrap
}

.nav nav a {
  text-decoration: none;
  transition: color .2s
}

.nav nav a:hover {
  color: var(--green)
}

@media(max-width:980px) {
  .nav nav {
    display: none
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  border-radius: 5px;
  font: 500 .98rem var(--body);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: transform .25s, background .25s, border-color .25s, color .25s
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  color: var(--green)
}

.btn:hover svg {
  transform: translate(2px, -2px)
}

.btn.pri {
  background: var(--green);
  border-color: var(--green);
  color: #07120a
}

.btn.pri:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #07120a
}

.btn.sm {
  padding: .6rem 1.1rem;
  font-size: .92rem
}

/* Mobile navigation */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round
}

.mobile-menu {
  display: none
}

@media(max-width:820px) {
  .nav .wrap {
    height: 4rem;
    gap: .55rem
  }

  .nav .brand {
    margin-inline-end: auto;
    min-width: 0
  }

  .nav .brand img {
    height: 20px
  }

  .nav-actions {
    gap: .45rem;
    flex: 0 0 auto
  }

  .nav-actions>.btn {
    padding: .55rem .75rem;
    font-size: .88rem
  }

  .lang-btn {
    padding: .55rem .65rem
  }

  .menu-toggle {
    display: inline-flex
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 0;
    display: grid;
    gap: .2rem;
    padding: .65rem max(1rem, calc((100% - 1140px)/2));
    background: rgba(6, 8, 11, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .3)
  }

  .mobile-menu[hidden] {
    display: none
  }

  .mobile-menu a {
    padding: .8rem .25rem;
    color: #cfd2cc;
    text-decoration: none;
    font-size: .98rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
  }

  .mobile-menu a:last-child {
    border-bottom: 0
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    color: var(--green)
  }
}

@media(max-width:420px) {
  .nav-actions>.btn {
    font-size: 0;
    gap: 0;
    width: 42px;
    justify-content: center
  }

  .nav-actions>.btn svg {
    width: 17px;
    height: 17px
  }
}

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 6rem
}

.hero .bg {
  position: absolute;
  inset: -4%;
  background: url(assets/belnord-landscape.jpg) 60% center/cover no-repeat;
  animation: kb 40s ease-in-out infinite alternate
}

@keyframes kb {
  from {
    transform: scale(1) translateX(0)
  }

  to {
    transform: scale(1.07) translateX(-1.5%)
  }
}

.hero .vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 11, .92) 0%, rgba(6, 8, 11, .6) 42%, rgba(6, 8, 11, .05) 80%), linear-gradient(0deg, var(--bg) 0%, transparent 30%)
}

.hero .wrap {
  position: relative;
  z-index: 2
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.04;
  max-width: 9.5em;
  margin-bottom: 1.8rem
}

h1 span {
  color: #cfcbbd
}

.lede {
  max-width: 36rem;
  color: #c3c7c0;
  font-size: clamp(1.02rem, 2vw, 1.2rem)
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem
}

.scroll {
  position: absolute;
  left: max(1.25rem, calc((100% - 1140px)/2));
  bottom: 2rem;
  z-index: 2;
  color: var(--mute);
  font: 500 .75rem var(--head);
  letter-spacing: .14em;
  text-transform: uppercase
}

section {
  padding: clamp(5rem, 11vw, 8.5rem) 0
}

/* build */
.head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem
}

@media(max-width:820px) {
  .head {
    grid-template-columns: 1fr
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden
}

.card {
  padding: 2rem 1.8rem 2.2rem;
  border-right: 1px solid var(--line);
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  transition: background .35s
}

.card:last-child {
  border-right: 0
}

.card:hover {
  background: #10151a
}

.card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
  color: var(--mute);
  font-size: .82rem
}

.card svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s
}

.card:hover svg {
  transform: scale(1.12) rotate(-4deg)
}

.card h3 {
  font-size: 1.35rem;
  margin: 2.2rem 0 .5rem
}

.card p {
  color: var(--mute);
  font-size: .98rem;
  margin: 0
}

@media(max-width:980px) {
  .cards {
    grid-template-columns: 1fr 1fr
  }

  .card:nth-child(2) {
    border-right: 0
  }

  .card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }
}

@media(max-width:560px) {
  .cards {
    grid-template-columns: 1fr
  }

  .card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0
  }

  .card:last-child {
    border-bottom: 0
  }
}

/* story */
.story {
  border-top: 1px solid var(--line)
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem
}

@media(max-width:820px) {
  .cols {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }
}

.rule {
  width: 80px;
  height: 1px;
  background: var(--green);
  margin-top: 2rem
}

.big-p {
  font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.3 var(--head);
  letter-spacing: -.01em;
  color: #dcd9cc;
  margin-bottom: 1.6rem
}

.tag {
  color: var(--green);
  font: 500 1.1rem var(--head)
}

/* bigger picture */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40rem;
  border-block: 1px solid var(--line);
  padding: 0
}

.split .img {
  position: relative;
  overflow: hidden;
  min-height: 22rem
}

.split .img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.split .txt {
  position: relative;
  background: var(--panel);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  overflow: hidden
}

.rings {
  position: absolute;
  right: -18rem;
  top: 50%;
  width: 46rem;
  height: 46rem;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .8
}

.rings circle {
  fill: none;
  stroke: rgba(255, 255, 255, .06);
  stroke-width: 1
}

.txt>div {
  position: relative;
  max-width: 30rem
}

.txt .mono {
  width: 44px;
  height: auto;
  margin-top: 2rem;
  opacity: .9
}

.note {
  margin-top: 1.4rem;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--green-d);
  color: var(--mute);
  font-size: .95rem
}

@media(max-width:820px) {
  .split {
    grid-template-columns: 1fr
  }

  .split .img {
    min-height: 20rem
  }
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start
}

@media(max-width:820px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 2rem
  }
}

.mail {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  color: var(--green);
  text-decoration: none;
  margin-top: 1rem
}

.mail:hover {
  text-decoration: underline
}

form {
  display: grid;
  gap: 1.1rem
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem
}

@media(max-width:560px) {
  .two {
    grid-template-columns: 1fr
  }
}

label {
  display: grid;
  gap: .5rem;
  font: 500 .92rem var(--body);
  color: var(--ink)
}

input,
select,
textarea {
  font: 400 1rem var(--body);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .9rem 1rem;
  width: 100%;
  transition: border-color .2s
}

input::placeholder,
textarea::placeholder {
  color: #555c5a
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--green-d)
}

textarea {
  min-height: 8.5rem;
  resize: vertical
}

.formfoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap
}

.hint {
  font-size: .82rem;
  color: var(--mute);
  max-width: 16rem;
  margin: 0
}

.status {
  min-height: 1.4em;
  margin: 0;
  font-size: .92rem;
  color: var(--green)
}

footer {
  border-top: 1px solid var(--line);
  background: #080b0e;
  padding: 3rem 0 4rem
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap
}

footer img {
  height: 22px;
  width: auto;
  margin-bottom: .9rem
}

.small {
  font-size: .88rem;
  color: var(--mute);
  margin: 0 0 .3rem
}

footer ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0
}

footer ul a {
  color: var(--mute);
  text-decoration: none;
  transition: color .2s
}

footer ul a:hover {
  color: var(--green)
}

.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease
}

.rv.in {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .rv {
    opacity: 1;
    transform: none;
    transition: none
  }

  .hero .bg {
    animation: none
  }

  .hero .vid {
    display: none
  }

  .btn,
  .card,
  .card svg {
    transition: none
  }
}


/* ---- Language menu ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .7rem
}

.lang {
  position: relative
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: var(--ink);
  font: 500 .92rem var(--body);
  cursor: pointer;
  transition: border-color .25s, color .25s
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  border-color: var(--green);
  color: var(--green)
}

.lang-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round
}

.lang-btn .chev {
  width: 12px;
  height: 12px;
  transition: transform .2s
}

.lang-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg)
}

.lang-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + .5rem);
  min-width: 10.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  z-index: 12
}

.lang-list[hidden] {
  display: none
}

.lang-list button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: 0;
  color: var(--ink);
  font: 400 .95rem var(--body);
  padding: .6rem .75rem;
  border-radius: 5px;
  cursor: pointer;
  text-align: start
}

.lang-list button:hover {
  background: #10151a;
  color: var(--green)
}

.lang-list button[aria-current="true"] {
  color: var(--green)
}

.lang-list button[aria-current="true"]::after {
  content: "\2713"
}

/* ---- Arabic / right-to-left ---- */
:root[lang="ar"] {
  --head: 'Noto Sans Arabic', 'Manrope', system-ui, sans-serif;
  --body: 'Noto Sans Arabic', 'DM Sans', system-ui, sans-serif
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] .big-p,
[lang="ar"] .eyebrow,
[lang="ar"] .scroll {
  letter-spacing: 0;
  text-transform: none
}

[lang="ar"] h1,
[lang="ar"] h2 {
  line-height: 1.3
}

[lang="ar"] body {
  line-height: 1.9
}

[dir="rtl"] .scroll {
  left: auto;
  right: max(1.25rem, calc((100% - 1140px)/2))
}

[dir="rtl"] .mobile-menu {
  text-align: right;
  direction: rtl
}

[dir="rtl"] .mobile-menu a {
  direction: rtl;
  text-align: right
}

[dir="rtl"] .hero .wrap,
[dir="rtl"] section .wrap,
[dir="rtl"] footer .wrap {
  min-width: 0;
}

[dir="rtl"] .nav .wrap,
[dir="rtl"] .nav-actions {
  direction: ltr;
}

[dir="rtl"] .nav nav {
  direction: rtl
}

[dir="rtl"] .lang {
  direction: rtl
}

[dir="rtl"] .lang-list {
  direction: rtl
}

[dir="rtl"] .lang-list button {
  text-align: right
}

[dir="rtl"] .hero::after {
  background: linear-gradient(270deg, rgba(6, 8, 11, .92) 0%, rgba(6, 8, 11, .6) 42%, rgba(6, 8, 11, .05) 80%), linear-gradient(0deg, var(--bg) 0%, transparent 30%)
}

[dir="rtl"] .hero .bg {
  background-position: 40% center
}

[dir="rtl"] .rings {
  right: auto;
  left: -18rem
}

[dir="rtl"] .btn svg.flip {
  transform: scaleX(-1)
}

[dir="rtl"] .btn:hover svg.flip {
  transform: translate(-2px, -2px) scaleX(-1)
}

[dir="rtl"] input[type="email"] {
  direction: ltr;
  text-align: right
}

.mail {
  direction: ltr
}


/* ---- Prototypes page ---- */
.nav nav a[aria-current="page"] {
  color: var(--green)
}

footer .small a {
  text-decoration: none;
  transition: color .2s
}

footer .small a:hover {
  color: var(--green)
}

.phead {
  padding-top: 9.5rem;
  padding-bottom: 2.5rem
}

.phead h1 {
  max-width: none;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 1.2rem
}

.phead p {
  max-width: 32rem;
  margin: 0
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem
}

.pempty {
  padding-bottom: 4rem
}

main>.wrap:last-child {
  padding-bottom: clamp(5rem, 10vw, 8rem)
}

.proto {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: start;
  font: inherit;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s, transform .25s
}

.proto:hover {
  border-color: var(--green-d);
  transform: translateY(-3px)
}

.shot {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0a0d10;
  border-bottom: 1px solid var(--line)
}

.shot iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  background: #fff;
  transform-origin: 0 0;
  transform: scale(.25);
  pointer-events: none
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.shot .expand {
  position: absolute;
  inset-inline-end: .7rem;
  bottom: .7rem;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 5px;
  background: rgba(6, 8, 11, .8);
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .25s
}

.proto:hover .expand,
.proto:focus-visible .expand {
  opacity: 1
}

.pinfo {
  padding: 1.2rem 1.4rem 1.4rem
}

.pinfo h2 {
  font-size: 1.25rem;
  margin: 0 0 .35rem
}

.pinfo p {
  color: var(--mute);
  font-size: .95rem;
  margin: 0 0 .8rem
}

.pinfo .host {
  display: block;
  color: var(--green);
  font-size: .82rem;
  direction: ltr;
  text-align: start
}

[dir="rtl"] .pinfo .host {
  text-align: right
}

.pm {
  width: min(1280px, calc(100% - 1.5rem));
  height: min(880px, calc(100% - 1.5rem));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px
}

.pm[open] {
  display: flex;
  flex-direction: column
}

.pm::backdrop {
  background: rgba(3, 5, 7, .84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px)
}

.pm-bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .8rem .7rem 1.2rem;
  border-bottom: 1px solid var(--line)
}

.pm-title {
  margin-inline-end: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 500 1rem var(--head)
}

.pm iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff
}

@media(max-width:560px) {
  .pm-bar {
    padding-inline-start: .9rem;
    gap: .5rem
  }

  .pm-bar .btn.sm {
    padding: .55rem .7rem;
    font-size: .85rem
  }
}

@media(prefers-reduced-motion:reduce) {

  .proto,
  .shot .expand {
    transition: none
  }

  .proto:hover {
    transform: none
  }
}

/* ---- Mobile layout corrections ---- */
@media(max-width:980px) {
  .nav .wrap {
    width: min(1140px, calc(100% - 2rem));
    min-width: 0
  }
}

@media(max-width:820px) {
  html {
    scroll-padding-top: 4.25rem
  }

  body {
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden
  }

  .wrap {
    width: min(1140px, calc(100% - 2rem));
    min-width: 0
  }

  .hero {
    min-height: 88svh;
    padding: 7rem 0 5rem
  }

  .hero .bg {
    inset: -6%;
    background-position: 58% center
  }

  .hero .vid {
    object-position: center center
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(6, 8, 11, .94) 0%, rgba(6, 8, 11, .72) 58%, rgba(6, 8, 11, .2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 38%)
  }

  h1 {
    font-size: clamp(2.5rem, 9.5vw, 4.2rem);
    line-height: 1.06;
    max-width: 100%;
    margin-bottom: 1.35rem
  }

  .lede {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 34rem
  }

  .btns {
    margin-top: 1.6rem
  }

  .btn {
    min-height: 44px
  }

  .scroll {
    display: none
  }

  section {
    padding: clamp(4.25rem, 12vw, 6rem) 0
  }

  h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1
  }

  .eyebrow {
    margin-bottom: 1rem
  }

  .head {
    margin-bottom: 2rem
  }

  .cards {
    border-radius: 8px
  }

  .card {
    padding: 1.5rem;
    min-height: 0
  }

  .card h3 {
    margin-top: 1.6rem
  }

  .cols {
    gap: 2rem
  }

  .big-p {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem)
  }

  .split .img {
    min-height: 18rem
  }

  .split .txt {
    padding: 3rem 1.25rem
  }

  .rings {
    right: -24rem;
    width: 40rem;
    height: 40rem
  }

  .contact {
    gap: 2.5rem
  }

  .two {
    grid-template-columns: 1fr
  }

  .formfoot {
    align-items: flex-start
  }

  .formfoot .btn {
    width: 100%;
    justify-content: center
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 46px
  }

  textarea {
    min-height: 9rem
  }

  footer {
    padding: 2.5rem 0 3rem
  }

  footer .wrap {
    gap: 1.5rem
  }

  footer ul {
    width: 100%;
    justify-content: flex-start
  }
}

@media(max-width:820px) {
  [dir="rtl"] .nav .wrap {
    direction: ltr
  }

  [dir="rtl"] .nav-actions {
    direction: ltr
  }

  [dir="rtl"] .hero .wrap,
  [dir="rtl"] section .wrap {
    direction: rtl;
    min-width: 0
  }

  [dir="rtl"] .btns .btn {
    direction: rtl
  }

  [dir="rtl"] .split .txt,
  [dir="rtl"] .contact,
  [dir="rtl"] form {
    direction: rtl
  }

  [dir="rtl"] input,
  [dir="rtl"] select,
  [dir="rtl"] textarea {
    direction: rtl;
    text-align: right
  }
}

@media(max-width:560px) {
  .hero {
    min-height: 82svh;
    padding: 6.5rem 0 4rem
  }

  .hero .bg {
    background-position: 55% center
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.25rem)
  }

  .btns {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 20rem
  }

  .btns .btn {
    width: 100%;
    justify-content: center
  }

  .phead {
    padding-top: 7rem;
    padding-bottom: 2rem
  }

  .phead h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem)
  }

  .pgrid {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .pinfo {
    padding: 1rem 1.1rem 1.15rem
  }

  .shot {
    aspect-ratio: 16/10
  }

  .pm {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0
  }

  .pm-bar {
    padding: .65rem .75rem;
    padding-top: calc(.65rem + env(safe-area-inset-top, 0px));
    gap: .45rem
  }

  .pm-title {
    font-size: .95rem;
    flex: 1 1 100%
  }

  .pm-bar .btn.sm {
    padding: .55rem .7rem;
    font-size: .84rem;
    min-height: 40px
  }

  .pm iframe {
    min-height: 0
  }
}

@media(max-width:360px) {
  .wrap {
    width: calc(100% - 1.5rem)
  }

  .nav .brand img {
    height: 18px
  }

  .lang-btn span {
    display: none
  }

  .lang-btn {
    width: 40px;
    justify-content: center
  }

  .hero {
    padding-top: 6rem
  }

  h1 {
    font-size: 2.25rem
  }
}

@media(prefers-reduced-motion:reduce) {

  .mobile-menu,
  .menu-toggle {
    transition: none
  }
}


/* ---- Hero buttons: Prototypes button ---- */
.hero .btns {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
}

.hero .btns .prototype-btn {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile: keep the two original buttons side by side */
@media (max-width: 560px) {
  .hero .btns {
    display: grid;
    grid-template-columns: max-content max-content;
    width: fit-content;
    max-width: 100%;
  }

  .hero .btns>.btn {
    width: auto;
    min-width: 0;
    justify-content: center;
  }

  .hero .btns>.prototype-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }
}

/* Very narrow screens: use two equal columns if needed */
@media (max-width: 360px) {
  .hero .btns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }

  .hero .btns>.btn {
    padding-inline: 0.65rem;
    gap: 0.35rem;
    font-size: 0.88rem;
  }

  .hero .btns>.prototype-btn {
    grid-column: 1 / -1;
  }
}